Merge from trunk: 215733-215743
[official-gcc.git] / gcc-4_7 / Makefile.in
blobb5096f55ca9f8bac668a41235a38068855339b60
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 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
230 POSTSTAGE1_CXX_EXPORT = \
231 CXX='$(CXX)'; export CXX; \
232 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
233 @if target-libstdc++-v3-bootstrap
234 # Override the above if we're bootstrapping C++.
235 POSTSTAGE1_CXX_EXPORT = \
236 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
237 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
238 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
239 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
240 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
241 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
242 -I$$s/libstdc++-v3/libsupc++ \
243 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
244 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
245 export CXX; \
246 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
247 @endif target-libstdc++-v3-bootstrap
249 # Similar, for later GCC stages.
250 POSTSTAGE1_HOST_EXPORTS = \
251 $(HOST_EXPORTS) \
252 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
253 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
254 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
255 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
256 $(POSTSTAGE1_CXX_EXPORT) \
257 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
258 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
259 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
261 # Target libraries are put under this directory:
262 TARGET_SUBDIR = @target_subdir@
263 # This is set by the configure script to the arguments to use when configuring
264 # directories built for the target.
265 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
266 # This is the list of variables to export in the environment when
267 # configuring subdirectories for the target system.
268 BASE_TARGET_EXPORTS = \
269 $(BASE_EXPORTS) \
270 AR="$(AR_FOR_TARGET)"; export AR; \
271 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
272 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
273 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
274 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
275 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
276 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
277 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
278 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
279 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
280 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
281 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
282 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
283 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
284 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
285 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
286 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
287 READELF="$(READELF_FOR_TARGET)"; export READELF; \
288 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
289 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
290 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
291 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
292 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
294 RAW_CXX_TARGET_EXPORTS = \
295 $(BASE_TARGET_EXPORTS) \
296 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
297 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
299 NORMAL_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
303 # Where to find GMP
304 HOST_GMPLIBS = @gmplibs@
305 HOST_GMPINC = @gmpinc@
307 # Where to find PPL
308 HOST_PPLLIBS = @ppllibs@
309 HOST_PPLINC = @pplinc@
311 # Where to find CLOOG
312 HOST_CLOOGLIBS = @clooglibs@
313 HOST_CLOOGINC = @clooginc@
315 # Where to find libelf
316 HOST_LIBELFLIBS = @libelflibs@
317 HOST_LIBELFINC = @libelfinc@
319 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
321 # ----------------------------------------------
322 # Programs producing files for the BUILD machine
323 # ----------------------------------------------
325 SHELL = @SHELL@
327 # pwd command to use. Allow user to override default by setting PWDCMD in
328 # the environment to account for automounters. The make variable must not
329 # be called PWDCMD, otherwise the value set here is passed to make
330 # subprocesses and overrides the setting from the user's environment.
331 # Don't use PWD since it is a common shell environment variable and we
332 # don't want to corrupt it.
333 PWD_COMMAND = $${PWDCMD-pwd}
335 # compilers to use to create programs which must be run in the build
336 # environment.
337 AR_FOR_BUILD = @AR_FOR_BUILD@
338 AS_FOR_BUILD = @AS_FOR_BUILD@
339 CC_FOR_BUILD = @CC_FOR_BUILD@
340 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
341 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
342 CXX_FOR_BUILD = @CXX_FOR_BUILD@
343 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
344 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
345 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
346 GOC_FOR_BUILD = @GOC_FOR_BUILD@
347 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
348 LD_FOR_BUILD = @LD_FOR_BUILD@
349 NM_FOR_BUILD = @NM_FOR_BUILD@
350 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
351 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
352 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
354 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
355 # here so that they can be overridden by Makefile fragments.
356 BUILD_PREFIX = @BUILD_PREFIX@
357 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
359 # Flags to pass to stage2 and later makes. They are defined
360 # here so that they can be overridden by Makefile fragments.
361 BOOT_CFLAGS= -g -O2
362 BOOT_LDFLAGS=
363 BOOT_ADAFLAGS=-gnatpg -gnata
365 AWK = @AWK@
366 SED = @SED@
367 BISON = @BISON@
368 YACC = @YACC@
369 FLEX = @FLEX@
370 LEX = @LEX@
371 M4 = @M4@
372 MAKEINFO = @MAKEINFO@
373 EXPECT = @EXPECT@
374 RUNTEST = @RUNTEST@
376 # This just becomes part of the MAKEINFO definition passed down to
377 # sub-makes. It lets flags be given on the command line while still
378 # using the makeinfo from the object tree.
379 # (Default to avoid splitting info files by setting the threshold high.)
380 MAKEINFOFLAGS = --split-size=5000000
382 # ---------------------------------------------
383 # Programs producing files for the HOST machine
384 # ---------------------------------------------
386 AS = @AS@
387 AR = @AR@
388 AR_FLAGS = rc
389 CC = @CC@
390 CXX = @CXX@
391 DLLTOOL = @DLLTOOL@
392 LD = @LD@
393 LIPO = @LIPO@
394 NM = @NM@
395 OBJDUMP = @OBJDUMP@
396 RANLIB = @RANLIB@
397 READELF = @READELF@
398 STRIP = @STRIP@
399 WINDRES = @WINDRES@
400 WINDMC = @WINDMC@
402 GNATBIND = @GNATBIND@
403 GNATMAKE = @GNATMAKE@
405 CFLAGS = @CFLAGS@
406 LDFLAGS = @LDFLAGS@
407 LIBCFLAGS = $(CFLAGS)
408 CXXFLAGS = @CXXFLAGS@
409 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
410 GOCFLAGS = $(CFLAGS)
412 TFLAGS =
414 # Defaults for all stages; some are overridden below.
416 STAGE_CFLAGS = $(BOOT_CFLAGS)
417 STAGE_TFLAGS = $(TFLAGS)
418 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
419 POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
422 # Defaults for stage 1; some are overridden below.
423 STAGE1_CFLAGS = $(STAGE_CFLAGS)
424 STAGE1_CXXFLAGS = $(CXXFLAGS)
425 @if target-libstdc++-v3-bootstrap
426 # Override the above if we're bootstrapping C++.
427 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
428 @endif target-libstdc++-v3-bootstrap
429 STAGE1_TFLAGS = $(STAGE_TFLAGS)
430 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
431 # POSTSTAGE1_CONFIGURE_FLAGS here.
432 STAGE1_CONFIGURE_FLAGS = \
433 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
435 # Defaults for stage 2; some are overridden below.
436 STAGE2_CFLAGS = $(STAGE_CFLAGS)
437 STAGE2_CXXFLAGS = $(CXXFLAGS)
438 @if target-libstdc++-v3-bootstrap
439 # Override the above if we're bootstrapping C++.
440 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
441 @endif target-libstdc++-v3-bootstrap
442 STAGE2_TFLAGS = $(STAGE_TFLAGS)
443 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
444 # POSTSTAGE1_CONFIGURE_FLAGS here.
445 STAGE2_CONFIGURE_FLAGS = \
446 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
448 # Defaults for stage 3; some are overridden below.
449 STAGE3_CFLAGS = $(STAGE_CFLAGS)
450 STAGE3_CXXFLAGS = $(CXXFLAGS)
451 @if target-libstdc++-v3-bootstrap
452 # Override the above if we're bootstrapping C++.
453 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
454 @endif target-libstdc++-v3-bootstrap
455 STAGE3_TFLAGS = $(STAGE_TFLAGS)
456 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
457 # POSTSTAGE1_CONFIGURE_FLAGS here.
458 STAGE3_CONFIGURE_FLAGS = \
459 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
461 # Defaults for stage 4; some are overridden below.
462 STAGE4_CFLAGS = $(STAGE_CFLAGS)
463 STAGE4_CXXFLAGS = $(CXXFLAGS)
464 @if target-libstdc++-v3-bootstrap
465 # Override the above if we're bootstrapping C++.
466 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
467 @endif target-libstdc++-v3-bootstrap
468 STAGE4_TFLAGS = $(STAGE_TFLAGS)
469 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
470 # POSTSTAGE1_CONFIGURE_FLAGS here.
471 STAGE4_CONFIGURE_FLAGS = \
472 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
474 # Defaults for stage profile; some are overridden below.
475 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
476 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
477 @if target-libstdc++-v3-bootstrap
478 # Override the above if we're bootstrapping C++.
479 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
480 @endif target-libstdc++-v3-bootstrap
481 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
482 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
483 # POSTSTAGE1_CONFIGURE_FLAGS here.
484 STAGEprofile_CONFIGURE_FLAGS = \
485 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
487 # Defaults for stage feedback; some are overridden below.
488 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
489 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
490 @if target-libstdc++-v3-bootstrap
491 # Override the above if we're bootstrapping C++.
492 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
493 @endif target-libstdc++-v3-bootstrap
494 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
495 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
496 # POSTSTAGE1_CONFIGURE_FLAGS here.
497 STAGEfeedback_CONFIGURE_FLAGS = \
498 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
501 # Only build the C compiler for stage1, because that is the only one that
502 # we can guarantee will build with the native compiler, and also it is the
503 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
504 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
505 # overrideable (for a bootstrap build stage1 also builds gcc.info).
507 STAGE1_CFLAGS = @stage1_cflags@
508 STAGE1_CHECKING = @stage1_checking@
509 STAGE1_LANGUAGES = @stage1_languages@
510 # * We force-disable intermodule optimizations, even if
511 # --enable-intermodule was passed, since the installed compiler
512 # probably can't handle them. Luckily, autoconf always respects
513 # the last argument when conflicting --enable arguments are passed.
514 # * Likewise, we force-disable coverage flags, since the installed
515 # compiler probably has never heard of them.
516 # * Don't remove this, because above we added
517 # POSTSTAGE1_CONFIGURE_FLAGS to STAGE_CONFIGURE_FLAGS, which
518 # we don't want for STAGE1_CONFIGURE_FLAGS.
519 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
520 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
522 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
523 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
525 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
526 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
528 do-compare = @do_compare@
529 do-compare3 = $(do-compare)
531 # -----------------------------------------------
532 # Programs producing files for the TARGET machine
533 # -----------------------------------------------
535 AR_FOR_TARGET=@AR_FOR_TARGET@
536 AS_FOR_TARGET=@AS_FOR_TARGET@
537 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
539 # If GCC_FOR_TARGET is not overriden on the command line, then this
540 # variable is passed down to the gcc Makefile, where it is used to
541 # build libgcc2.a. We define it here so that it can itself be
542 # overridden on the command line.
543 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
544 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
545 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
546 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
547 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
548 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
549 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
550 LD_FOR_TARGET=@LD_FOR_TARGET@
552 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
553 NM_FOR_TARGET=@NM_FOR_TARGET@
554 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
555 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
556 READELF_FOR_TARGET=@READELF_FOR_TARGET@
557 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
558 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
559 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
561 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
562 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
563 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
565 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
566 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
568 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
569 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
570 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
571 GOCFLAGS_FOR_TARGET = -O2 -g
573 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
574 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
575 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
577 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
579 # ------------------------------------
580 # Miscellaneous targets and flag lists
581 # ------------------------------------
583 # The first rule in the file had better be this one. Don't put any above it.
584 # This lives here to allow makefile fragments to contain dependencies.
585 all:
587 #### host and target specific makefile fragments come in here.
588 @target_makefile_frag@
589 @alphaieee_frag@
590 @ospace_frag@
591 @host_makefile_frag@
594 # This is the list of directories that may be needed in RPATH_ENVVAR
595 # so that programs built for the target machine work.
596 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(HOST_LIB_PATH_gcc)
598 @if target-libstdc++-v3
599 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
600 @endif target-libstdc++-v3
602 @if target-libmudflap
603 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
604 @endif target-libmudflap
606 @if target-libssp
607 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
608 @endif target-libssp
610 @if target-libgomp
611 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
612 @endif target-libgomp
614 @if target-libitm
615 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
616 @endif target-libitm
620 # This is the list of directories that may be needed in RPATH_ENVVAR
621 # so that programs built for the host machine work.
622 HOST_LIB_PATH = $(HOST_LIB_PATH_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)
624 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
625 @if gcc
626 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
627 @endif gcc
630 @if bfd
631 HOST_LIB_PATH_bfd = \
632 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
633 @endif bfd
635 @if opcodes
636 HOST_LIB_PATH_opcodes = \
637 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
638 @endif opcodes
640 @if gmp
641 HOST_LIB_PATH_gmp = \
642 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
643 @endif gmp
645 @if mpfr
646 HOST_LIB_PATH_mpfr = \
647 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
648 @endif mpfr
650 @if mpc
651 HOST_LIB_PATH_mpc = \
652 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
653 @endif mpc
655 @if ppl
656 HOST_LIB_PATH_ppl = \
657 $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
658 @endif ppl
660 @if cloog
661 HOST_LIB_PATH_cloog = \
662 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
663 @endif cloog
665 @if libelf
666 HOST_LIB_PATH_libelf = \
667 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
668 @endif libelf
671 CXX_FOR_TARGET_FLAG_TO_PASS = \
672 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
673 @if target-libstdc++-v3
674 # CXX_FOR_TARGET is tricky to get right for target libs that require a
675 # functional C++ compiler. When we recurse, if we expand
676 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
677 # libstdc++ include flags from the script. Instead, we get an
678 # -funconfigured-* word, so that we'll get errors if this invalid C++
679 # command line is used for anything, but also so that we can use the
680 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
681 # don't pass it on, sub-make will use the default definition, that
682 # re-expands it at the time of use, so we'll get it right when we need
683 # it. One potential exception is the expansion of CXX_FOR_TARGET
684 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
685 # really work, for C++ host programs can't depend on the current-stage
686 # C++ target library.
687 CXX_FOR_TARGET_FLAG_TO_PASS = \
688 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
689 @endif target-libstdc++-v3
691 # Flags to pass down to all sub-makes.
692 BASE_FLAGS_TO_PASS = \
693 "DESTDIR=$(DESTDIR)" \
694 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
695 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
696 "bindir=$(bindir)" \
697 "datadir=$(datadir)" \
698 "exec_prefix=$(exec_prefix)" \
699 "includedir=$(includedir)" \
700 "datarootdir=$(datarootdir)" \
701 "docdir=$(docdir)" \
702 "infodir=$(infodir)" \
703 "pdfdir=$(pdfdir)" \
704 "htmldir=$(htmldir)" \
705 "libdir=$(libdir)" \
706 "libexecdir=$(libexecdir)" \
707 "lispdir=$(lispdir)" \
708 "localstatedir=$(localstatedir)" \
709 "mandir=$(mandir)" \
710 "oldincludedir=$(oldincludedir)" \
711 "prefix=$(prefix)" \
712 "sbindir=$(sbindir)" \
713 "sharedstatedir=$(sharedstatedir)" \
714 "sysconfdir=$(sysconfdir)" \
715 "tooldir=$(tooldir)" \
716 "build_tooldir=$(build_tooldir)" \
717 "target_alias=$(target_alias)" \
718 "AWK=$(AWK)" \
719 "BISON=$(BISON)" \
720 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
721 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
722 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
723 "EXPECT=$(EXPECT)" \
724 "FLEX=$(FLEX)" \
725 "INSTALL=$(INSTALL)" \
726 "INSTALL_DATA=$(INSTALL_DATA)" \
727 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
728 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
729 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
730 "LEX=$(LEX)" \
731 "M4=$(M4)" \
732 "MAKE=$(MAKE)" \
733 "RUNTEST=$(RUNTEST)" \
734 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
735 "SED=$(SED)" \
736 "SHELL=$(SHELL)" \
737 "YACC=$(YACC)" \
738 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
739 "ADA_CFLAGS=$(ADA_CFLAGS)" \
740 "AR_FLAGS=$(AR_FLAGS)" \
741 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
742 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
743 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
744 "CFLAGS=$(CFLAGS)" \
745 "CXXFLAGS=$(CXXFLAGS)" \
746 "LDFLAGS=$(LDFLAGS)" \
747 "LIBCFLAGS=$(LIBCFLAGS)" \
748 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
749 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
750 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
751 "GNATBIND=$(GNATBIND)" \
752 "GNATMAKE=$(GNATMAKE)" \
753 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
754 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
755 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
756 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
757 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
758 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
759 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
760 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
761 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
762 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
763 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
764 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
765 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
766 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
767 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
768 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
769 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
770 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
771 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
772 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
773 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
774 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
775 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
776 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
777 "BUILD_CONFIG=$(BUILD_CONFIG)" \
778 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
779 "LEAN=$(LEAN)" \
780 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
781 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
782 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
783 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
784 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
785 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
786 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
787 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
788 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
789 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
790 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
791 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
792 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
793 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
794 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
795 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
796 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
797 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
798 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
799 "TFLAGS=$(TFLAGS)" \
800 "CONFIG_SHELL=$(SHELL)" \
801 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
803 # We leave this in just in case, but it is not needed anymore.
804 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
806 # Flags to pass down to most sub-makes, in which we're building with
807 # the host environment.
808 EXTRA_HOST_FLAGS = \
809 'AR=$(AR)' \
810 'AS=$(AS)' \
811 'CC=$(CC)' \
812 'CXX=$(CXX)' \
813 'DLLTOOL=$(DLLTOOL)' \
814 'GCJ=$(GCJ)' \
815 'GFORTRAN=$(GFORTRAN)' \
816 'GOC=$(GOC)' \
817 'LD=$(LD)' \
818 'LIPO=$(LIPO)' \
819 'NM=$(NM)' \
820 'OBJDUMP=$(OBJDUMP)' \
821 'RANLIB=$(RANLIB)' \
822 'READELF=$(READELF)' \
823 'STRIP=$(STRIP)' \
824 'WINDRES=$(WINDRES)' \
825 'WINDMC=$(WINDMC)'
827 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
829 # Flags to pass to stage2 and later makes.
831 POSTSTAGE1_FLAGS_TO_PASS = \
832 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
833 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
834 GNATBIND="$${GNATBIND}" \
835 LDFLAGS="$${LDFLAGS}" \
836 HOST_LIBS="$${HOST_LIBS}" \
837 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
839 # Flags to pass down to makes which are built with the target environment.
840 # The double $ decreases the length of the command line; those variables
841 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
842 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
843 # so we expand them here.
844 EXTRA_TARGET_FLAGS = \
845 'AR=$$(AR_FOR_TARGET)' \
846 'AS=$(COMPILER_AS_FOR_TARGET)' \
847 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
848 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
849 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
850 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
851 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
852 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
853 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
854 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
855 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
856 'LD=$(COMPILER_LD_FOR_TARGET)' \
857 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
858 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
859 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
860 'NM=$(COMPILER_NM_FOR_TARGET)' \
861 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
862 'RANLIB=$$(RANLIB_FOR_TARGET)' \
863 'READELF=$$(READELF_FOR_TARGET)' \
864 'WINDRES=$$(WINDRES_FOR_TARGET)' \
865 'WINDMC=$$(WINDMC_FOR_TARGET)' \
866 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
867 "TFLAGS=$$TFLAGS"
869 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
871 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
872 # unfortunately needs the native compiler and the target ar and
873 # ranlib.
874 # If any variables are added here, they must be added to do-*, below.
875 # The BUILD_* variables are a special case, which are used for the gcc
876 # cross-building scheme.
877 EXTRA_GCC_FLAGS = \
878 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
879 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
880 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
882 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
884 @if gcc
885 BUILD_CONFIG = @BUILD_CONFIG@
886 ifneq ($(BUILD_CONFIG),)
887 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
888 endif
889 @endif gcc
891 .PHONY: configure-host
892 configure-host: \
893 maybe-configure-bfd \
894 maybe-configure-opcodes \
895 maybe-configure-binutils \
896 maybe-configure-bison \
897 maybe-configure-cgen \
898 maybe-configure-dejagnu \
899 maybe-configure-etc \
900 maybe-configure-fastjar \
901 maybe-configure-fixincludes \
902 maybe-configure-flex \
903 maybe-configure-gas \
904 maybe-configure-gcc \
905 maybe-configure-gmp \
906 maybe-configure-mpfr \
907 maybe-configure-mpc \
908 maybe-configure-ppl \
909 maybe-configure-cloog \
910 maybe-configure-libelf \
911 maybe-configure-gold \
912 maybe-configure-gprof \
913 maybe-configure-intl \
914 maybe-configure-tcl \
915 maybe-configure-itcl \
916 maybe-configure-ld \
917 maybe-configure-libcpp \
918 maybe-configure-libdecnumber \
919 maybe-configure-libgui \
920 maybe-configure-libiberty \
921 maybe-configure-libiconv \
922 maybe-configure-m4 \
923 maybe-configure-readline \
924 maybe-configure-sid \
925 maybe-configure-sim \
926 maybe-configure-texinfo \
927 maybe-configure-zlib \
928 maybe-configure-gdb \
929 maybe-configure-expect \
930 maybe-configure-guile \
931 maybe-configure-tk \
932 maybe-configure-libtermcap \
933 maybe-configure-utils \
934 maybe-configure-gnattools \
935 maybe-configure-lto-plugin \
936 maybe-configure-function_reordering_plugin
937 .PHONY: configure-target
938 configure-target: \
939 maybe-configure-target-libstdc++-v3 \
940 maybe-configure-target-libmudflap \
941 maybe-configure-target-libssp \
942 maybe-configure-target-newlib \
943 maybe-configure-target-libgcc \
944 maybe-configure-target-libquadmath \
945 maybe-configure-target-libgfortran \
946 maybe-configure-target-libobjc \
947 maybe-configure-target-libgo \
948 maybe-configure-target-libtermcap \
949 maybe-configure-target-winsup \
950 maybe-configure-target-libgloss \
951 maybe-configure-target-libffi \
952 maybe-configure-target-libjava \
953 maybe-configure-target-zlib \
954 maybe-configure-target-boehm-gc \
955 maybe-configure-target-rda \
956 maybe-configure-target-libada \
957 maybe-configure-target-libgomp \
958 maybe-configure-target-libitm
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
1077 @if function_reordering_plugin-no-bootstrap
1078 all-host: maybe-all-function_reordering_plugin
1079 @endif function_reordering_plugin-no-bootstrap
1081 .PHONY: all-target
1083 @if target-libstdc++-v3-no-bootstrap
1084 all-target: maybe-all-target-libstdc++-v3
1085 @endif target-libstdc++-v3-no-bootstrap
1086 all-target: maybe-all-target-libmudflap
1087 all-target: maybe-all-target-libssp
1088 all-target: maybe-all-target-newlib
1089 @if target-libgcc-no-bootstrap
1090 all-target: maybe-all-target-libgcc
1091 @endif target-libgcc-no-bootstrap
1092 all-target: maybe-all-target-libquadmath
1093 all-target: maybe-all-target-libgfortran
1094 all-target: maybe-all-target-libobjc
1095 all-target: maybe-all-target-libgo
1096 all-target: maybe-all-target-libtermcap
1097 all-target: maybe-all-target-winsup
1098 all-target: maybe-all-target-libgloss
1099 all-target: maybe-all-target-libffi
1100 all-target: maybe-all-target-libjava
1101 all-target: maybe-all-target-zlib
1102 all-target: maybe-all-target-boehm-gc
1103 all-target: maybe-all-target-rda
1104 all-target: maybe-all-target-libada
1105 @if target-libgomp-no-bootstrap
1106 all-target: maybe-all-target-libgomp
1107 @endif target-libgomp-no-bootstrap
1108 all-target: maybe-all-target-libitm
1110 # Do a target for all the subdirectories. A ``make do-X'' will do a
1111 # ``make X'' in all subdirectories (because, in general, there is a
1112 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1113 # but it may do additional work as well).
1115 .PHONY: do-info
1116 do-info:
1117 @: $(MAKE); $(unstage)
1118 @r=`${PWD_COMMAND}`; export r; \
1119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1120 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1121 info-target
1124 .PHONY: info-host
1126 info-host: maybe-info-bfd
1127 info-host: maybe-info-opcodes
1128 info-host: maybe-info-binutils
1129 info-host: maybe-info-bison
1130 info-host: maybe-info-cgen
1131 info-host: maybe-info-dejagnu
1132 info-host: maybe-info-etc
1133 info-host: maybe-info-fastjar
1134 info-host: maybe-info-fixincludes
1135 info-host: maybe-info-flex
1136 info-host: maybe-info-gas
1137 info-host: maybe-info-gcc
1138 info-host: maybe-info-gmp
1139 info-host: maybe-info-mpfr
1140 info-host: maybe-info-mpc
1141 info-host: maybe-info-ppl
1142 info-host: maybe-info-cloog
1143 info-host: maybe-info-libelf
1144 info-host: maybe-info-gold
1145 info-host: maybe-info-gprof
1146 info-host: maybe-info-intl
1147 info-host: maybe-info-tcl
1148 info-host: maybe-info-itcl
1149 info-host: maybe-info-ld
1150 info-host: maybe-info-libcpp
1151 info-host: maybe-info-libdecnumber
1152 info-host: maybe-info-libgui
1153 info-host: maybe-info-libiberty
1154 info-host: maybe-info-libiconv
1155 info-host: maybe-info-m4
1156 info-host: maybe-info-readline
1157 info-host: maybe-info-sid
1158 info-host: maybe-info-sim
1159 info-host: maybe-info-texinfo
1160 info-host: maybe-info-zlib
1161 info-host: maybe-info-gdb
1162 info-host: maybe-info-expect
1163 info-host: maybe-info-guile
1164 info-host: maybe-info-tk
1165 info-host: maybe-info-libtermcap
1166 info-host: maybe-info-utils
1167 info-host: maybe-info-gnattools
1168 info-host: maybe-info-lto-plugin
1169 info-host: maybe-info-function_reordering_plugin
1171 .PHONY: info-target
1173 info-target: maybe-info-target-libstdc++-v3
1174 info-target: maybe-info-target-libmudflap
1175 info-target: maybe-info-target-libssp
1176 info-target: maybe-info-target-newlib
1177 info-target: maybe-info-target-libgcc
1178 info-target: maybe-info-target-libquadmath
1179 info-target: maybe-info-target-libgfortran
1180 info-target: maybe-info-target-libobjc
1181 info-target: maybe-info-target-libgo
1182 info-target: maybe-info-target-libtermcap
1183 info-target: maybe-info-target-winsup
1184 info-target: maybe-info-target-libgloss
1185 info-target: maybe-info-target-libffi
1186 info-target: maybe-info-target-libjava
1187 info-target: maybe-info-target-zlib
1188 info-target: maybe-info-target-boehm-gc
1189 info-target: maybe-info-target-rda
1190 info-target: maybe-info-target-libada
1191 info-target: maybe-info-target-libgomp
1192 info-target: maybe-info-target-libitm
1194 .PHONY: do-dvi
1195 do-dvi:
1196 @: $(MAKE); $(unstage)
1197 @r=`${PWD_COMMAND}`; export r; \
1198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1199 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1200 dvi-target
1203 .PHONY: dvi-host
1205 dvi-host: maybe-dvi-bfd
1206 dvi-host: maybe-dvi-opcodes
1207 dvi-host: maybe-dvi-binutils
1208 dvi-host: maybe-dvi-bison
1209 dvi-host: maybe-dvi-cgen
1210 dvi-host: maybe-dvi-dejagnu
1211 dvi-host: maybe-dvi-etc
1212 dvi-host: maybe-dvi-fastjar
1213 dvi-host: maybe-dvi-fixincludes
1214 dvi-host: maybe-dvi-flex
1215 dvi-host: maybe-dvi-gas
1216 dvi-host: maybe-dvi-gcc
1217 dvi-host: maybe-dvi-gmp
1218 dvi-host: maybe-dvi-mpfr
1219 dvi-host: maybe-dvi-mpc
1220 dvi-host: maybe-dvi-ppl
1221 dvi-host: maybe-dvi-cloog
1222 dvi-host: maybe-dvi-libelf
1223 dvi-host: maybe-dvi-gold
1224 dvi-host: maybe-dvi-gprof
1225 dvi-host: maybe-dvi-intl
1226 dvi-host: maybe-dvi-tcl
1227 dvi-host: maybe-dvi-itcl
1228 dvi-host: maybe-dvi-ld
1229 dvi-host: maybe-dvi-libcpp
1230 dvi-host: maybe-dvi-libdecnumber
1231 dvi-host: maybe-dvi-libgui
1232 dvi-host: maybe-dvi-libiberty
1233 dvi-host: maybe-dvi-libiconv
1234 dvi-host: maybe-dvi-m4
1235 dvi-host: maybe-dvi-readline
1236 dvi-host: maybe-dvi-sid
1237 dvi-host: maybe-dvi-sim
1238 dvi-host: maybe-dvi-texinfo
1239 dvi-host: maybe-dvi-zlib
1240 dvi-host: maybe-dvi-gdb
1241 dvi-host: maybe-dvi-expect
1242 dvi-host: maybe-dvi-guile
1243 dvi-host: maybe-dvi-tk
1244 dvi-host: maybe-dvi-libtermcap
1245 dvi-host: maybe-dvi-utils
1246 dvi-host: maybe-dvi-gnattools
1247 dvi-host: maybe-dvi-lto-plugin
1248 dvi-host: maybe-dvi-function_reordering_plugin
1250 .PHONY: dvi-target
1252 dvi-target: maybe-dvi-target-libstdc++-v3
1253 dvi-target: maybe-dvi-target-libmudflap
1254 dvi-target: maybe-dvi-target-libssp
1255 dvi-target: maybe-dvi-target-newlib
1256 dvi-target: maybe-dvi-target-libgcc
1257 dvi-target: maybe-dvi-target-libquadmath
1258 dvi-target: maybe-dvi-target-libgfortran
1259 dvi-target: maybe-dvi-target-libobjc
1260 dvi-target: maybe-dvi-target-libgo
1261 dvi-target: maybe-dvi-target-libtermcap
1262 dvi-target: maybe-dvi-target-winsup
1263 dvi-target: maybe-dvi-target-libgloss
1264 dvi-target: maybe-dvi-target-libffi
1265 dvi-target: maybe-dvi-target-libjava
1266 dvi-target: maybe-dvi-target-zlib
1267 dvi-target: maybe-dvi-target-boehm-gc
1268 dvi-target: maybe-dvi-target-rda
1269 dvi-target: maybe-dvi-target-libada
1270 dvi-target: maybe-dvi-target-libgomp
1271 dvi-target: maybe-dvi-target-libitm
1273 .PHONY: do-pdf
1274 do-pdf:
1275 @: $(MAKE); $(unstage)
1276 @r=`${PWD_COMMAND}`; export r; \
1277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1279 pdf-target
1282 .PHONY: pdf-host
1284 pdf-host: maybe-pdf-bfd
1285 pdf-host: maybe-pdf-opcodes
1286 pdf-host: maybe-pdf-binutils
1287 pdf-host: maybe-pdf-bison
1288 pdf-host: maybe-pdf-cgen
1289 pdf-host: maybe-pdf-dejagnu
1290 pdf-host: maybe-pdf-etc
1291 pdf-host: maybe-pdf-fastjar
1292 pdf-host: maybe-pdf-fixincludes
1293 pdf-host: maybe-pdf-flex
1294 pdf-host: maybe-pdf-gas
1295 pdf-host: maybe-pdf-gcc
1296 pdf-host: maybe-pdf-gmp
1297 pdf-host: maybe-pdf-mpfr
1298 pdf-host: maybe-pdf-mpc
1299 pdf-host: maybe-pdf-ppl
1300 pdf-host: maybe-pdf-cloog
1301 pdf-host: maybe-pdf-libelf
1302 pdf-host: maybe-pdf-gold
1303 pdf-host: maybe-pdf-gprof
1304 pdf-host: maybe-pdf-intl
1305 pdf-host: maybe-pdf-tcl
1306 pdf-host: maybe-pdf-itcl
1307 pdf-host: maybe-pdf-ld
1308 pdf-host: maybe-pdf-libcpp
1309 pdf-host: maybe-pdf-libdecnumber
1310 pdf-host: maybe-pdf-libgui
1311 pdf-host: maybe-pdf-libiberty
1312 pdf-host: maybe-pdf-libiconv
1313 pdf-host: maybe-pdf-m4
1314 pdf-host: maybe-pdf-readline
1315 pdf-host: maybe-pdf-sid
1316 pdf-host: maybe-pdf-sim
1317 pdf-host: maybe-pdf-texinfo
1318 pdf-host: maybe-pdf-zlib
1319 pdf-host: maybe-pdf-gdb
1320 pdf-host: maybe-pdf-expect
1321 pdf-host: maybe-pdf-guile
1322 pdf-host: maybe-pdf-tk
1323 pdf-host: maybe-pdf-libtermcap
1324 pdf-host: maybe-pdf-utils
1325 pdf-host: maybe-pdf-gnattools
1326 pdf-host: maybe-pdf-lto-plugin
1327 pdf-host: maybe-pdf-function_reordering_plugin
1329 .PHONY: pdf-target
1331 pdf-target: maybe-pdf-target-libstdc++-v3
1332 pdf-target: maybe-pdf-target-libmudflap
1333 pdf-target: maybe-pdf-target-libssp
1334 pdf-target: maybe-pdf-target-newlib
1335 pdf-target: maybe-pdf-target-libgcc
1336 pdf-target: maybe-pdf-target-libquadmath
1337 pdf-target: maybe-pdf-target-libgfortran
1338 pdf-target: maybe-pdf-target-libobjc
1339 pdf-target: maybe-pdf-target-libgo
1340 pdf-target: maybe-pdf-target-libtermcap
1341 pdf-target: maybe-pdf-target-winsup
1342 pdf-target: maybe-pdf-target-libgloss
1343 pdf-target: maybe-pdf-target-libffi
1344 pdf-target: maybe-pdf-target-libjava
1345 pdf-target: maybe-pdf-target-zlib
1346 pdf-target: maybe-pdf-target-boehm-gc
1347 pdf-target: maybe-pdf-target-rda
1348 pdf-target: maybe-pdf-target-libada
1349 pdf-target: maybe-pdf-target-libgomp
1350 pdf-target: maybe-pdf-target-libitm
1352 .PHONY: do-html
1353 do-html:
1354 @: $(MAKE); $(unstage)
1355 @r=`${PWD_COMMAND}`; export r; \
1356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1357 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1358 html-target
1361 .PHONY: html-host
1363 html-host: maybe-html-bfd
1364 html-host: maybe-html-opcodes
1365 html-host: maybe-html-binutils
1366 html-host: maybe-html-bison
1367 html-host: maybe-html-cgen
1368 html-host: maybe-html-dejagnu
1369 html-host: maybe-html-etc
1370 html-host: maybe-html-fastjar
1371 html-host: maybe-html-fixincludes
1372 html-host: maybe-html-flex
1373 html-host: maybe-html-gas
1374 html-host: maybe-html-gcc
1375 html-host: maybe-html-gmp
1376 html-host: maybe-html-mpfr
1377 html-host: maybe-html-mpc
1378 html-host: maybe-html-ppl
1379 html-host: maybe-html-cloog
1380 html-host: maybe-html-libelf
1381 html-host: maybe-html-gold
1382 html-host: maybe-html-gprof
1383 html-host: maybe-html-intl
1384 html-host: maybe-html-tcl
1385 html-host: maybe-html-itcl
1386 html-host: maybe-html-ld
1387 html-host: maybe-html-libcpp
1388 html-host: maybe-html-libdecnumber
1389 html-host: maybe-html-libgui
1390 html-host: maybe-html-libiberty
1391 html-host: maybe-html-libiconv
1392 html-host: maybe-html-m4
1393 html-host: maybe-html-readline
1394 html-host: maybe-html-sid
1395 html-host: maybe-html-sim
1396 html-host: maybe-html-texinfo
1397 html-host: maybe-html-zlib
1398 html-host: maybe-html-gdb
1399 html-host: maybe-html-expect
1400 html-host: maybe-html-guile
1401 html-host: maybe-html-tk
1402 html-host: maybe-html-libtermcap
1403 html-host: maybe-html-utils
1404 html-host: maybe-html-gnattools
1405 html-host: maybe-html-lto-plugin
1406 html-host: maybe-html-function_reordering_plugin
1408 .PHONY: html-target
1410 html-target: maybe-html-target-libstdc++-v3
1411 html-target: maybe-html-target-libmudflap
1412 html-target: maybe-html-target-libssp
1413 html-target: maybe-html-target-newlib
1414 html-target: maybe-html-target-libgcc
1415 html-target: maybe-html-target-libquadmath
1416 html-target: maybe-html-target-libgfortran
1417 html-target: maybe-html-target-libobjc
1418 html-target: maybe-html-target-libgo
1419 html-target: maybe-html-target-libtermcap
1420 html-target: maybe-html-target-winsup
1421 html-target: maybe-html-target-libgloss
1422 html-target: maybe-html-target-libffi
1423 html-target: maybe-html-target-libjava
1424 html-target: maybe-html-target-zlib
1425 html-target: maybe-html-target-boehm-gc
1426 html-target: maybe-html-target-rda
1427 html-target: maybe-html-target-libada
1428 html-target: maybe-html-target-libgomp
1429 html-target: maybe-html-target-libitm
1431 .PHONY: do-TAGS
1432 do-TAGS:
1433 @: $(MAKE); $(unstage)
1434 @r=`${PWD_COMMAND}`; export r; \
1435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1436 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1437 TAGS-target
1440 .PHONY: TAGS-host
1442 TAGS-host: maybe-TAGS-bfd
1443 TAGS-host: maybe-TAGS-opcodes
1444 TAGS-host: maybe-TAGS-binutils
1445 TAGS-host: maybe-TAGS-bison
1446 TAGS-host: maybe-TAGS-cgen
1447 TAGS-host: maybe-TAGS-dejagnu
1448 TAGS-host: maybe-TAGS-etc
1449 TAGS-host: maybe-TAGS-fastjar
1450 TAGS-host: maybe-TAGS-fixincludes
1451 TAGS-host: maybe-TAGS-flex
1452 TAGS-host: maybe-TAGS-gas
1453 TAGS-host: maybe-TAGS-gcc
1454 TAGS-host: maybe-TAGS-gmp
1455 TAGS-host: maybe-TAGS-mpfr
1456 TAGS-host: maybe-TAGS-mpc
1457 TAGS-host: maybe-TAGS-ppl
1458 TAGS-host: maybe-TAGS-cloog
1459 TAGS-host: maybe-TAGS-libelf
1460 TAGS-host: maybe-TAGS-gold
1461 TAGS-host: maybe-TAGS-gprof
1462 TAGS-host: maybe-TAGS-intl
1463 TAGS-host: maybe-TAGS-tcl
1464 TAGS-host: maybe-TAGS-itcl
1465 TAGS-host: maybe-TAGS-ld
1466 TAGS-host: maybe-TAGS-libcpp
1467 TAGS-host: maybe-TAGS-libdecnumber
1468 TAGS-host: maybe-TAGS-libgui
1469 TAGS-host: maybe-TAGS-libiberty
1470 TAGS-host: maybe-TAGS-libiconv
1471 TAGS-host: maybe-TAGS-m4
1472 TAGS-host: maybe-TAGS-readline
1473 TAGS-host: maybe-TAGS-sid
1474 TAGS-host: maybe-TAGS-sim
1475 TAGS-host: maybe-TAGS-texinfo
1476 TAGS-host: maybe-TAGS-zlib
1477 TAGS-host: maybe-TAGS-gdb
1478 TAGS-host: maybe-TAGS-expect
1479 TAGS-host: maybe-TAGS-guile
1480 TAGS-host: maybe-TAGS-tk
1481 TAGS-host: maybe-TAGS-libtermcap
1482 TAGS-host: maybe-TAGS-utils
1483 TAGS-host: maybe-TAGS-gnattools
1484 TAGS-host: maybe-TAGS-lto-plugin
1485 TAGS-host: maybe-TAGS-function_reordering_plugin
1487 .PHONY: TAGS-target
1489 TAGS-target: maybe-TAGS-target-libstdc++-v3
1490 TAGS-target: maybe-TAGS-target-libmudflap
1491 TAGS-target: maybe-TAGS-target-libssp
1492 TAGS-target: maybe-TAGS-target-newlib
1493 TAGS-target: maybe-TAGS-target-libgcc
1494 TAGS-target: maybe-TAGS-target-libquadmath
1495 TAGS-target: maybe-TAGS-target-libgfortran
1496 TAGS-target: maybe-TAGS-target-libobjc
1497 TAGS-target: maybe-TAGS-target-libgo
1498 TAGS-target: maybe-TAGS-target-libtermcap
1499 TAGS-target: maybe-TAGS-target-winsup
1500 TAGS-target: maybe-TAGS-target-libgloss
1501 TAGS-target: maybe-TAGS-target-libffi
1502 TAGS-target: maybe-TAGS-target-libjava
1503 TAGS-target: maybe-TAGS-target-zlib
1504 TAGS-target: maybe-TAGS-target-boehm-gc
1505 TAGS-target: maybe-TAGS-target-rda
1506 TAGS-target: maybe-TAGS-target-libada
1507 TAGS-target: maybe-TAGS-target-libgomp
1508 TAGS-target: maybe-TAGS-target-libitm
1510 .PHONY: do-install-info
1511 do-install-info:
1512 @: $(MAKE); $(unstage)
1513 @r=`${PWD_COMMAND}`; export r; \
1514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1515 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1516 install-info-target
1519 .PHONY: install-info-host
1521 install-info-host: maybe-install-info-bfd
1522 install-info-host: maybe-install-info-opcodes
1523 install-info-host: maybe-install-info-binutils
1524 install-info-host: maybe-install-info-bison
1525 install-info-host: maybe-install-info-cgen
1526 install-info-host: maybe-install-info-dejagnu
1527 install-info-host: maybe-install-info-etc
1528 install-info-host: maybe-install-info-fastjar
1529 install-info-host: maybe-install-info-fixincludes
1530 install-info-host: maybe-install-info-flex
1531 install-info-host: maybe-install-info-gas
1532 install-info-host: maybe-install-info-gcc
1533 install-info-host: maybe-install-info-gmp
1534 install-info-host: maybe-install-info-mpfr
1535 install-info-host: maybe-install-info-mpc
1536 install-info-host: maybe-install-info-ppl
1537 install-info-host: maybe-install-info-cloog
1538 install-info-host: maybe-install-info-libelf
1539 install-info-host: maybe-install-info-gold
1540 install-info-host: maybe-install-info-gprof
1541 install-info-host: maybe-install-info-intl
1542 install-info-host: maybe-install-info-tcl
1543 install-info-host: maybe-install-info-itcl
1544 install-info-host: maybe-install-info-ld
1545 install-info-host: maybe-install-info-libcpp
1546 install-info-host: maybe-install-info-libdecnumber
1547 install-info-host: maybe-install-info-libgui
1548 install-info-host: maybe-install-info-libiberty
1549 install-info-host: maybe-install-info-libiconv
1550 install-info-host: maybe-install-info-m4
1551 install-info-host: maybe-install-info-readline
1552 install-info-host: maybe-install-info-sid
1553 install-info-host: maybe-install-info-sim
1554 install-info-host: maybe-install-info-texinfo
1555 install-info-host: maybe-install-info-zlib
1556 install-info-host: maybe-install-info-gdb
1557 install-info-host: maybe-install-info-expect
1558 install-info-host: maybe-install-info-guile
1559 install-info-host: maybe-install-info-tk
1560 install-info-host: maybe-install-info-libtermcap
1561 install-info-host: maybe-install-info-utils
1562 install-info-host: maybe-install-info-gnattools
1563 install-info-host: maybe-install-info-lto-plugin
1564 install-info-host: maybe-install-info-function_reordering_plugin
1566 .PHONY: install-info-target
1568 install-info-target: maybe-install-info-target-libstdc++-v3
1569 install-info-target: maybe-install-info-target-libmudflap
1570 install-info-target: maybe-install-info-target-libssp
1571 install-info-target: maybe-install-info-target-newlib
1572 install-info-target: maybe-install-info-target-libgcc
1573 install-info-target: maybe-install-info-target-libquadmath
1574 install-info-target: maybe-install-info-target-libgfortran
1575 install-info-target: maybe-install-info-target-libobjc
1576 install-info-target: maybe-install-info-target-libgo
1577 install-info-target: maybe-install-info-target-libtermcap
1578 install-info-target: maybe-install-info-target-winsup
1579 install-info-target: maybe-install-info-target-libgloss
1580 install-info-target: maybe-install-info-target-libffi
1581 install-info-target: maybe-install-info-target-libjava
1582 install-info-target: maybe-install-info-target-zlib
1583 install-info-target: maybe-install-info-target-boehm-gc
1584 install-info-target: maybe-install-info-target-rda
1585 install-info-target: maybe-install-info-target-libada
1586 install-info-target: maybe-install-info-target-libgomp
1587 install-info-target: maybe-install-info-target-libitm
1589 .PHONY: do-install-pdf
1590 do-install-pdf:
1591 @: $(MAKE); $(unstage)
1592 @r=`${PWD_COMMAND}`; export r; \
1593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1594 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1595 install-pdf-target
1598 .PHONY: install-pdf-host
1600 install-pdf-host: maybe-install-pdf-bfd
1601 install-pdf-host: maybe-install-pdf-opcodes
1602 install-pdf-host: maybe-install-pdf-binutils
1603 install-pdf-host: maybe-install-pdf-bison
1604 install-pdf-host: maybe-install-pdf-cgen
1605 install-pdf-host: maybe-install-pdf-dejagnu
1606 install-pdf-host: maybe-install-pdf-etc
1607 install-pdf-host: maybe-install-pdf-fastjar
1608 install-pdf-host: maybe-install-pdf-fixincludes
1609 install-pdf-host: maybe-install-pdf-flex
1610 install-pdf-host: maybe-install-pdf-gas
1611 install-pdf-host: maybe-install-pdf-gcc
1612 install-pdf-host: maybe-install-pdf-gmp
1613 install-pdf-host: maybe-install-pdf-mpfr
1614 install-pdf-host: maybe-install-pdf-mpc
1615 install-pdf-host: maybe-install-pdf-ppl
1616 install-pdf-host: maybe-install-pdf-cloog
1617 install-pdf-host: maybe-install-pdf-libelf
1618 install-pdf-host: maybe-install-pdf-gold
1619 install-pdf-host: maybe-install-pdf-gprof
1620 install-pdf-host: maybe-install-pdf-intl
1621 install-pdf-host: maybe-install-pdf-tcl
1622 install-pdf-host: maybe-install-pdf-itcl
1623 install-pdf-host: maybe-install-pdf-ld
1624 install-pdf-host: maybe-install-pdf-libcpp
1625 install-pdf-host: maybe-install-pdf-libdecnumber
1626 install-pdf-host: maybe-install-pdf-libgui
1627 install-pdf-host: maybe-install-pdf-libiberty
1628 install-pdf-host: maybe-install-pdf-libiconv
1629 install-pdf-host: maybe-install-pdf-m4
1630 install-pdf-host: maybe-install-pdf-readline
1631 install-pdf-host: maybe-install-pdf-sid
1632 install-pdf-host: maybe-install-pdf-sim
1633 install-pdf-host: maybe-install-pdf-texinfo
1634 install-pdf-host: maybe-install-pdf-zlib
1635 install-pdf-host: maybe-install-pdf-gdb
1636 install-pdf-host: maybe-install-pdf-expect
1637 install-pdf-host: maybe-install-pdf-guile
1638 install-pdf-host: maybe-install-pdf-tk
1639 install-pdf-host: maybe-install-pdf-libtermcap
1640 install-pdf-host: maybe-install-pdf-utils
1641 install-pdf-host: maybe-install-pdf-gnattools
1642 install-pdf-host: maybe-install-pdf-lto-plugin
1643 install-pdf-host: maybe-install-pdf-function_reordering_plugin
1645 .PHONY: install-pdf-target
1647 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1648 install-pdf-target: maybe-install-pdf-target-libmudflap
1649 install-pdf-target: maybe-install-pdf-target-libssp
1650 install-pdf-target: maybe-install-pdf-target-newlib
1651 install-pdf-target: maybe-install-pdf-target-libgcc
1652 install-pdf-target: maybe-install-pdf-target-libquadmath
1653 install-pdf-target: maybe-install-pdf-target-libgfortran
1654 install-pdf-target: maybe-install-pdf-target-libobjc
1655 install-pdf-target: maybe-install-pdf-target-libgo
1656 install-pdf-target: maybe-install-pdf-target-libtermcap
1657 install-pdf-target: maybe-install-pdf-target-winsup
1658 install-pdf-target: maybe-install-pdf-target-libgloss
1659 install-pdf-target: maybe-install-pdf-target-libffi
1660 install-pdf-target: maybe-install-pdf-target-libjava
1661 install-pdf-target: maybe-install-pdf-target-zlib
1662 install-pdf-target: maybe-install-pdf-target-boehm-gc
1663 install-pdf-target: maybe-install-pdf-target-rda
1664 install-pdf-target: maybe-install-pdf-target-libada
1665 install-pdf-target: maybe-install-pdf-target-libgomp
1666 install-pdf-target: maybe-install-pdf-target-libitm
1668 .PHONY: do-install-html
1669 do-install-html:
1670 @: $(MAKE); $(unstage)
1671 @r=`${PWD_COMMAND}`; export r; \
1672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1673 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1674 install-html-target
1677 .PHONY: install-html-host
1679 install-html-host: maybe-install-html-bfd
1680 install-html-host: maybe-install-html-opcodes
1681 install-html-host: maybe-install-html-binutils
1682 install-html-host: maybe-install-html-bison
1683 install-html-host: maybe-install-html-cgen
1684 install-html-host: maybe-install-html-dejagnu
1685 install-html-host: maybe-install-html-etc
1686 install-html-host: maybe-install-html-fastjar
1687 install-html-host: maybe-install-html-fixincludes
1688 install-html-host: maybe-install-html-flex
1689 install-html-host: maybe-install-html-gas
1690 install-html-host: maybe-install-html-gcc
1691 install-html-host: maybe-install-html-gmp
1692 install-html-host: maybe-install-html-mpfr
1693 install-html-host: maybe-install-html-mpc
1694 install-html-host: maybe-install-html-ppl
1695 install-html-host: maybe-install-html-cloog
1696 install-html-host: maybe-install-html-libelf
1697 install-html-host: maybe-install-html-gold
1698 install-html-host: maybe-install-html-gprof
1699 install-html-host: maybe-install-html-intl
1700 install-html-host: maybe-install-html-tcl
1701 install-html-host: maybe-install-html-itcl
1702 install-html-host: maybe-install-html-ld
1703 install-html-host: maybe-install-html-libcpp
1704 install-html-host: maybe-install-html-libdecnumber
1705 install-html-host: maybe-install-html-libgui
1706 install-html-host: maybe-install-html-libiberty
1707 install-html-host: maybe-install-html-libiconv
1708 install-html-host: maybe-install-html-m4
1709 install-html-host: maybe-install-html-readline
1710 install-html-host: maybe-install-html-sid
1711 install-html-host: maybe-install-html-sim
1712 install-html-host: maybe-install-html-texinfo
1713 install-html-host: maybe-install-html-zlib
1714 install-html-host: maybe-install-html-gdb
1715 install-html-host: maybe-install-html-expect
1716 install-html-host: maybe-install-html-guile
1717 install-html-host: maybe-install-html-tk
1718 install-html-host: maybe-install-html-libtermcap
1719 install-html-host: maybe-install-html-utils
1720 install-html-host: maybe-install-html-gnattools
1721 install-html-host: maybe-install-html-lto-plugin
1722 install-html-host: maybe-install-html-function_reordering_plugin
1724 .PHONY: install-html-target
1726 install-html-target: maybe-install-html-target-libstdc++-v3
1727 install-html-target: maybe-install-html-target-libmudflap
1728 install-html-target: maybe-install-html-target-libssp
1729 install-html-target: maybe-install-html-target-newlib
1730 install-html-target: maybe-install-html-target-libgcc
1731 install-html-target: maybe-install-html-target-libquadmath
1732 install-html-target: maybe-install-html-target-libgfortran
1733 install-html-target: maybe-install-html-target-libobjc
1734 install-html-target: maybe-install-html-target-libgo
1735 install-html-target: maybe-install-html-target-libtermcap
1736 install-html-target: maybe-install-html-target-winsup
1737 install-html-target: maybe-install-html-target-libgloss
1738 install-html-target: maybe-install-html-target-libffi
1739 install-html-target: maybe-install-html-target-libjava
1740 install-html-target: maybe-install-html-target-zlib
1741 install-html-target: maybe-install-html-target-boehm-gc
1742 install-html-target: maybe-install-html-target-rda
1743 install-html-target: maybe-install-html-target-libada
1744 install-html-target: maybe-install-html-target-libgomp
1745 install-html-target: maybe-install-html-target-libitm
1747 .PHONY: do-installcheck
1748 do-installcheck:
1749 @: $(MAKE); $(unstage)
1750 @r=`${PWD_COMMAND}`; export r; \
1751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1752 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1753 installcheck-target
1756 .PHONY: installcheck-host
1758 installcheck-host: maybe-installcheck-bfd
1759 installcheck-host: maybe-installcheck-opcodes
1760 installcheck-host: maybe-installcheck-binutils
1761 installcheck-host: maybe-installcheck-bison
1762 installcheck-host: maybe-installcheck-cgen
1763 installcheck-host: maybe-installcheck-dejagnu
1764 installcheck-host: maybe-installcheck-etc
1765 installcheck-host: maybe-installcheck-fastjar
1766 installcheck-host: maybe-installcheck-fixincludes
1767 installcheck-host: maybe-installcheck-flex
1768 installcheck-host: maybe-installcheck-gas
1769 installcheck-host: maybe-installcheck-gcc
1770 installcheck-host: maybe-installcheck-gmp
1771 installcheck-host: maybe-installcheck-mpfr
1772 installcheck-host: maybe-installcheck-mpc
1773 installcheck-host: maybe-installcheck-ppl
1774 installcheck-host: maybe-installcheck-cloog
1775 installcheck-host: maybe-installcheck-libelf
1776 installcheck-host: maybe-installcheck-gold
1777 installcheck-host: maybe-installcheck-gprof
1778 installcheck-host: maybe-installcheck-intl
1779 installcheck-host: maybe-installcheck-tcl
1780 installcheck-host: maybe-installcheck-itcl
1781 installcheck-host: maybe-installcheck-ld
1782 installcheck-host: maybe-installcheck-libcpp
1783 installcheck-host: maybe-installcheck-libdecnumber
1784 installcheck-host: maybe-installcheck-libgui
1785 installcheck-host: maybe-installcheck-libiberty
1786 installcheck-host: maybe-installcheck-libiconv
1787 installcheck-host: maybe-installcheck-m4
1788 installcheck-host: maybe-installcheck-readline
1789 installcheck-host: maybe-installcheck-sid
1790 installcheck-host: maybe-installcheck-sim
1791 installcheck-host: maybe-installcheck-texinfo
1792 installcheck-host: maybe-installcheck-zlib
1793 installcheck-host: maybe-installcheck-gdb
1794 installcheck-host: maybe-installcheck-expect
1795 installcheck-host: maybe-installcheck-guile
1796 installcheck-host: maybe-installcheck-tk
1797 installcheck-host: maybe-installcheck-libtermcap
1798 installcheck-host: maybe-installcheck-utils
1799 installcheck-host: maybe-installcheck-gnattools
1800 installcheck-host: maybe-installcheck-lto-plugin
1801 installcheck-host: maybe-installcheck-function_reordering_plugin
1803 .PHONY: installcheck-target
1805 installcheck-target: maybe-installcheck-target-libstdc++-v3
1806 installcheck-target: maybe-installcheck-target-libmudflap
1807 installcheck-target: maybe-installcheck-target-libssp
1808 installcheck-target: maybe-installcheck-target-newlib
1809 installcheck-target: maybe-installcheck-target-libgcc
1810 installcheck-target: maybe-installcheck-target-libquadmath
1811 installcheck-target: maybe-installcheck-target-libgfortran
1812 installcheck-target: maybe-installcheck-target-libobjc
1813 installcheck-target: maybe-installcheck-target-libgo
1814 installcheck-target: maybe-installcheck-target-libtermcap
1815 installcheck-target: maybe-installcheck-target-winsup
1816 installcheck-target: maybe-installcheck-target-libgloss
1817 installcheck-target: maybe-installcheck-target-libffi
1818 installcheck-target: maybe-installcheck-target-libjava
1819 installcheck-target: maybe-installcheck-target-zlib
1820 installcheck-target: maybe-installcheck-target-boehm-gc
1821 installcheck-target: maybe-installcheck-target-rda
1822 installcheck-target: maybe-installcheck-target-libada
1823 installcheck-target: maybe-installcheck-target-libgomp
1824 installcheck-target: maybe-installcheck-target-libitm
1826 .PHONY: do-mostlyclean
1827 do-mostlyclean:
1828 @: $(MAKE); $(unstage)
1829 @r=`${PWD_COMMAND}`; export r; \
1830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1831 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1832 mostlyclean-target
1835 .PHONY: mostlyclean-host
1837 mostlyclean-host: maybe-mostlyclean-bfd
1838 mostlyclean-host: maybe-mostlyclean-opcodes
1839 mostlyclean-host: maybe-mostlyclean-binutils
1840 mostlyclean-host: maybe-mostlyclean-bison
1841 mostlyclean-host: maybe-mostlyclean-cgen
1842 mostlyclean-host: maybe-mostlyclean-dejagnu
1843 mostlyclean-host: maybe-mostlyclean-etc
1844 mostlyclean-host: maybe-mostlyclean-fastjar
1845 mostlyclean-host: maybe-mostlyclean-fixincludes
1846 mostlyclean-host: maybe-mostlyclean-flex
1847 mostlyclean-host: maybe-mostlyclean-gas
1848 mostlyclean-host: maybe-mostlyclean-gcc
1849 mostlyclean-host: maybe-mostlyclean-gmp
1850 mostlyclean-host: maybe-mostlyclean-mpfr
1851 mostlyclean-host: maybe-mostlyclean-mpc
1852 mostlyclean-host: maybe-mostlyclean-ppl
1853 mostlyclean-host: maybe-mostlyclean-cloog
1854 mostlyclean-host: maybe-mostlyclean-libelf
1855 mostlyclean-host: maybe-mostlyclean-gold
1856 mostlyclean-host: maybe-mostlyclean-gprof
1857 mostlyclean-host: maybe-mostlyclean-intl
1858 mostlyclean-host: maybe-mostlyclean-tcl
1859 mostlyclean-host: maybe-mostlyclean-itcl
1860 mostlyclean-host: maybe-mostlyclean-ld
1861 mostlyclean-host: maybe-mostlyclean-libcpp
1862 mostlyclean-host: maybe-mostlyclean-libdecnumber
1863 mostlyclean-host: maybe-mostlyclean-libgui
1864 mostlyclean-host: maybe-mostlyclean-libiberty
1865 mostlyclean-host: maybe-mostlyclean-libiconv
1866 mostlyclean-host: maybe-mostlyclean-m4
1867 mostlyclean-host: maybe-mostlyclean-readline
1868 mostlyclean-host: maybe-mostlyclean-sid
1869 mostlyclean-host: maybe-mostlyclean-sim
1870 mostlyclean-host: maybe-mostlyclean-texinfo
1871 mostlyclean-host: maybe-mostlyclean-zlib
1872 mostlyclean-host: maybe-mostlyclean-gdb
1873 mostlyclean-host: maybe-mostlyclean-expect
1874 mostlyclean-host: maybe-mostlyclean-guile
1875 mostlyclean-host: maybe-mostlyclean-tk
1876 mostlyclean-host: maybe-mostlyclean-libtermcap
1877 mostlyclean-host: maybe-mostlyclean-utils
1878 mostlyclean-host: maybe-mostlyclean-gnattools
1879 mostlyclean-host: maybe-mostlyclean-lto-plugin
1880 mostlyclean-host: maybe-mostlyclean-function_reordering_plugin
1882 .PHONY: mostlyclean-target
1884 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1885 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1886 mostlyclean-target: maybe-mostlyclean-target-libssp
1887 mostlyclean-target: maybe-mostlyclean-target-newlib
1888 mostlyclean-target: maybe-mostlyclean-target-libgcc
1889 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1890 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1891 mostlyclean-target: maybe-mostlyclean-target-libobjc
1892 mostlyclean-target: maybe-mostlyclean-target-libgo
1893 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1894 mostlyclean-target: maybe-mostlyclean-target-winsup
1895 mostlyclean-target: maybe-mostlyclean-target-libgloss
1896 mostlyclean-target: maybe-mostlyclean-target-libffi
1897 mostlyclean-target: maybe-mostlyclean-target-libjava
1898 mostlyclean-target: maybe-mostlyclean-target-zlib
1899 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1900 mostlyclean-target: maybe-mostlyclean-target-rda
1901 mostlyclean-target: maybe-mostlyclean-target-libada
1902 mostlyclean-target: maybe-mostlyclean-target-libgomp
1903 mostlyclean-target: maybe-mostlyclean-target-libitm
1905 .PHONY: do-clean
1906 do-clean:
1907 @: $(MAKE); $(unstage)
1908 @r=`${PWD_COMMAND}`; export r; \
1909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1910 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1911 clean-target
1914 .PHONY: clean-host
1916 clean-host: maybe-clean-bfd
1917 clean-host: maybe-clean-opcodes
1918 clean-host: maybe-clean-binutils
1919 clean-host: maybe-clean-bison
1920 clean-host: maybe-clean-cgen
1921 clean-host: maybe-clean-dejagnu
1922 clean-host: maybe-clean-etc
1923 clean-host: maybe-clean-fastjar
1924 clean-host: maybe-clean-fixincludes
1925 clean-host: maybe-clean-flex
1926 clean-host: maybe-clean-gas
1927 clean-host: maybe-clean-gcc
1928 clean-host: maybe-clean-gmp
1929 clean-host: maybe-clean-mpfr
1930 clean-host: maybe-clean-mpc
1931 clean-host: maybe-clean-ppl
1932 clean-host: maybe-clean-cloog
1933 clean-host: maybe-clean-libelf
1934 clean-host: maybe-clean-gold
1935 clean-host: maybe-clean-gprof
1936 clean-host: maybe-clean-intl
1937 clean-host: maybe-clean-tcl
1938 clean-host: maybe-clean-itcl
1939 clean-host: maybe-clean-ld
1940 clean-host: maybe-clean-libcpp
1941 clean-host: maybe-clean-libdecnumber
1942 clean-host: maybe-clean-libgui
1943 clean-host: maybe-clean-libiberty
1944 clean-host: maybe-clean-libiconv
1945 clean-host: maybe-clean-m4
1946 clean-host: maybe-clean-readline
1947 clean-host: maybe-clean-sid
1948 clean-host: maybe-clean-sim
1949 clean-host: maybe-clean-texinfo
1950 clean-host: maybe-clean-zlib
1951 clean-host: maybe-clean-gdb
1952 clean-host: maybe-clean-expect
1953 clean-host: maybe-clean-guile
1954 clean-host: maybe-clean-tk
1955 clean-host: maybe-clean-libtermcap
1956 clean-host: maybe-clean-utils
1957 clean-host: maybe-clean-gnattools
1958 clean-host: maybe-clean-lto-plugin
1959 clean-host: maybe-clean-function_reordering_plugin
1961 .PHONY: clean-target
1963 clean-target: maybe-clean-target-libstdc++-v3
1964 clean-target: maybe-clean-target-libmudflap
1965 clean-target: maybe-clean-target-libssp
1966 clean-target: maybe-clean-target-newlib
1967 clean-target: maybe-clean-target-libgcc
1968 clean-target: maybe-clean-target-libquadmath
1969 clean-target: maybe-clean-target-libgfortran
1970 clean-target: maybe-clean-target-libobjc
1971 clean-target: maybe-clean-target-libgo
1972 clean-target: maybe-clean-target-libtermcap
1973 clean-target: maybe-clean-target-winsup
1974 clean-target: maybe-clean-target-libgloss
1975 clean-target: maybe-clean-target-libffi
1976 clean-target: maybe-clean-target-libjava
1977 clean-target: maybe-clean-target-zlib
1978 clean-target: maybe-clean-target-boehm-gc
1979 clean-target: maybe-clean-target-rda
1980 clean-target: maybe-clean-target-libada
1981 clean-target: maybe-clean-target-libgomp
1982 clean-target: maybe-clean-target-libitm
1984 .PHONY: do-distclean
1985 do-distclean:
1986 @: $(MAKE); $(unstage)
1987 @r=`${PWD_COMMAND}`; export r; \
1988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1989 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1990 distclean-target
1993 .PHONY: distclean-host
1995 distclean-host: maybe-distclean-bfd
1996 distclean-host: maybe-distclean-opcodes
1997 distclean-host: maybe-distclean-binutils
1998 distclean-host: maybe-distclean-bison
1999 distclean-host: maybe-distclean-cgen
2000 distclean-host: maybe-distclean-dejagnu
2001 distclean-host: maybe-distclean-etc
2002 distclean-host: maybe-distclean-fastjar
2003 distclean-host: maybe-distclean-fixincludes
2004 distclean-host: maybe-distclean-flex
2005 distclean-host: maybe-distclean-gas
2006 distclean-host: maybe-distclean-gcc
2007 distclean-host: maybe-distclean-gmp
2008 distclean-host: maybe-distclean-mpfr
2009 distclean-host: maybe-distclean-mpc
2010 distclean-host: maybe-distclean-ppl
2011 distclean-host: maybe-distclean-cloog
2012 distclean-host: maybe-distclean-libelf
2013 distclean-host: maybe-distclean-gold
2014 distclean-host: maybe-distclean-gprof
2015 distclean-host: maybe-distclean-intl
2016 distclean-host: maybe-distclean-tcl
2017 distclean-host: maybe-distclean-itcl
2018 distclean-host: maybe-distclean-ld
2019 distclean-host: maybe-distclean-libcpp
2020 distclean-host: maybe-distclean-libdecnumber
2021 distclean-host: maybe-distclean-libgui
2022 distclean-host: maybe-distclean-libiberty
2023 distclean-host: maybe-distclean-libiconv
2024 distclean-host: maybe-distclean-m4
2025 distclean-host: maybe-distclean-readline
2026 distclean-host: maybe-distclean-sid
2027 distclean-host: maybe-distclean-sim
2028 distclean-host: maybe-distclean-texinfo
2029 distclean-host: maybe-distclean-zlib
2030 distclean-host: maybe-distclean-gdb
2031 distclean-host: maybe-distclean-expect
2032 distclean-host: maybe-distclean-guile
2033 distclean-host: maybe-distclean-tk
2034 distclean-host: maybe-distclean-libtermcap
2035 distclean-host: maybe-distclean-utils
2036 distclean-host: maybe-distclean-gnattools
2037 distclean-host: maybe-distclean-lto-plugin
2038 distclean-host: maybe-distclean-function_reordering_plugin
2040 .PHONY: distclean-target
2042 distclean-target: maybe-distclean-target-libstdc++-v3
2043 distclean-target: maybe-distclean-target-libmudflap
2044 distclean-target: maybe-distclean-target-libssp
2045 distclean-target: maybe-distclean-target-newlib
2046 distclean-target: maybe-distclean-target-libgcc
2047 distclean-target: maybe-distclean-target-libquadmath
2048 distclean-target: maybe-distclean-target-libgfortran
2049 distclean-target: maybe-distclean-target-libobjc
2050 distclean-target: maybe-distclean-target-libgo
2051 distclean-target: maybe-distclean-target-libtermcap
2052 distclean-target: maybe-distclean-target-winsup
2053 distclean-target: maybe-distclean-target-libgloss
2054 distclean-target: maybe-distclean-target-libffi
2055 distclean-target: maybe-distclean-target-libjava
2056 distclean-target: maybe-distclean-target-zlib
2057 distclean-target: maybe-distclean-target-boehm-gc
2058 distclean-target: maybe-distclean-target-rda
2059 distclean-target: maybe-distclean-target-libada
2060 distclean-target: maybe-distclean-target-libgomp
2061 distclean-target: maybe-distclean-target-libitm
2063 .PHONY: do-maintainer-clean
2064 do-maintainer-clean:
2065 @: $(MAKE); $(unstage)
2066 @r=`${PWD_COMMAND}`; export r; \
2067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2068 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2069 maintainer-clean-target
2072 .PHONY: maintainer-clean-host
2074 maintainer-clean-host: maybe-maintainer-clean-bfd
2075 maintainer-clean-host: maybe-maintainer-clean-opcodes
2076 maintainer-clean-host: maybe-maintainer-clean-binutils
2077 maintainer-clean-host: maybe-maintainer-clean-bison
2078 maintainer-clean-host: maybe-maintainer-clean-cgen
2079 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2080 maintainer-clean-host: maybe-maintainer-clean-etc
2081 maintainer-clean-host: maybe-maintainer-clean-fastjar
2082 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2083 maintainer-clean-host: maybe-maintainer-clean-flex
2084 maintainer-clean-host: maybe-maintainer-clean-gas
2085 maintainer-clean-host: maybe-maintainer-clean-gcc
2086 maintainer-clean-host: maybe-maintainer-clean-gmp
2087 maintainer-clean-host: maybe-maintainer-clean-mpfr
2088 maintainer-clean-host: maybe-maintainer-clean-mpc
2089 maintainer-clean-host: maybe-maintainer-clean-ppl
2090 maintainer-clean-host: maybe-maintainer-clean-cloog
2091 maintainer-clean-host: maybe-maintainer-clean-libelf
2092 maintainer-clean-host: maybe-maintainer-clean-gold
2093 maintainer-clean-host: maybe-maintainer-clean-gprof
2094 maintainer-clean-host: maybe-maintainer-clean-intl
2095 maintainer-clean-host: maybe-maintainer-clean-tcl
2096 maintainer-clean-host: maybe-maintainer-clean-itcl
2097 maintainer-clean-host: maybe-maintainer-clean-ld
2098 maintainer-clean-host: maybe-maintainer-clean-libcpp
2099 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2100 maintainer-clean-host: maybe-maintainer-clean-libgui
2101 maintainer-clean-host: maybe-maintainer-clean-libiberty
2102 maintainer-clean-host: maybe-maintainer-clean-libiconv
2103 maintainer-clean-host: maybe-maintainer-clean-m4
2104 maintainer-clean-host: maybe-maintainer-clean-readline
2105 maintainer-clean-host: maybe-maintainer-clean-sid
2106 maintainer-clean-host: maybe-maintainer-clean-sim
2107 maintainer-clean-host: maybe-maintainer-clean-texinfo
2108 maintainer-clean-host: maybe-maintainer-clean-zlib
2109 maintainer-clean-host: maybe-maintainer-clean-gdb
2110 maintainer-clean-host: maybe-maintainer-clean-expect
2111 maintainer-clean-host: maybe-maintainer-clean-guile
2112 maintainer-clean-host: maybe-maintainer-clean-tk
2113 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2114 maintainer-clean-host: maybe-maintainer-clean-utils
2115 maintainer-clean-host: maybe-maintainer-clean-gnattools
2116 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2117 maintainer-clean-host: maybe-maintainer-clean-function_reordering_plugin
2119 .PHONY: maintainer-clean-target
2121 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2122 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2123 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2124 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2125 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2126 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2127 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2128 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2129 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2130 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2131 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2132 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2133 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2134 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2135 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2136 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2137 maintainer-clean-target: maybe-maintainer-clean-target-rda
2138 maintainer-clean-target: maybe-maintainer-clean-target-libada
2139 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2140 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2143 # Here are the targets which correspond to the do-X targets.
2145 .PHONY: info installcheck dvi pdf html
2146 .PHONY: install-info install-pdf install-html
2147 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2148 .PHONY: local-clean local-distclean local-maintainer-clean
2149 info: do-info
2150 installcheck: do-installcheck
2151 dvi: do-dvi
2152 pdf: do-pdf
2153 html: do-html
2155 # Make sure makeinfo is built before we do a `make info', if we're
2156 # in fact building texinfo.
2157 do-info: maybe-all-texinfo
2159 install-info: do-install-info dir.info
2160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2161 if [ -f dir.info ] ; then \
2162 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2163 else true ; fi
2165 install-pdf: do-install-pdf
2167 install-html: do-install-html
2169 local-clean:
2170 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2172 local-distclean:
2173 -rm -f Makefile config.status config.cache mh-frag mt-frag
2174 -rm -f maybedep.tmp serdep.tmp
2175 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2176 rm -rf $(TARGET_SUBDIR); \
2177 else true; fi
2178 -rm -rf $(BUILD_SUBDIR)
2179 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2180 rm -rf $(HOST_SUBDIR); \
2181 else true; fi
2182 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2183 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2184 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2185 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2186 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2187 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2189 local-maintainer-clean:
2190 @echo "This command is intended for maintainers to use;"
2191 @echo "it deletes files that may require special tools to rebuild."
2193 clean: do-clean local-clean
2194 mostlyclean: do-mostlyclean local-clean
2195 distclean: do-distclean local-clean local-distclean
2196 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2197 maintainer-clean: local-distclean
2198 realclean: maintainer-clean
2200 # Check target.
2202 .PHONY: check do-check
2203 check: do-check
2205 # Only include modules actually being configured and built.
2206 .PHONY: check-host
2207 check-host: \
2208 maybe-check-bfd \
2209 maybe-check-opcodes \
2210 maybe-check-binutils \
2211 maybe-check-bison \
2212 maybe-check-cgen \
2213 maybe-check-dejagnu \
2214 maybe-check-etc \
2215 maybe-check-fastjar \
2216 maybe-check-fixincludes \
2217 maybe-check-flex \
2218 maybe-check-gas \
2219 maybe-check-gcc \
2220 maybe-check-gmp \
2221 maybe-check-mpfr \
2222 maybe-check-mpc \
2223 maybe-check-ppl \
2224 maybe-check-cloog \
2225 maybe-check-libelf \
2226 maybe-check-gold \
2227 maybe-check-gprof \
2228 maybe-check-intl \
2229 maybe-check-tcl \
2230 maybe-check-itcl \
2231 maybe-check-ld \
2232 maybe-check-libcpp \
2233 maybe-check-libdecnumber \
2234 maybe-check-libgui \
2235 maybe-check-libiberty \
2236 maybe-check-libiconv \
2237 maybe-check-m4 \
2238 maybe-check-readline \
2239 maybe-check-sid \
2240 maybe-check-sim \
2241 maybe-check-texinfo \
2242 maybe-check-zlib \
2243 maybe-check-gdb \
2244 maybe-check-expect \
2245 maybe-check-guile \
2246 maybe-check-tk \
2247 maybe-check-libtermcap \
2248 maybe-check-utils \
2249 maybe-check-gnattools \
2250 maybe-check-lto-plugin \
2251 maybe-check-function_reordering_plugin
2253 .PHONY: check-target
2254 check-target: \
2255 maybe-check-target-libstdc++-v3 \
2256 maybe-check-target-libmudflap \
2257 maybe-check-target-libssp \
2258 maybe-check-target-newlib \
2259 maybe-check-target-libgcc \
2260 maybe-check-target-libquadmath \
2261 maybe-check-target-libgfortran \
2262 maybe-check-target-libobjc \
2263 maybe-check-target-libgo \
2264 maybe-check-target-libtermcap \
2265 maybe-check-target-winsup \
2266 maybe-check-target-libgloss \
2267 maybe-check-target-libffi \
2268 maybe-check-target-libjava \
2269 maybe-check-target-zlib \
2270 maybe-check-target-boehm-gc \
2271 maybe-check-target-rda \
2272 maybe-check-target-libada \
2273 maybe-check-target-libgomp \
2274 maybe-check-target-libitm
2276 do-check:
2277 @: $(MAKE); $(unstage)
2278 @r=`${PWD_COMMAND}`; export r; \
2279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2280 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2282 # Automated reporting of test results.
2284 warning.log: build.log
2285 $(srcdir)/contrib/warn_summary build.log > $@
2287 mail-report.log:
2288 if test x'$(BOOT_CFLAGS)' != x''; then \
2289 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2290 fi; \
2291 $(srcdir)/contrib/test_summary -t >$@
2292 chmod +x $@
2293 echo If you really want to send e-mail, run ./$@ now
2295 mail-report-with-warnings.log: warning.log
2296 if test x'$(BOOT_CFLAGS)' != x''; then \
2297 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2298 fi; \
2299 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2300 chmod +x $@
2301 echo If you really want to send e-mail, run ./$@ now
2303 # Installation targets.
2305 .PHONY: install uninstall
2306 install:
2307 @: $(MAKE); $(unstage)
2308 @r=`${PWD_COMMAND}`; export r; \
2309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2310 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2312 .PHONY: install-host-nogcc
2313 install-host-nogcc: \
2314 maybe-install-bfd \
2315 maybe-install-opcodes \
2316 maybe-install-binutils \
2317 maybe-install-bison \
2318 maybe-install-cgen \
2319 maybe-install-dejagnu \
2320 maybe-install-etc \
2321 maybe-install-fastjar \
2322 maybe-install-fixincludes \
2323 maybe-install-flex \
2324 maybe-install-gas \
2325 maybe-install-gmp \
2326 maybe-install-mpfr \
2327 maybe-install-mpc \
2328 maybe-install-ppl \
2329 maybe-install-cloog \
2330 maybe-install-libelf \
2331 maybe-install-gold \
2332 maybe-install-gprof \
2333 maybe-install-intl \
2334 maybe-install-tcl \
2335 maybe-install-itcl \
2336 maybe-install-ld \
2337 maybe-install-libcpp \
2338 maybe-install-libdecnumber \
2339 maybe-install-libgui \
2340 maybe-install-libiberty \
2341 maybe-install-libiconv \
2342 maybe-install-m4 \
2343 maybe-install-readline \
2344 maybe-install-sid \
2345 maybe-install-sim \
2346 maybe-install-texinfo \
2347 maybe-install-zlib \
2348 maybe-install-gdb \
2349 maybe-install-expect \
2350 maybe-install-guile \
2351 maybe-install-tk \
2352 maybe-install-libtermcap \
2353 maybe-install-utils \
2354 maybe-install-gnattools \
2355 maybe-install-lto-plugin \
2356 maybe-install-function_reordering_plugin
2358 .PHONY: install-host
2359 install-host: \
2360 maybe-install-bfd \
2361 maybe-install-opcodes \
2362 maybe-install-binutils \
2363 maybe-install-bison \
2364 maybe-install-cgen \
2365 maybe-install-dejagnu \
2366 maybe-install-etc \
2367 maybe-install-fastjar \
2368 maybe-install-fixincludes \
2369 maybe-install-flex \
2370 maybe-install-gas \
2371 maybe-install-gcc \
2372 maybe-install-gmp \
2373 maybe-install-mpfr \
2374 maybe-install-mpc \
2375 maybe-install-ppl \
2376 maybe-install-cloog \
2377 maybe-install-libelf \
2378 maybe-install-gold \
2379 maybe-install-gprof \
2380 maybe-install-intl \
2381 maybe-install-tcl \
2382 maybe-install-itcl \
2383 maybe-install-ld \
2384 maybe-install-libcpp \
2385 maybe-install-libdecnumber \
2386 maybe-install-libgui \
2387 maybe-install-libiberty \
2388 maybe-install-libiconv \
2389 maybe-install-m4 \
2390 maybe-install-readline \
2391 maybe-install-sid \
2392 maybe-install-sim \
2393 maybe-install-texinfo \
2394 maybe-install-zlib \
2395 maybe-install-gdb \
2396 maybe-install-expect \
2397 maybe-install-guile \
2398 maybe-install-tk \
2399 maybe-install-libtermcap \
2400 maybe-install-utils \
2401 maybe-install-gnattools \
2402 maybe-install-lto-plugin \
2403 maybe-install-function_reordering_plugin
2405 .PHONY: install-target
2406 install-target: \
2407 maybe-install-target-libstdc++-v3 \
2408 maybe-install-target-libmudflap \
2409 maybe-install-target-libssp \
2410 maybe-install-target-newlib \
2411 maybe-install-target-libgcc \
2412 maybe-install-target-libquadmath \
2413 maybe-install-target-libgfortran \
2414 maybe-install-target-libobjc \
2415 maybe-install-target-libgo \
2416 maybe-install-target-libtermcap \
2417 maybe-install-target-winsup \
2418 maybe-install-target-libgloss \
2419 maybe-install-target-libffi \
2420 maybe-install-target-libjava \
2421 maybe-install-target-zlib \
2422 maybe-install-target-boehm-gc \
2423 maybe-install-target-rda \
2424 maybe-install-target-libada \
2425 maybe-install-target-libgomp \
2426 maybe-install-target-libitm
2428 uninstall:
2429 @echo "the uninstall target is not supported in this tree"
2431 .PHONY: install.all
2432 install.all: install-no-fixedincludes
2433 @if [ -f ./gcc/Makefile ] ; then \
2434 r=`${PWD_COMMAND}` ; export r ; \
2435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2436 $(HOST_EXPORTS) \
2437 (cd ./gcc && \
2438 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2439 else \
2440 true ; \
2443 # install-no-fixedincludes is used to allow the elaboration of binary packages
2444 # suitable for distribution, where we cannot include the fixed system header
2445 # files.
2446 .PHONY: install-no-fixedincludes
2447 install-no-fixedincludes: installdirs install-host-nogcc \
2448 install-target gcc-install-no-fixedincludes
2450 .PHONY: install-strip
2451 install-strip:
2452 @: $(MAKE); $(unstage)
2453 @r=`${PWD_COMMAND}`; export r; \
2454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2455 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2457 .PHONY: install-strip-host
2458 install-strip-host: \
2459 maybe-install-strip-bfd \
2460 maybe-install-strip-opcodes \
2461 maybe-install-strip-binutils \
2462 maybe-install-strip-bison \
2463 maybe-install-strip-cgen \
2464 maybe-install-strip-dejagnu \
2465 maybe-install-strip-etc \
2466 maybe-install-strip-fastjar \
2467 maybe-install-strip-fixincludes \
2468 maybe-install-strip-flex \
2469 maybe-install-strip-gas \
2470 maybe-install-strip-gcc \
2471 maybe-install-strip-gmp \
2472 maybe-install-strip-mpfr \
2473 maybe-install-strip-mpc \
2474 maybe-install-strip-ppl \
2475 maybe-install-strip-cloog \
2476 maybe-install-strip-libelf \
2477 maybe-install-strip-gold \
2478 maybe-install-strip-gprof \
2479 maybe-install-strip-intl \
2480 maybe-install-strip-tcl \
2481 maybe-install-strip-itcl \
2482 maybe-install-strip-ld \
2483 maybe-install-strip-libcpp \
2484 maybe-install-strip-libdecnumber \
2485 maybe-install-strip-libgui \
2486 maybe-install-strip-libiberty \
2487 maybe-install-strip-libiconv \
2488 maybe-install-strip-m4 \
2489 maybe-install-strip-readline \
2490 maybe-install-strip-sid \
2491 maybe-install-strip-sim \
2492 maybe-install-strip-texinfo \
2493 maybe-install-strip-zlib \
2494 maybe-install-strip-gdb \
2495 maybe-install-strip-expect \
2496 maybe-install-strip-guile \
2497 maybe-install-strip-tk \
2498 maybe-install-strip-libtermcap \
2499 maybe-install-strip-utils \
2500 maybe-install-strip-gnattools \
2501 maybe-install-strip-lto-plugin \
2502 maybe-install-strip-function_reordering_plugin
2504 .PHONY: install-strip-target
2505 install-strip-target: \
2506 maybe-install-strip-target-libstdc++-v3 \
2507 maybe-install-strip-target-libmudflap \
2508 maybe-install-strip-target-libssp \
2509 maybe-install-strip-target-newlib \
2510 maybe-install-strip-target-libgcc \
2511 maybe-install-strip-target-libquadmath \
2512 maybe-install-strip-target-libgfortran \
2513 maybe-install-strip-target-libobjc \
2514 maybe-install-strip-target-libgo \
2515 maybe-install-strip-target-libtermcap \
2516 maybe-install-strip-target-winsup \
2517 maybe-install-strip-target-libgloss \
2518 maybe-install-strip-target-libffi \
2519 maybe-install-strip-target-libjava \
2520 maybe-install-strip-target-zlib \
2521 maybe-install-strip-target-boehm-gc \
2522 maybe-install-strip-target-rda \
2523 maybe-install-strip-target-libada \
2524 maybe-install-strip-target-libgomp \
2525 maybe-install-strip-target-libitm
2528 ### other supporting targets
2530 MAKEDIRS= \
2531 $(DESTDIR)$(prefix) \
2532 $(DESTDIR)$(exec_prefix)
2533 .PHONY: installdirs
2534 installdirs: mkinstalldirs
2535 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2537 dir.info: do-install-info
2538 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2539 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2540 mv -f dir.info.new dir.info ; \
2541 else true ; \
2544 dist:
2545 @echo "Building a full distribution of this tree isn't done"
2546 @echo "via 'make dist'. Check out the etc/ subdirectory"
2548 etags tags: TAGS
2550 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2551 # ability to use several tags files at once, so there is probably no need
2552 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2553 # (if we felt like it) have this Makefile write a piece of elisp which
2554 # the user could load to tell emacs19 where all the TAGS files we just
2555 # built are.
2556 TAGS: do-TAGS
2558 # ------------------------------------
2559 # Macros for configure and all targets
2560 # ------------------------------------
2566 # --------------------------------------
2567 # Modules which run on the build machine
2568 # --------------------------------------
2571 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2572 maybe-configure-build-libiberty:
2573 @if gcc-bootstrap
2574 configure-build-libiberty: stage_current
2575 @endif gcc-bootstrap
2576 @if build-libiberty
2577 maybe-configure-build-libiberty: configure-build-libiberty
2578 configure-build-libiberty:
2579 @: $(MAKE); $(unstage)
2580 @r=`${PWD_COMMAND}`; export r; \
2581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2582 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2583 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2584 $(BUILD_EXPORTS) \
2585 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2586 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2587 case $(srcdir) in \
2588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2589 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2591 esac; \
2592 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2593 libsrcdir="$$s/libiberty"; \
2594 rm -f no-such-file || : ; \
2595 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2596 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2597 --target=${target_alias} $${srcdiroption} \
2598 || exit 1
2599 @endif build-libiberty
2605 .PHONY: all-build-libiberty maybe-all-build-libiberty
2606 maybe-all-build-libiberty:
2607 @if gcc-bootstrap
2608 all-build-libiberty: stage_current
2609 @endif gcc-bootstrap
2610 @if build-libiberty
2611 TARGET-build-libiberty=all
2612 maybe-all-build-libiberty: all-build-libiberty
2613 all-build-libiberty: configure-build-libiberty
2614 @: $(MAKE); $(unstage)
2615 @r=`${PWD_COMMAND}`; export r; \
2616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2617 $(BUILD_EXPORTS) \
2618 (cd $(BUILD_SUBDIR)/libiberty && \
2619 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2620 $(TARGET-build-libiberty))
2621 @endif build-libiberty
2627 .PHONY: configure-build-bison maybe-configure-build-bison
2628 maybe-configure-build-bison:
2629 @if gcc-bootstrap
2630 configure-build-bison: stage_current
2631 @endif gcc-bootstrap
2632 @if build-bison
2633 maybe-configure-build-bison: configure-build-bison
2634 configure-build-bison:
2635 @: $(MAKE); $(unstage)
2636 @r=`${PWD_COMMAND}`; export r; \
2637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2638 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2639 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2640 $(BUILD_EXPORTS) \
2641 echo Configuring in $(BUILD_SUBDIR)/bison; \
2642 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2643 case $(srcdir) in \
2644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2645 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2647 esac; \
2648 srcdiroption="--srcdir=$${topdir}/bison"; \
2649 libsrcdir="$$s/bison"; \
2650 rm -f no-such-file || : ; \
2651 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2652 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2653 --target=${target_alias} $${srcdiroption} \
2654 || exit 1
2655 @endif build-bison
2661 .PHONY: all-build-bison maybe-all-build-bison
2662 maybe-all-build-bison:
2663 @if gcc-bootstrap
2664 all-build-bison: stage_current
2665 @endif gcc-bootstrap
2666 @if build-bison
2667 TARGET-build-bison=all
2668 maybe-all-build-bison: all-build-bison
2669 all-build-bison: configure-build-bison
2670 @: $(MAKE); $(unstage)
2671 @r=`${PWD_COMMAND}`; export r; \
2672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2673 $(BUILD_EXPORTS) \
2674 (cd $(BUILD_SUBDIR)/bison && \
2675 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2676 $(TARGET-build-bison))
2677 @endif build-bison
2683 .PHONY: configure-build-flex maybe-configure-build-flex
2684 maybe-configure-build-flex:
2685 @if gcc-bootstrap
2686 configure-build-flex: stage_current
2687 @endif gcc-bootstrap
2688 @if build-flex
2689 maybe-configure-build-flex: configure-build-flex
2690 configure-build-flex:
2691 @: $(MAKE); $(unstage)
2692 @r=`${PWD_COMMAND}`; export r; \
2693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2694 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2695 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2696 $(BUILD_EXPORTS) \
2697 echo Configuring in $(BUILD_SUBDIR)/flex; \
2698 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2699 case $(srcdir) in \
2700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2701 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2703 esac; \
2704 srcdiroption="--srcdir=$${topdir}/flex"; \
2705 libsrcdir="$$s/flex"; \
2706 rm -f no-such-file || : ; \
2707 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2708 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2709 --target=${target_alias} $${srcdiroption} \
2710 || exit 1
2711 @endif build-flex
2717 .PHONY: all-build-flex maybe-all-build-flex
2718 maybe-all-build-flex:
2719 @if gcc-bootstrap
2720 all-build-flex: stage_current
2721 @endif gcc-bootstrap
2722 @if build-flex
2723 TARGET-build-flex=all
2724 maybe-all-build-flex: all-build-flex
2725 all-build-flex: configure-build-flex
2726 @: $(MAKE); $(unstage)
2727 @r=`${PWD_COMMAND}`; export r; \
2728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2729 $(BUILD_EXPORTS) \
2730 (cd $(BUILD_SUBDIR)/flex && \
2731 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2732 $(TARGET-build-flex))
2733 @endif build-flex
2739 .PHONY: configure-build-m4 maybe-configure-build-m4
2740 maybe-configure-build-m4:
2741 @if gcc-bootstrap
2742 configure-build-m4: stage_current
2743 @endif gcc-bootstrap
2744 @if build-m4
2745 maybe-configure-build-m4: configure-build-m4
2746 configure-build-m4:
2747 @: $(MAKE); $(unstage)
2748 @r=`${PWD_COMMAND}`; export r; \
2749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2750 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2751 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2752 $(BUILD_EXPORTS) \
2753 echo Configuring in $(BUILD_SUBDIR)/m4; \
2754 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2755 case $(srcdir) in \
2756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2757 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2759 esac; \
2760 srcdiroption="--srcdir=$${topdir}/m4"; \
2761 libsrcdir="$$s/m4"; \
2762 rm -f no-such-file || : ; \
2763 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2764 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2765 --target=${target_alias} $${srcdiroption} \
2766 || exit 1
2767 @endif build-m4
2773 .PHONY: all-build-m4 maybe-all-build-m4
2774 maybe-all-build-m4:
2775 @if gcc-bootstrap
2776 all-build-m4: stage_current
2777 @endif gcc-bootstrap
2778 @if build-m4
2779 TARGET-build-m4=all
2780 maybe-all-build-m4: all-build-m4
2781 all-build-m4: configure-build-m4
2782 @: $(MAKE); $(unstage)
2783 @r=`${PWD_COMMAND}`; export r; \
2784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2785 $(BUILD_EXPORTS) \
2786 (cd $(BUILD_SUBDIR)/m4 && \
2787 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2788 $(TARGET-build-m4))
2789 @endif build-m4
2795 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2796 maybe-configure-build-texinfo:
2797 @if gcc-bootstrap
2798 configure-build-texinfo: stage_current
2799 @endif gcc-bootstrap
2800 @if build-texinfo
2801 maybe-configure-build-texinfo: configure-build-texinfo
2802 configure-build-texinfo:
2803 @: $(MAKE); $(unstage)
2804 @r=`${PWD_COMMAND}`; export r; \
2805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2806 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2807 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2808 $(BUILD_EXPORTS) \
2809 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2810 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2811 case $(srcdir) in \
2812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2813 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2815 esac; \
2816 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2817 libsrcdir="$$s/texinfo"; \
2818 rm -f no-such-file || : ; \
2819 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2820 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2821 --target=${target_alias} $${srcdiroption} \
2822 || exit 1
2823 @endif build-texinfo
2829 .PHONY: all-build-texinfo maybe-all-build-texinfo
2830 maybe-all-build-texinfo:
2831 @if gcc-bootstrap
2832 all-build-texinfo: stage_current
2833 @endif gcc-bootstrap
2834 @if build-texinfo
2835 TARGET-build-texinfo=all
2836 maybe-all-build-texinfo: all-build-texinfo
2837 all-build-texinfo: configure-build-texinfo
2838 @: $(MAKE); $(unstage)
2839 @r=`${PWD_COMMAND}`; export r; \
2840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2841 $(BUILD_EXPORTS) \
2842 (cd $(BUILD_SUBDIR)/texinfo && \
2843 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2844 $(TARGET-build-texinfo))
2845 @endif build-texinfo
2851 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2852 maybe-configure-build-fixincludes:
2853 @if gcc-bootstrap
2854 configure-build-fixincludes: stage_current
2855 @endif gcc-bootstrap
2856 @if build-fixincludes
2857 maybe-configure-build-fixincludes: configure-build-fixincludes
2858 configure-build-fixincludes:
2859 @: $(MAKE); $(unstage)
2860 @r=`${PWD_COMMAND}`; export r; \
2861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2862 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2863 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2864 $(BUILD_EXPORTS) \
2865 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2866 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2867 case $(srcdir) in \
2868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2869 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2871 esac; \
2872 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2873 libsrcdir="$$s/fixincludes"; \
2874 rm -f no-such-file || : ; \
2875 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2876 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2877 --target=${target_alias} $${srcdiroption} \
2878 || exit 1
2879 @endif build-fixincludes
2885 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2886 maybe-all-build-fixincludes:
2887 @if gcc-bootstrap
2888 all-build-fixincludes: stage_current
2889 @endif gcc-bootstrap
2890 @if build-fixincludes
2891 TARGET-build-fixincludes=all
2892 maybe-all-build-fixincludes: all-build-fixincludes
2893 all-build-fixincludes: configure-build-fixincludes
2894 @: $(MAKE); $(unstage)
2895 @r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2897 $(BUILD_EXPORTS) \
2898 (cd $(BUILD_SUBDIR)/fixincludes && \
2899 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2900 $(TARGET-build-fixincludes))
2901 @endif build-fixincludes
2907 # --------------------------------------
2908 # Modules which run on the host machine
2909 # --------------------------------------
2912 .PHONY: configure-bfd maybe-configure-bfd
2913 maybe-configure-bfd:
2914 @if gcc-bootstrap
2915 configure-bfd: stage_current
2916 @endif gcc-bootstrap
2917 @if bfd
2918 maybe-configure-bfd: configure-bfd
2919 configure-bfd:
2920 @r=`${PWD_COMMAND}`; export r; \
2921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2922 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2924 $(HOST_EXPORTS) \
2925 echo Configuring in $(HOST_SUBDIR)/bfd; \
2926 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2927 case $(srcdir) in \
2928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2929 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2931 esac; \
2932 srcdiroption="--srcdir=$${topdir}/bfd"; \
2933 libsrcdir="$$s/bfd"; \
2934 $(SHELL) $${libsrcdir}/configure \
2935 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2936 --target=${target_alias} $${srcdiroption} \
2937 || exit 1
2938 @endif bfd
2942 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2943 maybe-configure-stage1-bfd:
2944 @if bfd-bootstrap
2945 maybe-configure-stage1-bfd: configure-stage1-bfd
2946 configure-stage1-bfd:
2947 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2948 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2949 @r=`${PWD_COMMAND}`; export r; \
2950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2951 TFLAGS="$(STAGE1_TFLAGS)"; \
2952 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2953 $(HOST_EXPORTS) \
2954 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2955 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2956 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2957 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2959 cd $(HOST_SUBDIR)/bfd || exit 1; \
2960 case $(srcdir) in \
2961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2962 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2964 esac; \
2965 srcdiroption="--srcdir=$${topdir}/bfd"; \
2966 libsrcdir="$$s/bfd"; \
2967 $(SHELL) $${libsrcdir}/configure \
2968 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2969 --target=${target_alias} $${srcdiroption} \
2970 $(STAGE1_CONFIGURE_FLAGS)
2971 @endif bfd-bootstrap
2973 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2974 maybe-configure-stage2-bfd:
2975 @if bfd-bootstrap
2976 maybe-configure-stage2-bfd: configure-stage2-bfd
2977 configure-stage2-bfd:
2978 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2979 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2980 @r=`${PWD_COMMAND}`; export r; \
2981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2982 TFLAGS="$(STAGE2_TFLAGS)"; \
2983 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2984 $(HOST_EXPORTS) \
2985 $(POSTSTAGE1_HOST_EXPORTS) \
2986 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2987 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2988 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2989 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2991 cd $(HOST_SUBDIR)/bfd || exit 1; \
2992 case $(srcdir) in \
2993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2994 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2996 esac; \
2997 srcdiroption="--srcdir=$${topdir}/bfd"; \
2998 libsrcdir="$$s/bfd"; \
2999 $(SHELL) $${libsrcdir}/configure \
3000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3001 --target=${target_alias} $${srcdiroption} \
3002 --with-build-libsubdir=$(HOST_SUBDIR) \
3003 $(STAGE2_CONFIGURE_FLAGS)
3004 @endif bfd-bootstrap
3006 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3007 maybe-configure-stage3-bfd:
3008 @if bfd-bootstrap
3009 maybe-configure-stage3-bfd: configure-stage3-bfd
3010 configure-stage3-bfd:
3011 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3013 @r=`${PWD_COMMAND}`; export r; \
3014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3015 TFLAGS="$(STAGE3_TFLAGS)"; \
3016 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3017 $(HOST_EXPORTS) \
3018 $(POSTSTAGE1_HOST_EXPORTS) \
3019 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3020 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3021 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3022 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3024 cd $(HOST_SUBDIR)/bfd || exit 1; \
3025 case $(srcdir) in \
3026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3027 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3029 esac; \
3030 srcdiroption="--srcdir=$${topdir}/bfd"; \
3031 libsrcdir="$$s/bfd"; \
3032 $(SHELL) $${libsrcdir}/configure \
3033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3034 --target=${target_alias} $${srcdiroption} \
3035 --with-build-libsubdir=$(HOST_SUBDIR) \
3036 $(STAGE3_CONFIGURE_FLAGS)
3037 @endif bfd-bootstrap
3039 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3040 maybe-configure-stage4-bfd:
3041 @if bfd-bootstrap
3042 maybe-configure-stage4-bfd: configure-stage4-bfd
3043 configure-stage4-bfd:
3044 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3046 @r=`${PWD_COMMAND}`; export r; \
3047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3048 TFLAGS="$(STAGE4_TFLAGS)"; \
3049 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3050 $(HOST_EXPORTS) \
3051 $(POSTSTAGE1_HOST_EXPORTS) \
3052 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3053 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3054 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3055 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3057 cd $(HOST_SUBDIR)/bfd || exit 1; \
3058 case $(srcdir) in \
3059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3060 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3062 esac; \
3063 srcdiroption="--srcdir=$${topdir}/bfd"; \
3064 libsrcdir="$$s/bfd"; \
3065 $(SHELL) $${libsrcdir}/configure \
3066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3067 --target=${target_alias} $${srcdiroption} \
3068 --with-build-libsubdir=$(HOST_SUBDIR) \
3069 $(STAGE4_CONFIGURE_FLAGS)
3070 @endif bfd-bootstrap
3072 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3073 maybe-configure-stageprofile-bfd:
3074 @if bfd-bootstrap
3075 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3076 configure-stageprofile-bfd:
3077 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3079 @r=`${PWD_COMMAND}`; export r; \
3080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3081 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3082 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3083 $(HOST_EXPORTS) \
3084 $(POSTSTAGE1_HOST_EXPORTS) \
3085 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3086 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3087 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3088 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3090 cd $(HOST_SUBDIR)/bfd || exit 1; \
3091 case $(srcdir) in \
3092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3093 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3095 esac; \
3096 srcdiroption="--srcdir=$${topdir}/bfd"; \
3097 libsrcdir="$$s/bfd"; \
3098 $(SHELL) $${libsrcdir}/configure \
3099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3100 --target=${target_alias} $${srcdiroption} \
3101 --with-build-libsubdir=$(HOST_SUBDIR) \
3102 $(STAGEprofile_CONFIGURE_FLAGS)
3103 @endif bfd-bootstrap
3105 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3106 maybe-configure-stagefeedback-bfd:
3107 @if bfd-bootstrap
3108 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3109 configure-stagefeedback-bfd:
3110 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3112 @r=`${PWD_COMMAND}`; export r; \
3113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3114 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3115 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3116 $(HOST_EXPORTS) \
3117 $(POSTSTAGE1_HOST_EXPORTS) \
3118 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3119 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3120 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3121 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3123 cd $(HOST_SUBDIR)/bfd || exit 1; \
3124 case $(srcdir) in \
3125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3126 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3128 esac; \
3129 srcdiroption="--srcdir=$${topdir}/bfd"; \
3130 libsrcdir="$$s/bfd"; \
3131 $(SHELL) $${libsrcdir}/configure \
3132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3133 --target=${target_alias} $${srcdiroption} \
3134 --with-build-libsubdir=$(HOST_SUBDIR) \
3135 $(STAGEfeedback_CONFIGURE_FLAGS)
3136 @endif bfd-bootstrap
3142 .PHONY: all-bfd maybe-all-bfd
3143 maybe-all-bfd:
3144 @if gcc-bootstrap
3145 all-bfd: stage_current
3146 @endif gcc-bootstrap
3147 @if bfd
3148 TARGET-bfd=all
3149 maybe-all-bfd: all-bfd
3150 all-bfd: configure-bfd
3151 @r=`${PWD_COMMAND}`; export r; \
3152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3153 $(HOST_EXPORTS) \
3154 (cd $(HOST_SUBDIR)/bfd && \
3155 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3156 $(TARGET-bfd))
3157 @endif bfd
3161 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3162 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3163 maybe-all-stage1-bfd:
3164 maybe-clean-stage1-bfd:
3165 @if bfd-bootstrap
3166 maybe-all-stage1-bfd: all-stage1-bfd
3167 all-stage1: all-stage1-bfd
3168 TARGET-stage1-bfd = $(TARGET-bfd)
3169 all-stage1-bfd: configure-stage1-bfd
3170 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3171 @r=`${PWD_COMMAND}`; export r; \
3172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3173 TFLAGS="$(STAGE1_TFLAGS)"; \
3174 $(HOST_EXPORTS) \
3175 cd $(HOST_SUBDIR)/bfd && \
3176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3177 CFLAGS="$(STAGE1_CFLAGS)" \
3178 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3179 LIBCFLAGS="$(LIBCFLAGS)" \
3180 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3181 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3182 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3183 $(EXTRA_HOST_FLAGS) \
3184 TFLAGS="$(STAGE1_TFLAGS)" \
3185 $(TARGET-stage1-bfd)
3187 maybe-clean-stage1-bfd: clean-stage1-bfd
3188 clean-stage1: clean-stage1-bfd
3189 clean-stage1-bfd:
3190 @if [ $(current_stage) = stage1 ]; then \
3191 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3192 else \
3193 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3194 $(MAKE) stage1-start; \
3195 fi; \
3196 cd $(HOST_SUBDIR)/bfd && \
3197 $(MAKE) $(EXTRA_HOST_FLAGS) \
3198 clean
3199 @endif bfd-bootstrap
3202 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3203 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3204 maybe-all-stage2-bfd:
3205 maybe-clean-stage2-bfd:
3206 @if bfd-bootstrap
3207 maybe-all-stage2-bfd: all-stage2-bfd
3208 all-stage2: all-stage2-bfd
3209 TARGET-stage2-bfd = $(TARGET-bfd)
3210 all-stage2-bfd: configure-stage2-bfd
3211 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3212 @r=`${PWD_COMMAND}`; export r; \
3213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3214 TFLAGS="$(STAGE2_TFLAGS)"; \
3215 $(HOST_EXPORTS) \
3216 $(POSTSTAGE1_HOST_EXPORTS) \
3217 cd $(HOST_SUBDIR)/bfd && \
3218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3219 CFLAGS="$(STAGE2_CFLAGS)" \
3220 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3221 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3226 TFLAGS="$(STAGE2_TFLAGS)" \
3227 $(TARGET-stage2-bfd)
3229 maybe-clean-stage2-bfd: clean-stage2-bfd
3230 clean-stage2: clean-stage2-bfd
3231 clean-stage2-bfd:
3232 @if [ $(current_stage) = stage2 ]; then \
3233 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3234 else \
3235 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3236 $(MAKE) stage2-start; \
3237 fi; \
3238 cd $(HOST_SUBDIR)/bfd && \
3239 $(MAKE) $(EXTRA_HOST_FLAGS) \
3240 $(POSTSTAGE1_FLAGS_TO_PASS) \
3241 clean
3242 @endif bfd-bootstrap
3245 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3246 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3247 maybe-all-stage3-bfd:
3248 maybe-clean-stage3-bfd:
3249 @if bfd-bootstrap
3250 maybe-all-stage3-bfd: all-stage3-bfd
3251 all-stage3: all-stage3-bfd
3252 TARGET-stage3-bfd = $(TARGET-bfd)
3253 all-stage3-bfd: configure-stage3-bfd
3254 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3255 @r=`${PWD_COMMAND}`; export r; \
3256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3257 TFLAGS="$(STAGE3_TFLAGS)"; \
3258 $(HOST_EXPORTS) \
3259 $(POSTSTAGE1_HOST_EXPORTS) \
3260 cd $(HOST_SUBDIR)/bfd && \
3261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3262 CFLAGS="$(STAGE3_CFLAGS)" \
3263 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3264 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3269 TFLAGS="$(STAGE3_TFLAGS)" \
3270 $(TARGET-stage3-bfd)
3272 maybe-clean-stage3-bfd: clean-stage3-bfd
3273 clean-stage3: clean-stage3-bfd
3274 clean-stage3-bfd:
3275 @if [ $(current_stage) = stage3 ]; then \
3276 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3277 else \
3278 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3279 $(MAKE) stage3-start; \
3280 fi; \
3281 cd $(HOST_SUBDIR)/bfd && \
3282 $(MAKE) $(EXTRA_HOST_FLAGS) \
3283 $(POSTSTAGE1_FLAGS_TO_PASS) \
3284 clean
3285 @endif bfd-bootstrap
3288 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3289 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3290 maybe-all-stage4-bfd:
3291 maybe-clean-stage4-bfd:
3292 @if bfd-bootstrap
3293 maybe-all-stage4-bfd: all-stage4-bfd
3294 all-stage4: all-stage4-bfd
3295 TARGET-stage4-bfd = $(TARGET-bfd)
3296 all-stage4-bfd: configure-stage4-bfd
3297 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3298 @r=`${PWD_COMMAND}`; export r; \
3299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3300 TFLAGS="$(STAGE4_TFLAGS)"; \
3301 $(HOST_EXPORTS) \
3302 $(POSTSTAGE1_HOST_EXPORTS) \
3303 cd $(HOST_SUBDIR)/bfd && \
3304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3305 CFLAGS="$(STAGE4_CFLAGS)" \
3306 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3307 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3312 TFLAGS="$(STAGE4_TFLAGS)" \
3313 $(TARGET-stage4-bfd)
3315 maybe-clean-stage4-bfd: clean-stage4-bfd
3316 clean-stage4: clean-stage4-bfd
3317 clean-stage4-bfd:
3318 @if [ $(current_stage) = stage4 ]; then \
3319 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3320 else \
3321 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3322 $(MAKE) stage4-start; \
3323 fi; \
3324 cd $(HOST_SUBDIR)/bfd && \
3325 $(MAKE) $(EXTRA_HOST_FLAGS) \
3326 $(POSTSTAGE1_FLAGS_TO_PASS) \
3327 clean
3328 @endif bfd-bootstrap
3331 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3332 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3333 maybe-all-stageprofile-bfd:
3334 maybe-clean-stageprofile-bfd:
3335 @if bfd-bootstrap
3336 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3337 all-stageprofile: all-stageprofile-bfd
3338 TARGET-stageprofile-bfd = $(TARGET-bfd)
3339 all-stageprofile-bfd: configure-stageprofile-bfd
3340 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3341 @r=`${PWD_COMMAND}`; export r; \
3342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3343 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3344 $(HOST_EXPORTS) \
3345 $(POSTSTAGE1_HOST_EXPORTS) \
3346 cd $(HOST_SUBDIR)/bfd && \
3347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3348 CFLAGS="$(STAGEprofile_CFLAGS)" \
3349 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3350 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3354 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3355 TFLAGS="$(STAGEprofile_TFLAGS)" \
3356 $(TARGET-stageprofile-bfd)
3358 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3359 clean-stageprofile: clean-stageprofile-bfd
3360 clean-stageprofile-bfd:
3361 @if [ $(current_stage) = stageprofile ]; then \
3362 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3363 else \
3364 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3365 $(MAKE) stageprofile-start; \
3366 fi; \
3367 cd $(HOST_SUBDIR)/bfd && \
3368 $(MAKE) $(EXTRA_HOST_FLAGS) \
3369 $(POSTSTAGE1_FLAGS_TO_PASS) \
3370 clean
3371 @endif bfd-bootstrap
3374 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3375 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3376 maybe-all-stagefeedback-bfd:
3377 maybe-clean-stagefeedback-bfd:
3378 @if bfd-bootstrap
3379 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3380 all-stagefeedback: all-stagefeedback-bfd
3381 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3382 all-stagefeedback-bfd: configure-stagefeedback-bfd
3383 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3384 @r=`${PWD_COMMAND}`; export r; \
3385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3386 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3387 $(HOST_EXPORTS) \
3388 $(POSTSTAGE1_HOST_EXPORTS) \
3389 cd $(HOST_SUBDIR)/bfd && \
3390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3391 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3392 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3393 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3397 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3398 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3399 $(TARGET-stagefeedback-bfd)
3401 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3402 clean-stagefeedback: clean-stagefeedback-bfd
3403 clean-stagefeedback-bfd:
3404 @if [ $(current_stage) = stagefeedback ]; then \
3405 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3406 else \
3407 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3408 $(MAKE) stagefeedback-start; \
3409 fi; \
3410 cd $(HOST_SUBDIR)/bfd && \
3411 $(MAKE) $(EXTRA_HOST_FLAGS) \
3412 $(POSTSTAGE1_FLAGS_TO_PASS) \
3413 clean
3414 @endif bfd-bootstrap
3420 .PHONY: check-bfd maybe-check-bfd
3421 maybe-check-bfd:
3422 @if bfd
3423 maybe-check-bfd: check-bfd
3425 check-bfd:
3426 @: $(MAKE); $(unstage)
3427 @r=`${PWD_COMMAND}`; export r; \
3428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3429 $(HOST_EXPORTS) \
3430 (cd $(HOST_SUBDIR)/bfd && \
3431 $(MAKE) $(FLAGS_TO_PASS) check)
3433 @endif bfd
3435 .PHONY: install-bfd maybe-install-bfd
3436 maybe-install-bfd:
3437 @if bfd
3438 maybe-install-bfd: install-bfd
3440 install-bfd: installdirs
3441 @: $(MAKE); $(unstage)
3442 @r=`${PWD_COMMAND}`; export r; \
3443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3444 $(HOST_EXPORTS) \
3445 (cd $(HOST_SUBDIR)/bfd && \
3446 $(MAKE) $(FLAGS_TO_PASS) install)
3448 @endif bfd
3450 .PHONY: install-strip-bfd maybe-install-strip-bfd
3451 maybe-install-strip-bfd:
3452 @if bfd
3453 maybe-install-strip-bfd: install-strip-bfd
3455 install-strip-bfd: installdirs
3456 @: $(MAKE); $(unstage)
3457 @r=`${PWD_COMMAND}`; export r; \
3458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3459 $(HOST_EXPORTS) \
3460 (cd $(HOST_SUBDIR)/bfd && \
3461 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3463 @endif bfd
3465 # Other targets (info, dvi, pdf, etc.)
3467 .PHONY: maybe-info-bfd info-bfd
3468 maybe-info-bfd:
3469 @if bfd
3470 maybe-info-bfd: info-bfd
3472 info-bfd: \
3473 configure-bfd
3474 @[ -f ./bfd/Makefile ] || exit 0; \
3475 r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3477 $(HOST_EXPORTS) \
3478 for flag in $(EXTRA_HOST_FLAGS) ; do \
3479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3480 done; \
3481 echo "Doing info in bfd" ; \
3482 (cd $(HOST_SUBDIR)/bfd && \
3483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3485 "RANLIB=$${RANLIB}" \
3486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3487 info) \
3488 || exit 1
3490 @endif bfd
3492 .PHONY: maybe-dvi-bfd dvi-bfd
3493 maybe-dvi-bfd:
3494 @if bfd
3495 maybe-dvi-bfd: dvi-bfd
3497 dvi-bfd: \
3498 configure-bfd
3499 @[ -f ./bfd/Makefile ] || exit 0; \
3500 r=`${PWD_COMMAND}`; export r; \
3501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3502 $(HOST_EXPORTS) \
3503 for flag in $(EXTRA_HOST_FLAGS) ; do \
3504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3505 done; \
3506 echo "Doing dvi in bfd" ; \
3507 (cd $(HOST_SUBDIR)/bfd && \
3508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3510 "RANLIB=$${RANLIB}" \
3511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3512 dvi) \
3513 || exit 1
3515 @endif bfd
3517 .PHONY: maybe-pdf-bfd pdf-bfd
3518 maybe-pdf-bfd:
3519 @if bfd
3520 maybe-pdf-bfd: pdf-bfd
3522 pdf-bfd: \
3523 configure-bfd
3524 @[ -f ./bfd/Makefile ] || exit 0; \
3525 r=`${PWD_COMMAND}`; export r; \
3526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3527 $(HOST_EXPORTS) \
3528 for flag in $(EXTRA_HOST_FLAGS) ; do \
3529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3530 done; \
3531 echo "Doing pdf in bfd" ; \
3532 (cd $(HOST_SUBDIR)/bfd && \
3533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3535 "RANLIB=$${RANLIB}" \
3536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3537 pdf) \
3538 || exit 1
3540 @endif bfd
3542 .PHONY: maybe-html-bfd html-bfd
3543 maybe-html-bfd:
3544 @if bfd
3545 maybe-html-bfd: html-bfd
3547 html-bfd: \
3548 configure-bfd
3549 @[ -f ./bfd/Makefile ] || exit 0; \
3550 r=`${PWD_COMMAND}`; export r; \
3551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3552 $(HOST_EXPORTS) \
3553 for flag in $(EXTRA_HOST_FLAGS) ; do \
3554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3555 done; \
3556 echo "Doing html in bfd" ; \
3557 (cd $(HOST_SUBDIR)/bfd && \
3558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3560 "RANLIB=$${RANLIB}" \
3561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3562 html) \
3563 || exit 1
3565 @endif bfd
3567 .PHONY: maybe-TAGS-bfd TAGS-bfd
3568 maybe-TAGS-bfd:
3569 @if bfd
3570 maybe-TAGS-bfd: TAGS-bfd
3572 TAGS-bfd: \
3573 configure-bfd
3574 @[ -f ./bfd/Makefile ] || exit 0; \
3575 r=`${PWD_COMMAND}`; export r; \
3576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3577 $(HOST_EXPORTS) \
3578 for flag in $(EXTRA_HOST_FLAGS) ; do \
3579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3580 done; \
3581 echo "Doing TAGS in bfd" ; \
3582 (cd $(HOST_SUBDIR)/bfd && \
3583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3585 "RANLIB=$${RANLIB}" \
3586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3587 TAGS) \
3588 || exit 1
3590 @endif bfd
3592 .PHONY: maybe-install-info-bfd install-info-bfd
3593 maybe-install-info-bfd:
3594 @if bfd
3595 maybe-install-info-bfd: install-info-bfd
3597 install-info-bfd: \
3598 configure-bfd \
3599 info-bfd
3600 @[ -f ./bfd/Makefile ] || exit 0; \
3601 r=`${PWD_COMMAND}`; export r; \
3602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3603 $(HOST_EXPORTS) \
3604 for flag in $(EXTRA_HOST_FLAGS) ; do \
3605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3606 done; \
3607 echo "Doing install-info in bfd" ; \
3608 (cd $(HOST_SUBDIR)/bfd && \
3609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3611 "RANLIB=$${RANLIB}" \
3612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3613 install-info) \
3614 || exit 1
3616 @endif bfd
3618 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3619 maybe-install-pdf-bfd:
3620 @if bfd
3621 maybe-install-pdf-bfd: install-pdf-bfd
3623 install-pdf-bfd: \
3624 configure-bfd \
3625 pdf-bfd
3626 @[ -f ./bfd/Makefile ] || exit 0; \
3627 r=`${PWD_COMMAND}`; export r; \
3628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3629 $(HOST_EXPORTS) \
3630 for flag in $(EXTRA_HOST_FLAGS) ; do \
3631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3632 done; \
3633 echo "Doing install-pdf in bfd" ; \
3634 (cd $(HOST_SUBDIR)/bfd && \
3635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3637 "RANLIB=$${RANLIB}" \
3638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3639 install-pdf) \
3640 || exit 1
3642 @endif bfd
3644 .PHONY: maybe-install-html-bfd install-html-bfd
3645 maybe-install-html-bfd:
3646 @if bfd
3647 maybe-install-html-bfd: install-html-bfd
3649 install-html-bfd: \
3650 configure-bfd \
3651 html-bfd
3652 @[ -f ./bfd/Makefile ] || exit 0; \
3653 r=`${PWD_COMMAND}`; export r; \
3654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3655 $(HOST_EXPORTS) \
3656 for flag in $(EXTRA_HOST_FLAGS) ; do \
3657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3658 done; \
3659 echo "Doing install-html in bfd" ; \
3660 (cd $(HOST_SUBDIR)/bfd && \
3661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3663 "RANLIB=$${RANLIB}" \
3664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3665 install-html) \
3666 || exit 1
3668 @endif bfd
3670 .PHONY: maybe-installcheck-bfd installcheck-bfd
3671 maybe-installcheck-bfd:
3672 @if bfd
3673 maybe-installcheck-bfd: installcheck-bfd
3675 installcheck-bfd: \
3676 configure-bfd
3677 @[ -f ./bfd/Makefile ] || exit 0; \
3678 r=`${PWD_COMMAND}`; export r; \
3679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3680 $(HOST_EXPORTS) \
3681 for flag in $(EXTRA_HOST_FLAGS) ; do \
3682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3683 done; \
3684 echo "Doing installcheck in bfd" ; \
3685 (cd $(HOST_SUBDIR)/bfd && \
3686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3688 "RANLIB=$${RANLIB}" \
3689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3690 installcheck) \
3691 || exit 1
3693 @endif bfd
3695 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3696 maybe-mostlyclean-bfd:
3697 @if bfd
3698 maybe-mostlyclean-bfd: mostlyclean-bfd
3700 mostlyclean-bfd:
3701 @[ -f ./bfd/Makefile ] || exit 0; \
3702 r=`${PWD_COMMAND}`; export r; \
3703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3704 $(HOST_EXPORTS) \
3705 for flag in $(EXTRA_HOST_FLAGS) ; do \
3706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3707 done; \
3708 echo "Doing mostlyclean in bfd" ; \
3709 (cd $(HOST_SUBDIR)/bfd && \
3710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3712 "RANLIB=$${RANLIB}" \
3713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3714 mostlyclean) \
3715 || exit 1
3717 @endif bfd
3719 .PHONY: maybe-clean-bfd clean-bfd
3720 maybe-clean-bfd:
3721 @if bfd
3722 maybe-clean-bfd: clean-bfd
3724 clean-bfd:
3725 @[ -f ./bfd/Makefile ] || exit 0; \
3726 r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 $(HOST_EXPORTS) \
3729 for flag in $(EXTRA_HOST_FLAGS) ; do \
3730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3731 done; \
3732 echo "Doing clean in bfd" ; \
3733 (cd $(HOST_SUBDIR)/bfd && \
3734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3736 "RANLIB=$${RANLIB}" \
3737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3738 clean) \
3739 || exit 1
3741 @endif bfd
3743 .PHONY: maybe-distclean-bfd distclean-bfd
3744 maybe-distclean-bfd:
3745 @if bfd
3746 maybe-distclean-bfd: distclean-bfd
3748 distclean-bfd:
3749 @[ -f ./bfd/Makefile ] || exit 0; \
3750 r=`${PWD_COMMAND}`; export r; \
3751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 $(HOST_EXPORTS) \
3753 for flag in $(EXTRA_HOST_FLAGS) ; do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 done; \
3756 echo "Doing distclean in bfd" ; \
3757 (cd $(HOST_SUBDIR)/bfd && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3762 distclean) \
3763 || exit 1
3765 @endif bfd
3767 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3768 maybe-maintainer-clean-bfd:
3769 @if bfd
3770 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3772 maintainer-clean-bfd:
3773 @[ -f ./bfd/Makefile ] || exit 0; \
3774 r=`${PWD_COMMAND}`; export r; \
3775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3776 $(HOST_EXPORTS) \
3777 for flag in $(EXTRA_HOST_FLAGS) ; do \
3778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3779 done; \
3780 echo "Doing maintainer-clean in bfd" ; \
3781 (cd $(HOST_SUBDIR)/bfd && \
3782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784 "RANLIB=$${RANLIB}" \
3785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3786 maintainer-clean) \
3787 || exit 1
3789 @endif bfd
3793 .PHONY: configure-opcodes maybe-configure-opcodes
3794 maybe-configure-opcodes:
3795 @if gcc-bootstrap
3796 configure-opcodes: stage_current
3797 @endif gcc-bootstrap
3798 @if opcodes
3799 maybe-configure-opcodes: configure-opcodes
3800 configure-opcodes:
3801 @r=`${PWD_COMMAND}`; export r; \
3802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3803 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3805 $(HOST_EXPORTS) \
3806 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3807 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3808 case $(srcdir) in \
3809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3810 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3812 esac; \
3813 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3814 libsrcdir="$$s/opcodes"; \
3815 $(SHELL) $${libsrcdir}/configure \
3816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3817 --target=${target_alias} $${srcdiroption} \
3818 || exit 1
3819 @endif opcodes
3823 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3824 maybe-configure-stage1-opcodes:
3825 @if opcodes-bootstrap
3826 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3827 configure-stage1-opcodes:
3828 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3830 @r=`${PWD_COMMAND}`; export r; \
3831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3832 TFLAGS="$(STAGE1_TFLAGS)"; \
3833 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3834 $(HOST_EXPORTS) \
3835 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3836 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3837 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3838 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3840 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3841 case $(srcdir) in \
3842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3843 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3845 esac; \
3846 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3847 libsrcdir="$$s/opcodes"; \
3848 $(SHELL) $${libsrcdir}/configure \
3849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3850 --target=${target_alias} $${srcdiroption} \
3851 $(STAGE1_CONFIGURE_FLAGS)
3852 @endif opcodes-bootstrap
3854 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3855 maybe-configure-stage2-opcodes:
3856 @if opcodes-bootstrap
3857 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3858 configure-stage2-opcodes:
3859 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3861 @r=`${PWD_COMMAND}`; export r; \
3862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3863 TFLAGS="$(STAGE2_TFLAGS)"; \
3864 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3865 $(HOST_EXPORTS) \
3866 $(POSTSTAGE1_HOST_EXPORTS) \
3867 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3868 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3869 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3870 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3872 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3873 case $(srcdir) in \
3874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3875 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3877 esac; \
3878 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3879 libsrcdir="$$s/opcodes"; \
3880 $(SHELL) $${libsrcdir}/configure \
3881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3882 --target=${target_alias} $${srcdiroption} \
3883 --with-build-libsubdir=$(HOST_SUBDIR) \
3884 $(STAGE2_CONFIGURE_FLAGS)
3885 @endif opcodes-bootstrap
3887 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3888 maybe-configure-stage3-opcodes:
3889 @if opcodes-bootstrap
3890 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3891 configure-stage3-opcodes:
3892 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3894 @r=`${PWD_COMMAND}`; export r; \
3895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3896 TFLAGS="$(STAGE3_TFLAGS)"; \
3897 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3898 $(HOST_EXPORTS) \
3899 $(POSTSTAGE1_HOST_EXPORTS) \
3900 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3901 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3902 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3903 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3905 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3906 case $(srcdir) in \
3907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3908 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3910 esac; \
3911 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3912 libsrcdir="$$s/opcodes"; \
3913 $(SHELL) $${libsrcdir}/configure \
3914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3915 --target=${target_alias} $${srcdiroption} \
3916 --with-build-libsubdir=$(HOST_SUBDIR) \
3917 $(STAGE3_CONFIGURE_FLAGS)
3918 @endif opcodes-bootstrap
3920 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3921 maybe-configure-stage4-opcodes:
3922 @if opcodes-bootstrap
3923 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3924 configure-stage4-opcodes:
3925 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3927 @r=`${PWD_COMMAND}`; export r; \
3928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3929 TFLAGS="$(STAGE4_TFLAGS)"; \
3930 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3931 $(HOST_EXPORTS) \
3932 $(POSTSTAGE1_HOST_EXPORTS) \
3933 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3934 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3935 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3936 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3938 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3939 case $(srcdir) in \
3940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3941 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3943 esac; \
3944 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3945 libsrcdir="$$s/opcodes"; \
3946 $(SHELL) $${libsrcdir}/configure \
3947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3948 --target=${target_alias} $${srcdiroption} \
3949 --with-build-libsubdir=$(HOST_SUBDIR) \
3950 $(STAGE4_CONFIGURE_FLAGS)
3951 @endif opcodes-bootstrap
3953 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3954 maybe-configure-stageprofile-opcodes:
3955 @if opcodes-bootstrap
3956 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3957 configure-stageprofile-opcodes:
3958 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3960 @r=`${PWD_COMMAND}`; export r; \
3961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3962 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3963 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3964 $(HOST_EXPORTS) \
3965 $(POSTSTAGE1_HOST_EXPORTS) \
3966 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3967 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3968 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3969 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3971 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3972 case $(srcdir) in \
3973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3974 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3976 esac; \
3977 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3978 libsrcdir="$$s/opcodes"; \
3979 $(SHELL) $${libsrcdir}/configure \
3980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3981 --target=${target_alias} $${srcdiroption} \
3982 --with-build-libsubdir=$(HOST_SUBDIR) \
3983 $(STAGEprofile_CONFIGURE_FLAGS)
3984 @endif opcodes-bootstrap
3986 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3987 maybe-configure-stagefeedback-opcodes:
3988 @if opcodes-bootstrap
3989 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3990 configure-stagefeedback-opcodes:
3991 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3993 @r=`${PWD_COMMAND}`; export r; \
3994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3995 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3996 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3997 $(HOST_EXPORTS) \
3998 $(POSTSTAGE1_HOST_EXPORTS) \
3999 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4000 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4001 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4002 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4004 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4005 case $(srcdir) in \
4006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4007 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4009 esac; \
4010 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4011 libsrcdir="$$s/opcodes"; \
4012 $(SHELL) $${libsrcdir}/configure \
4013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4014 --target=${target_alias} $${srcdiroption} \
4015 --with-build-libsubdir=$(HOST_SUBDIR) \
4016 $(STAGEfeedback_CONFIGURE_FLAGS)
4017 @endif opcodes-bootstrap
4023 .PHONY: all-opcodes maybe-all-opcodes
4024 maybe-all-opcodes:
4025 @if gcc-bootstrap
4026 all-opcodes: stage_current
4027 @endif gcc-bootstrap
4028 @if opcodes
4029 TARGET-opcodes=all
4030 maybe-all-opcodes: all-opcodes
4031 all-opcodes: configure-opcodes
4032 @r=`${PWD_COMMAND}`; export r; \
4033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4034 $(HOST_EXPORTS) \
4035 (cd $(HOST_SUBDIR)/opcodes && \
4036 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4037 $(TARGET-opcodes))
4038 @endif opcodes
4042 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4043 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4044 maybe-all-stage1-opcodes:
4045 maybe-clean-stage1-opcodes:
4046 @if opcodes-bootstrap
4047 maybe-all-stage1-opcodes: all-stage1-opcodes
4048 all-stage1: all-stage1-opcodes
4049 TARGET-stage1-opcodes = $(TARGET-opcodes)
4050 all-stage1-opcodes: configure-stage1-opcodes
4051 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4052 @r=`${PWD_COMMAND}`; export r; \
4053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4054 TFLAGS="$(STAGE1_TFLAGS)"; \
4055 $(HOST_EXPORTS) \
4056 cd $(HOST_SUBDIR)/opcodes && \
4057 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4058 CFLAGS="$(STAGE1_CFLAGS)" \
4059 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4060 LIBCFLAGS="$(LIBCFLAGS)" \
4061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4064 $(EXTRA_HOST_FLAGS) \
4065 TFLAGS="$(STAGE1_TFLAGS)" \
4066 $(TARGET-stage1-opcodes)
4068 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4069 clean-stage1: clean-stage1-opcodes
4070 clean-stage1-opcodes:
4071 @if [ $(current_stage) = stage1 ]; then \
4072 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4073 else \
4074 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4075 $(MAKE) stage1-start; \
4076 fi; \
4077 cd $(HOST_SUBDIR)/opcodes && \
4078 $(MAKE) $(EXTRA_HOST_FLAGS) \
4079 clean
4080 @endif opcodes-bootstrap
4083 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4084 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4085 maybe-all-stage2-opcodes:
4086 maybe-clean-stage2-opcodes:
4087 @if opcodes-bootstrap
4088 maybe-all-stage2-opcodes: all-stage2-opcodes
4089 all-stage2: all-stage2-opcodes
4090 TARGET-stage2-opcodes = $(TARGET-opcodes)
4091 all-stage2-opcodes: configure-stage2-opcodes
4092 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4093 @r=`${PWD_COMMAND}`; export r; \
4094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4095 TFLAGS="$(STAGE2_TFLAGS)"; \
4096 $(HOST_EXPORTS) \
4097 $(POSTSTAGE1_HOST_EXPORTS) \
4098 cd $(HOST_SUBDIR)/opcodes && \
4099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4100 CFLAGS="$(STAGE2_CFLAGS)" \
4101 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4102 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4107 TFLAGS="$(STAGE2_TFLAGS)" \
4108 $(TARGET-stage2-opcodes)
4110 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4111 clean-stage2: clean-stage2-opcodes
4112 clean-stage2-opcodes:
4113 @if [ $(current_stage) = stage2 ]; then \
4114 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4115 else \
4116 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4117 $(MAKE) stage2-start; \
4118 fi; \
4119 cd $(HOST_SUBDIR)/opcodes && \
4120 $(MAKE) $(EXTRA_HOST_FLAGS) \
4121 $(POSTSTAGE1_FLAGS_TO_PASS) \
4122 clean
4123 @endif opcodes-bootstrap
4126 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4127 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4128 maybe-all-stage3-opcodes:
4129 maybe-clean-stage3-opcodes:
4130 @if opcodes-bootstrap
4131 maybe-all-stage3-opcodes: all-stage3-opcodes
4132 all-stage3: all-stage3-opcodes
4133 TARGET-stage3-opcodes = $(TARGET-opcodes)
4134 all-stage3-opcodes: configure-stage3-opcodes
4135 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4136 @r=`${PWD_COMMAND}`; export r; \
4137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4138 TFLAGS="$(STAGE3_TFLAGS)"; \
4139 $(HOST_EXPORTS) \
4140 $(POSTSTAGE1_HOST_EXPORTS) \
4141 cd $(HOST_SUBDIR)/opcodes && \
4142 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4143 CFLAGS="$(STAGE3_CFLAGS)" \
4144 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4145 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4149 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4150 TFLAGS="$(STAGE3_TFLAGS)" \
4151 $(TARGET-stage3-opcodes)
4153 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4154 clean-stage3: clean-stage3-opcodes
4155 clean-stage3-opcodes:
4156 @if [ $(current_stage) = stage3 ]; then \
4157 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4158 else \
4159 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4160 $(MAKE) stage3-start; \
4161 fi; \
4162 cd $(HOST_SUBDIR)/opcodes && \
4163 $(MAKE) $(EXTRA_HOST_FLAGS) \
4164 $(POSTSTAGE1_FLAGS_TO_PASS) \
4165 clean
4166 @endif opcodes-bootstrap
4169 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4170 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4171 maybe-all-stage4-opcodes:
4172 maybe-clean-stage4-opcodes:
4173 @if opcodes-bootstrap
4174 maybe-all-stage4-opcodes: all-stage4-opcodes
4175 all-stage4: all-stage4-opcodes
4176 TARGET-stage4-opcodes = $(TARGET-opcodes)
4177 all-stage4-opcodes: configure-stage4-opcodes
4178 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4179 @r=`${PWD_COMMAND}`; export r; \
4180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4181 TFLAGS="$(STAGE4_TFLAGS)"; \
4182 $(HOST_EXPORTS) \
4183 $(POSTSTAGE1_HOST_EXPORTS) \
4184 cd $(HOST_SUBDIR)/opcodes && \
4185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4186 CFLAGS="$(STAGE4_CFLAGS)" \
4187 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4188 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4193 TFLAGS="$(STAGE4_TFLAGS)" \
4194 $(TARGET-stage4-opcodes)
4196 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4197 clean-stage4: clean-stage4-opcodes
4198 clean-stage4-opcodes:
4199 @if [ $(current_stage) = stage4 ]; then \
4200 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4201 else \
4202 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4203 $(MAKE) stage4-start; \
4204 fi; \
4205 cd $(HOST_SUBDIR)/opcodes && \
4206 $(MAKE) $(EXTRA_HOST_FLAGS) \
4207 $(POSTSTAGE1_FLAGS_TO_PASS) \
4208 clean
4209 @endif opcodes-bootstrap
4212 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4213 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4214 maybe-all-stageprofile-opcodes:
4215 maybe-clean-stageprofile-opcodes:
4216 @if opcodes-bootstrap
4217 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4218 all-stageprofile: all-stageprofile-opcodes
4219 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4220 all-stageprofile-opcodes: configure-stageprofile-opcodes
4221 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4222 @r=`${PWD_COMMAND}`; export r; \
4223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4224 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4225 $(HOST_EXPORTS) \
4226 $(POSTSTAGE1_HOST_EXPORTS) \
4227 cd $(HOST_SUBDIR)/opcodes && \
4228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4229 CFLAGS="$(STAGEprofile_CFLAGS)" \
4230 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4231 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4236 TFLAGS="$(STAGEprofile_TFLAGS)" \
4237 $(TARGET-stageprofile-opcodes)
4239 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4240 clean-stageprofile: clean-stageprofile-opcodes
4241 clean-stageprofile-opcodes:
4242 @if [ $(current_stage) = stageprofile ]; then \
4243 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4244 else \
4245 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4246 $(MAKE) stageprofile-start; \
4247 fi; \
4248 cd $(HOST_SUBDIR)/opcodes && \
4249 $(MAKE) $(EXTRA_HOST_FLAGS) \
4250 $(POSTSTAGE1_FLAGS_TO_PASS) \
4251 clean
4252 @endif opcodes-bootstrap
4255 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4256 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4257 maybe-all-stagefeedback-opcodes:
4258 maybe-clean-stagefeedback-opcodes:
4259 @if opcodes-bootstrap
4260 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4261 all-stagefeedback: all-stagefeedback-opcodes
4262 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4263 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4264 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4265 @r=`${PWD_COMMAND}`; export r; \
4266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4267 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4268 $(HOST_EXPORTS) \
4269 $(POSTSTAGE1_HOST_EXPORTS) \
4270 cd $(HOST_SUBDIR)/opcodes && \
4271 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4272 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4273 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4274 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4279 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4280 $(TARGET-stagefeedback-opcodes)
4282 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4283 clean-stagefeedback: clean-stagefeedback-opcodes
4284 clean-stagefeedback-opcodes:
4285 @if [ $(current_stage) = stagefeedback ]; then \
4286 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4287 else \
4288 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4289 $(MAKE) stagefeedback-start; \
4290 fi; \
4291 cd $(HOST_SUBDIR)/opcodes && \
4292 $(MAKE) $(EXTRA_HOST_FLAGS) \
4293 $(POSTSTAGE1_FLAGS_TO_PASS) \
4294 clean
4295 @endif opcodes-bootstrap
4301 .PHONY: check-opcodes maybe-check-opcodes
4302 maybe-check-opcodes:
4303 @if opcodes
4304 maybe-check-opcodes: check-opcodes
4306 check-opcodes:
4307 @: $(MAKE); $(unstage)
4308 @r=`${PWD_COMMAND}`; export r; \
4309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4310 $(HOST_EXPORTS) \
4311 (cd $(HOST_SUBDIR)/opcodes && \
4312 $(MAKE) $(FLAGS_TO_PASS) check)
4314 @endif opcodes
4316 .PHONY: install-opcodes maybe-install-opcodes
4317 maybe-install-opcodes:
4318 @if opcodes
4319 maybe-install-opcodes: install-opcodes
4321 install-opcodes: installdirs
4322 @: $(MAKE); $(unstage)
4323 @r=`${PWD_COMMAND}`; export r; \
4324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4325 $(HOST_EXPORTS) \
4326 (cd $(HOST_SUBDIR)/opcodes && \
4327 $(MAKE) $(FLAGS_TO_PASS) install)
4329 @endif opcodes
4331 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4332 maybe-install-strip-opcodes:
4333 @if opcodes
4334 maybe-install-strip-opcodes: install-strip-opcodes
4336 install-strip-opcodes: installdirs
4337 @: $(MAKE); $(unstage)
4338 @r=`${PWD_COMMAND}`; export r; \
4339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4340 $(HOST_EXPORTS) \
4341 (cd $(HOST_SUBDIR)/opcodes && \
4342 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4344 @endif opcodes
4346 # Other targets (info, dvi, pdf, etc.)
4348 .PHONY: maybe-info-opcodes info-opcodes
4349 maybe-info-opcodes:
4350 @if opcodes
4351 maybe-info-opcodes: info-opcodes
4353 info-opcodes: \
4354 configure-opcodes
4355 @[ -f ./opcodes/Makefile ] || exit 0; \
4356 r=`${PWD_COMMAND}`; export r; \
4357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4358 $(HOST_EXPORTS) \
4359 for flag in $(EXTRA_HOST_FLAGS) ; do \
4360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4361 done; \
4362 echo "Doing info in opcodes" ; \
4363 (cd $(HOST_SUBDIR)/opcodes && \
4364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4366 "RANLIB=$${RANLIB}" \
4367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4368 info) \
4369 || exit 1
4371 @endif opcodes
4373 .PHONY: maybe-dvi-opcodes dvi-opcodes
4374 maybe-dvi-opcodes:
4375 @if opcodes
4376 maybe-dvi-opcodes: dvi-opcodes
4378 dvi-opcodes: \
4379 configure-opcodes
4380 @[ -f ./opcodes/Makefile ] || exit 0; \
4381 r=`${PWD_COMMAND}`; export r; \
4382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4383 $(HOST_EXPORTS) \
4384 for flag in $(EXTRA_HOST_FLAGS) ; do \
4385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4386 done; \
4387 echo "Doing dvi in opcodes" ; \
4388 (cd $(HOST_SUBDIR)/opcodes && \
4389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4391 "RANLIB=$${RANLIB}" \
4392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4393 dvi) \
4394 || exit 1
4396 @endif opcodes
4398 .PHONY: maybe-pdf-opcodes pdf-opcodes
4399 maybe-pdf-opcodes:
4400 @if opcodes
4401 maybe-pdf-opcodes: pdf-opcodes
4403 pdf-opcodes: \
4404 configure-opcodes
4405 @[ -f ./opcodes/Makefile ] || exit 0; \
4406 r=`${PWD_COMMAND}`; export r; \
4407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4408 $(HOST_EXPORTS) \
4409 for flag in $(EXTRA_HOST_FLAGS) ; do \
4410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4411 done; \
4412 echo "Doing pdf in opcodes" ; \
4413 (cd $(HOST_SUBDIR)/opcodes && \
4414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4416 "RANLIB=$${RANLIB}" \
4417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4418 pdf) \
4419 || exit 1
4421 @endif opcodes
4423 .PHONY: maybe-html-opcodes html-opcodes
4424 maybe-html-opcodes:
4425 @if opcodes
4426 maybe-html-opcodes: html-opcodes
4428 html-opcodes: \
4429 configure-opcodes
4430 @[ -f ./opcodes/Makefile ] || exit 0; \
4431 r=`${PWD_COMMAND}`; export r; \
4432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4433 $(HOST_EXPORTS) \
4434 for flag in $(EXTRA_HOST_FLAGS) ; do \
4435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4436 done; \
4437 echo "Doing html in opcodes" ; \
4438 (cd $(HOST_SUBDIR)/opcodes && \
4439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4441 "RANLIB=$${RANLIB}" \
4442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4443 html) \
4444 || exit 1
4446 @endif opcodes
4448 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4449 maybe-TAGS-opcodes:
4450 @if opcodes
4451 maybe-TAGS-opcodes: TAGS-opcodes
4453 TAGS-opcodes: \
4454 configure-opcodes
4455 @[ -f ./opcodes/Makefile ] || exit 0; \
4456 r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 $(HOST_EXPORTS) \
4459 for flag in $(EXTRA_HOST_FLAGS) ; do \
4460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4461 done; \
4462 echo "Doing TAGS in opcodes" ; \
4463 (cd $(HOST_SUBDIR)/opcodes && \
4464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4466 "RANLIB=$${RANLIB}" \
4467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4468 TAGS) \
4469 || exit 1
4471 @endif opcodes
4473 .PHONY: maybe-install-info-opcodes install-info-opcodes
4474 maybe-install-info-opcodes:
4475 @if opcodes
4476 maybe-install-info-opcodes: install-info-opcodes
4478 install-info-opcodes: \
4479 configure-opcodes \
4480 info-opcodes
4481 @[ -f ./opcodes/Makefile ] || exit 0; \
4482 r=`${PWD_COMMAND}`; export r; \
4483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4484 $(HOST_EXPORTS) \
4485 for flag in $(EXTRA_HOST_FLAGS) ; do \
4486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4487 done; \
4488 echo "Doing install-info in opcodes" ; \
4489 (cd $(HOST_SUBDIR)/opcodes && \
4490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4492 "RANLIB=$${RANLIB}" \
4493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4494 install-info) \
4495 || exit 1
4497 @endif opcodes
4499 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4500 maybe-install-pdf-opcodes:
4501 @if opcodes
4502 maybe-install-pdf-opcodes: install-pdf-opcodes
4504 install-pdf-opcodes: \
4505 configure-opcodes \
4506 pdf-opcodes
4507 @[ -f ./opcodes/Makefile ] || exit 0; \
4508 r=`${PWD_COMMAND}`; export r; \
4509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4510 $(HOST_EXPORTS) \
4511 for flag in $(EXTRA_HOST_FLAGS) ; do \
4512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4513 done; \
4514 echo "Doing install-pdf in opcodes" ; \
4515 (cd $(HOST_SUBDIR)/opcodes && \
4516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4518 "RANLIB=$${RANLIB}" \
4519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4520 install-pdf) \
4521 || exit 1
4523 @endif opcodes
4525 .PHONY: maybe-install-html-opcodes install-html-opcodes
4526 maybe-install-html-opcodes:
4527 @if opcodes
4528 maybe-install-html-opcodes: install-html-opcodes
4530 install-html-opcodes: \
4531 configure-opcodes \
4532 html-opcodes
4533 @[ -f ./opcodes/Makefile ] || exit 0; \
4534 r=`${PWD_COMMAND}`; export r; \
4535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4536 $(HOST_EXPORTS) \
4537 for flag in $(EXTRA_HOST_FLAGS) ; do \
4538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4539 done; \
4540 echo "Doing install-html in opcodes" ; \
4541 (cd $(HOST_SUBDIR)/opcodes && \
4542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4544 "RANLIB=$${RANLIB}" \
4545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4546 install-html) \
4547 || exit 1
4549 @endif opcodes
4551 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4552 maybe-installcheck-opcodes:
4553 @if opcodes
4554 maybe-installcheck-opcodes: installcheck-opcodes
4556 installcheck-opcodes: \
4557 configure-opcodes
4558 @[ -f ./opcodes/Makefile ] || exit 0; \
4559 r=`${PWD_COMMAND}`; export r; \
4560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4561 $(HOST_EXPORTS) \
4562 for flag in $(EXTRA_HOST_FLAGS) ; do \
4563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4564 done; \
4565 echo "Doing installcheck in opcodes" ; \
4566 (cd $(HOST_SUBDIR)/opcodes && \
4567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4569 "RANLIB=$${RANLIB}" \
4570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4571 installcheck) \
4572 || exit 1
4574 @endif opcodes
4576 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4577 maybe-mostlyclean-opcodes:
4578 @if opcodes
4579 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4581 mostlyclean-opcodes:
4582 @[ -f ./opcodes/Makefile ] || exit 0; \
4583 r=`${PWD_COMMAND}`; export r; \
4584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4585 $(HOST_EXPORTS) \
4586 for flag in $(EXTRA_HOST_FLAGS) ; do \
4587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4588 done; \
4589 echo "Doing mostlyclean in opcodes" ; \
4590 (cd $(HOST_SUBDIR)/opcodes && \
4591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4593 "RANLIB=$${RANLIB}" \
4594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4595 mostlyclean) \
4596 || exit 1
4598 @endif opcodes
4600 .PHONY: maybe-clean-opcodes clean-opcodes
4601 maybe-clean-opcodes:
4602 @if opcodes
4603 maybe-clean-opcodes: clean-opcodes
4605 clean-opcodes:
4606 @[ -f ./opcodes/Makefile ] || exit 0; \
4607 r=`${PWD_COMMAND}`; export r; \
4608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4609 $(HOST_EXPORTS) \
4610 for flag in $(EXTRA_HOST_FLAGS) ; do \
4611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4612 done; \
4613 echo "Doing clean in opcodes" ; \
4614 (cd $(HOST_SUBDIR)/opcodes && \
4615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4617 "RANLIB=$${RANLIB}" \
4618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4619 clean) \
4620 || exit 1
4622 @endif opcodes
4624 .PHONY: maybe-distclean-opcodes distclean-opcodes
4625 maybe-distclean-opcodes:
4626 @if opcodes
4627 maybe-distclean-opcodes: distclean-opcodes
4629 distclean-opcodes:
4630 @[ -f ./opcodes/Makefile ] || exit 0; \
4631 r=`${PWD_COMMAND}`; export r; \
4632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4633 $(HOST_EXPORTS) \
4634 for flag in $(EXTRA_HOST_FLAGS) ; do \
4635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4636 done; \
4637 echo "Doing distclean in opcodes" ; \
4638 (cd $(HOST_SUBDIR)/opcodes && \
4639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4641 "RANLIB=$${RANLIB}" \
4642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4643 distclean) \
4644 || exit 1
4646 @endif opcodes
4648 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4649 maybe-maintainer-clean-opcodes:
4650 @if opcodes
4651 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4653 maintainer-clean-opcodes:
4654 @[ -f ./opcodes/Makefile ] || exit 0; \
4655 r=`${PWD_COMMAND}`; export r; \
4656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4657 $(HOST_EXPORTS) \
4658 for flag in $(EXTRA_HOST_FLAGS) ; do \
4659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4660 done; \
4661 echo "Doing maintainer-clean in opcodes" ; \
4662 (cd $(HOST_SUBDIR)/opcodes && \
4663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4665 "RANLIB=$${RANLIB}" \
4666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4667 maintainer-clean) \
4668 || exit 1
4670 @endif opcodes
4674 .PHONY: configure-binutils maybe-configure-binutils
4675 maybe-configure-binutils:
4676 @if gcc-bootstrap
4677 configure-binutils: stage_current
4678 @endif gcc-bootstrap
4679 @if binutils
4680 maybe-configure-binutils: configure-binutils
4681 configure-binutils:
4682 @r=`${PWD_COMMAND}`; export r; \
4683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4684 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4686 $(HOST_EXPORTS) \
4687 echo Configuring in $(HOST_SUBDIR)/binutils; \
4688 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4689 case $(srcdir) in \
4690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4691 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4693 esac; \
4694 srcdiroption="--srcdir=$${topdir}/binutils"; \
4695 libsrcdir="$$s/binutils"; \
4696 $(SHELL) $${libsrcdir}/configure \
4697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4698 --target=${target_alias} $${srcdiroption} \
4699 || exit 1
4700 @endif binutils
4704 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4705 maybe-configure-stage1-binutils:
4706 @if binutils-bootstrap
4707 maybe-configure-stage1-binutils: configure-stage1-binutils
4708 configure-stage1-binutils:
4709 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4711 @r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4713 TFLAGS="$(STAGE1_TFLAGS)"; \
4714 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4715 $(HOST_EXPORTS) \
4716 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4717 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4718 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4719 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4721 cd $(HOST_SUBDIR)/binutils || exit 1; \
4722 case $(srcdir) in \
4723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4724 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4726 esac; \
4727 srcdiroption="--srcdir=$${topdir}/binutils"; \
4728 libsrcdir="$$s/binutils"; \
4729 $(SHELL) $${libsrcdir}/configure \
4730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4731 --target=${target_alias} $${srcdiroption} \
4732 $(STAGE1_CONFIGURE_FLAGS)
4733 @endif binutils-bootstrap
4735 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4736 maybe-configure-stage2-binutils:
4737 @if binutils-bootstrap
4738 maybe-configure-stage2-binutils: configure-stage2-binutils
4739 configure-stage2-binutils:
4740 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4741 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4742 @r=`${PWD_COMMAND}`; export r; \
4743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4744 TFLAGS="$(STAGE2_TFLAGS)"; \
4745 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4746 $(HOST_EXPORTS) \
4747 $(POSTSTAGE1_HOST_EXPORTS) \
4748 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4749 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4750 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4751 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4753 cd $(HOST_SUBDIR)/binutils || exit 1; \
4754 case $(srcdir) in \
4755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4756 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4758 esac; \
4759 srcdiroption="--srcdir=$${topdir}/binutils"; \
4760 libsrcdir="$$s/binutils"; \
4761 $(SHELL) $${libsrcdir}/configure \
4762 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4763 --target=${target_alias} $${srcdiroption} \
4764 --with-build-libsubdir=$(HOST_SUBDIR) \
4765 $(STAGE2_CONFIGURE_FLAGS)
4766 @endif binutils-bootstrap
4768 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4769 maybe-configure-stage3-binutils:
4770 @if binutils-bootstrap
4771 maybe-configure-stage3-binutils: configure-stage3-binutils
4772 configure-stage3-binutils:
4773 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4775 @r=`${PWD_COMMAND}`; export r; \
4776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4777 TFLAGS="$(STAGE3_TFLAGS)"; \
4778 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4779 $(HOST_EXPORTS) \
4780 $(POSTSTAGE1_HOST_EXPORTS) \
4781 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4782 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4783 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4784 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4786 cd $(HOST_SUBDIR)/binutils || exit 1; \
4787 case $(srcdir) in \
4788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4789 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4791 esac; \
4792 srcdiroption="--srcdir=$${topdir}/binutils"; \
4793 libsrcdir="$$s/binutils"; \
4794 $(SHELL) $${libsrcdir}/configure \
4795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4796 --target=${target_alias} $${srcdiroption} \
4797 --with-build-libsubdir=$(HOST_SUBDIR) \
4798 $(STAGE3_CONFIGURE_FLAGS)
4799 @endif binutils-bootstrap
4801 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4802 maybe-configure-stage4-binutils:
4803 @if binutils-bootstrap
4804 maybe-configure-stage4-binutils: configure-stage4-binutils
4805 configure-stage4-binutils:
4806 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4808 @r=`${PWD_COMMAND}`; export r; \
4809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4810 TFLAGS="$(STAGE4_TFLAGS)"; \
4811 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4812 $(HOST_EXPORTS) \
4813 $(POSTSTAGE1_HOST_EXPORTS) \
4814 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4815 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4816 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4817 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4819 cd $(HOST_SUBDIR)/binutils || exit 1; \
4820 case $(srcdir) in \
4821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4822 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4824 esac; \
4825 srcdiroption="--srcdir=$${topdir}/binutils"; \
4826 libsrcdir="$$s/binutils"; \
4827 $(SHELL) $${libsrcdir}/configure \
4828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4829 --target=${target_alias} $${srcdiroption} \
4830 --with-build-libsubdir=$(HOST_SUBDIR) \
4831 $(STAGE4_CONFIGURE_FLAGS)
4832 @endif binutils-bootstrap
4834 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4835 maybe-configure-stageprofile-binutils:
4836 @if binutils-bootstrap
4837 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4838 configure-stageprofile-binutils:
4839 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4841 @r=`${PWD_COMMAND}`; export r; \
4842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4843 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4844 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4845 $(HOST_EXPORTS) \
4846 $(POSTSTAGE1_HOST_EXPORTS) \
4847 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4848 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4849 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4850 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4852 cd $(HOST_SUBDIR)/binutils || exit 1; \
4853 case $(srcdir) in \
4854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4855 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4857 esac; \
4858 srcdiroption="--srcdir=$${topdir}/binutils"; \
4859 libsrcdir="$$s/binutils"; \
4860 $(SHELL) $${libsrcdir}/configure \
4861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4862 --target=${target_alias} $${srcdiroption} \
4863 --with-build-libsubdir=$(HOST_SUBDIR) \
4864 $(STAGEprofile_CONFIGURE_FLAGS)
4865 @endif binutils-bootstrap
4867 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4868 maybe-configure-stagefeedback-binutils:
4869 @if binutils-bootstrap
4870 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4871 configure-stagefeedback-binutils:
4872 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4874 @r=`${PWD_COMMAND}`; export r; \
4875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4876 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4877 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4878 $(HOST_EXPORTS) \
4879 $(POSTSTAGE1_HOST_EXPORTS) \
4880 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4881 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4882 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4883 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4885 cd $(HOST_SUBDIR)/binutils || exit 1; \
4886 case $(srcdir) in \
4887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4888 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4890 esac; \
4891 srcdiroption="--srcdir=$${topdir}/binutils"; \
4892 libsrcdir="$$s/binutils"; \
4893 $(SHELL) $${libsrcdir}/configure \
4894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4895 --target=${target_alias} $${srcdiroption} \
4896 --with-build-libsubdir=$(HOST_SUBDIR) \
4897 $(STAGEfeedback_CONFIGURE_FLAGS)
4898 @endif binutils-bootstrap
4904 .PHONY: all-binutils maybe-all-binutils
4905 maybe-all-binutils:
4906 @if gcc-bootstrap
4907 all-binutils: stage_current
4908 @endif gcc-bootstrap
4909 @if binutils
4910 TARGET-binutils=all
4911 maybe-all-binutils: all-binutils
4912 all-binutils: configure-binutils
4913 @r=`${PWD_COMMAND}`; export r; \
4914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4915 $(HOST_EXPORTS) \
4916 (cd $(HOST_SUBDIR)/binutils && \
4917 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4918 $(TARGET-binutils))
4919 @endif binutils
4923 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4924 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4925 maybe-all-stage1-binutils:
4926 maybe-clean-stage1-binutils:
4927 @if binutils-bootstrap
4928 maybe-all-stage1-binutils: all-stage1-binutils
4929 all-stage1: all-stage1-binutils
4930 TARGET-stage1-binutils = $(TARGET-binutils)
4931 all-stage1-binutils: configure-stage1-binutils
4932 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4933 @r=`${PWD_COMMAND}`; export r; \
4934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4935 TFLAGS="$(STAGE1_TFLAGS)"; \
4936 $(HOST_EXPORTS) \
4937 cd $(HOST_SUBDIR)/binutils && \
4938 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4939 CFLAGS="$(STAGE1_CFLAGS)" \
4940 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4941 LIBCFLAGS="$(LIBCFLAGS)" \
4942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4945 $(EXTRA_HOST_FLAGS) \
4946 TFLAGS="$(STAGE1_TFLAGS)" \
4947 $(TARGET-stage1-binutils)
4949 maybe-clean-stage1-binutils: clean-stage1-binutils
4950 clean-stage1: clean-stage1-binutils
4951 clean-stage1-binutils:
4952 @if [ $(current_stage) = stage1 ]; then \
4953 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4954 else \
4955 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4956 $(MAKE) stage1-start; \
4957 fi; \
4958 cd $(HOST_SUBDIR)/binutils && \
4959 $(MAKE) $(EXTRA_HOST_FLAGS) \
4960 clean
4961 @endif binutils-bootstrap
4964 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4965 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4966 maybe-all-stage2-binutils:
4967 maybe-clean-stage2-binutils:
4968 @if binutils-bootstrap
4969 maybe-all-stage2-binutils: all-stage2-binutils
4970 all-stage2: all-stage2-binutils
4971 TARGET-stage2-binutils = $(TARGET-binutils)
4972 all-stage2-binutils: configure-stage2-binutils
4973 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4974 @r=`${PWD_COMMAND}`; export r; \
4975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4976 TFLAGS="$(STAGE2_TFLAGS)"; \
4977 $(HOST_EXPORTS) \
4978 $(POSTSTAGE1_HOST_EXPORTS) \
4979 cd $(HOST_SUBDIR)/binutils && \
4980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4981 CFLAGS="$(STAGE2_CFLAGS)" \
4982 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4983 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4988 TFLAGS="$(STAGE2_TFLAGS)" \
4989 $(TARGET-stage2-binutils)
4991 maybe-clean-stage2-binutils: clean-stage2-binutils
4992 clean-stage2: clean-stage2-binutils
4993 clean-stage2-binutils:
4994 @if [ $(current_stage) = stage2 ]; then \
4995 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4996 else \
4997 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
4998 $(MAKE) stage2-start; \
4999 fi; \
5000 cd $(HOST_SUBDIR)/binutils && \
5001 $(MAKE) $(EXTRA_HOST_FLAGS) \
5002 $(POSTSTAGE1_FLAGS_TO_PASS) \
5003 clean
5004 @endif binutils-bootstrap
5007 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5008 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5009 maybe-all-stage3-binutils:
5010 maybe-clean-stage3-binutils:
5011 @if binutils-bootstrap
5012 maybe-all-stage3-binutils: all-stage3-binutils
5013 all-stage3: all-stage3-binutils
5014 TARGET-stage3-binutils = $(TARGET-binutils)
5015 all-stage3-binutils: configure-stage3-binutils
5016 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5017 @r=`${PWD_COMMAND}`; export r; \
5018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5019 TFLAGS="$(STAGE3_TFLAGS)"; \
5020 $(HOST_EXPORTS) \
5021 $(POSTSTAGE1_HOST_EXPORTS) \
5022 cd $(HOST_SUBDIR)/binutils && \
5023 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5024 CFLAGS="$(STAGE3_CFLAGS)" \
5025 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5026 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5027 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5028 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5029 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5030 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5031 TFLAGS="$(STAGE3_TFLAGS)" \
5032 $(TARGET-stage3-binutils)
5034 maybe-clean-stage3-binutils: clean-stage3-binutils
5035 clean-stage3: clean-stage3-binutils
5036 clean-stage3-binutils:
5037 @if [ $(current_stage) = stage3 ]; then \
5038 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5039 else \
5040 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5041 $(MAKE) stage3-start; \
5042 fi; \
5043 cd $(HOST_SUBDIR)/binutils && \
5044 $(MAKE) $(EXTRA_HOST_FLAGS) \
5045 $(POSTSTAGE1_FLAGS_TO_PASS) \
5046 clean
5047 @endif binutils-bootstrap
5050 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5051 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5052 maybe-all-stage4-binutils:
5053 maybe-clean-stage4-binutils:
5054 @if binutils-bootstrap
5055 maybe-all-stage4-binutils: all-stage4-binutils
5056 all-stage4: all-stage4-binutils
5057 TARGET-stage4-binutils = $(TARGET-binutils)
5058 all-stage4-binutils: configure-stage4-binutils
5059 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5060 @r=`${PWD_COMMAND}`; export r; \
5061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5062 TFLAGS="$(STAGE4_TFLAGS)"; \
5063 $(HOST_EXPORTS) \
5064 $(POSTSTAGE1_HOST_EXPORTS) \
5065 cd $(HOST_SUBDIR)/binutils && \
5066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5067 CFLAGS="$(STAGE4_CFLAGS)" \
5068 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5069 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5073 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5074 TFLAGS="$(STAGE4_TFLAGS)" \
5075 $(TARGET-stage4-binutils)
5077 maybe-clean-stage4-binutils: clean-stage4-binutils
5078 clean-stage4: clean-stage4-binutils
5079 clean-stage4-binutils:
5080 @if [ $(current_stage) = stage4 ]; then \
5081 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5082 else \
5083 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5084 $(MAKE) stage4-start; \
5085 fi; \
5086 cd $(HOST_SUBDIR)/binutils && \
5087 $(MAKE) $(EXTRA_HOST_FLAGS) \
5088 $(POSTSTAGE1_FLAGS_TO_PASS) \
5089 clean
5090 @endif binutils-bootstrap
5093 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5094 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5095 maybe-all-stageprofile-binutils:
5096 maybe-clean-stageprofile-binutils:
5097 @if binutils-bootstrap
5098 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5099 all-stageprofile: all-stageprofile-binutils
5100 TARGET-stageprofile-binutils = $(TARGET-binutils)
5101 all-stageprofile-binutils: configure-stageprofile-binutils
5102 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5103 @r=`${PWD_COMMAND}`; export r; \
5104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5105 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5106 $(HOST_EXPORTS) \
5107 $(POSTSTAGE1_HOST_EXPORTS) \
5108 cd $(HOST_SUBDIR)/binutils && \
5109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5110 CFLAGS="$(STAGEprofile_CFLAGS)" \
5111 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5112 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5117 TFLAGS="$(STAGEprofile_TFLAGS)" \
5118 $(TARGET-stageprofile-binutils)
5120 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5121 clean-stageprofile: clean-stageprofile-binutils
5122 clean-stageprofile-binutils:
5123 @if [ $(current_stage) = stageprofile ]; then \
5124 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5125 else \
5126 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5127 $(MAKE) stageprofile-start; \
5128 fi; \
5129 cd $(HOST_SUBDIR)/binutils && \
5130 $(MAKE) $(EXTRA_HOST_FLAGS) \
5131 $(POSTSTAGE1_FLAGS_TO_PASS) \
5132 clean
5133 @endif binutils-bootstrap
5136 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5137 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5138 maybe-all-stagefeedback-binutils:
5139 maybe-clean-stagefeedback-binutils:
5140 @if binutils-bootstrap
5141 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5142 all-stagefeedback: all-stagefeedback-binutils
5143 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5144 all-stagefeedback-binutils: configure-stagefeedback-binutils
5145 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5146 @r=`${PWD_COMMAND}`; export r; \
5147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5148 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5149 $(HOST_EXPORTS) \
5150 $(POSTSTAGE1_HOST_EXPORTS) \
5151 cd $(HOST_SUBDIR)/binutils && \
5152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5153 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5154 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5155 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5160 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5161 $(TARGET-stagefeedback-binutils)
5163 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5164 clean-stagefeedback: clean-stagefeedback-binutils
5165 clean-stagefeedback-binutils:
5166 @if [ $(current_stage) = stagefeedback ]; then \
5167 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5168 else \
5169 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5170 $(MAKE) stagefeedback-start; \
5171 fi; \
5172 cd $(HOST_SUBDIR)/binutils && \
5173 $(MAKE) $(EXTRA_HOST_FLAGS) \
5174 $(POSTSTAGE1_FLAGS_TO_PASS) \
5175 clean
5176 @endif binutils-bootstrap
5182 .PHONY: check-binutils maybe-check-binutils
5183 maybe-check-binutils:
5184 @if binutils
5185 maybe-check-binutils: check-binutils
5187 check-binutils:
5188 @: $(MAKE); $(unstage)
5189 @r=`${PWD_COMMAND}`; export r; \
5190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5191 $(HOST_EXPORTS) \
5192 (cd $(HOST_SUBDIR)/binutils && \
5193 $(MAKE) $(FLAGS_TO_PASS) check)
5195 @endif binutils
5197 .PHONY: install-binutils maybe-install-binutils
5198 maybe-install-binutils:
5199 @if binutils
5200 maybe-install-binutils: install-binutils
5202 install-binutils: installdirs
5203 @: $(MAKE); $(unstage)
5204 @r=`${PWD_COMMAND}`; export r; \
5205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5206 $(HOST_EXPORTS) \
5207 (cd $(HOST_SUBDIR)/binutils && \
5208 $(MAKE) $(FLAGS_TO_PASS) install)
5210 @endif binutils
5212 .PHONY: install-strip-binutils maybe-install-strip-binutils
5213 maybe-install-strip-binutils:
5214 @if binutils
5215 maybe-install-strip-binutils: install-strip-binutils
5217 install-strip-binutils: installdirs
5218 @: $(MAKE); $(unstage)
5219 @r=`${PWD_COMMAND}`; export r; \
5220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5221 $(HOST_EXPORTS) \
5222 (cd $(HOST_SUBDIR)/binutils && \
5223 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5225 @endif binutils
5227 # Other targets (info, dvi, pdf, etc.)
5229 .PHONY: maybe-info-binutils info-binutils
5230 maybe-info-binutils:
5231 @if binutils
5232 maybe-info-binutils: info-binutils
5234 info-binutils: \
5235 configure-binutils
5236 @[ -f ./binutils/Makefile ] || exit 0; \
5237 r=`${PWD_COMMAND}`; export r; \
5238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5239 $(HOST_EXPORTS) \
5240 for flag in $(EXTRA_HOST_FLAGS) ; do \
5241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5242 done; \
5243 echo "Doing info in binutils" ; \
5244 (cd $(HOST_SUBDIR)/binutils && \
5245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5247 "RANLIB=$${RANLIB}" \
5248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5249 info) \
5250 || exit 1
5252 @endif binutils
5254 .PHONY: maybe-dvi-binutils dvi-binutils
5255 maybe-dvi-binutils:
5256 @if binutils
5257 maybe-dvi-binutils: dvi-binutils
5259 dvi-binutils: \
5260 configure-binutils
5261 @[ -f ./binutils/Makefile ] || exit 0; \
5262 r=`${PWD_COMMAND}`; export r; \
5263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5264 $(HOST_EXPORTS) \
5265 for flag in $(EXTRA_HOST_FLAGS) ; do \
5266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5267 done; \
5268 echo "Doing dvi in binutils" ; \
5269 (cd $(HOST_SUBDIR)/binutils && \
5270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5272 "RANLIB=$${RANLIB}" \
5273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5274 dvi) \
5275 || exit 1
5277 @endif binutils
5279 .PHONY: maybe-pdf-binutils pdf-binutils
5280 maybe-pdf-binutils:
5281 @if binutils
5282 maybe-pdf-binutils: pdf-binutils
5284 pdf-binutils: \
5285 configure-binutils
5286 @[ -f ./binutils/Makefile ] || exit 0; \
5287 r=`${PWD_COMMAND}`; export r; \
5288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5289 $(HOST_EXPORTS) \
5290 for flag in $(EXTRA_HOST_FLAGS) ; do \
5291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5292 done; \
5293 echo "Doing pdf in binutils" ; \
5294 (cd $(HOST_SUBDIR)/binutils && \
5295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5297 "RANLIB=$${RANLIB}" \
5298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5299 pdf) \
5300 || exit 1
5302 @endif binutils
5304 .PHONY: maybe-html-binutils html-binutils
5305 maybe-html-binutils:
5306 @if binutils
5307 maybe-html-binutils: html-binutils
5309 html-binutils: \
5310 configure-binutils
5311 @[ -f ./binutils/Makefile ] || exit 0; \
5312 r=`${PWD_COMMAND}`; export r; \
5313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5314 $(HOST_EXPORTS) \
5315 for flag in $(EXTRA_HOST_FLAGS) ; do \
5316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5317 done; \
5318 echo "Doing html in binutils" ; \
5319 (cd $(HOST_SUBDIR)/binutils && \
5320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5322 "RANLIB=$${RANLIB}" \
5323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5324 html) \
5325 || exit 1
5327 @endif binutils
5329 .PHONY: maybe-TAGS-binutils TAGS-binutils
5330 maybe-TAGS-binutils:
5331 @if binutils
5332 maybe-TAGS-binutils: TAGS-binutils
5334 TAGS-binutils: \
5335 configure-binutils
5336 @[ -f ./binutils/Makefile ] || exit 0; \
5337 r=`${PWD_COMMAND}`; export r; \
5338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5339 $(HOST_EXPORTS) \
5340 for flag in $(EXTRA_HOST_FLAGS) ; do \
5341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5342 done; \
5343 echo "Doing TAGS in binutils" ; \
5344 (cd $(HOST_SUBDIR)/binutils && \
5345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5347 "RANLIB=$${RANLIB}" \
5348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5349 TAGS) \
5350 || exit 1
5352 @endif binutils
5354 .PHONY: maybe-install-info-binutils install-info-binutils
5355 maybe-install-info-binutils:
5356 @if binutils
5357 maybe-install-info-binutils: install-info-binutils
5359 install-info-binutils: \
5360 configure-binutils \
5361 info-binutils
5362 @[ -f ./binutils/Makefile ] || exit 0; \
5363 r=`${PWD_COMMAND}`; export r; \
5364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5365 $(HOST_EXPORTS) \
5366 for flag in $(EXTRA_HOST_FLAGS) ; do \
5367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5368 done; \
5369 echo "Doing install-info in binutils" ; \
5370 (cd $(HOST_SUBDIR)/binutils && \
5371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5373 "RANLIB=$${RANLIB}" \
5374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5375 install-info) \
5376 || exit 1
5378 @endif binutils
5380 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5381 maybe-install-pdf-binutils:
5382 @if binutils
5383 maybe-install-pdf-binutils: install-pdf-binutils
5385 install-pdf-binutils: \
5386 configure-binutils \
5387 pdf-binutils
5388 @[ -f ./binutils/Makefile ] || exit 0; \
5389 r=`${PWD_COMMAND}`; export r; \
5390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5391 $(HOST_EXPORTS) \
5392 for flag in $(EXTRA_HOST_FLAGS) ; do \
5393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5394 done; \
5395 echo "Doing install-pdf in binutils" ; \
5396 (cd $(HOST_SUBDIR)/binutils && \
5397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5399 "RANLIB=$${RANLIB}" \
5400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5401 install-pdf) \
5402 || exit 1
5404 @endif binutils
5406 .PHONY: maybe-install-html-binutils install-html-binutils
5407 maybe-install-html-binutils:
5408 @if binutils
5409 maybe-install-html-binutils: install-html-binutils
5411 install-html-binutils: \
5412 configure-binutils \
5413 html-binutils
5414 @[ -f ./binutils/Makefile ] || exit 0; \
5415 r=`${PWD_COMMAND}`; export r; \
5416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5417 $(HOST_EXPORTS) \
5418 for flag in $(EXTRA_HOST_FLAGS) ; do \
5419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5420 done; \
5421 echo "Doing install-html in binutils" ; \
5422 (cd $(HOST_SUBDIR)/binutils && \
5423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5425 "RANLIB=$${RANLIB}" \
5426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5427 install-html) \
5428 || exit 1
5430 @endif binutils
5432 .PHONY: maybe-installcheck-binutils installcheck-binutils
5433 maybe-installcheck-binutils:
5434 @if binutils
5435 maybe-installcheck-binutils: installcheck-binutils
5437 installcheck-binutils: \
5438 configure-binutils
5439 @[ -f ./binutils/Makefile ] || exit 0; \
5440 r=`${PWD_COMMAND}`; export r; \
5441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5442 $(HOST_EXPORTS) \
5443 for flag in $(EXTRA_HOST_FLAGS) ; do \
5444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5445 done; \
5446 echo "Doing installcheck in binutils" ; \
5447 (cd $(HOST_SUBDIR)/binutils && \
5448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5450 "RANLIB=$${RANLIB}" \
5451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5452 installcheck) \
5453 || exit 1
5455 @endif binutils
5457 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5458 maybe-mostlyclean-binutils:
5459 @if binutils
5460 maybe-mostlyclean-binutils: mostlyclean-binutils
5462 mostlyclean-binutils:
5463 @[ -f ./binutils/Makefile ] || exit 0; \
5464 r=`${PWD_COMMAND}`; export r; \
5465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466 $(HOST_EXPORTS) \
5467 for flag in $(EXTRA_HOST_FLAGS) ; do \
5468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5469 done; \
5470 echo "Doing mostlyclean in binutils" ; \
5471 (cd $(HOST_SUBDIR)/binutils && \
5472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5474 "RANLIB=$${RANLIB}" \
5475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5476 mostlyclean) \
5477 || exit 1
5479 @endif binutils
5481 .PHONY: maybe-clean-binutils clean-binutils
5482 maybe-clean-binutils:
5483 @if binutils
5484 maybe-clean-binutils: clean-binutils
5486 clean-binutils:
5487 @[ -f ./binutils/Makefile ] || exit 0; \
5488 r=`${PWD_COMMAND}`; export r; \
5489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5490 $(HOST_EXPORTS) \
5491 for flag in $(EXTRA_HOST_FLAGS) ; do \
5492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5493 done; \
5494 echo "Doing clean in binutils" ; \
5495 (cd $(HOST_SUBDIR)/binutils && \
5496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5498 "RANLIB=$${RANLIB}" \
5499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5500 clean) \
5501 || exit 1
5503 @endif binutils
5505 .PHONY: maybe-distclean-binutils distclean-binutils
5506 maybe-distclean-binutils:
5507 @if binutils
5508 maybe-distclean-binutils: distclean-binutils
5510 distclean-binutils:
5511 @[ -f ./binutils/Makefile ] || exit 0; \
5512 r=`${PWD_COMMAND}`; export r; \
5513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5514 $(HOST_EXPORTS) \
5515 for flag in $(EXTRA_HOST_FLAGS) ; do \
5516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5517 done; \
5518 echo "Doing distclean in binutils" ; \
5519 (cd $(HOST_SUBDIR)/binutils && \
5520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5522 "RANLIB=$${RANLIB}" \
5523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5524 distclean) \
5525 || exit 1
5527 @endif binutils
5529 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5530 maybe-maintainer-clean-binutils:
5531 @if binutils
5532 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5534 maintainer-clean-binutils:
5535 @[ -f ./binutils/Makefile ] || exit 0; \
5536 r=`${PWD_COMMAND}`; export r; \
5537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5538 $(HOST_EXPORTS) \
5539 for flag in $(EXTRA_HOST_FLAGS) ; do \
5540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5541 done; \
5542 echo "Doing maintainer-clean in binutils" ; \
5543 (cd $(HOST_SUBDIR)/binutils && \
5544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5546 "RANLIB=$${RANLIB}" \
5547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5548 maintainer-clean) \
5549 || exit 1
5551 @endif binutils
5555 .PHONY: configure-bison maybe-configure-bison
5556 maybe-configure-bison:
5557 @if gcc-bootstrap
5558 configure-bison: stage_current
5559 @endif gcc-bootstrap
5560 @if bison
5561 maybe-configure-bison: configure-bison
5562 configure-bison:
5563 @: $(MAKE); $(unstage)
5564 @r=`${PWD_COMMAND}`; export r; \
5565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5566 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5568 $(HOST_EXPORTS) \
5569 echo Configuring in $(HOST_SUBDIR)/bison; \
5570 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5571 case $(srcdir) in \
5572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5573 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5575 esac; \
5576 srcdiroption="--srcdir=$${topdir}/bison"; \
5577 libsrcdir="$$s/bison"; \
5578 $(SHELL) $${libsrcdir}/configure \
5579 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5580 --target=${target_alias} $${srcdiroption} \
5581 || exit 1
5582 @endif bison
5588 .PHONY: all-bison maybe-all-bison
5589 maybe-all-bison:
5590 @if gcc-bootstrap
5591 all-bison: stage_current
5592 @endif gcc-bootstrap
5593 @if bison
5594 TARGET-bison=all
5595 maybe-all-bison: all-bison
5596 all-bison: configure-bison
5597 @: $(MAKE); $(unstage)
5598 @r=`${PWD_COMMAND}`; export r; \
5599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5600 $(HOST_EXPORTS) \
5601 (cd $(HOST_SUBDIR)/bison && \
5602 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5603 $(TARGET-bison))
5604 @endif bison
5609 .PHONY: check-bison maybe-check-bison
5610 maybe-check-bison:
5611 @if bison
5612 maybe-check-bison: check-bison
5614 # This module is only tested in a native toolchain.
5615 check-bison:
5616 @: $(MAKE); $(unstage)
5617 @if [ '$(host)' = '$(target)' ] ; then \
5618 r=`${PWD_COMMAND}`; export r; \
5619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5620 $(HOST_EXPORTS) \
5621 (cd $(HOST_SUBDIR)/bison && \
5622 $(MAKE) $(FLAGS_TO_PASS) check); \
5625 @endif bison
5627 .PHONY: install-bison maybe-install-bison
5628 maybe-install-bison:
5629 @if bison
5630 maybe-install-bison: install-bison
5632 install-bison: installdirs
5633 @: $(MAKE); $(unstage)
5634 @r=`${PWD_COMMAND}`; export r; \
5635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5636 $(HOST_EXPORTS) \
5637 (cd $(HOST_SUBDIR)/bison && \
5638 $(MAKE) $(FLAGS_TO_PASS) install)
5640 @endif bison
5642 .PHONY: install-strip-bison maybe-install-strip-bison
5643 maybe-install-strip-bison:
5644 @if bison
5645 maybe-install-strip-bison: install-strip-bison
5647 install-strip-bison: installdirs
5648 @: $(MAKE); $(unstage)
5649 @r=`${PWD_COMMAND}`; export r; \
5650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5651 $(HOST_EXPORTS) \
5652 (cd $(HOST_SUBDIR)/bison && \
5653 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5655 @endif bison
5657 # Other targets (info, dvi, pdf, etc.)
5659 .PHONY: maybe-info-bison info-bison
5660 maybe-info-bison:
5661 @if bison
5662 maybe-info-bison: info-bison
5664 info-bison: \
5665 configure-bison
5666 @: $(MAKE); $(unstage)
5667 @[ -f ./bison/Makefile ] || exit 0; \
5668 r=`${PWD_COMMAND}`; export r; \
5669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5670 $(HOST_EXPORTS) \
5671 for flag in $(EXTRA_HOST_FLAGS) ; do \
5672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5673 done; \
5674 echo "Doing info in bison" ; \
5675 (cd $(HOST_SUBDIR)/bison && \
5676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5678 "RANLIB=$${RANLIB}" \
5679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5680 info) \
5681 || exit 1
5683 @endif bison
5685 .PHONY: maybe-dvi-bison dvi-bison
5686 maybe-dvi-bison:
5687 @if bison
5688 maybe-dvi-bison: dvi-bison
5690 dvi-bison: \
5691 configure-bison
5692 @: $(MAKE); $(unstage)
5693 @[ -f ./bison/Makefile ] || exit 0; \
5694 r=`${PWD_COMMAND}`; export r; \
5695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5696 $(HOST_EXPORTS) \
5697 for flag in $(EXTRA_HOST_FLAGS) ; do \
5698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5699 done; \
5700 echo "Doing dvi in bison" ; \
5701 (cd $(HOST_SUBDIR)/bison && \
5702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5704 "RANLIB=$${RANLIB}" \
5705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5706 dvi) \
5707 || exit 1
5709 @endif bison
5711 .PHONY: maybe-pdf-bison pdf-bison
5712 maybe-pdf-bison:
5713 @if bison
5714 maybe-pdf-bison: pdf-bison
5716 pdf-bison: \
5717 configure-bison
5718 @: $(MAKE); $(unstage)
5719 @[ -f ./bison/Makefile ] || exit 0; \
5720 r=`${PWD_COMMAND}`; export r; \
5721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5722 $(HOST_EXPORTS) \
5723 for flag in $(EXTRA_HOST_FLAGS) ; do \
5724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5725 done; \
5726 echo "Doing pdf in bison" ; \
5727 (cd $(HOST_SUBDIR)/bison && \
5728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5730 "RANLIB=$${RANLIB}" \
5731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5732 pdf) \
5733 || exit 1
5735 @endif bison
5737 .PHONY: maybe-html-bison html-bison
5738 maybe-html-bison:
5739 @if bison
5740 maybe-html-bison: html-bison
5742 html-bison: \
5743 configure-bison
5744 @: $(MAKE); $(unstage)
5745 @[ -f ./bison/Makefile ] || exit 0; \
5746 r=`${PWD_COMMAND}`; export r; \
5747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5748 $(HOST_EXPORTS) \
5749 for flag in $(EXTRA_HOST_FLAGS) ; do \
5750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5751 done; \
5752 echo "Doing html in bison" ; \
5753 (cd $(HOST_SUBDIR)/bison && \
5754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5756 "RANLIB=$${RANLIB}" \
5757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5758 html) \
5759 || exit 1
5761 @endif bison
5763 .PHONY: maybe-TAGS-bison TAGS-bison
5764 maybe-TAGS-bison:
5765 @if bison
5766 maybe-TAGS-bison: TAGS-bison
5768 TAGS-bison: \
5769 configure-bison
5770 @: $(MAKE); $(unstage)
5771 @[ -f ./bison/Makefile ] || exit 0; \
5772 r=`${PWD_COMMAND}`; export r; \
5773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5774 $(HOST_EXPORTS) \
5775 for flag in $(EXTRA_HOST_FLAGS) ; do \
5776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5777 done; \
5778 echo "Doing TAGS in bison" ; \
5779 (cd $(HOST_SUBDIR)/bison && \
5780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5782 "RANLIB=$${RANLIB}" \
5783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5784 TAGS) \
5785 || exit 1
5787 @endif bison
5789 .PHONY: maybe-install-info-bison install-info-bison
5790 maybe-install-info-bison:
5791 @if bison
5792 maybe-install-info-bison: install-info-bison
5794 install-info-bison: \
5795 configure-bison \
5796 info-bison
5797 @: $(MAKE); $(unstage)
5798 @[ -f ./bison/Makefile ] || exit 0; \
5799 r=`${PWD_COMMAND}`; export r; \
5800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5801 $(HOST_EXPORTS) \
5802 for flag in $(EXTRA_HOST_FLAGS) ; do \
5803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5804 done; \
5805 echo "Doing install-info in bison" ; \
5806 (cd $(HOST_SUBDIR)/bison && \
5807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5809 "RANLIB=$${RANLIB}" \
5810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5811 install-info) \
5812 || exit 1
5814 @endif bison
5816 .PHONY: maybe-install-pdf-bison install-pdf-bison
5817 maybe-install-pdf-bison:
5818 @if bison
5819 maybe-install-pdf-bison: install-pdf-bison
5821 install-pdf-bison: \
5822 configure-bison \
5823 pdf-bison
5824 @: $(MAKE); $(unstage)
5825 @[ -f ./bison/Makefile ] || exit 0; \
5826 r=`${PWD_COMMAND}`; export r; \
5827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5828 $(HOST_EXPORTS) \
5829 for flag in $(EXTRA_HOST_FLAGS) ; do \
5830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5831 done; \
5832 echo "Doing install-pdf in bison" ; \
5833 (cd $(HOST_SUBDIR)/bison && \
5834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5836 "RANLIB=$${RANLIB}" \
5837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5838 install-pdf) \
5839 || exit 1
5841 @endif bison
5843 .PHONY: maybe-install-html-bison install-html-bison
5844 maybe-install-html-bison:
5845 @if bison
5846 maybe-install-html-bison: install-html-bison
5848 install-html-bison: \
5849 configure-bison \
5850 html-bison
5851 @: $(MAKE); $(unstage)
5852 @[ -f ./bison/Makefile ] || exit 0; \
5853 r=`${PWD_COMMAND}`; export r; \
5854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5855 $(HOST_EXPORTS) \
5856 for flag in $(EXTRA_HOST_FLAGS) ; do \
5857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5858 done; \
5859 echo "Doing install-html in bison" ; \
5860 (cd $(HOST_SUBDIR)/bison && \
5861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5863 "RANLIB=$${RANLIB}" \
5864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5865 install-html) \
5866 || exit 1
5868 @endif bison
5870 .PHONY: maybe-installcheck-bison installcheck-bison
5871 maybe-installcheck-bison:
5872 @if bison
5873 maybe-installcheck-bison: installcheck-bison
5875 installcheck-bison: \
5876 configure-bison
5877 @: $(MAKE); $(unstage)
5878 @[ -f ./bison/Makefile ] || exit 0; \
5879 r=`${PWD_COMMAND}`; export r; \
5880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5881 $(HOST_EXPORTS) \
5882 for flag in $(EXTRA_HOST_FLAGS) ; do \
5883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5884 done; \
5885 echo "Doing installcheck in bison" ; \
5886 (cd $(HOST_SUBDIR)/bison && \
5887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5889 "RANLIB=$${RANLIB}" \
5890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5891 installcheck) \
5892 || exit 1
5894 @endif bison
5896 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5897 maybe-mostlyclean-bison:
5898 @if bison
5899 maybe-mostlyclean-bison: mostlyclean-bison
5901 mostlyclean-bison:
5902 @: $(MAKE); $(unstage)
5903 @[ -f ./bison/Makefile ] || exit 0; \
5904 r=`${PWD_COMMAND}`; export r; \
5905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5906 $(HOST_EXPORTS) \
5907 for flag in $(EXTRA_HOST_FLAGS) ; do \
5908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5909 done; \
5910 echo "Doing mostlyclean in bison" ; \
5911 (cd $(HOST_SUBDIR)/bison && \
5912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5914 "RANLIB=$${RANLIB}" \
5915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5916 mostlyclean) \
5917 || exit 1
5919 @endif bison
5921 .PHONY: maybe-clean-bison clean-bison
5922 maybe-clean-bison:
5923 @if bison
5924 maybe-clean-bison: clean-bison
5926 clean-bison:
5927 @: $(MAKE); $(unstage)
5928 @[ -f ./bison/Makefile ] || exit 0; \
5929 r=`${PWD_COMMAND}`; export r; \
5930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5931 $(HOST_EXPORTS) \
5932 for flag in $(EXTRA_HOST_FLAGS) ; do \
5933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5934 done; \
5935 echo "Doing clean in bison" ; \
5936 (cd $(HOST_SUBDIR)/bison && \
5937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5939 "RANLIB=$${RANLIB}" \
5940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5941 clean) \
5942 || exit 1
5944 @endif bison
5946 .PHONY: maybe-distclean-bison distclean-bison
5947 maybe-distclean-bison:
5948 @if bison
5949 maybe-distclean-bison: distclean-bison
5951 distclean-bison:
5952 @: $(MAKE); $(unstage)
5953 @[ -f ./bison/Makefile ] || exit 0; \
5954 r=`${PWD_COMMAND}`; export r; \
5955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5956 $(HOST_EXPORTS) \
5957 for flag in $(EXTRA_HOST_FLAGS) ; do \
5958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5959 done; \
5960 echo "Doing distclean in bison" ; \
5961 (cd $(HOST_SUBDIR)/bison && \
5962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5964 "RANLIB=$${RANLIB}" \
5965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5966 distclean) \
5967 || exit 1
5969 @endif bison
5971 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5972 maybe-maintainer-clean-bison:
5973 @if bison
5974 maybe-maintainer-clean-bison: maintainer-clean-bison
5976 maintainer-clean-bison:
5977 @: $(MAKE); $(unstage)
5978 @[ -f ./bison/Makefile ] || exit 0; \
5979 r=`${PWD_COMMAND}`; export r; \
5980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5981 $(HOST_EXPORTS) \
5982 for flag in $(EXTRA_HOST_FLAGS) ; do \
5983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5984 done; \
5985 echo "Doing maintainer-clean in bison" ; \
5986 (cd $(HOST_SUBDIR)/bison && \
5987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5989 "RANLIB=$${RANLIB}" \
5990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5991 maintainer-clean) \
5992 || exit 1
5994 @endif bison
5998 .PHONY: configure-cgen maybe-configure-cgen
5999 maybe-configure-cgen:
6000 @if gcc-bootstrap
6001 configure-cgen: stage_current
6002 @endif gcc-bootstrap
6003 @if cgen
6004 maybe-configure-cgen: configure-cgen
6005 configure-cgen:
6006 @: $(MAKE); $(unstage)
6007 @r=`${PWD_COMMAND}`; export r; \
6008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6009 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6011 $(HOST_EXPORTS) \
6012 echo Configuring in $(HOST_SUBDIR)/cgen; \
6013 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6014 case $(srcdir) in \
6015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6016 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6018 esac; \
6019 srcdiroption="--srcdir=$${topdir}/cgen"; \
6020 libsrcdir="$$s/cgen"; \
6021 $(SHELL) $${libsrcdir}/configure \
6022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6023 --target=${target_alias} $${srcdiroption} \
6024 || exit 1
6025 @endif cgen
6031 .PHONY: all-cgen maybe-all-cgen
6032 maybe-all-cgen:
6033 @if gcc-bootstrap
6034 all-cgen: stage_current
6035 @endif gcc-bootstrap
6036 @if cgen
6037 TARGET-cgen=all
6038 maybe-all-cgen: all-cgen
6039 all-cgen: configure-cgen
6040 @: $(MAKE); $(unstage)
6041 @r=`${PWD_COMMAND}`; export r; \
6042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6043 $(HOST_EXPORTS) \
6044 (cd $(HOST_SUBDIR)/cgen && \
6045 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6046 $(TARGET-cgen))
6047 @endif cgen
6052 .PHONY: check-cgen maybe-check-cgen
6053 maybe-check-cgen:
6054 @if cgen
6055 maybe-check-cgen: check-cgen
6057 check-cgen:
6058 @: $(MAKE); $(unstage)
6059 @r=`${PWD_COMMAND}`; export r; \
6060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6061 $(HOST_EXPORTS) \
6062 (cd $(HOST_SUBDIR)/cgen && \
6063 $(MAKE) $(FLAGS_TO_PASS) check)
6065 @endif cgen
6067 .PHONY: install-cgen maybe-install-cgen
6068 maybe-install-cgen:
6069 @if cgen
6070 maybe-install-cgen: install-cgen
6072 install-cgen: installdirs
6073 @: $(MAKE); $(unstage)
6074 @r=`${PWD_COMMAND}`; export r; \
6075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6076 $(HOST_EXPORTS) \
6077 (cd $(HOST_SUBDIR)/cgen && \
6078 $(MAKE) $(FLAGS_TO_PASS) install)
6080 @endif cgen
6082 .PHONY: install-strip-cgen maybe-install-strip-cgen
6083 maybe-install-strip-cgen:
6084 @if cgen
6085 maybe-install-strip-cgen: install-strip-cgen
6087 install-strip-cgen: installdirs
6088 @: $(MAKE); $(unstage)
6089 @r=`${PWD_COMMAND}`; export r; \
6090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6091 $(HOST_EXPORTS) \
6092 (cd $(HOST_SUBDIR)/cgen && \
6093 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6095 @endif cgen
6097 # Other targets (info, dvi, pdf, etc.)
6099 .PHONY: maybe-info-cgen info-cgen
6100 maybe-info-cgen:
6101 @if cgen
6102 maybe-info-cgen: info-cgen
6104 info-cgen: \
6105 configure-cgen
6106 @: $(MAKE); $(unstage)
6107 @[ -f ./cgen/Makefile ] || exit 0; \
6108 r=`${PWD_COMMAND}`; export r; \
6109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6110 $(HOST_EXPORTS) \
6111 for flag in $(EXTRA_HOST_FLAGS) ; do \
6112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6113 done; \
6114 echo "Doing info in cgen" ; \
6115 (cd $(HOST_SUBDIR)/cgen && \
6116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6118 "RANLIB=$${RANLIB}" \
6119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6120 info) \
6121 || exit 1
6123 @endif cgen
6125 .PHONY: maybe-dvi-cgen dvi-cgen
6126 maybe-dvi-cgen:
6127 @if cgen
6128 maybe-dvi-cgen: dvi-cgen
6130 dvi-cgen: \
6131 configure-cgen
6132 @: $(MAKE); $(unstage)
6133 @[ -f ./cgen/Makefile ] || exit 0; \
6134 r=`${PWD_COMMAND}`; export r; \
6135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6136 $(HOST_EXPORTS) \
6137 for flag in $(EXTRA_HOST_FLAGS) ; do \
6138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6139 done; \
6140 echo "Doing dvi in cgen" ; \
6141 (cd $(HOST_SUBDIR)/cgen && \
6142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6144 "RANLIB=$${RANLIB}" \
6145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6146 dvi) \
6147 || exit 1
6149 @endif cgen
6151 .PHONY: maybe-pdf-cgen pdf-cgen
6152 maybe-pdf-cgen:
6153 @if cgen
6154 maybe-pdf-cgen: pdf-cgen
6156 pdf-cgen: \
6157 configure-cgen
6158 @: $(MAKE); $(unstage)
6159 @[ -f ./cgen/Makefile ] || exit 0; \
6160 r=`${PWD_COMMAND}`; export r; \
6161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6162 $(HOST_EXPORTS) \
6163 for flag in $(EXTRA_HOST_FLAGS) ; do \
6164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6165 done; \
6166 echo "Doing pdf in cgen" ; \
6167 (cd $(HOST_SUBDIR)/cgen && \
6168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6170 "RANLIB=$${RANLIB}" \
6171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6172 pdf) \
6173 || exit 1
6175 @endif cgen
6177 .PHONY: maybe-html-cgen html-cgen
6178 maybe-html-cgen:
6179 @if cgen
6180 maybe-html-cgen: html-cgen
6182 html-cgen: \
6183 configure-cgen
6184 @: $(MAKE); $(unstage)
6185 @[ -f ./cgen/Makefile ] || exit 0; \
6186 r=`${PWD_COMMAND}`; export r; \
6187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6188 $(HOST_EXPORTS) \
6189 for flag in $(EXTRA_HOST_FLAGS) ; do \
6190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6191 done; \
6192 echo "Doing html in cgen" ; \
6193 (cd $(HOST_SUBDIR)/cgen && \
6194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6196 "RANLIB=$${RANLIB}" \
6197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6198 html) \
6199 || exit 1
6201 @endif cgen
6203 .PHONY: maybe-TAGS-cgen TAGS-cgen
6204 maybe-TAGS-cgen:
6205 @if cgen
6206 maybe-TAGS-cgen: TAGS-cgen
6208 TAGS-cgen: \
6209 configure-cgen
6210 @: $(MAKE); $(unstage)
6211 @[ -f ./cgen/Makefile ] || exit 0; \
6212 r=`${PWD_COMMAND}`; export r; \
6213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6214 $(HOST_EXPORTS) \
6215 for flag in $(EXTRA_HOST_FLAGS) ; do \
6216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6217 done; \
6218 echo "Doing TAGS in cgen" ; \
6219 (cd $(HOST_SUBDIR)/cgen && \
6220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6222 "RANLIB=$${RANLIB}" \
6223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6224 TAGS) \
6225 || exit 1
6227 @endif cgen
6229 .PHONY: maybe-install-info-cgen install-info-cgen
6230 maybe-install-info-cgen:
6231 @if cgen
6232 maybe-install-info-cgen: install-info-cgen
6234 install-info-cgen: \
6235 configure-cgen \
6236 info-cgen
6237 @: $(MAKE); $(unstage)
6238 @[ -f ./cgen/Makefile ] || exit 0; \
6239 r=`${PWD_COMMAND}`; export r; \
6240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6241 $(HOST_EXPORTS) \
6242 for flag in $(EXTRA_HOST_FLAGS) ; do \
6243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6244 done; \
6245 echo "Doing install-info in cgen" ; \
6246 (cd $(HOST_SUBDIR)/cgen && \
6247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6249 "RANLIB=$${RANLIB}" \
6250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6251 install-info) \
6252 || exit 1
6254 @endif cgen
6256 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6257 maybe-install-pdf-cgen:
6258 @if cgen
6259 maybe-install-pdf-cgen: install-pdf-cgen
6261 install-pdf-cgen: \
6262 configure-cgen \
6263 pdf-cgen
6264 @: $(MAKE); $(unstage)
6265 @[ -f ./cgen/Makefile ] || exit 0; \
6266 r=`${PWD_COMMAND}`; export r; \
6267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6268 $(HOST_EXPORTS) \
6269 for flag in $(EXTRA_HOST_FLAGS) ; do \
6270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6271 done; \
6272 echo "Doing install-pdf in cgen" ; \
6273 (cd $(HOST_SUBDIR)/cgen && \
6274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6276 "RANLIB=$${RANLIB}" \
6277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6278 install-pdf) \
6279 || exit 1
6281 @endif cgen
6283 .PHONY: maybe-install-html-cgen install-html-cgen
6284 maybe-install-html-cgen:
6285 @if cgen
6286 maybe-install-html-cgen: install-html-cgen
6288 install-html-cgen: \
6289 configure-cgen \
6290 html-cgen
6291 @: $(MAKE); $(unstage)
6292 @[ -f ./cgen/Makefile ] || exit 0; \
6293 r=`${PWD_COMMAND}`; export r; \
6294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6295 $(HOST_EXPORTS) \
6296 for flag in $(EXTRA_HOST_FLAGS) ; do \
6297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6298 done; \
6299 echo "Doing install-html in cgen" ; \
6300 (cd $(HOST_SUBDIR)/cgen && \
6301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6303 "RANLIB=$${RANLIB}" \
6304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6305 install-html) \
6306 || exit 1
6308 @endif cgen
6310 .PHONY: maybe-installcheck-cgen installcheck-cgen
6311 maybe-installcheck-cgen:
6312 @if cgen
6313 maybe-installcheck-cgen: installcheck-cgen
6315 installcheck-cgen: \
6316 configure-cgen
6317 @: $(MAKE); $(unstage)
6318 @[ -f ./cgen/Makefile ] || exit 0; \
6319 r=`${PWD_COMMAND}`; export r; \
6320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6321 $(HOST_EXPORTS) \
6322 for flag in $(EXTRA_HOST_FLAGS) ; do \
6323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6324 done; \
6325 echo "Doing installcheck in cgen" ; \
6326 (cd $(HOST_SUBDIR)/cgen && \
6327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6329 "RANLIB=$${RANLIB}" \
6330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6331 installcheck) \
6332 || exit 1
6334 @endif cgen
6336 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6337 maybe-mostlyclean-cgen:
6338 @if cgen
6339 maybe-mostlyclean-cgen: mostlyclean-cgen
6341 mostlyclean-cgen:
6342 @: $(MAKE); $(unstage)
6343 @[ -f ./cgen/Makefile ] || exit 0; \
6344 r=`${PWD_COMMAND}`; export r; \
6345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6346 $(HOST_EXPORTS) \
6347 for flag in $(EXTRA_HOST_FLAGS) ; do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6349 done; \
6350 echo "Doing mostlyclean in cgen" ; \
6351 (cd $(HOST_SUBDIR)/cgen && \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6356 mostlyclean) \
6357 || exit 1
6359 @endif cgen
6361 .PHONY: maybe-clean-cgen clean-cgen
6362 maybe-clean-cgen:
6363 @if cgen
6364 maybe-clean-cgen: clean-cgen
6366 clean-cgen:
6367 @: $(MAKE); $(unstage)
6368 @[ -f ./cgen/Makefile ] || exit 0; \
6369 r=`${PWD_COMMAND}`; export r; \
6370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6371 $(HOST_EXPORTS) \
6372 for flag in $(EXTRA_HOST_FLAGS) ; do \
6373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6374 done; \
6375 echo "Doing clean in cgen" ; \
6376 (cd $(HOST_SUBDIR)/cgen && \
6377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6379 "RANLIB=$${RANLIB}" \
6380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6381 clean) \
6382 || exit 1
6384 @endif cgen
6386 .PHONY: maybe-distclean-cgen distclean-cgen
6387 maybe-distclean-cgen:
6388 @if cgen
6389 maybe-distclean-cgen: distclean-cgen
6391 distclean-cgen:
6392 @: $(MAKE); $(unstage)
6393 @[ -f ./cgen/Makefile ] || exit 0; \
6394 r=`${PWD_COMMAND}`; export r; \
6395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6396 $(HOST_EXPORTS) \
6397 for flag in $(EXTRA_HOST_FLAGS) ; do \
6398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6399 done; \
6400 echo "Doing distclean in cgen" ; \
6401 (cd $(HOST_SUBDIR)/cgen && \
6402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6404 "RANLIB=$${RANLIB}" \
6405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6406 distclean) \
6407 || exit 1
6409 @endif cgen
6411 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6412 maybe-maintainer-clean-cgen:
6413 @if cgen
6414 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6416 maintainer-clean-cgen:
6417 @: $(MAKE); $(unstage)
6418 @[ -f ./cgen/Makefile ] || exit 0; \
6419 r=`${PWD_COMMAND}`; export r; \
6420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6421 $(HOST_EXPORTS) \
6422 for flag in $(EXTRA_HOST_FLAGS) ; do \
6423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6424 done; \
6425 echo "Doing maintainer-clean in cgen" ; \
6426 (cd $(HOST_SUBDIR)/cgen && \
6427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6429 "RANLIB=$${RANLIB}" \
6430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6431 maintainer-clean) \
6432 || exit 1
6434 @endif cgen
6438 .PHONY: configure-dejagnu maybe-configure-dejagnu
6439 maybe-configure-dejagnu:
6440 @if gcc-bootstrap
6441 configure-dejagnu: stage_current
6442 @endif gcc-bootstrap
6443 @if dejagnu
6444 maybe-configure-dejagnu: configure-dejagnu
6445 configure-dejagnu:
6446 @: $(MAKE); $(unstage)
6447 @r=`${PWD_COMMAND}`; export r; \
6448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6449 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6451 $(HOST_EXPORTS) \
6452 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6453 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6454 case $(srcdir) in \
6455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6456 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6458 esac; \
6459 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6460 libsrcdir="$$s/dejagnu"; \
6461 $(SHELL) $${libsrcdir}/configure \
6462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6463 --target=${target_alias} $${srcdiroption} \
6464 || exit 1
6465 @endif dejagnu
6471 .PHONY: all-dejagnu maybe-all-dejagnu
6472 maybe-all-dejagnu:
6473 @if gcc-bootstrap
6474 all-dejagnu: stage_current
6475 @endif gcc-bootstrap
6476 @if dejagnu
6477 TARGET-dejagnu=all
6478 maybe-all-dejagnu: all-dejagnu
6479 all-dejagnu: configure-dejagnu
6480 @: $(MAKE); $(unstage)
6481 @r=`${PWD_COMMAND}`; export r; \
6482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6483 $(HOST_EXPORTS) \
6484 (cd $(HOST_SUBDIR)/dejagnu && \
6485 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6486 $(TARGET-dejagnu))
6487 @endif dejagnu
6492 .PHONY: check-dejagnu maybe-check-dejagnu
6493 maybe-check-dejagnu:
6494 @if dejagnu
6495 maybe-check-dejagnu: check-dejagnu
6497 check-dejagnu:
6498 @: $(MAKE); $(unstage)
6499 @r=`${PWD_COMMAND}`; export r; \
6500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6501 $(HOST_EXPORTS) \
6502 (cd $(HOST_SUBDIR)/dejagnu && \
6503 $(MAKE) $(FLAGS_TO_PASS) check)
6505 @endif dejagnu
6507 .PHONY: install-dejagnu maybe-install-dejagnu
6508 maybe-install-dejagnu:
6509 @if dejagnu
6510 maybe-install-dejagnu: install-dejagnu
6512 install-dejagnu: installdirs
6513 @: $(MAKE); $(unstage)
6514 @r=`${PWD_COMMAND}`; export r; \
6515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6516 $(HOST_EXPORTS) \
6517 (cd $(HOST_SUBDIR)/dejagnu && \
6518 $(MAKE) $(FLAGS_TO_PASS) install)
6520 @endif dejagnu
6522 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6523 maybe-install-strip-dejagnu:
6524 @if dejagnu
6525 maybe-install-strip-dejagnu: install-strip-dejagnu
6527 install-strip-dejagnu: installdirs
6528 @: $(MAKE); $(unstage)
6529 @r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6531 $(HOST_EXPORTS) \
6532 (cd $(HOST_SUBDIR)/dejagnu && \
6533 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6535 @endif dejagnu
6537 # Other targets (info, dvi, pdf, etc.)
6539 .PHONY: maybe-info-dejagnu info-dejagnu
6540 maybe-info-dejagnu:
6541 @if dejagnu
6542 maybe-info-dejagnu: info-dejagnu
6544 info-dejagnu: \
6545 configure-dejagnu
6546 @: $(MAKE); $(unstage)
6547 @[ -f ./dejagnu/Makefile ] || exit 0; \
6548 r=`${PWD_COMMAND}`; export r; \
6549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6550 $(HOST_EXPORTS) \
6551 for flag in $(EXTRA_HOST_FLAGS) ; do \
6552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6553 done; \
6554 echo "Doing info in dejagnu" ; \
6555 (cd $(HOST_SUBDIR)/dejagnu && \
6556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6558 "RANLIB=$${RANLIB}" \
6559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6560 info) \
6561 || exit 1
6563 @endif dejagnu
6565 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6566 maybe-dvi-dejagnu:
6567 @if dejagnu
6568 maybe-dvi-dejagnu: dvi-dejagnu
6570 dvi-dejagnu: \
6571 configure-dejagnu
6572 @: $(MAKE); $(unstage)
6573 @[ -f ./dejagnu/Makefile ] || exit 0; \
6574 r=`${PWD_COMMAND}`; export r; \
6575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6576 $(HOST_EXPORTS) \
6577 for flag in $(EXTRA_HOST_FLAGS) ; do \
6578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6579 done; \
6580 echo "Doing dvi in dejagnu" ; \
6581 (cd $(HOST_SUBDIR)/dejagnu && \
6582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6584 "RANLIB=$${RANLIB}" \
6585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6586 dvi) \
6587 || exit 1
6589 @endif dejagnu
6591 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6592 maybe-pdf-dejagnu:
6593 @if dejagnu
6594 maybe-pdf-dejagnu: pdf-dejagnu
6596 pdf-dejagnu: \
6597 configure-dejagnu
6598 @: $(MAKE); $(unstage)
6599 @[ -f ./dejagnu/Makefile ] || exit 0; \
6600 r=`${PWD_COMMAND}`; export r; \
6601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6602 $(HOST_EXPORTS) \
6603 for flag in $(EXTRA_HOST_FLAGS) ; do \
6604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6605 done; \
6606 echo "Doing pdf in dejagnu" ; \
6607 (cd $(HOST_SUBDIR)/dejagnu && \
6608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6610 "RANLIB=$${RANLIB}" \
6611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6612 pdf) \
6613 || exit 1
6615 @endif dejagnu
6617 .PHONY: maybe-html-dejagnu html-dejagnu
6618 maybe-html-dejagnu:
6619 @if dejagnu
6620 maybe-html-dejagnu: html-dejagnu
6622 html-dejagnu: \
6623 configure-dejagnu
6624 @: $(MAKE); $(unstage)
6625 @[ -f ./dejagnu/Makefile ] || exit 0; \
6626 r=`${PWD_COMMAND}`; export r; \
6627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6628 $(HOST_EXPORTS) \
6629 for flag in $(EXTRA_HOST_FLAGS) ; do \
6630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6631 done; \
6632 echo "Doing html in dejagnu" ; \
6633 (cd $(HOST_SUBDIR)/dejagnu && \
6634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6636 "RANLIB=$${RANLIB}" \
6637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6638 html) \
6639 || exit 1
6641 @endif dejagnu
6643 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6644 maybe-TAGS-dejagnu:
6645 @if dejagnu
6646 maybe-TAGS-dejagnu: TAGS-dejagnu
6648 TAGS-dejagnu: \
6649 configure-dejagnu
6650 @: $(MAKE); $(unstage)
6651 @[ -f ./dejagnu/Makefile ] || exit 0; \
6652 r=`${PWD_COMMAND}`; export r; \
6653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6654 $(HOST_EXPORTS) \
6655 for flag in $(EXTRA_HOST_FLAGS) ; do \
6656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6657 done; \
6658 echo "Doing TAGS in dejagnu" ; \
6659 (cd $(HOST_SUBDIR)/dejagnu && \
6660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6662 "RANLIB=$${RANLIB}" \
6663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6664 TAGS) \
6665 || exit 1
6667 @endif dejagnu
6669 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6670 maybe-install-info-dejagnu:
6671 @if dejagnu
6672 maybe-install-info-dejagnu: install-info-dejagnu
6674 install-info-dejagnu: \
6675 configure-dejagnu \
6676 info-dejagnu
6677 @: $(MAKE); $(unstage)
6678 @[ -f ./dejagnu/Makefile ] || exit 0; \
6679 r=`${PWD_COMMAND}`; export r; \
6680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6681 $(HOST_EXPORTS) \
6682 for flag in $(EXTRA_HOST_FLAGS) ; do \
6683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6684 done; \
6685 echo "Doing install-info in dejagnu" ; \
6686 (cd $(HOST_SUBDIR)/dejagnu && \
6687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6689 "RANLIB=$${RANLIB}" \
6690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6691 install-info) \
6692 || exit 1
6694 @endif dejagnu
6696 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6697 maybe-install-pdf-dejagnu:
6698 @if dejagnu
6699 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6701 install-pdf-dejagnu: \
6702 configure-dejagnu \
6703 pdf-dejagnu
6704 @: $(MAKE); $(unstage)
6705 @[ -f ./dejagnu/Makefile ] || exit 0; \
6706 r=`${PWD_COMMAND}`; export r; \
6707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6708 $(HOST_EXPORTS) \
6709 for flag in $(EXTRA_HOST_FLAGS) ; do \
6710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6711 done; \
6712 echo "Doing install-pdf in dejagnu" ; \
6713 (cd $(HOST_SUBDIR)/dejagnu && \
6714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6716 "RANLIB=$${RANLIB}" \
6717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6718 install-pdf) \
6719 || exit 1
6721 @endif dejagnu
6723 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6724 maybe-install-html-dejagnu:
6725 @if dejagnu
6726 maybe-install-html-dejagnu: install-html-dejagnu
6728 install-html-dejagnu: \
6729 configure-dejagnu \
6730 html-dejagnu
6731 @: $(MAKE); $(unstage)
6732 @[ -f ./dejagnu/Makefile ] || exit 0; \
6733 r=`${PWD_COMMAND}`; export r; \
6734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6735 $(HOST_EXPORTS) \
6736 for flag in $(EXTRA_HOST_FLAGS) ; do \
6737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6738 done; \
6739 echo "Doing install-html in dejagnu" ; \
6740 (cd $(HOST_SUBDIR)/dejagnu && \
6741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6743 "RANLIB=$${RANLIB}" \
6744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6745 install-html) \
6746 || exit 1
6748 @endif dejagnu
6750 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6751 maybe-installcheck-dejagnu:
6752 @if dejagnu
6753 maybe-installcheck-dejagnu: installcheck-dejagnu
6755 installcheck-dejagnu: \
6756 configure-dejagnu
6757 @: $(MAKE); $(unstage)
6758 @[ -f ./dejagnu/Makefile ] || exit 0; \
6759 r=`${PWD_COMMAND}`; export r; \
6760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6761 $(HOST_EXPORTS) \
6762 for flag in $(EXTRA_HOST_FLAGS) ; do \
6763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6764 done; \
6765 echo "Doing installcheck in dejagnu" ; \
6766 (cd $(HOST_SUBDIR)/dejagnu && \
6767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6769 "RANLIB=$${RANLIB}" \
6770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6771 installcheck) \
6772 || exit 1
6774 @endif dejagnu
6776 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6777 maybe-mostlyclean-dejagnu:
6778 @if dejagnu
6779 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6781 mostlyclean-dejagnu:
6782 @: $(MAKE); $(unstage)
6783 @[ -f ./dejagnu/Makefile ] || exit 0; \
6784 r=`${PWD_COMMAND}`; export r; \
6785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6786 $(HOST_EXPORTS) \
6787 for flag in $(EXTRA_HOST_FLAGS) ; do \
6788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6789 done; \
6790 echo "Doing mostlyclean in dejagnu" ; \
6791 (cd $(HOST_SUBDIR)/dejagnu && \
6792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6794 "RANLIB=$${RANLIB}" \
6795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6796 mostlyclean) \
6797 || exit 1
6799 @endif dejagnu
6801 .PHONY: maybe-clean-dejagnu clean-dejagnu
6802 maybe-clean-dejagnu:
6803 @if dejagnu
6804 maybe-clean-dejagnu: clean-dejagnu
6806 clean-dejagnu:
6807 @: $(MAKE); $(unstage)
6808 @[ -f ./dejagnu/Makefile ] || exit 0; \
6809 r=`${PWD_COMMAND}`; export r; \
6810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6811 $(HOST_EXPORTS) \
6812 for flag in $(EXTRA_HOST_FLAGS) ; do \
6813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6814 done; \
6815 echo "Doing clean in dejagnu" ; \
6816 (cd $(HOST_SUBDIR)/dejagnu && \
6817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6819 "RANLIB=$${RANLIB}" \
6820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6821 clean) \
6822 || exit 1
6824 @endif dejagnu
6826 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6827 maybe-distclean-dejagnu:
6828 @if dejagnu
6829 maybe-distclean-dejagnu: distclean-dejagnu
6831 distclean-dejagnu:
6832 @: $(MAKE); $(unstage)
6833 @[ -f ./dejagnu/Makefile ] || exit 0; \
6834 r=`${PWD_COMMAND}`; export r; \
6835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6836 $(HOST_EXPORTS) \
6837 for flag in $(EXTRA_HOST_FLAGS) ; do \
6838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6839 done; \
6840 echo "Doing distclean in dejagnu" ; \
6841 (cd $(HOST_SUBDIR)/dejagnu && \
6842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6844 "RANLIB=$${RANLIB}" \
6845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6846 distclean) \
6847 || exit 1
6849 @endif dejagnu
6851 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6852 maybe-maintainer-clean-dejagnu:
6853 @if dejagnu
6854 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6856 maintainer-clean-dejagnu:
6857 @: $(MAKE); $(unstage)
6858 @[ -f ./dejagnu/Makefile ] || exit 0; \
6859 r=`${PWD_COMMAND}`; export r; \
6860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6861 $(HOST_EXPORTS) \
6862 for flag in $(EXTRA_HOST_FLAGS) ; do \
6863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6864 done; \
6865 echo "Doing maintainer-clean in dejagnu" ; \
6866 (cd $(HOST_SUBDIR)/dejagnu && \
6867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6869 "RANLIB=$${RANLIB}" \
6870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6871 maintainer-clean) \
6872 || exit 1
6874 @endif dejagnu
6878 .PHONY: configure-etc maybe-configure-etc
6879 maybe-configure-etc:
6880 @if gcc-bootstrap
6881 configure-etc: stage_current
6882 @endif gcc-bootstrap
6883 @if etc
6884 maybe-configure-etc: configure-etc
6885 configure-etc:
6886 @: $(MAKE); $(unstage)
6887 @r=`${PWD_COMMAND}`; export r; \
6888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6889 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6891 $(HOST_EXPORTS) \
6892 echo Configuring in $(HOST_SUBDIR)/etc; \
6893 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6894 case $(srcdir) in \
6895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6896 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6898 esac; \
6899 srcdiroption="--srcdir=$${topdir}/etc"; \
6900 libsrcdir="$$s/etc"; \
6901 $(SHELL) $${libsrcdir}/configure \
6902 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6903 --target=${target_alias} $${srcdiroption} \
6904 || exit 1
6905 @endif etc
6911 .PHONY: all-etc maybe-all-etc
6912 maybe-all-etc:
6913 @if gcc-bootstrap
6914 all-etc: stage_current
6915 @endif gcc-bootstrap
6916 @if etc
6917 TARGET-etc=all
6918 maybe-all-etc: all-etc
6919 all-etc: configure-etc
6920 @: $(MAKE); $(unstage)
6921 @r=`${PWD_COMMAND}`; export r; \
6922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6923 $(HOST_EXPORTS) \
6924 (cd $(HOST_SUBDIR)/etc && \
6925 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6926 $(TARGET-etc))
6927 @endif etc
6932 .PHONY: check-etc maybe-check-etc
6933 maybe-check-etc:
6934 @if etc
6935 maybe-check-etc: check-etc
6937 check-etc:
6938 @: $(MAKE); $(unstage)
6939 @r=`${PWD_COMMAND}`; export r; \
6940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6941 $(HOST_EXPORTS) \
6942 (cd $(HOST_SUBDIR)/etc && \
6943 $(MAKE) $(FLAGS_TO_PASS) check)
6945 @endif etc
6947 .PHONY: install-etc maybe-install-etc
6948 maybe-install-etc:
6949 @if etc
6950 maybe-install-etc: install-etc
6952 install-etc: installdirs
6953 @: $(MAKE); $(unstage)
6954 @r=`${PWD_COMMAND}`; export r; \
6955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6956 $(HOST_EXPORTS) \
6957 (cd $(HOST_SUBDIR)/etc && \
6958 $(MAKE) $(FLAGS_TO_PASS) install)
6960 @endif etc
6962 .PHONY: install-strip-etc maybe-install-strip-etc
6963 maybe-install-strip-etc:
6964 @if etc
6965 maybe-install-strip-etc: install-strip-etc
6967 install-strip-etc: installdirs
6968 @: $(MAKE); $(unstage)
6969 @r=`${PWD_COMMAND}`; export r; \
6970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6971 $(HOST_EXPORTS) \
6972 (cd $(HOST_SUBDIR)/etc && \
6973 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6975 @endif etc
6977 # Other targets (info, dvi, pdf, etc.)
6979 .PHONY: maybe-info-etc info-etc
6980 maybe-info-etc:
6981 @if etc
6982 maybe-info-etc: info-etc
6984 info-etc: \
6985 configure-etc
6986 @: $(MAKE); $(unstage)
6987 @[ -f ./etc/Makefile ] || exit 0; \
6988 r=`${PWD_COMMAND}`; export r; \
6989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990 $(HOST_EXPORTS) \
6991 for flag in $(EXTRA_HOST_FLAGS) ; do \
6992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6993 done; \
6994 echo "Doing info in etc" ; \
6995 (cd $(HOST_SUBDIR)/etc && \
6996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6998 "RANLIB=$${RANLIB}" \
6999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7000 info) \
7001 || exit 1
7003 @endif etc
7005 .PHONY: maybe-dvi-etc dvi-etc
7006 maybe-dvi-etc:
7007 @if etc
7008 maybe-dvi-etc: dvi-etc
7010 dvi-etc: \
7011 configure-etc
7012 @: $(MAKE); $(unstage)
7013 @[ -f ./etc/Makefile ] || exit 0; \
7014 r=`${PWD_COMMAND}`; export r; \
7015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7016 $(HOST_EXPORTS) \
7017 for flag in $(EXTRA_HOST_FLAGS) ; do \
7018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7019 done; \
7020 echo "Doing dvi in etc" ; \
7021 (cd $(HOST_SUBDIR)/etc && \
7022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7024 "RANLIB=$${RANLIB}" \
7025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7026 dvi) \
7027 || exit 1
7029 @endif etc
7031 .PHONY: maybe-pdf-etc pdf-etc
7032 maybe-pdf-etc:
7033 @if etc
7034 maybe-pdf-etc: pdf-etc
7036 pdf-etc: \
7037 configure-etc
7038 @: $(MAKE); $(unstage)
7039 @[ -f ./etc/Makefile ] || exit 0; \
7040 r=`${PWD_COMMAND}`; export r; \
7041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7042 $(HOST_EXPORTS) \
7043 for flag in $(EXTRA_HOST_FLAGS) ; do \
7044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7045 done; \
7046 echo "Doing pdf in etc" ; \
7047 (cd $(HOST_SUBDIR)/etc && \
7048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7050 "RANLIB=$${RANLIB}" \
7051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7052 pdf) \
7053 || exit 1
7055 @endif etc
7057 .PHONY: maybe-html-etc html-etc
7058 maybe-html-etc:
7059 @if etc
7060 maybe-html-etc: html-etc
7062 html-etc: \
7063 configure-etc
7064 @: $(MAKE); $(unstage)
7065 @[ -f ./etc/Makefile ] || exit 0; \
7066 r=`${PWD_COMMAND}`; export r; \
7067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7068 $(HOST_EXPORTS) \
7069 for flag in $(EXTRA_HOST_FLAGS) ; do \
7070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7071 done; \
7072 echo "Doing html in etc" ; \
7073 (cd $(HOST_SUBDIR)/etc && \
7074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7076 "RANLIB=$${RANLIB}" \
7077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7078 html) \
7079 || exit 1
7081 @endif etc
7083 .PHONY: maybe-TAGS-etc TAGS-etc
7084 maybe-TAGS-etc:
7085 @if etc
7086 maybe-TAGS-etc: TAGS-etc
7088 TAGS-etc: \
7089 configure-etc
7090 @: $(MAKE); $(unstage)
7091 @[ -f ./etc/Makefile ] || exit 0; \
7092 r=`${PWD_COMMAND}`; export r; \
7093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7094 $(HOST_EXPORTS) \
7095 for flag in $(EXTRA_HOST_FLAGS) ; do \
7096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7097 done; \
7098 echo "Doing TAGS in etc" ; \
7099 (cd $(HOST_SUBDIR)/etc && \
7100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7102 "RANLIB=$${RANLIB}" \
7103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7104 TAGS) \
7105 || exit 1
7107 @endif etc
7109 .PHONY: maybe-install-info-etc install-info-etc
7110 maybe-install-info-etc:
7111 @if etc
7112 maybe-install-info-etc: install-info-etc
7114 install-info-etc: \
7115 configure-etc \
7116 info-etc
7117 @: $(MAKE); $(unstage)
7118 @[ -f ./etc/Makefile ] || exit 0; \
7119 r=`${PWD_COMMAND}`; export r; \
7120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7121 $(HOST_EXPORTS) \
7122 for flag in $(EXTRA_HOST_FLAGS) ; do \
7123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7124 done; \
7125 echo "Doing install-info in etc" ; \
7126 (cd $(HOST_SUBDIR)/etc && \
7127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7129 "RANLIB=$${RANLIB}" \
7130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7131 install-info) \
7132 || exit 1
7134 @endif etc
7136 .PHONY: maybe-install-pdf-etc install-pdf-etc
7137 maybe-install-pdf-etc:
7138 @if etc
7139 maybe-install-pdf-etc: install-pdf-etc
7141 install-pdf-etc: \
7142 configure-etc \
7143 pdf-etc
7144 @: $(MAKE); $(unstage)
7145 @[ -f ./etc/Makefile ] || exit 0; \
7146 r=`${PWD_COMMAND}`; export r; \
7147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7148 $(HOST_EXPORTS) \
7149 for flag in $(EXTRA_HOST_FLAGS) ; do \
7150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7151 done; \
7152 echo "Doing install-pdf in etc" ; \
7153 (cd $(HOST_SUBDIR)/etc && \
7154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7156 "RANLIB=$${RANLIB}" \
7157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7158 install-pdf) \
7159 || exit 1
7161 @endif etc
7163 .PHONY: maybe-install-html-etc install-html-etc
7164 maybe-install-html-etc:
7165 @if etc
7166 maybe-install-html-etc: install-html-etc
7168 install-html-etc: \
7169 configure-etc \
7170 html-etc
7171 @: $(MAKE); $(unstage)
7172 @[ -f ./etc/Makefile ] || exit 0; \
7173 r=`${PWD_COMMAND}`; export r; \
7174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7175 $(HOST_EXPORTS) \
7176 for flag in $(EXTRA_HOST_FLAGS) ; do \
7177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7178 done; \
7179 echo "Doing install-html in etc" ; \
7180 (cd $(HOST_SUBDIR)/etc && \
7181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7183 "RANLIB=$${RANLIB}" \
7184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7185 install-html) \
7186 || exit 1
7188 @endif etc
7190 .PHONY: maybe-installcheck-etc installcheck-etc
7191 maybe-installcheck-etc:
7192 @if etc
7193 maybe-installcheck-etc: installcheck-etc
7195 installcheck-etc: \
7196 configure-etc
7197 @: $(MAKE); $(unstage)
7198 @[ -f ./etc/Makefile ] || exit 0; \
7199 r=`${PWD_COMMAND}`; export r; \
7200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7201 $(HOST_EXPORTS) \
7202 for flag in $(EXTRA_HOST_FLAGS) ; do \
7203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7204 done; \
7205 echo "Doing installcheck in etc" ; \
7206 (cd $(HOST_SUBDIR)/etc && \
7207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7209 "RANLIB=$${RANLIB}" \
7210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7211 installcheck) \
7212 || exit 1
7214 @endif etc
7216 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7217 maybe-mostlyclean-etc:
7218 @if etc
7219 maybe-mostlyclean-etc: mostlyclean-etc
7221 mostlyclean-etc:
7222 @: $(MAKE); $(unstage)
7223 @[ -f ./etc/Makefile ] || exit 0; \
7224 r=`${PWD_COMMAND}`; export r; \
7225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7226 $(HOST_EXPORTS) \
7227 for flag in $(EXTRA_HOST_FLAGS) ; do \
7228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7229 done; \
7230 echo "Doing mostlyclean in etc" ; \
7231 (cd $(HOST_SUBDIR)/etc && \
7232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7234 "RANLIB=$${RANLIB}" \
7235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7236 mostlyclean) \
7237 || exit 1
7239 @endif etc
7241 .PHONY: maybe-clean-etc clean-etc
7242 maybe-clean-etc:
7243 @if etc
7244 maybe-clean-etc: clean-etc
7246 clean-etc:
7247 @: $(MAKE); $(unstage)
7248 @[ -f ./etc/Makefile ] || exit 0; \
7249 r=`${PWD_COMMAND}`; export r; \
7250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7251 $(HOST_EXPORTS) \
7252 for flag in $(EXTRA_HOST_FLAGS) ; do \
7253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7254 done; \
7255 echo "Doing clean in etc" ; \
7256 (cd $(HOST_SUBDIR)/etc && \
7257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7259 "RANLIB=$${RANLIB}" \
7260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7261 clean) \
7262 || exit 1
7264 @endif etc
7266 .PHONY: maybe-distclean-etc distclean-etc
7267 maybe-distclean-etc:
7268 @if etc
7269 maybe-distclean-etc: distclean-etc
7271 distclean-etc:
7272 @: $(MAKE); $(unstage)
7273 @[ -f ./etc/Makefile ] || exit 0; \
7274 r=`${PWD_COMMAND}`; export r; \
7275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7276 $(HOST_EXPORTS) \
7277 for flag in $(EXTRA_HOST_FLAGS) ; do \
7278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7279 done; \
7280 echo "Doing distclean in etc" ; \
7281 (cd $(HOST_SUBDIR)/etc && \
7282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7284 "RANLIB=$${RANLIB}" \
7285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7286 distclean) \
7287 || exit 1
7289 @endif etc
7291 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7292 maybe-maintainer-clean-etc:
7293 @if etc
7294 maybe-maintainer-clean-etc: maintainer-clean-etc
7296 maintainer-clean-etc:
7297 @: $(MAKE); $(unstage)
7298 @[ -f ./etc/Makefile ] || exit 0; \
7299 r=`${PWD_COMMAND}`; export r; \
7300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7301 $(HOST_EXPORTS) \
7302 for flag in $(EXTRA_HOST_FLAGS) ; do \
7303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7304 done; \
7305 echo "Doing maintainer-clean in etc" ; \
7306 (cd $(HOST_SUBDIR)/etc && \
7307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7309 "RANLIB=$${RANLIB}" \
7310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7311 maintainer-clean) \
7312 || exit 1
7314 @endif etc
7318 .PHONY: configure-fastjar maybe-configure-fastjar
7319 maybe-configure-fastjar:
7320 @if gcc-bootstrap
7321 configure-fastjar: stage_current
7322 @endif gcc-bootstrap
7323 @if fastjar
7324 maybe-configure-fastjar: configure-fastjar
7325 configure-fastjar:
7326 @: $(MAKE); $(unstage)
7327 @r=`${PWD_COMMAND}`; export r; \
7328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7329 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7331 $(HOST_EXPORTS) \
7332 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7333 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7334 case $(srcdir) in \
7335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7336 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7338 esac; \
7339 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7340 libsrcdir="$$s/fastjar"; \
7341 $(SHELL) $${libsrcdir}/configure \
7342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7343 --target=${target_alias} $${srcdiroption} \
7344 || exit 1
7345 @endif fastjar
7351 .PHONY: all-fastjar maybe-all-fastjar
7352 maybe-all-fastjar:
7353 @if gcc-bootstrap
7354 all-fastjar: stage_current
7355 @endif gcc-bootstrap
7356 @if fastjar
7357 TARGET-fastjar=all
7358 maybe-all-fastjar: all-fastjar
7359 all-fastjar: configure-fastjar
7360 @: $(MAKE); $(unstage)
7361 @r=`${PWD_COMMAND}`; export r; \
7362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7363 $(HOST_EXPORTS) \
7364 (cd $(HOST_SUBDIR)/fastjar && \
7365 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7366 $(TARGET-fastjar))
7367 @endif fastjar
7372 .PHONY: check-fastjar maybe-check-fastjar
7373 maybe-check-fastjar:
7374 @if fastjar
7375 maybe-check-fastjar: check-fastjar
7377 # This module is only tested in a native toolchain.
7378 check-fastjar:
7379 @: $(MAKE); $(unstage)
7380 @if [ '$(host)' = '$(target)' ] ; then \
7381 r=`${PWD_COMMAND}`; export r; \
7382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7383 $(HOST_EXPORTS) \
7384 (cd $(HOST_SUBDIR)/fastjar && \
7385 $(MAKE) $(FLAGS_TO_PASS) check); \
7388 @endif fastjar
7390 .PHONY: install-fastjar maybe-install-fastjar
7391 maybe-install-fastjar:
7392 @if fastjar
7393 maybe-install-fastjar: install-fastjar
7395 install-fastjar: installdirs
7396 @: $(MAKE); $(unstage)
7397 @r=`${PWD_COMMAND}`; export r; \
7398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7399 $(HOST_EXPORTS) \
7400 (cd $(HOST_SUBDIR)/fastjar && \
7401 $(MAKE) $(FLAGS_TO_PASS) install)
7403 @endif fastjar
7405 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7406 maybe-install-strip-fastjar:
7407 @if fastjar
7408 maybe-install-strip-fastjar: install-strip-fastjar
7410 install-strip-fastjar: installdirs
7411 @: $(MAKE); $(unstage)
7412 @r=`${PWD_COMMAND}`; export r; \
7413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7414 $(HOST_EXPORTS) \
7415 (cd $(HOST_SUBDIR)/fastjar && \
7416 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7418 @endif fastjar
7420 # Other targets (info, dvi, pdf, etc.)
7422 .PHONY: maybe-info-fastjar info-fastjar
7423 maybe-info-fastjar:
7424 @if fastjar
7425 maybe-info-fastjar: info-fastjar
7427 info-fastjar: \
7428 configure-fastjar
7429 @: $(MAKE); $(unstage)
7430 @[ -f ./fastjar/Makefile ] || exit 0; \
7431 r=`${PWD_COMMAND}`; export r; \
7432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7433 $(HOST_EXPORTS) \
7434 for flag in $(EXTRA_HOST_FLAGS) ; do \
7435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7436 done; \
7437 echo "Doing info in fastjar" ; \
7438 (cd $(HOST_SUBDIR)/fastjar && \
7439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7441 "RANLIB=$${RANLIB}" \
7442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7443 info) \
7444 || exit 1
7446 @endif fastjar
7448 .PHONY: maybe-dvi-fastjar dvi-fastjar
7449 maybe-dvi-fastjar:
7450 @if fastjar
7451 maybe-dvi-fastjar: dvi-fastjar
7453 dvi-fastjar: \
7454 configure-fastjar
7455 @: $(MAKE); $(unstage)
7456 @[ -f ./fastjar/Makefile ] || exit 0; \
7457 r=`${PWD_COMMAND}`; export r; \
7458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7459 $(HOST_EXPORTS) \
7460 for flag in $(EXTRA_HOST_FLAGS) ; do \
7461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7462 done; \
7463 echo "Doing dvi in fastjar" ; \
7464 (cd $(HOST_SUBDIR)/fastjar && \
7465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7467 "RANLIB=$${RANLIB}" \
7468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7469 dvi) \
7470 || exit 1
7472 @endif fastjar
7474 .PHONY: maybe-pdf-fastjar pdf-fastjar
7475 maybe-pdf-fastjar:
7476 @if fastjar
7477 maybe-pdf-fastjar: pdf-fastjar
7479 pdf-fastjar: \
7480 configure-fastjar
7481 @: $(MAKE); $(unstage)
7482 @[ -f ./fastjar/Makefile ] || exit 0; \
7483 r=`${PWD_COMMAND}`; export r; \
7484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7485 $(HOST_EXPORTS) \
7486 for flag in $(EXTRA_HOST_FLAGS) ; do \
7487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7488 done; \
7489 echo "Doing pdf in fastjar" ; \
7490 (cd $(HOST_SUBDIR)/fastjar && \
7491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7493 "RANLIB=$${RANLIB}" \
7494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7495 pdf) \
7496 || exit 1
7498 @endif fastjar
7500 .PHONY: maybe-html-fastjar html-fastjar
7501 maybe-html-fastjar:
7502 @if fastjar
7503 maybe-html-fastjar: html-fastjar
7505 html-fastjar: \
7506 configure-fastjar
7507 @: $(MAKE); $(unstage)
7508 @[ -f ./fastjar/Makefile ] || exit 0; \
7509 r=`${PWD_COMMAND}`; export r; \
7510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7511 $(HOST_EXPORTS) \
7512 for flag in $(EXTRA_HOST_FLAGS) ; do \
7513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7514 done; \
7515 echo "Doing html in fastjar" ; \
7516 (cd $(HOST_SUBDIR)/fastjar && \
7517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7519 "RANLIB=$${RANLIB}" \
7520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7521 html) \
7522 || exit 1
7524 @endif fastjar
7526 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7527 maybe-TAGS-fastjar:
7528 @if fastjar
7529 maybe-TAGS-fastjar: TAGS-fastjar
7531 TAGS-fastjar: \
7532 configure-fastjar
7533 @: $(MAKE); $(unstage)
7534 @[ -f ./fastjar/Makefile ] || exit 0; \
7535 r=`${PWD_COMMAND}`; export r; \
7536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7537 $(HOST_EXPORTS) \
7538 for flag in $(EXTRA_HOST_FLAGS) ; do \
7539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7540 done; \
7541 echo "Doing TAGS in fastjar" ; \
7542 (cd $(HOST_SUBDIR)/fastjar && \
7543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7545 "RANLIB=$${RANLIB}" \
7546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7547 TAGS) \
7548 || exit 1
7550 @endif fastjar
7552 .PHONY: maybe-install-info-fastjar install-info-fastjar
7553 maybe-install-info-fastjar:
7554 @if fastjar
7555 maybe-install-info-fastjar: install-info-fastjar
7557 install-info-fastjar: \
7558 configure-fastjar \
7559 info-fastjar
7560 @: $(MAKE); $(unstage)
7561 @[ -f ./fastjar/Makefile ] || exit 0; \
7562 r=`${PWD_COMMAND}`; export r; \
7563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7564 $(HOST_EXPORTS) \
7565 for flag in $(EXTRA_HOST_FLAGS) ; do \
7566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7567 done; \
7568 echo "Doing install-info in fastjar" ; \
7569 (cd $(HOST_SUBDIR)/fastjar && \
7570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7572 "RANLIB=$${RANLIB}" \
7573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7574 install-info) \
7575 || exit 1
7577 @endif fastjar
7579 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7580 maybe-install-pdf-fastjar:
7581 @if fastjar
7582 maybe-install-pdf-fastjar: install-pdf-fastjar
7584 install-pdf-fastjar: \
7585 configure-fastjar \
7586 pdf-fastjar
7587 @: $(MAKE); $(unstage)
7588 @[ -f ./fastjar/Makefile ] || exit 0; \
7589 r=`${PWD_COMMAND}`; export r; \
7590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7591 $(HOST_EXPORTS) \
7592 for flag in $(EXTRA_HOST_FLAGS) ; do \
7593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7594 done; \
7595 echo "Doing install-pdf in fastjar" ; \
7596 (cd $(HOST_SUBDIR)/fastjar && \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7599 "RANLIB=$${RANLIB}" \
7600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7601 install-pdf) \
7602 || exit 1
7604 @endif fastjar
7606 .PHONY: maybe-install-html-fastjar install-html-fastjar
7607 maybe-install-html-fastjar:
7608 @if fastjar
7609 maybe-install-html-fastjar: install-html-fastjar
7611 install-html-fastjar: \
7612 configure-fastjar \
7613 html-fastjar
7614 @: $(MAKE); $(unstage)
7615 @[ -f ./fastjar/Makefile ] || exit 0; \
7616 r=`${PWD_COMMAND}`; export r; \
7617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7618 $(HOST_EXPORTS) \
7619 for flag in $(EXTRA_HOST_FLAGS) ; do \
7620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7621 done; \
7622 echo "Doing install-html in fastjar" ; \
7623 (cd $(HOST_SUBDIR)/fastjar && \
7624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7626 "RANLIB=$${RANLIB}" \
7627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7628 install-html) \
7629 || exit 1
7631 @endif fastjar
7633 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7634 maybe-installcheck-fastjar:
7635 @if fastjar
7636 maybe-installcheck-fastjar: installcheck-fastjar
7638 installcheck-fastjar: \
7639 configure-fastjar
7640 @: $(MAKE); $(unstage)
7641 @[ -f ./fastjar/Makefile ] || exit 0; \
7642 r=`${PWD_COMMAND}`; export r; \
7643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7644 $(HOST_EXPORTS) \
7645 for flag in $(EXTRA_HOST_FLAGS) ; do \
7646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7647 done; \
7648 echo "Doing installcheck in fastjar" ; \
7649 (cd $(HOST_SUBDIR)/fastjar && \
7650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7652 "RANLIB=$${RANLIB}" \
7653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7654 installcheck) \
7655 || exit 1
7657 @endif fastjar
7659 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7660 maybe-mostlyclean-fastjar:
7661 @if fastjar
7662 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7664 mostlyclean-fastjar:
7665 @: $(MAKE); $(unstage)
7666 @[ -f ./fastjar/Makefile ] || exit 0; \
7667 r=`${PWD_COMMAND}`; export r; \
7668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7669 $(HOST_EXPORTS) \
7670 for flag in $(EXTRA_HOST_FLAGS) ; do \
7671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7672 done; \
7673 echo "Doing mostlyclean in fastjar" ; \
7674 (cd $(HOST_SUBDIR)/fastjar && \
7675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7677 "RANLIB=$${RANLIB}" \
7678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7679 mostlyclean) \
7680 || exit 1
7682 @endif fastjar
7684 .PHONY: maybe-clean-fastjar clean-fastjar
7685 maybe-clean-fastjar:
7686 @if fastjar
7687 maybe-clean-fastjar: clean-fastjar
7689 clean-fastjar:
7690 @: $(MAKE); $(unstage)
7691 @[ -f ./fastjar/Makefile ] || exit 0; \
7692 r=`${PWD_COMMAND}`; export r; \
7693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7694 $(HOST_EXPORTS) \
7695 for flag in $(EXTRA_HOST_FLAGS) ; do \
7696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7697 done; \
7698 echo "Doing clean in fastjar" ; \
7699 (cd $(HOST_SUBDIR)/fastjar && \
7700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7702 "RANLIB=$${RANLIB}" \
7703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7704 clean) \
7705 || exit 1
7707 @endif fastjar
7709 .PHONY: maybe-distclean-fastjar distclean-fastjar
7710 maybe-distclean-fastjar:
7711 @if fastjar
7712 maybe-distclean-fastjar: distclean-fastjar
7714 distclean-fastjar:
7715 @: $(MAKE); $(unstage)
7716 @[ -f ./fastjar/Makefile ] || exit 0; \
7717 r=`${PWD_COMMAND}`; export r; \
7718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7719 $(HOST_EXPORTS) \
7720 for flag in $(EXTRA_HOST_FLAGS) ; do \
7721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7722 done; \
7723 echo "Doing distclean in fastjar" ; \
7724 (cd $(HOST_SUBDIR)/fastjar && \
7725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7727 "RANLIB=$${RANLIB}" \
7728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7729 distclean) \
7730 || exit 1
7732 @endif fastjar
7734 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7735 maybe-maintainer-clean-fastjar:
7736 @if fastjar
7737 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7739 maintainer-clean-fastjar:
7740 @: $(MAKE); $(unstage)
7741 @[ -f ./fastjar/Makefile ] || exit 0; \
7742 r=`${PWD_COMMAND}`; export r; \
7743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7744 $(HOST_EXPORTS) \
7745 for flag in $(EXTRA_HOST_FLAGS) ; do \
7746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7747 done; \
7748 echo "Doing maintainer-clean in fastjar" ; \
7749 (cd $(HOST_SUBDIR)/fastjar && \
7750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7752 "RANLIB=$${RANLIB}" \
7753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7754 maintainer-clean) \
7755 || exit 1
7757 @endif fastjar
7761 .PHONY: configure-fixincludes maybe-configure-fixincludes
7762 maybe-configure-fixincludes:
7763 @if gcc-bootstrap
7764 configure-fixincludes: stage_current
7765 @endif gcc-bootstrap
7766 @if fixincludes
7767 maybe-configure-fixincludes: configure-fixincludes
7768 configure-fixincludes:
7769 @: $(MAKE); $(unstage)
7770 @r=`${PWD_COMMAND}`; export r; \
7771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7772 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7774 $(HOST_EXPORTS) \
7775 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7776 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7777 case $(srcdir) in \
7778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7779 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7781 esac; \
7782 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7783 libsrcdir="$$s/fixincludes"; \
7784 $(SHELL) $${libsrcdir}/configure \
7785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7786 --target=${target_alias} $${srcdiroption} \
7787 || exit 1
7788 @endif fixincludes
7794 .PHONY: all-fixincludes maybe-all-fixincludes
7795 maybe-all-fixincludes:
7796 @if gcc-bootstrap
7797 all-fixincludes: stage_current
7798 @endif gcc-bootstrap
7799 @if fixincludes
7800 TARGET-fixincludes=all
7801 maybe-all-fixincludes: all-fixincludes
7802 all-fixincludes: configure-fixincludes
7803 @: $(MAKE); $(unstage)
7804 @r=`${PWD_COMMAND}`; export r; \
7805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7806 $(HOST_EXPORTS) \
7807 (cd $(HOST_SUBDIR)/fixincludes && \
7808 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7809 $(TARGET-fixincludes))
7810 @endif fixincludes
7815 .PHONY: check-fixincludes maybe-check-fixincludes
7816 maybe-check-fixincludes:
7817 @if fixincludes
7818 maybe-check-fixincludes: check-fixincludes
7820 check-fixincludes:
7821 @: $(MAKE); $(unstage)
7822 @r=`${PWD_COMMAND}`; export r; \
7823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7824 $(HOST_EXPORTS) \
7825 (cd $(HOST_SUBDIR)/fixincludes && \
7826 $(MAKE) $(FLAGS_TO_PASS) check)
7828 @endif fixincludes
7830 .PHONY: install-fixincludes maybe-install-fixincludes
7831 maybe-install-fixincludes:
7832 @if fixincludes
7833 maybe-install-fixincludes: install-fixincludes
7835 install-fixincludes: installdirs
7836 @: $(MAKE); $(unstage)
7837 @r=`${PWD_COMMAND}`; export r; \
7838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7839 $(HOST_EXPORTS) \
7840 (cd $(HOST_SUBDIR)/fixincludes && \
7841 $(MAKE) $(FLAGS_TO_PASS) install)
7843 @endif fixincludes
7845 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7846 maybe-install-strip-fixincludes:
7847 @if fixincludes
7848 maybe-install-strip-fixincludes: install-strip-fixincludes
7850 install-strip-fixincludes: installdirs
7851 @: $(MAKE); $(unstage)
7852 @r=`${PWD_COMMAND}`; export r; \
7853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7854 $(HOST_EXPORTS) \
7855 (cd $(HOST_SUBDIR)/fixincludes && \
7856 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7858 @endif fixincludes
7860 # Other targets (info, dvi, pdf, etc.)
7862 .PHONY: maybe-info-fixincludes info-fixincludes
7863 maybe-info-fixincludes:
7864 @if fixincludes
7865 maybe-info-fixincludes: info-fixincludes
7867 info-fixincludes: \
7868 configure-fixincludes
7869 @: $(MAKE); $(unstage)
7870 @[ -f ./fixincludes/Makefile ] || exit 0; \
7871 r=`${PWD_COMMAND}`; export r; \
7872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7873 $(HOST_EXPORTS) \
7874 for flag in $(EXTRA_HOST_FLAGS) ; do \
7875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7876 done; \
7877 echo "Doing info in fixincludes" ; \
7878 (cd $(HOST_SUBDIR)/fixincludes && \
7879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7881 "RANLIB=$${RANLIB}" \
7882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7883 info) \
7884 || exit 1
7886 @endif fixincludes
7888 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7889 maybe-dvi-fixincludes:
7890 @if fixincludes
7891 maybe-dvi-fixincludes: dvi-fixincludes
7893 dvi-fixincludes: \
7894 configure-fixincludes
7895 @: $(MAKE); $(unstage)
7896 @[ -f ./fixincludes/Makefile ] || exit 0; \
7897 r=`${PWD_COMMAND}`; export r; \
7898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7899 $(HOST_EXPORTS) \
7900 for flag in $(EXTRA_HOST_FLAGS) ; do \
7901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7902 done; \
7903 echo "Doing dvi in fixincludes" ; \
7904 (cd $(HOST_SUBDIR)/fixincludes && \
7905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7907 "RANLIB=$${RANLIB}" \
7908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7909 dvi) \
7910 || exit 1
7912 @endif fixincludes
7914 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7915 maybe-pdf-fixincludes:
7916 @if fixincludes
7917 maybe-pdf-fixincludes: pdf-fixincludes
7919 pdf-fixincludes: \
7920 configure-fixincludes
7921 @: $(MAKE); $(unstage)
7922 @[ -f ./fixincludes/Makefile ] || exit 0; \
7923 r=`${PWD_COMMAND}`; export r; \
7924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7925 $(HOST_EXPORTS) \
7926 for flag in $(EXTRA_HOST_FLAGS) ; do \
7927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7928 done; \
7929 echo "Doing pdf in fixincludes" ; \
7930 (cd $(HOST_SUBDIR)/fixincludes && \
7931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7933 "RANLIB=$${RANLIB}" \
7934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7935 pdf) \
7936 || exit 1
7938 @endif fixincludes
7940 .PHONY: maybe-html-fixincludes html-fixincludes
7941 maybe-html-fixincludes:
7942 @if fixincludes
7943 maybe-html-fixincludes: html-fixincludes
7945 html-fixincludes: \
7946 configure-fixincludes
7947 @: $(MAKE); $(unstage)
7948 @[ -f ./fixincludes/Makefile ] || exit 0; \
7949 r=`${PWD_COMMAND}`; export r; \
7950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7951 $(HOST_EXPORTS) \
7952 for flag in $(EXTRA_HOST_FLAGS) ; do \
7953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7954 done; \
7955 echo "Doing html in fixincludes" ; \
7956 (cd $(HOST_SUBDIR)/fixincludes && \
7957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7959 "RANLIB=$${RANLIB}" \
7960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7961 html) \
7962 || exit 1
7964 @endif fixincludes
7966 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7967 maybe-TAGS-fixincludes:
7968 @if fixincludes
7969 maybe-TAGS-fixincludes: TAGS-fixincludes
7971 # fixincludes doesn't support TAGS.
7972 TAGS-fixincludes:
7974 @endif fixincludes
7976 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7977 maybe-install-info-fixincludes:
7978 @if fixincludes
7979 maybe-install-info-fixincludes: install-info-fixincludes
7981 install-info-fixincludes: \
7982 configure-fixincludes \
7983 info-fixincludes
7984 @: $(MAKE); $(unstage)
7985 @[ -f ./fixincludes/Makefile ] || exit 0; \
7986 r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 $(HOST_EXPORTS) \
7989 for flag in $(EXTRA_HOST_FLAGS) ; do \
7990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7991 done; \
7992 echo "Doing install-info in fixincludes" ; \
7993 (cd $(HOST_SUBDIR)/fixincludes && \
7994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7996 "RANLIB=$${RANLIB}" \
7997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7998 install-info) \
7999 || exit 1
8001 @endif fixincludes
8003 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8004 maybe-install-pdf-fixincludes:
8005 @if fixincludes
8006 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8008 install-pdf-fixincludes: \
8009 configure-fixincludes \
8010 pdf-fixincludes
8011 @: $(MAKE); $(unstage)
8012 @[ -f ./fixincludes/Makefile ] || exit 0; \
8013 r=`${PWD_COMMAND}`; export r; \
8014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8015 $(HOST_EXPORTS) \
8016 for flag in $(EXTRA_HOST_FLAGS) ; do \
8017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8018 done; \
8019 echo "Doing install-pdf in fixincludes" ; \
8020 (cd $(HOST_SUBDIR)/fixincludes && \
8021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8023 "RANLIB=$${RANLIB}" \
8024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8025 install-pdf) \
8026 || exit 1
8028 @endif fixincludes
8030 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8031 maybe-install-html-fixincludes:
8032 @if fixincludes
8033 maybe-install-html-fixincludes: install-html-fixincludes
8035 install-html-fixincludes: \
8036 configure-fixincludes \
8037 html-fixincludes
8038 @: $(MAKE); $(unstage)
8039 @[ -f ./fixincludes/Makefile ] || exit 0; \
8040 r=`${PWD_COMMAND}`; export r; \
8041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8042 $(HOST_EXPORTS) \
8043 for flag in $(EXTRA_HOST_FLAGS) ; do \
8044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8045 done; \
8046 echo "Doing install-html in fixincludes" ; \
8047 (cd $(HOST_SUBDIR)/fixincludes && \
8048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8050 "RANLIB=$${RANLIB}" \
8051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8052 install-html) \
8053 || exit 1
8055 @endif fixincludes
8057 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8058 maybe-installcheck-fixincludes:
8059 @if fixincludes
8060 maybe-installcheck-fixincludes: installcheck-fixincludes
8062 installcheck-fixincludes: \
8063 configure-fixincludes
8064 @: $(MAKE); $(unstage)
8065 @[ -f ./fixincludes/Makefile ] || exit 0; \
8066 r=`${PWD_COMMAND}`; export r; \
8067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8068 $(HOST_EXPORTS) \
8069 for flag in $(EXTRA_HOST_FLAGS) ; do \
8070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8071 done; \
8072 echo "Doing installcheck in fixincludes" ; \
8073 (cd $(HOST_SUBDIR)/fixincludes && \
8074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8076 "RANLIB=$${RANLIB}" \
8077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8078 installcheck) \
8079 || exit 1
8081 @endif fixincludes
8083 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8084 maybe-mostlyclean-fixincludes:
8085 @if fixincludes
8086 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8088 mostlyclean-fixincludes:
8089 @: $(MAKE); $(unstage)
8090 @[ -f ./fixincludes/Makefile ] || exit 0; \
8091 r=`${PWD_COMMAND}`; export r; \
8092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8093 $(HOST_EXPORTS) \
8094 for flag in $(EXTRA_HOST_FLAGS) ; do \
8095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8096 done; \
8097 echo "Doing mostlyclean in fixincludes" ; \
8098 (cd $(HOST_SUBDIR)/fixincludes && \
8099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8101 "RANLIB=$${RANLIB}" \
8102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8103 mostlyclean) \
8104 || exit 1
8106 @endif fixincludes
8108 .PHONY: maybe-clean-fixincludes clean-fixincludes
8109 maybe-clean-fixincludes:
8110 @if fixincludes
8111 maybe-clean-fixincludes: clean-fixincludes
8113 clean-fixincludes:
8114 @: $(MAKE); $(unstage)
8115 @[ -f ./fixincludes/Makefile ] || exit 0; \
8116 r=`${PWD_COMMAND}`; export r; \
8117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8118 $(HOST_EXPORTS) \
8119 for flag in $(EXTRA_HOST_FLAGS) ; do \
8120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8121 done; \
8122 echo "Doing clean in fixincludes" ; \
8123 (cd $(HOST_SUBDIR)/fixincludes && \
8124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8126 "RANLIB=$${RANLIB}" \
8127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8128 clean) \
8129 || exit 1
8131 @endif fixincludes
8133 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8134 maybe-distclean-fixincludes:
8135 @if fixincludes
8136 maybe-distclean-fixincludes: distclean-fixincludes
8138 distclean-fixincludes:
8139 @: $(MAKE); $(unstage)
8140 @[ -f ./fixincludes/Makefile ] || exit 0; \
8141 r=`${PWD_COMMAND}`; export r; \
8142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8143 $(HOST_EXPORTS) \
8144 for flag in $(EXTRA_HOST_FLAGS) ; do \
8145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8146 done; \
8147 echo "Doing distclean in fixincludes" ; \
8148 (cd $(HOST_SUBDIR)/fixincludes && \
8149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8151 "RANLIB=$${RANLIB}" \
8152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8153 distclean) \
8154 || exit 1
8156 @endif fixincludes
8158 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8159 maybe-maintainer-clean-fixincludes:
8160 @if fixincludes
8161 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8163 maintainer-clean-fixincludes:
8164 @: $(MAKE); $(unstage)
8165 @[ -f ./fixincludes/Makefile ] || exit 0; \
8166 r=`${PWD_COMMAND}`; export r; \
8167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8168 $(HOST_EXPORTS) \
8169 for flag in $(EXTRA_HOST_FLAGS) ; do \
8170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8171 done; \
8172 echo "Doing maintainer-clean in fixincludes" ; \
8173 (cd $(HOST_SUBDIR)/fixincludes && \
8174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8176 "RANLIB=$${RANLIB}" \
8177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8178 maintainer-clean) \
8179 || exit 1
8181 @endif fixincludes
8185 .PHONY: configure-flex maybe-configure-flex
8186 maybe-configure-flex:
8187 @if gcc-bootstrap
8188 configure-flex: stage_current
8189 @endif gcc-bootstrap
8190 @if flex
8191 maybe-configure-flex: configure-flex
8192 configure-flex:
8193 @: $(MAKE); $(unstage)
8194 @r=`${PWD_COMMAND}`; export r; \
8195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8196 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8198 $(HOST_EXPORTS) \
8199 echo Configuring in $(HOST_SUBDIR)/flex; \
8200 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8201 case $(srcdir) in \
8202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8203 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8205 esac; \
8206 srcdiroption="--srcdir=$${topdir}/flex"; \
8207 libsrcdir="$$s/flex"; \
8208 $(SHELL) $${libsrcdir}/configure \
8209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8210 --target=${target_alias} $${srcdiroption} \
8211 || exit 1
8212 @endif flex
8218 .PHONY: all-flex maybe-all-flex
8219 maybe-all-flex:
8220 @if gcc-bootstrap
8221 all-flex: stage_current
8222 @endif gcc-bootstrap
8223 @if flex
8224 TARGET-flex=all
8225 maybe-all-flex: all-flex
8226 all-flex: configure-flex
8227 @: $(MAKE); $(unstage)
8228 @r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 $(HOST_EXPORTS) \
8231 (cd $(HOST_SUBDIR)/flex && \
8232 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8233 $(TARGET-flex))
8234 @endif flex
8239 .PHONY: check-flex maybe-check-flex
8240 maybe-check-flex:
8241 @if flex
8242 maybe-check-flex: check-flex
8244 # This module is only tested in a native toolchain.
8245 check-flex:
8246 @: $(MAKE); $(unstage)
8247 @if [ '$(host)' = '$(target)' ] ; then \
8248 r=`${PWD_COMMAND}`; export r; \
8249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8250 $(HOST_EXPORTS) \
8251 (cd $(HOST_SUBDIR)/flex && \
8252 $(MAKE) $(FLAGS_TO_PASS) check); \
8255 @endif flex
8257 .PHONY: install-flex maybe-install-flex
8258 maybe-install-flex:
8259 @if flex
8260 maybe-install-flex: install-flex
8262 install-flex: installdirs
8263 @: $(MAKE); $(unstage)
8264 @r=`${PWD_COMMAND}`; export r; \
8265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8266 $(HOST_EXPORTS) \
8267 (cd $(HOST_SUBDIR)/flex && \
8268 $(MAKE) $(FLAGS_TO_PASS) install)
8270 @endif flex
8272 .PHONY: install-strip-flex maybe-install-strip-flex
8273 maybe-install-strip-flex:
8274 @if flex
8275 maybe-install-strip-flex: install-strip-flex
8277 install-strip-flex: installdirs
8278 @: $(MAKE); $(unstage)
8279 @r=`${PWD_COMMAND}`; export r; \
8280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8281 $(HOST_EXPORTS) \
8282 (cd $(HOST_SUBDIR)/flex && \
8283 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8285 @endif flex
8287 # Other targets (info, dvi, pdf, etc.)
8289 .PHONY: maybe-info-flex info-flex
8290 maybe-info-flex:
8291 @if flex
8292 maybe-info-flex: info-flex
8294 info-flex: \
8295 configure-flex
8296 @: $(MAKE); $(unstage)
8297 @[ -f ./flex/Makefile ] || exit 0; \
8298 r=`${PWD_COMMAND}`; export r; \
8299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8300 $(HOST_EXPORTS) \
8301 for flag in $(EXTRA_HOST_FLAGS) ; do \
8302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8303 done; \
8304 echo "Doing info in flex" ; \
8305 (cd $(HOST_SUBDIR)/flex && \
8306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8308 "RANLIB=$${RANLIB}" \
8309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8310 info) \
8311 || exit 1
8313 @endif flex
8315 .PHONY: maybe-dvi-flex dvi-flex
8316 maybe-dvi-flex:
8317 @if flex
8318 maybe-dvi-flex: dvi-flex
8320 dvi-flex: \
8321 configure-flex
8322 @: $(MAKE); $(unstage)
8323 @[ -f ./flex/Makefile ] || exit 0; \
8324 r=`${PWD_COMMAND}`; export r; \
8325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8326 $(HOST_EXPORTS) \
8327 for flag in $(EXTRA_HOST_FLAGS) ; do \
8328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8329 done; \
8330 echo "Doing dvi in flex" ; \
8331 (cd $(HOST_SUBDIR)/flex && \
8332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8334 "RANLIB=$${RANLIB}" \
8335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8336 dvi) \
8337 || exit 1
8339 @endif flex
8341 .PHONY: maybe-pdf-flex pdf-flex
8342 maybe-pdf-flex:
8343 @if flex
8344 maybe-pdf-flex: pdf-flex
8346 pdf-flex: \
8347 configure-flex
8348 @: $(MAKE); $(unstage)
8349 @[ -f ./flex/Makefile ] || exit 0; \
8350 r=`${PWD_COMMAND}`; export r; \
8351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8352 $(HOST_EXPORTS) \
8353 for flag in $(EXTRA_HOST_FLAGS) ; do \
8354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8355 done; \
8356 echo "Doing pdf in flex" ; \
8357 (cd $(HOST_SUBDIR)/flex && \
8358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8360 "RANLIB=$${RANLIB}" \
8361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8362 pdf) \
8363 || exit 1
8365 @endif flex
8367 .PHONY: maybe-html-flex html-flex
8368 maybe-html-flex:
8369 @if flex
8370 maybe-html-flex: html-flex
8372 html-flex: \
8373 configure-flex
8374 @: $(MAKE); $(unstage)
8375 @[ -f ./flex/Makefile ] || exit 0; \
8376 r=`${PWD_COMMAND}`; export r; \
8377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8378 $(HOST_EXPORTS) \
8379 for flag in $(EXTRA_HOST_FLAGS) ; do \
8380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8381 done; \
8382 echo "Doing html in flex" ; \
8383 (cd $(HOST_SUBDIR)/flex && \
8384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8386 "RANLIB=$${RANLIB}" \
8387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8388 html) \
8389 || exit 1
8391 @endif flex
8393 .PHONY: maybe-TAGS-flex TAGS-flex
8394 maybe-TAGS-flex:
8395 @if flex
8396 maybe-TAGS-flex: TAGS-flex
8398 TAGS-flex: \
8399 configure-flex
8400 @: $(MAKE); $(unstage)
8401 @[ -f ./flex/Makefile ] || exit 0; \
8402 r=`${PWD_COMMAND}`; export r; \
8403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8404 $(HOST_EXPORTS) \
8405 for flag in $(EXTRA_HOST_FLAGS) ; do \
8406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8407 done; \
8408 echo "Doing TAGS in flex" ; \
8409 (cd $(HOST_SUBDIR)/flex && \
8410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8412 "RANLIB=$${RANLIB}" \
8413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8414 TAGS) \
8415 || exit 1
8417 @endif flex
8419 .PHONY: maybe-install-info-flex install-info-flex
8420 maybe-install-info-flex:
8421 @if flex
8422 maybe-install-info-flex: install-info-flex
8424 install-info-flex: \
8425 configure-flex \
8426 info-flex
8427 @: $(MAKE); $(unstage)
8428 @[ -f ./flex/Makefile ] || exit 0; \
8429 r=`${PWD_COMMAND}`; export r; \
8430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8431 $(HOST_EXPORTS) \
8432 for flag in $(EXTRA_HOST_FLAGS) ; do \
8433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8434 done; \
8435 echo "Doing install-info in flex" ; \
8436 (cd $(HOST_SUBDIR)/flex && \
8437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8439 "RANLIB=$${RANLIB}" \
8440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8441 install-info) \
8442 || exit 1
8444 @endif flex
8446 .PHONY: maybe-install-pdf-flex install-pdf-flex
8447 maybe-install-pdf-flex:
8448 @if flex
8449 maybe-install-pdf-flex: install-pdf-flex
8451 install-pdf-flex: \
8452 configure-flex \
8453 pdf-flex
8454 @: $(MAKE); $(unstage)
8455 @[ -f ./flex/Makefile ] || exit 0; \
8456 r=`${PWD_COMMAND}`; export r; \
8457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8458 $(HOST_EXPORTS) \
8459 for flag in $(EXTRA_HOST_FLAGS) ; do \
8460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8461 done; \
8462 echo "Doing install-pdf in flex" ; \
8463 (cd $(HOST_SUBDIR)/flex && \
8464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8466 "RANLIB=$${RANLIB}" \
8467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8468 install-pdf) \
8469 || exit 1
8471 @endif flex
8473 .PHONY: maybe-install-html-flex install-html-flex
8474 maybe-install-html-flex:
8475 @if flex
8476 maybe-install-html-flex: install-html-flex
8478 install-html-flex: \
8479 configure-flex \
8480 html-flex
8481 @: $(MAKE); $(unstage)
8482 @[ -f ./flex/Makefile ] || exit 0; \
8483 r=`${PWD_COMMAND}`; export r; \
8484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8485 $(HOST_EXPORTS) \
8486 for flag in $(EXTRA_HOST_FLAGS) ; do \
8487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8488 done; \
8489 echo "Doing install-html in flex" ; \
8490 (cd $(HOST_SUBDIR)/flex && \
8491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8493 "RANLIB=$${RANLIB}" \
8494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8495 install-html) \
8496 || exit 1
8498 @endif flex
8500 .PHONY: maybe-installcheck-flex installcheck-flex
8501 maybe-installcheck-flex:
8502 @if flex
8503 maybe-installcheck-flex: installcheck-flex
8505 installcheck-flex: \
8506 configure-flex
8507 @: $(MAKE); $(unstage)
8508 @[ -f ./flex/Makefile ] || exit 0; \
8509 r=`${PWD_COMMAND}`; export r; \
8510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8511 $(HOST_EXPORTS) \
8512 for flag in $(EXTRA_HOST_FLAGS) ; do \
8513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8514 done; \
8515 echo "Doing installcheck in flex" ; \
8516 (cd $(HOST_SUBDIR)/flex && \
8517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8519 "RANLIB=$${RANLIB}" \
8520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8521 installcheck) \
8522 || exit 1
8524 @endif flex
8526 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8527 maybe-mostlyclean-flex:
8528 @if flex
8529 maybe-mostlyclean-flex: mostlyclean-flex
8531 mostlyclean-flex:
8532 @: $(MAKE); $(unstage)
8533 @[ -f ./flex/Makefile ] || exit 0; \
8534 r=`${PWD_COMMAND}`; export r; \
8535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8536 $(HOST_EXPORTS) \
8537 for flag in $(EXTRA_HOST_FLAGS) ; do \
8538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8539 done; \
8540 echo "Doing mostlyclean in flex" ; \
8541 (cd $(HOST_SUBDIR)/flex && \
8542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8544 "RANLIB=$${RANLIB}" \
8545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8546 mostlyclean) \
8547 || exit 1
8549 @endif flex
8551 .PHONY: maybe-clean-flex clean-flex
8552 maybe-clean-flex:
8553 @if flex
8554 maybe-clean-flex: clean-flex
8556 clean-flex:
8557 @: $(MAKE); $(unstage)
8558 @[ -f ./flex/Makefile ] || exit 0; \
8559 r=`${PWD_COMMAND}`; export r; \
8560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8561 $(HOST_EXPORTS) \
8562 for flag in $(EXTRA_HOST_FLAGS) ; do \
8563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8564 done; \
8565 echo "Doing clean in flex" ; \
8566 (cd $(HOST_SUBDIR)/flex && \
8567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8569 "RANLIB=$${RANLIB}" \
8570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8571 clean) \
8572 || exit 1
8574 @endif flex
8576 .PHONY: maybe-distclean-flex distclean-flex
8577 maybe-distclean-flex:
8578 @if flex
8579 maybe-distclean-flex: distclean-flex
8581 distclean-flex:
8582 @: $(MAKE); $(unstage)
8583 @[ -f ./flex/Makefile ] || exit 0; \
8584 r=`${PWD_COMMAND}`; export r; \
8585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8586 $(HOST_EXPORTS) \
8587 for flag in $(EXTRA_HOST_FLAGS) ; do \
8588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8589 done; \
8590 echo "Doing distclean in flex" ; \
8591 (cd $(HOST_SUBDIR)/flex && \
8592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8594 "RANLIB=$${RANLIB}" \
8595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8596 distclean) \
8597 || exit 1
8599 @endif flex
8601 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8602 maybe-maintainer-clean-flex:
8603 @if flex
8604 maybe-maintainer-clean-flex: maintainer-clean-flex
8606 maintainer-clean-flex:
8607 @: $(MAKE); $(unstage)
8608 @[ -f ./flex/Makefile ] || exit 0; \
8609 r=`${PWD_COMMAND}`; export r; \
8610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8611 $(HOST_EXPORTS) \
8612 for flag in $(EXTRA_HOST_FLAGS) ; do \
8613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8614 done; \
8615 echo "Doing maintainer-clean in flex" ; \
8616 (cd $(HOST_SUBDIR)/flex && \
8617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8619 "RANLIB=$${RANLIB}" \
8620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8621 maintainer-clean) \
8622 || exit 1
8624 @endif flex
8628 .PHONY: configure-gas maybe-configure-gas
8629 maybe-configure-gas:
8630 @if gcc-bootstrap
8631 configure-gas: stage_current
8632 @endif gcc-bootstrap
8633 @if gas
8634 maybe-configure-gas: configure-gas
8635 configure-gas:
8636 @r=`${PWD_COMMAND}`; export r; \
8637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8638 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8640 $(HOST_EXPORTS) \
8641 echo Configuring in $(HOST_SUBDIR)/gas; \
8642 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8643 case $(srcdir) in \
8644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8645 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8647 esac; \
8648 srcdiroption="--srcdir=$${topdir}/gas"; \
8649 libsrcdir="$$s/gas"; \
8650 $(SHELL) $${libsrcdir}/configure \
8651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8652 --target=${target_alias} $${srcdiroption} \
8653 || exit 1
8654 @endif gas
8658 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8659 maybe-configure-stage1-gas:
8660 @if gas-bootstrap
8661 maybe-configure-stage1-gas: configure-stage1-gas
8662 configure-stage1-gas:
8663 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8664 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8665 @r=`${PWD_COMMAND}`; export r; \
8666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8667 TFLAGS="$(STAGE1_TFLAGS)"; \
8668 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8669 $(HOST_EXPORTS) \
8670 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8671 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8672 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8673 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8675 cd $(HOST_SUBDIR)/gas || exit 1; \
8676 case $(srcdir) in \
8677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8678 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8680 esac; \
8681 srcdiroption="--srcdir=$${topdir}/gas"; \
8682 libsrcdir="$$s/gas"; \
8683 $(SHELL) $${libsrcdir}/configure \
8684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8685 --target=${target_alias} $${srcdiroption} \
8686 $(STAGE1_CONFIGURE_FLAGS)
8687 @endif gas-bootstrap
8689 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8690 maybe-configure-stage2-gas:
8691 @if gas-bootstrap
8692 maybe-configure-stage2-gas: configure-stage2-gas
8693 configure-stage2-gas:
8694 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8696 @r=`${PWD_COMMAND}`; export r; \
8697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8698 TFLAGS="$(STAGE2_TFLAGS)"; \
8699 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8700 $(HOST_EXPORTS) \
8701 $(POSTSTAGE1_HOST_EXPORTS) \
8702 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8703 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8704 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8705 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8707 cd $(HOST_SUBDIR)/gas || exit 1; \
8708 case $(srcdir) in \
8709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8710 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8712 esac; \
8713 srcdiroption="--srcdir=$${topdir}/gas"; \
8714 libsrcdir="$$s/gas"; \
8715 $(SHELL) $${libsrcdir}/configure \
8716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8717 --target=${target_alias} $${srcdiroption} \
8718 --with-build-libsubdir=$(HOST_SUBDIR) \
8719 $(STAGE2_CONFIGURE_FLAGS)
8720 @endif gas-bootstrap
8722 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8723 maybe-configure-stage3-gas:
8724 @if gas-bootstrap
8725 maybe-configure-stage3-gas: configure-stage3-gas
8726 configure-stage3-gas:
8727 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8728 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8729 @r=`${PWD_COMMAND}`; export r; \
8730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8731 TFLAGS="$(STAGE3_TFLAGS)"; \
8732 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8733 $(HOST_EXPORTS) \
8734 $(POSTSTAGE1_HOST_EXPORTS) \
8735 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8736 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8737 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8738 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8740 cd $(HOST_SUBDIR)/gas || exit 1; \
8741 case $(srcdir) in \
8742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8743 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8745 esac; \
8746 srcdiroption="--srcdir=$${topdir}/gas"; \
8747 libsrcdir="$$s/gas"; \
8748 $(SHELL) $${libsrcdir}/configure \
8749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8750 --target=${target_alias} $${srcdiroption} \
8751 --with-build-libsubdir=$(HOST_SUBDIR) \
8752 $(STAGE3_CONFIGURE_FLAGS)
8753 @endif gas-bootstrap
8755 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8756 maybe-configure-stage4-gas:
8757 @if gas-bootstrap
8758 maybe-configure-stage4-gas: configure-stage4-gas
8759 configure-stage4-gas:
8760 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8761 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8762 @r=`${PWD_COMMAND}`; export r; \
8763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8764 TFLAGS="$(STAGE4_TFLAGS)"; \
8765 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8766 $(HOST_EXPORTS) \
8767 $(POSTSTAGE1_HOST_EXPORTS) \
8768 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8769 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8770 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8771 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8773 cd $(HOST_SUBDIR)/gas || exit 1; \
8774 case $(srcdir) in \
8775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8776 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8778 esac; \
8779 srcdiroption="--srcdir=$${topdir}/gas"; \
8780 libsrcdir="$$s/gas"; \
8781 $(SHELL) $${libsrcdir}/configure \
8782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8783 --target=${target_alias} $${srcdiroption} \
8784 --with-build-libsubdir=$(HOST_SUBDIR) \
8785 $(STAGE4_CONFIGURE_FLAGS)
8786 @endif gas-bootstrap
8788 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8789 maybe-configure-stageprofile-gas:
8790 @if gas-bootstrap
8791 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8792 configure-stageprofile-gas:
8793 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8795 @r=`${PWD_COMMAND}`; export r; \
8796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8797 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8798 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8799 $(HOST_EXPORTS) \
8800 $(POSTSTAGE1_HOST_EXPORTS) \
8801 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8802 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8803 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8804 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8806 cd $(HOST_SUBDIR)/gas || exit 1; \
8807 case $(srcdir) in \
8808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8809 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8811 esac; \
8812 srcdiroption="--srcdir=$${topdir}/gas"; \
8813 libsrcdir="$$s/gas"; \
8814 $(SHELL) $${libsrcdir}/configure \
8815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8816 --target=${target_alias} $${srcdiroption} \
8817 --with-build-libsubdir=$(HOST_SUBDIR) \
8818 $(STAGEprofile_CONFIGURE_FLAGS)
8819 @endif gas-bootstrap
8821 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8822 maybe-configure-stagefeedback-gas:
8823 @if gas-bootstrap
8824 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8825 configure-stagefeedback-gas:
8826 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8827 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8828 @r=`${PWD_COMMAND}`; export r; \
8829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8830 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8831 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8832 $(HOST_EXPORTS) \
8833 $(POSTSTAGE1_HOST_EXPORTS) \
8834 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8835 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8836 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8837 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8839 cd $(HOST_SUBDIR)/gas || exit 1; \
8840 case $(srcdir) in \
8841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8842 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8844 esac; \
8845 srcdiroption="--srcdir=$${topdir}/gas"; \
8846 libsrcdir="$$s/gas"; \
8847 $(SHELL) $${libsrcdir}/configure \
8848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8849 --target=${target_alias} $${srcdiroption} \
8850 --with-build-libsubdir=$(HOST_SUBDIR) \
8851 $(STAGEfeedback_CONFIGURE_FLAGS)
8852 @endif gas-bootstrap
8858 .PHONY: all-gas maybe-all-gas
8859 maybe-all-gas:
8860 @if gcc-bootstrap
8861 all-gas: stage_current
8862 @endif gcc-bootstrap
8863 @if gas
8864 TARGET-gas=all
8865 maybe-all-gas: all-gas
8866 all-gas: configure-gas
8867 @r=`${PWD_COMMAND}`; export r; \
8868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8869 $(HOST_EXPORTS) \
8870 (cd $(HOST_SUBDIR)/gas && \
8871 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8872 $(TARGET-gas))
8873 @endif gas
8877 .PHONY: all-stage1-gas maybe-all-stage1-gas
8878 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8879 maybe-all-stage1-gas:
8880 maybe-clean-stage1-gas:
8881 @if gas-bootstrap
8882 maybe-all-stage1-gas: all-stage1-gas
8883 all-stage1: all-stage1-gas
8884 TARGET-stage1-gas = $(TARGET-gas)
8885 all-stage1-gas: configure-stage1-gas
8886 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8887 @r=`${PWD_COMMAND}`; export r; \
8888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8889 TFLAGS="$(STAGE1_TFLAGS)"; \
8890 $(HOST_EXPORTS) \
8891 cd $(HOST_SUBDIR)/gas && \
8892 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8893 CFLAGS="$(STAGE1_CFLAGS)" \
8894 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8895 LIBCFLAGS="$(LIBCFLAGS)" \
8896 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8897 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8898 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8899 $(EXTRA_HOST_FLAGS) \
8900 TFLAGS="$(STAGE1_TFLAGS)" \
8901 $(TARGET-stage1-gas)
8903 maybe-clean-stage1-gas: clean-stage1-gas
8904 clean-stage1: clean-stage1-gas
8905 clean-stage1-gas:
8906 @if [ $(current_stage) = stage1 ]; then \
8907 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8908 else \
8909 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8910 $(MAKE) stage1-start; \
8911 fi; \
8912 cd $(HOST_SUBDIR)/gas && \
8913 $(MAKE) $(EXTRA_HOST_FLAGS) \
8914 clean
8915 @endif gas-bootstrap
8918 .PHONY: all-stage2-gas maybe-all-stage2-gas
8919 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8920 maybe-all-stage2-gas:
8921 maybe-clean-stage2-gas:
8922 @if gas-bootstrap
8923 maybe-all-stage2-gas: all-stage2-gas
8924 all-stage2: all-stage2-gas
8925 TARGET-stage2-gas = $(TARGET-gas)
8926 all-stage2-gas: configure-stage2-gas
8927 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8928 @r=`${PWD_COMMAND}`; export r; \
8929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8930 TFLAGS="$(STAGE2_TFLAGS)"; \
8931 $(HOST_EXPORTS) \
8932 $(POSTSTAGE1_HOST_EXPORTS) \
8933 cd $(HOST_SUBDIR)/gas && \
8934 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8935 CFLAGS="$(STAGE2_CFLAGS)" \
8936 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8937 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8938 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8939 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8940 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8941 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8942 TFLAGS="$(STAGE2_TFLAGS)" \
8943 $(TARGET-stage2-gas)
8945 maybe-clean-stage2-gas: clean-stage2-gas
8946 clean-stage2: clean-stage2-gas
8947 clean-stage2-gas:
8948 @if [ $(current_stage) = stage2 ]; then \
8949 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8950 else \
8951 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8952 $(MAKE) stage2-start; \
8953 fi; \
8954 cd $(HOST_SUBDIR)/gas && \
8955 $(MAKE) $(EXTRA_HOST_FLAGS) \
8956 $(POSTSTAGE1_FLAGS_TO_PASS) \
8957 clean
8958 @endif gas-bootstrap
8961 .PHONY: all-stage3-gas maybe-all-stage3-gas
8962 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8963 maybe-all-stage3-gas:
8964 maybe-clean-stage3-gas:
8965 @if gas-bootstrap
8966 maybe-all-stage3-gas: all-stage3-gas
8967 all-stage3: all-stage3-gas
8968 TARGET-stage3-gas = $(TARGET-gas)
8969 all-stage3-gas: configure-stage3-gas
8970 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8971 @r=`${PWD_COMMAND}`; export r; \
8972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8973 TFLAGS="$(STAGE3_TFLAGS)"; \
8974 $(HOST_EXPORTS) \
8975 $(POSTSTAGE1_HOST_EXPORTS) \
8976 cd $(HOST_SUBDIR)/gas && \
8977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8978 CFLAGS="$(STAGE3_CFLAGS)" \
8979 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8980 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8984 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8985 TFLAGS="$(STAGE3_TFLAGS)" \
8986 $(TARGET-stage3-gas)
8988 maybe-clean-stage3-gas: clean-stage3-gas
8989 clean-stage3: clean-stage3-gas
8990 clean-stage3-gas:
8991 @if [ $(current_stage) = stage3 ]; then \
8992 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8993 else \
8994 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
8995 $(MAKE) stage3-start; \
8996 fi; \
8997 cd $(HOST_SUBDIR)/gas && \
8998 $(MAKE) $(EXTRA_HOST_FLAGS) \
8999 $(POSTSTAGE1_FLAGS_TO_PASS) \
9000 clean
9001 @endif gas-bootstrap
9004 .PHONY: all-stage4-gas maybe-all-stage4-gas
9005 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9006 maybe-all-stage4-gas:
9007 maybe-clean-stage4-gas:
9008 @if gas-bootstrap
9009 maybe-all-stage4-gas: all-stage4-gas
9010 all-stage4: all-stage4-gas
9011 TARGET-stage4-gas = $(TARGET-gas)
9012 all-stage4-gas: configure-stage4-gas
9013 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9014 @r=`${PWD_COMMAND}`; export r; \
9015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9016 TFLAGS="$(STAGE4_TFLAGS)"; \
9017 $(HOST_EXPORTS) \
9018 $(POSTSTAGE1_HOST_EXPORTS) \
9019 cd $(HOST_SUBDIR)/gas && \
9020 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9021 CFLAGS="$(STAGE4_CFLAGS)" \
9022 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9023 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9024 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9025 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9026 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9027 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9028 TFLAGS="$(STAGE4_TFLAGS)" \
9029 $(TARGET-stage4-gas)
9031 maybe-clean-stage4-gas: clean-stage4-gas
9032 clean-stage4: clean-stage4-gas
9033 clean-stage4-gas:
9034 @if [ $(current_stage) = stage4 ]; then \
9035 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9036 else \
9037 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9038 $(MAKE) stage4-start; \
9039 fi; \
9040 cd $(HOST_SUBDIR)/gas && \
9041 $(MAKE) $(EXTRA_HOST_FLAGS) \
9042 $(POSTSTAGE1_FLAGS_TO_PASS) \
9043 clean
9044 @endif gas-bootstrap
9047 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9048 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9049 maybe-all-stageprofile-gas:
9050 maybe-clean-stageprofile-gas:
9051 @if gas-bootstrap
9052 maybe-all-stageprofile-gas: all-stageprofile-gas
9053 all-stageprofile: all-stageprofile-gas
9054 TARGET-stageprofile-gas = $(TARGET-gas)
9055 all-stageprofile-gas: configure-stageprofile-gas
9056 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9057 @r=`${PWD_COMMAND}`; export r; \
9058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9059 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9060 $(HOST_EXPORTS) \
9061 $(POSTSTAGE1_HOST_EXPORTS) \
9062 cd $(HOST_SUBDIR)/gas && \
9063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9064 CFLAGS="$(STAGEprofile_CFLAGS)" \
9065 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9066 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9071 TFLAGS="$(STAGEprofile_TFLAGS)" \
9072 $(TARGET-stageprofile-gas)
9074 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9075 clean-stageprofile: clean-stageprofile-gas
9076 clean-stageprofile-gas:
9077 @if [ $(current_stage) = stageprofile ]; then \
9078 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9079 else \
9080 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9081 $(MAKE) stageprofile-start; \
9082 fi; \
9083 cd $(HOST_SUBDIR)/gas && \
9084 $(MAKE) $(EXTRA_HOST_FLAGS) \
9085 $(POSTSTAGE1_FLAGS_TO_PASS) \
9086 clean
9087 @endif gas-bootstrap
9090 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9091 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9092 maybe-all-stagefeedback-gas:
9093 maybe-clean-stagefeedback-gas:
9094 @if gas-bootstrap
9095 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9096 all-stagefeedback: all-stagefeedback-gas
9097 TARGET-stagefeedback-gas = $(TARGET-gas)
9098 all-stagefeedback-gas: configure-stagefeedback-gas
9099 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9100 @r=`${PWD_COMMAND}`; export r; \
9101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9102 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9103 $(HOST_EXPORTS) \
9104 $(POSTSTAGE1_HOST_EXPORTS) \
9105 cd $(HOST_SUBDIR)/gas && \
9106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9107 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9108 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9109 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9113 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9114 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9115 $(TARGET-stagefeedback-gas)
9117 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9118 clean-stagefeedback: clean-stagefeedback-gas
9119 clean-stagefeedback-gas:
9120 @if [ $(current_stage) = stagefeedback ]; then \
9121 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9122 else \
9123 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9124 $(MAKE) stagefeedback-start; \
9125 fi; \
9126 cd $(HOST_SUBDIR)/gas && \
9127 $(MAKE) $(EXTRA_HOST_FLAGS) \
9128 $(POSTSTAGE1_FLAGS_TO_PASS) \
9129 clean
9130 @endif gas-bootstrap
9136 .PHONY: check-gas maybe-check-gas
9137 maybe-check-gas:
9138 @if gas
9139 maybe-check-gas: check-gas
9141 check-gas:
9142 @: $(MAKE); $(unstage)
9143 @r=`${PWD_COMMAND}`; export r; \
9144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9145 $(HOST_EXPORTS) \
9146 (cd $(HOST_SUBDIR)/gas && \
9147 $(MAKE) $(FLAGS_TO_PASS) check)
9149 @endif gas
9151 .PHONY: install-gas maybe-install-gas
9152 maybe-install-gas:
9153 @if gas
9154 maybe-install-gas: install-gas
9156 install-gas: installdirs
9157 @: $(MAKE); $(unstage)
9158 @r=`${PWD_COMMAND}`; export r; \
9159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9160 $(HOST_EXPORTS) \
9161 (cd $(HOST_SUBDIR)/gas && \
9162 $(MAKE) $(FLAGS_TO_PASS) install)
9164 @endif gas
9166 .PHONY: install-strip-gas maybe-install-strip-gas
9167 maybe-install-strip-gas:
9168 @if gas
9169 maybe-install-strip-gas: install-strip-gas
9171 install-strip-gas: installdirs
9172 @: $(MAKE); $(unstage)
9173 @r=`${PWD_COMMAND}`; export r; \
9174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9175 $(HOST_EXPORTS) \
9176 (cd $(HOST_SUBDIR)/gas && \
9177 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9179 @endif gas
9181 # Other targets (info, dvi, pdf, etc.)
9183 .PHONY: maybe-info-gas info-gas
9184 maybe-info-gas:
9185 @if gas
9186 maybe-info-gas: info-gas
9188 info-gas: \
9189 configure-gas
9190 @[ -f ./gas/Makefile ] || exit 0; \
9191 r=`${PWD_COMMAND}`; export r; \
9192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9193 $(HOST_EXPORTS) \
9194 for flag in $(EXTRA_HOST_FLAGS) ; do \
9195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9196 done; \
9197 echo "Doing info in gas" ; \
9198 (cd $(HOST_SUBDIR)/gas && \
9199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9201 "RANLIB=$${RANLIB}" \
9202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9203 info) \
9204 || exit 1
9206 @endif gas
9208 .PHONY: maybe-dvi-gas dvi-gas
9209 maybe-dvi-gas:
9210 @if gas
9211 maybe-dvi-gas: dvi-gas
9213 dvi-gas: \
9214 configure-gas
9215 @[ -f ./gas/Makefile ] || exit 0; \
9216 r=`${PWD_COMMAND}`; export r; \
9217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9218 $(HOST_EXPORTS) \
9219 for flag in $(EXTRA_HOST_FLAGS) ; do \
9220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9221 done; \
9222 echo "Doing dvi in gas" ; \
9223 (cd $(HOST_SUBDIR)/gas && \
9224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9226 "RANLIB=$${RANLIB}" \
9227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9228 dvi) \
9229 || exit 1
9231 @endif gas
9233 .PHONY: maybe-pdf-gas pdf-gas
9234 maybe-pdf-gas:
9235 @if gas
9236 maybe-pdf-gas: pdf-gas
9238 pdf-gas: \
9239 configure-gas
9240 @[ -f ./gas/Makefile ] || exit 0; \
9241 r=`${PWD_COMMAND}`; export r; \
9242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9243 $(HOST_EXPORTS) \
9244 for flag in $(EXTRA_HOST_FLAGS) ; do \
9245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9246 done; \
9247 echo "Doing pdf in gas" ; \
9248 (cd $(HOST_SUBDIR)/gas && \
9249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9251 "RANLIB=$${RANLIB}" \
9252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9253 pdf) \
9254 || exit 1
9256 @endif gas
9258 .PHONY: maybe-html-gas html-gas
9259 maybe-html-gas:
9260 @if gas
9261 maybe-html-gas: html-gas
9263 html-gas: \
9264 configure-gas
9265 @[ -f ./gas/Makefile ] || exit 0; \
9266 r=`${PWD_COMMAND}`; export r; \
9267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9268 $(HOST_EXPORTS) \
9269 for flag in $(EXTRA_HOST_FLAGS) ; do \
9270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9271 done; \
9272 echo "Doing html in gas" ; \
9273 (cd $(HOST_SUBDIR)/gas && \
9274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9276 "RANLIB=$${RANLIB}" \
9277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9278 html) \
9279 || exit 1
9281 @endif gas
9283 .PHONY: maybe-TAGS-gas TAGS-gas
9284 maybe-TAGS-gas:
9285 @if gas
9286 maybe-TAGS-gas: TAGS-gas
9288 TAGS-gas: \
9289 configure-gas
9290 @[ -f ./gas/Makefile ] || exit 0; \
9291 r=`${PWD_COMMAND}`; export r; \
9292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9293 $(HOST_EXPORTS) \
9294 for flag in $(EXTRA_HOST_FLAGS) ; do \
9295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9296 done; \
9297 echo "Doing TAGS in gas" ; \
9298 (cd $(HOST_SUBDIR)/gas && \
9299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9301 "RANLIB=$${RANLIB}" \
9302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9303 TAGS) \
9304 || exit 1
9306 @endif gas
9308 .PHONY: maybe-install-info-gas install-info-gas
9309 maybe-install-info-gas:
9310 @if gas
9311 maybe-install-info-gas: install-info-gas
9313 install-info-gas: \
9314 configure-gas \
9315 info-gas
9316 @[ -f ./gas/Makefile ] || exit 0; \
9317 r=`${PWD_COMMAND}`; export r; \
9318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9319 $(HOST_EXPORTS) \
9320 for flag in $(EXTRA_HOST_FLAGS) ; do \
9321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9322 done; \
9323 echo "Doing install-info in gas" ; \
9324 (cd $(HOST_SUBDIR)/gas && \
9325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9327 "RANLIB=$${RANLIB}" \
9328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9329 install-info) \
9330 || exit 1
9332 @endif gas
9334 .PHONY: maybe-install-pdf-gas install-pdf-gas
9335 maybe-install-pdf-gas:
9336 @if gas
9337 maybe-install-pdf-gas: install-pdf-gas
9339 install-pdf-gas: \
9340 configure-gas \
9341 pdf-gas
9342 @[ -f ./gas/Makefile ] || exit 0; \
9343 r=`${PWD_COMMAND}`; export r; \
9344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9345 $(HOST_EXPORTS) \
9346 for flag in $(EXTRA_HOST_FLAGS) ; do \
9347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9348 done; \
9349 echo "Doing install-pdf in gas" ; \
9350 (cd $(HOST_SUBDIR)/gas && \
9351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9353 "RANLIB=$${RANLIB}" \
9354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9355 install-pdf) \
9356 || exit 1
9358 @endif gas
9360 .PHONY: maybe-install-html-gas install-html-gas
9361 maybe-install-html-gas:
9362 @if gas
9363 maybe-install-html-gas: install-html-gas
9365 install-html-gas: \
9366 configure-gas \
9367 html-gas
9368 @[ -f ./gas/Makefile ] || exit 0; \
9369 r=`${PWD_COMMAND}`; export r; \
9370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9371 $(HOST_EXPORTS) \
9372 for flag in $(EXTRA_HOST_FLAGS) ; do \
9373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9374 done; \
9375 echo "Doing install-html in gas" ; \
9376 (cd $(HOST_SUBDIR)/gas && \
9377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9379 "RANLIB=$${RANLIB}" \
9380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9381 install-html) \
9382 || exit 1
9384 @endif gas
9386 .PHONY: maybe-installcheck-gas installcheck-gas
9387 maybe-installcheck-gas:
9388 @if gas
9389 maybe-installcheck-gas: installcheck-gas
9391 installcheck-gas: \
9392 configure-gas
9393 @[ -f ./gas/Makefile ] || exit 0; \
9394 r=`${PWD_COMMAND}`; export r; \
9395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9396 $(HOST_EXPORTS) \
9397 for flag in $(EXTRA_HOST_FLAGS) ; do \
9398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9399 done; \
9400 echo "Doing installcheck in gas" ; \
9401 (cd $(HOST_SUBDIR)/gas && \
9402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9404 "RANLIB=$${RANLIB}" \
9405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9406 installcheck) \
9407 || exit 1
9409 @endif gas
9411 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9412 maybe-mostlyclean-gas:
9413 @if gas
9414 maybe-mostlyclean-gas: mostlyclean-gas
9416 mostlyclean-gas:
9417 @[ -f ./gas/Makefile ] || exit 0; \
9418 r=`${PWD_COMMAND}`; export r; \
9419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9420 $(HOST_EXPORTS) \
9421 for flag in $(EXTRA_HOST_FLAGS) ; do \
9422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9423 done; \
9424 echo "Doing mostlyclean in gas" ; \
9425 (cd $(HOST_SUBDIR)/gas && \
9426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9428 "RANLIB=$${RANLIB}" \
9429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9430 mostlyclean) \
9431 || exit 1
9433 @endif gas
9435 .PHONY: maybe-clean-gas clean-gas
9436 maybe-clean-gas:
9437 @if gas
9438 maybe-clean-gas: clean-gas
9440 clean-gas:
9441 @[ -f ./gas/Makefile ] || exit 0; \
9442 r=`${PWD_COMMAND}`; export r; \
9443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9444 $(HOST_EXPORTS) \
9445 for flag in $(EXTRA_HOST_FLAGS) ; do \
9446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9447 done; \
9448 echo "Doing clean in gas" ; \
9449 (cd $(HOST_SUBDIR)/gas && \
9450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9452 "RANLIB=$${RANLIB}" \
9453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9454 clean) \
9455 || exit 1
9457 @endif gas
9459 .PHONY: maybe-distclean-gas distclean-gas
9460 maybe-distclean-gas:
9461 @if gas
9462 maybe-distclean-gas: distclean-gas
9464 distclean-gas:
9465 @[ -f ./gas/Makefile ] || exit 0; \
9466 r=`${PWD_COMMAND}`; export r; \
9467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9468 $(HOST_EXPORTS) \
9469 for flag in $(EXTRA_HOST_FLAGS) ; do \
9470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9471 done; \
9472 echo "Doing distclean in gas" ; \
9473 (cd $(HOST_SUBDIR)/gas && \
9474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9476 "RANLIB=$${RANLIB}" \
9477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9478 distclean) \
9479 || exit 1
9481 @endif gas
9483 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9484 maybe-maintainer-clean-gas:
9485 @if gas
9486 maybe-maintainer-clean-gas: maintainer-clean-gas
9488 maintainer-clean-gas:
9489 @[ -f ./gas/Makefile ] || exit 0; \
9490 r=`${PWD_COMMAND}`; export r; \
9491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9492 $(HOST_EXPORTS) \
9493 for flag in $(EXTRA_HOST_FLAGS) ; do \
9494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9495 done; \
9496 echo "Doing maintainer-clean in gas" ; \
9497 (cd $(HOST_SUBDIR)/gas && \
9498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9500 "RANLIB=$${RANLIB}" \
9501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9502 maintainer-clean) \
9503 || exit 1
9505 @endif gas
9509 .PHONY: configure-gcc maybe-configure-gcc
9510 maybe-configure-gcc:
9511 @if gcc-bootstrap
9512 configure-gcc: stage_current
9513 @endif gcc-bootstrap
9514 @if gcc
9515 maybe-configure-gcc: configure-gcc
9516 configure-gcc:
9517 @r=`${PWD_COMMAND}`; export r; \
9518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9519 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9521 $(HOST_EXPORTS) \
9522 echo Configuring in $(HOST_SUBDIR)/gcc; \
9523 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9524 case $(srcdir) in \
9525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9526 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9528 esac; \
9529 srcdiroption="--srcdir=$${topdir}/gcc"; \
9530 libsrcdir="$$s/gcc"; \
9531 $(SHELL) $${libsrcdir}/configure \
9532 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9533 --target=${target_alias} $${srcdiroption} \
9534 || exit 1
9535 @endif gcc
9539 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9540 maybe-configure-stage1-gcc:
9541 @if gcc-bootstrap
9542 maybe-configure-stage1-gcc: configure-stage1-gcc
9543 configure-stage1-gcc:
9544 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9545 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9546 @r=`${PWD_COMMAND}`; export r; \
9547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9548 TFLAGS="$(STAGE1_TFLAGS)"; \
9549 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9550 $(HOST_EXPORTS) \
9551 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9552 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9553 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9554 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9556 cd $(HOST_SUBDIR)/gcc || exit 1; \
9557 case $(srcdir) in \
9558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9559 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9561 esac; \
9562 srcdiroption="--srcdir=$${topdir}/gcc"; \
9563 libsrcdir="$$s/gcc"; \
9564 $(SHELL) $${libsrcdir}/configure \
9565 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9566 --target=${target_alias} $${srcdiroption} \
9567 $(STAGE1_CONFIGURE_FLAGS)
9568 @endif gcc-bootstrap
9570 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9571 maybe-configure-stage2-gcc:
9572 @if gcc-bootstrap
9573 maybe-configure-stage2-gcc: configure-stage2-gcc
9574 configure-stage2-gcc:
9575 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9576 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9577 @r=`${PWD_COMMAND}`; export r; \
9578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9579 TFLAGS="$(STAGE2_TFLAGS)"; \
9580 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9581 $(HOST_EXPORTS) \
9582 $(POSTSTAGE1_HOST_EXPORTS) \
9583 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9584 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9585 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9586 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9588 cd $(HOST_SUBDIR)/gcc || exit 1; \
9589 case $(srcdir) in \
9590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9591 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9593 esac; \
9594 srcdiroption="--srcdir=$${topdir}/gcc"; \
9595 libsrcdir="$$s/gcc"; \
9596 $(SHELL) $${libsrcdir}/configure \
9597 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9598 --target=${target_alias} $${srcdiroption} \
9599 --with-build-libsubdir=$(HOST_SUBDIR) \
9600 $(STAGE2_CONFIGURE_FLAGS)
9601 @endif gcc-bootstrap
9603 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9604 maybe-configure-stage3-gcc:
9605 @if gcc-bootstrap
9606 maybe-configure-stage3-gcc: configure-stage3-gcc
9607 configure-stage3-gcc:
9608 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9609 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9610 @r=`${PWD_COMMAND}`; export r; \
9611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9612 TFLAGS="$(STAGE3_TFLAGS)"; \
9613 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9614 $(HOST_EXPORTS) \
9615 $(POSTSTAGE1_HOST_EXPORTS) \
9616 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9617 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9618 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9619 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9621 cd $(HOST_SUBDIR)/gcc || exit 1; \
9622 case $(srcdir) in \
9623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9624 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9626 esac; \
9627 srcdiroption="--srcdir=$${topdir}/gcc"; \
9628 libsrcdir="$$s/gcc"; \
9629 $(SHELL) $${libsrcdir}/configure \
9630 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9631 --target=${target_alias} $${srcdiroption} \
9632 --with-build-libsubdir=$(HOST_SUBDIR) \
9633 $(STAGE3_CONFIGURE_FLAGS)
9634 @endif gcc-bootstrap
9636 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9637 maybe-configure-stage4-gcc:
9638 @if gcc-bootstrap
9639 maybe-configure-stage4-gcc: configure-stage4-gcc
9640 configure-stage4-gcc:
9641 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9642 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9643 @r=`${PWD_COMMAND}`; export r; \
9644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9645 TFLAGS="$(STAGE4_TFLAGS)"; \
9646 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9647 $(HOST_EXPORTS) \
9648 $(POSTSTAGE1_HOST_EXPORTS) \
9649 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9650 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9651 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9652 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9654 cd $(HOST_SUBDIR)/gcc || exit 1; \
9655 case $(srcdir) in \
9656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9657 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9659 esac; \
9660 srcdiroption="--srcdir=$${topdir}/gcc"; \
9661 libsrcdir="$$s/gcc"; \
9662 $(SHELL) $${libsrcdir}/configure \
9663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9664 --target=${target_alias} $${srcdiroption} \
9665 --with-build-libsubdir=$(HOST_SUBDIR) \
9666 $(STAGE4_CONFIGURE_FLAGS)
9667 @endif gcc-bootstrap
9669 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9670 maybe-configure-stageprofile-gcc:
9671 @if gcc-bootstrap
9672 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9673 configure-stageprofile-gcc:
9674 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9675 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9676 @r=`${PWD_COMMAND}`; export r; \
9677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9678 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9679 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9680 $(HOST_EXPORTS) \
9681 $(POSTSTAGE1_HOST_EXPORTS) \
9682 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9683 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9684 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9685 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9687 cd $(HOST_SUBDIR)/gcc || exit 1; \
9688 case $(srcdir) in \
9689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9690 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9692 esac; \
9693 srcdiroption="--srcdir=$${topdir}/gcc"; \
9694 libsrcdir="$$s/gcc"; \
9695 $(SHELL) $${libsrcdir}/configure \
9696 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9697 --target=${target_alias} $${srcdiroption} \
9698 --with-build-libsubdir=$(HOST_SUBDIR) \
9699 $(STAGEprofile_CONFIGURE_FLAGS)
9700 @endif gcc-bootstrap
9702 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9703 maybe-configure-stagefeedback-gcc:
9704 @if gcc-bootstrap
9705 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9706 configure-stagefeedback-gcc:
9707 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9708 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9709 @r=`${PWD_COMMAND}`; export r; \
9710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9711 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9712 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9713 $(HOST_EXPORTS) \
9714 $(POSTSTAGE1_HOST_EXPORTS) \
9715 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9716 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9717 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9718 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9720 cd $(HOST_SUBDIR)/gcc || exit 1; \
9721 case $(srcdir) in \
9722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9723 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9725 esac; \
9726 srcdiroption="--srcdir=$${topdir}/gcc"; \
9727 libsrcdir="$$s/gcc"; \
9728 $(SHELL) $${libsrcdir}/configure \
9729 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9730 --target=${target_alias} $${srcdiroption} \
9731 --with-build-libsubdir=$(HOST_SUBDIR) \
9732 $(STAGEfeedback_CONFIGURE_FLAGS)
9733 @endif gcc-bootstrap
9739 .PHONY: all-gcc maybe-all-gcc
9740 maybe-all-gcc:
9741 @if gcc-bootstrap
9742 all-gcc: stage_current
9743 @endif gcc-bootstrap
9744 @if gcc
9745 TARGET-gcc=all
9746 maybe-all-gcc: all-gcc
9747 all-gcc: configure-gcc
9748 @r=`${PWD_COMMAND}`; export r; \
9749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9750 $(HOST_EXPORTS) \
9751 (cd $(HOST_SUBDIR)/gcc && \
9752 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9753 $(TARGET-gcc))
9754 @endif gcc
9758 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9759 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9760 maybe-all-stage1-gcc:
9761 maybe-clean-stage1-gcc:
9762 @if gcc-bootstrap
9763 maybe-all-stage1-gcc: all-stage1-gcc
9764 all-stage1: all-stage1-gcc
9765 TARGET-stage1-gcc = $(TARGET-gcc)
9766 all-stage1-gcc: configure-stage1-gcc
9767 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9768 @r=`${PWD_COMMAND}`; export r; \
9769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9770 TFLAGS="$(STAGE1_TFLAGS)"; \
9771 $(HOST_EXPORTS) \
9772 cd $(HOST_SUBDIR)/gcc && \
9773 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9774 CFLAGS="$(STAGE1_CFLAGS)" \
9775 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9776 LIBCFLAGS="$(LIBCFLAGS)" \
9777 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9778 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9779 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9780 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9781 TFLAGS="$(STAGE1_TFLAGS)" \
9782 $(TARGET-stage1-gcc)
9784 maybe-clean-stage1-gcc: clean-stage1-gcc
9785 clean-stage1: clean-stage1-gcc
9786 clean-stage1-gcc:
9787 @if [ $(current_stage) = stage1 ]; then \
9788 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9789 else \
9790 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9791 $(MAKE) stage1-start; \
9792 fi; \
9793 cd $(HOST_SUBDIR)/gcc && \
9794 $(MAKE) $(EXTRA_HOST_FLAGS) \
9795 $(EXTRA_GCC_FLAGS) clean
9796 @endif gcc-bootstrap
9799 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9800 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9801 maybe-all-stage2-gcc:
9802 maybe-clean-stage2-gcc:
9803 @if gcc-bootstrap
9804 maybe-all-stage2-gcc: all-stage2-gcc
9805 all-stage2: all-stage2-gcc
9806 TARGET-stage2-gcc = $(TARGET-gcc)
9807 all-stage2-gcc: configure-stage2-gcc
9808 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9809 @r=`${PWD_COMMAND}`; export r; \
9810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9811 TFLAGS="$(STAGE2_TFLAGS)"; \
9812 $(HOST_EXPORTS) \
9813 $(POSTSTAGE1_HOST_EXPORTS) \
9814 cd $(HOST_SUBDIR)/gcc && \
9815 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9816 CFLAGS="$(STAGE2_CFLAGS)" \
9817 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9818 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9819 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9820 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9821 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9822 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9823 TFLAGS="$(STAGE2_TFLAGS)" \
9824 $(TARGET-stage2-gcc)
9826 maybe-clean-stage2-gcc: clean-stage2-gcc
9827 clean-stage2: clean-stage2-gcc
9828 clean-stage2-gcc:
9829 @if [ $(current_stage) = stage2 ]; then \
9830 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9831 else \
9832 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9833 $(MAKE) stage2-start; \
9834 fi; \
9835 cd $(HOST_SUBDIR)/gcc && \
9836 $(MAKE) $(EXTRA_HOST_FLAGS) \
9837 $(POSTSTAGE1_FLAGS_TO_PASS) \
9838 $(EXTRA_GCC_FLAGS) clean
9839 @endif gcc-bootstrap
9842 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9843 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9844 maybe-all-stage3-gcc:
9845 maybe-clean-stage3-gcc:
9846 @if gcc-bootstrap
9847 maybe-all-stage3-gcc: all-stage3-gcc
9848 all-stage3: all-stage3-gcc
9849 TARGET-stage3-gcc = $(TARGET-gcc)
9850 all-stage3-gcc: configure-stage3-gcc
9851 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9852 @r=`${PWD_COMMAND}`; export r; \
9853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9854 TFLAGS="$(STAGE3_TFLAGS)"; \
9855 $(HOST_EXPORTS) \
9856 $(POSTSTAGE1_HOST_EXPORTS) \
9857 cd $(HOST_SUBDIR)/gcc && \
9858 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9859 CFLAGS="$(STAGE3_CFLAGS)" \
9860 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9861 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9862 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9863 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9864 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9865 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9866 TFLAGS="$(STAGE3_TFLAGS)" \
9867 $(TARGET-stage3-gcc)
9869 maybe-clean-stage3-gcc: clean-stage3-gcc
9870 clean-stage3: clean-stage3-gcc
9871 clean-stage3-gcc:
9872 @if [ $(current_stage) = stage3 ]; then \
9873 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9874 else \
9875 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9876 $(MAKE) stage3-start; \
9877 fi; \
9878 cd $(HOST_SUBDIR)/gcc && \
9879 $(MAKE) $(EXTRA_HOST_FLAGS) \
9880 $(POSTSTAGE1_FLAGS_TO_PASS) \
9881 $(EXTRA_GCC_FLAGS) clean
9882 @endif gcc-bootstrap
9885 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9886 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9887 maybe-all-stage4-gcc:
9888 maybe-clean-stage4-gcc:
9889 @if gcc-bootstrap
9890 maybe-all-stage4-gcc: all-stage4-gcc
9891 all-stage4: all-stage4-gcc
9892 TARGET-stage4-gcc = $(TARGET-gcc)
9893 all-stage4-gcc: configure-stage4-gcc
9894 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9895 @r=`${PWD_COMMAND}`; export r; \
9896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9897 TFLAGS="$(STAGE4_TFLAGS)"; \
9898 $(HOST_EXPORTS) \
9899 $(POSTSTAGE1_HOST_EXPORTS) \
9900 cd $(HOST_SUBDIR)/gcc && \
9901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9902 CFLAGS="$(STAGE4_CFLAGS)" \
9903 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9904 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9908 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9909 TFLAGS="$(STAGE4_TFLAGS)" \
9910 $(TARGET-stage4-gcc)
9912 maybe-clean-stage4-gcc: clean-stage4-gcc
9913 clean-stage4: clean-stage4-gcc
9914 clean-stage4-gcc:
9915 @if [ $(current_stage) = stage4 ]; then \
9916 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9917 else \
9918 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9919 $(MAKE) stage4-start; \
9920 fi; \
9921 cd $(HOST_SUBDIR)/gcc && \
9922 $(MAKE) $(EXTRA_HOST_FLAGS) \
9923 $(POSTSTAGE1_FLAGS_TO_PASS) \
9924 $(EXTRA_GCC_FLAGS) clean
9925 @endif gcc-bootstrap
9928 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9929 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9930 maybe-all-stageprofile-gcc:
9931 maybe-clean-stageprofile-gcc:
9932 @if gcc-bootstrap
9933 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9934 all-stageprofile: all-stageprofile-gcc
9935 TARGET-stageprofile-gcc = $(TARGET-gcc)
9936 all-stageprofile-gcc: configure-stageprofile-gcc
9937 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9938 @r=`${PWD_COMMAND}`; export r; \
9939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9940 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9941 $(HOST_EXPORTS) \
9942 $(POSTSTAGE1_HOST_EXPORTS) \
9943 cd $(HOST_SUBDIR)/gcc && \
9944 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9945 CFLAGS="$(STAGEprofile_CFLAGS)" \
9946 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9947 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9948 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9949 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9950 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9951 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9952 TFLAGS="$(STAGEprofile_TFLAGS)" \
9953 $(TARGET-stageprofile-gcc)
9955 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9956 clean-stageprofile: clean-stageprofile-gcc
9957 clean-stageprofile-gcc:
9958 @if [ $(current_stage) = stageprofile ]; then \
9959 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9960 else \
9961 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9962 $(MAKE) stageprofile-start; \
9963 fi; \
9964 cd $(HOST_SUBDIR)/gcc && \
9965 $(MAKE) $(EXTRA_HOST_FLAGS) \
9966 $(POSTSTAGE1_FLAGS_TO_PASS) \
9967 $(EXTRA_GCC_FLAGS) clean
9968 @endif gcc-bootstrap
9971 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9972 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9973 maybe-all-stagefeedback-gcc:
9974 maybe-clean-stagefeedback-gcc:
9975 @if gcc-bootstrap
9976 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9977 all-stagefeedback: all-stagefeedback-gcc
9978 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9979 all-stagefeedback-gcc: configure-stagefeedback-gcc
9980 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9981 @r=`${PWD_COMMAND}`; export r; \
9982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9983 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9984 $(HOST_EXPORTS) \
9985 $(POSTSTAGE1_HOST_EXPORTS) \
9986 cd $(HOST_SUBDIR)/gcc && \
9987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9988 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9989 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9990 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9994 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9995 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9996 $(TARGET-stagefeedback-gcc)
9998 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9999 clean-stagefeedback: clean-stagefeedback-gcc
10000 clean-stagefeedback-gcc:
10001 @if [ $(current_stage) = stagefeedback ]; then \
10002 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10003 else \
10004 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10005 $(MAKE) stagefeedback-start; \
10006 fi; \
10007 cd $(HOST_SUBDIR)/gcc && \
10008 $(MAKE) $(EXTRA_HOST_FLAGS) \
10009 $(POSTSTAGE1_FLAGS_TO_PASS) \
10010 $(EXTRA_GCC_FLAGS) clean
10011 @endif gcc-bootstrap
10017 .PHONY: check-gcc maybe-check-gcc
10018 maybe-check-gcc:
10019 @if gcc
10020 maybe-check-gcc: check-gcc
10022 check-gcc:
10023 @: $(MAKE); $(unstage)
10024 @r=`${PWD_COMMAND}`; export r; \
10025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10026 $(HOST_EXPORTS) \
10027 (cd $(HOST_SUBDIR)/gcc && \
10028 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10030 @endif gcc
10032 .PHONY: install-gcc maybe-install-gcc
10033 maybe-install-gcc:
10034 @if gcc
10035 maybe-install-gcc: install-gcc
10037 install-gcc: installdirs
10038 @: $(MAKE); $(unstage)
10039 @r=`${PWD_COMMAND}`; export r; \
10040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10041 $(HOST_EXPORTS) \
10042 (cd $(HOST_SUBDIR)/gcc && \
10043 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10045 @endif gcc
10047 .PHONY: install-strip-gcc maybe-install-strip-gcc
10048 maybe-install-strip-gcc:
10049 @if gcc
10050 maybe-install-strip-gcc: install-strip-gcc
10052 install-strip-gcc: installdirs
10053 @: $(MAKE); $(unstage)
10054 @r=`${PWD_COMMAND}`; export r; \
10055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10056 $(HOST_EXPORTS) \
10057 (cd $(HOST_SUBDIR)/gcc && \
10058 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10060 @endif gcc
10062 # Other targets (info, dvi, pdf, etc.)
10064 .PHONY: maybe-info-gcc info-gcc
10065 maybe-info-gcc:
10066 @if gcc
10067 maybe-info-gcc: info-gcc
10069 info-gcc: \
10070 configure-gcc
10071 @[ -f ./gcc/Makefile ] || exit 0; \
10072 r=`${PWD_COMMAND}`; export r; \
10073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10074 $(HOST_EXPORTS) \
10075 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10077 done; \
10078 echo "Doing info in gcc" ; \
10079 (cd $(HOST_SUBDIR)/gcc && \
10080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10082 "RANLIB=$${RANLIB}" \
10083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10084 info) \
10085 || exit 1
10087 @endif gcc
10089 .PHONY: maybe-dvi-gcc dvi-gcc
10090 maybe-dvi-gcc:
10091 @if gcc
10092 maybe-dvi-gcc: dvi-gcc
10094 dvi-gcc: \
10095 configure-gcc
10096 @[ -f ./gcc/Makefile ] || exit 0; \
10097 r=`${PWD_COMMAND}`; export r; \
10098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10099 $(HOST_EXPORTS) \
10100 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10102 done; \
10103 echo "Doing dvi in gcc" ; \
10104 (cd $(HOST_SUBDIR)/gcc && \
10105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10107 "RANLIB=$${RANLIB}" \
10108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10109 dvi) \
10110 || exit 1
10112 @endif gcc
10114 .PHONY: maybe-pdf-gcc pdf-gcc
10115 maybe-pdf-gcc:
10116 @if gcc
10117 maybe-pdf-gcc: pdf-gcc
10119 pdf-gcc: \
10120 configure-gcc
10121 @[ -f ./gcc/Makefile ] || exit 0; \
10122 r=`${PWD_COMMAND}`; export r; \
10123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10124 $(HOST_EXPORTS) \
10125 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10127 done; \
10128 echo "Doing pdf in gcc" ; \
10129 (cd $(HOST_SUBDIR)/gcc && \
10130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10132 "RANLIB=$${RANLIB}" \
10133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10134 pdf) \
10135 || exit 1
10137 @endif gcc
10139 .PHONY: maybe-html-gcc html-gcc
10140 maybe-html-gcc:
10141 @if gcc
10142 maybe-html-gcc: html-gcc
10144 html-gcc: \
10145 configure-gcc
10146 @[ -f ./gcc/Makefile ] || exit 0; \
10147 r=`${PWD_COMMAND}`; export r; \
10148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10149 $(HOST_EXPORTS) \
10150 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10152 done; \
10153 echo "Doing html in gcc" ; \
10154 (cd $(HOST_SUBDIR)/gcc && \
10155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10157 "RANLIB=$${RANLIB}" \
10158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10159 html) \
10160 || exit 1
10162 @endif gcc
10164 .PHONY: maybe-TAGS-gcc TAGS-gcc
10165 maybe-TAGS-gcc:
10166 @if gcc
10167 maybe-TAGS-gcc: TAGS-gcc
10169 TAGS-gcc: \
10170 configure-gcc
10171 @[ -f ./gcc/Makefile ] || exit 0; \
10172 r=`${PWD_COMMAND}`; export r; \
10173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10174 $(HOST_EXPORTS) \
10175 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10177 done; \
10178 echo "Doing TAGS in gcc" ; \
10179 (cd $(HOST_SUBDIR)/gcc && \
10180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10182 "RANLIB=$${RANLIB}" \
10183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10184 TAGS) \
10185 || exit 1
10187 @endif gcc
10189 .PHONY: maybe-install-info-gcc install-info-gcc
10190 maybe-install-info-gcc:
10191 @if gcc
10192 maybe-install-info-gcc: install-info-gcc
10194 install-info-gcc: \
10195 configure-gcc \
10196 info-gcc
10197 @[ -f ./gcc/Makefile ] || exit 0; \
10198 r=`${PWD_COMMAND}`; export r; \
10199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10200 $(HOST_EXPORTS) \
10201 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10203 done; \
10204 echo "Doing install-info in gcc" ; \
10205 (cd $(HOST_SUBDIR)/gcc && \
10206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10208 "RANLIB=$${RANLIB}" \
10209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10210 install-info) \
10211 || exit 1
10213 @endif gcc
10215 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10216 maybe-install-pdf-gcc:
10217 @if gcc
10218 maybe-install-pdf-gcc: install-pdf-gcc
10220 install-pdf-gcc: \
10221 configure-gcc \
10222 pdf-gcc
10223 @[ -f ./gcc/Makefile ] || exit 0; \
10224 r=`${PWD_COMMAND}`; export r; \
10225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10226 $(HOST_EXPORTS) \
10227 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10229 done; \
10230 echo "Doing install-pdf in gcc" ; \
10231 (cd $(HOST_SUBDIR)/gcc && \
10232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10234 "RANLIB=$${RANLIB}" \
10235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10236 install-pdf) \
10237 || exit 1
10239 @endif gcc
10241 .PHONY: maybe-install-html-gcc install-html-gcc
10242 maybe-install-html-gcc:
10243 @if gcc
10244 maybe-install-html-gcc: install-html-gcc
10246 install-html-gcc: \
10247 configure-gcc \
10248 html-gcc
10249 @[ -f ./gcc/Makefile ] || exit 0; \
10250 r=`${PWD_COMMAND}`; export r; \
10251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10252 $(HOST_EXPORTS) \
10253 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10255 done; \
10256 echo "Doing install-html in gcc" ; \
10257 (cd $(HOST_SUBDIR)/gcc && \
10258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10260 "RANLIB=$${RANLIB}" \
10261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10262 install-html) \
10263 || exit 1
10265 @endif gcc
10267 .PHONY: maybe-installcheck-gcc installcheck-gcc
10268 maybe-installcheck-gcc:
10269 @if gcc
10270 maybe-installcheck-gcc: installcheck-gcc
10272 installcheck-gcc: \
10273 configure-gcc
10274 @[ -f ./gcc/Makefile ] || exit 0; \
10275 r=`${PWD_COMMAND}`; export r; \
10276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10277 $(HOST_EXPORTS) \
10278 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10280 done; \
10281 echo "Doing installcheck in gcc" ; \
10282 (cd $(HOST_SUBDIR)/gcc && \
10283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10285 "RANLIB=$${RANLIB}" \
10286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10287 installcheck) \
10288 || exit 1
10290 @endif gcc
10292 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10293 maybe-mostlyclean-gcc:
10294 @if gcc
10295 maybe-mostlyclean-gcc: mostlyclean-gcc
10297 mostlyclean-gcc:
10298 @[ -f ./gcc/Makefile ] || exit 0; \
10299 r=`${PWD_COMMAND}`; export r; \
10300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10301 $(HOST_EXPORTS) \
10302 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10304 done; \
10305 echo "Doing mostlyclean in gcc" ; \
10306 (cd $(HOST_SUBDIR)/gcc && \
10307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10309 "RANLIB=$${RANLIB}" \
10310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10311 mostlyclean) \
10312 || exit 1
10314 @endif gcc
10316 .PHONY: maybe-clean-gcc clean-gcc
10317 maybe-clean-gcc:
10318 @if gcc
10319 maybe-clean-gcc: clean-gcc
10321 clean-gcc:
10322 @[ -f ./gcc/Makefile ] || exit 0; \
10323 r=`${PWD_COMMAND}`; export r; \
10324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10325 $(HOST_EXPORTS) \
10326 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10328 done; \
10329 echo "Doing clean in gcc" ; \
10330 (cd $(HOST_SUBDIR)/gcc && \
10331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10333 "RANLIB=$${RANLIB}" \
10334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10335 clean) \
10336 || exit 1
10338 @endif gcc
10340 .PHONY: maybe-distclean-gcc distclean-gcc
10341 maybe-distclean-gcc:
10342 @if gcc
10343 maybe-distclean-gcc: distclean-gcc
10345 distclean-gcc:
10346 @[ -f ./gcc/Makefile ] || exit 0; \
10347 r=`${PWD_COMMAND}`; export r; \
10348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10349 $(HOST_EXPORTS) \
10350 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10352 done; \
10353 echo "Doing distclean in gcc" ; \
10354 (cd $(HOST_SUBDIR)/gcc && \
10355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10357 "RANLIB=$${RANLIB}" \
10358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10359 distclean) \
10360 || exit 1
10362 @endif gcc
10364 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10365 maybe-maintainer-clean-gcc:
10366 @if gcc
10367 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10369 maintainer-clean-gcc:
10370 @[ -f ./gcc/Makefile ] || exit 0; \
10371 r=`${PWD_COMMAND}`; export r; \
10372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10373 $(HOST_EXPORTS) \
10374 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10376 done; \
10377 echo "Doing maintainer-clean in gcc" ; \
10378 (cd $(HOST_SUBDIR)/gcc && \
10379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10381 "RANLIB=$${RANLIB}" \
10382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10383 maintainer-clean) \
10384 || exit 1
10386 @endif gcc
10390 .PHONY: configure-gmp maybe-configure-gmp
10391 maybe-configure-gmp:
10392 @if gcc-bootstrap
10393 configure-gmp: stage_current
10394 @endif gcc-bootstrap
10395 @if gmp
10396 maybe-configure-gmp: configure-gmp
10397 configure-gmp:
10398 @r=`${PWD_COMMAND}`; export r; \
10399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10400 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10402 $(HOST_EXPORTS) \
10403 echo Configuring in $(HOST_SUBDIR)/gmp; \
10404 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10405 case $(srcdir) in \
10406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10407 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10409 esac; \
10410 srcdiroption="--srcdir=$${topdir}/gmp"; \
10411 libsrcdir="$$s/gmp"; \
10412 $(SHELL) $${libsrcdir}/configure \
10413 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10414 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10415 || exit 1
10416 @endif gmp
10420 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10421 maybe-configure-stage1-gmp:
10422 @if gmp-bootstrap
10423 maybe-configure-stage1-gmp: configure-stage1-gmp
10424 configure-stage1-gmp:
10425 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10426 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10427 @r=`${PWD_COMMAND}`; export r; \
10428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10429 TFLAGS="$(STAGE1_TFLAGS)"; \
10430 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10431 $(HOST_EXPORTS) \
10432 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10433 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10434 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10435 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10437 cd $(HOST_SUBDIR)/gmp || exit 1; \
10438 case $(srcdir) in \
10439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10440 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10442 esac; \
10443 srcdiroption="--srcdir=$${topdir}/gmp"; \
10444 libsrcdir="$$s/gmp"; \
10445 $(SHELL) $${libsrcdir}/configure \
10446 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10447 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10448 $(STAGE1_CONFIGURE_FLAGS) \
10449 --disable-shared
10450 @endif gmp-bootstrap
10452 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10453 maybe-configure-stage2-gmp:
10454 @if gmp-bootstrap
10455 maybe-configure-stage2-gmp: configure-stage2-gmp
10456 configure-stage2-gmp:
10457 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10459 @r=`${PWD_COMMAND}`; export r; \
10460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10461 TFLAGS="$(STAGE2_TFLAGS)"; \
10462 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10463 $(HOST_EXPORTS) \
10464 $(POSTSTAGE1_HOST_EXPORTS) \
10465 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10466 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10467 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10468 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10470 cd $(HOST_SUBDIR)/gmp || exit 1; \
10471 case $(srcdir) in \
10472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10473 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10475 esac; \
10476 srcdiroption="--srcdir=$${topdir}/gmp"; \
10477 libsrcdir="$$s/gmp"; \
10478 $(SHELL) $${libsrcdir}/configure \
10479 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10480 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10481 --with-build-libsubdir=$(HOST_SUBDIR) \
10482 $(STAGE2_CONFIGURE_FLAGS) \
10483 --disable-shared
10484 @endif gmp-bootstrap
10486 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10487 maybe-configure-stage3-gmp:
10488 @if gmp-bootstrap
10489 maybe-configure-stage3-gmp: configure-stage3-gmp
10490 configure-stage3-gmp:
10491 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10492 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10493 @r=`${PWD_COMMAND}`; export r; \
10494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10495 TFLAGS="$(STAGE3_TFLAGS)"; \
10496 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10497 $(HOST_EXPORTS) \
10498 $(POSTSTAGE1_HOST_EXPORTS) \
10499 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10500 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10501 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10502 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10504 cd $(HOST_SUBDIR)/gmp || exit 1; \
10505 case $(srcdir) in \
10506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10507 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10509 esac; \
10510 srcdiroption="--srcdir=$${topdir}/gmp"; \
10511 libsrcdir="$$s/gmp"; \
10512 $(SHELL) $${libsrcdir}/configure \
10513 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10514 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10515 --with-build-libsubdir=$(HOST_SUBDIR) \
10516 $(STAGE3_CONFIGURE_FLAGS) \
10517 --disable-shared
10518 @endif gmp-bootstrap
10520 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10521 maybe-configure-stage4-gmp:
10522 @if gmp-bootstrap
10523 maybe-configure-stage4-gmp: configure-stage4-gmp
10524 configure-stage4-gmp:
10525 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10526 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10527 @r=`${PWD_COMMAND}`; export r; \
10528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10529 TFLAGS="$(STAGE4_TFLAGS)"; \
10530 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10531 $(HOST_EXPORTS) \
10532 $(POSTSTAGE1_HOST_EXPORTS) \
10533 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10534 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10535 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10536 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10538 cd $(HOST_SUBDIR)/gmp || exit 1; \
10539 case $(srcdir) in \
10540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10541 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10543 esac; \
10544 srcdiroption="--srcdir=$${topdir}/gmp"; \
10545 libsrcdir="$$s/gmp"; \
10546 $(SHELL) $${libsrcdir}/configure \
10547 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10548 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10549 --with-build-libsubdir=$(HOST_SUBDIR) \
10550 $(STAGE4_CONFIGURE_FLAGS) \
10551 --disable-shared
10552 @endif gmp-bootstrap
10554 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10555 maybe-configure-stageprofile-gmp:
10556 @if gmp-bootstrap
10557 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10558 configure-stageprofile-gmp:
10559 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10561 @r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10564 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10565 $(HOST_EXPORTS) \
10566 $(POSTSTAGE1_HOST_EXPORTS) \
10567 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10568 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10569 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10570 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10572 cd $(HOST_SUBDIR)/gmp || exit 1; \
10573 case $(srcdir) in \
10574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10575 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10577 esac; \
10578 srcdiroption="--srcdir=$${topdir}/gmp"; \
10579 libsrcdir="$$s/gmp"; \
10580 $(SHELL) $${libsrcdir}/configure \
10581 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10582 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10583 --with-build-libsubdir=$(HOST_SUBDIR) \
10584 $(STAGEprofile_CONFIGURE_FLAGS) \
10585 --disable-shared
10586 @endif gmp-bootstrap
10588 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10589 maybe-configure-stagefeedback-gmp:
10590 @if gmp-bootstrap
10591 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10592 configure-stagefeedback-gmp:
10593 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10595 @r=`${PWD_COMMAND}`; export r; \
10596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10597 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10598 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10599 $(HOST_EXPORTS) \
10600 $(POSTSTAGE1_HOST_EXPORTS) \
10601 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10602 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10603 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10604 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10606 cd $(HOST_SUBDIR)/gmp || exit 1; \
10607 case $(srcdir) in \
10608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10609 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10611 esac; \
10612 srcdiroption="--srcdir=$${topdir}/gmp"; \
10613 libsrcdir="$$s/gmp"; \
10614 $(SHELL) $${libsrcdir}/configure \
10615 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10616 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10617 --with-build-libsubdir=$(HOST_SUBDIR) \
10618 $(STAGEfeedback_CONFIGURE_FLAGS) \
10619 --disable-shared
10620 @endif gmp-bootstrap
10626 .PHONY: all-gmp maybe-all-gmp
10627 maybe-all-gmp:
10628 @if gcc-bootstrap
10629 all-gmp: stage_current
10630 @endif gcc-bootstrap
10631 @if gmp
10632 TARGET-gmp=all
10633 maybe-all-gmp: all-gmp
10634 all-gmp: configure-gmp
10635 @r=`${PWD_COMMAND}`; export r; \
10636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10637 $(HOST_EXPORTS) \
10638 (cd $(HOST_SUBDIR)/gmp && \
10639 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10640 $(TARGET-gmp))
10641 @endif gmp
10645 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10646 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10647 maybe-all-stage1-gmp:
10648 maybe-clean-stage1-gmp:
10649 @if gmp-bootstrap
10650 maybe-all-stage1-gmp: all-stage1-gmp
10651 all-stage1: all-stage1-gmp
10652 TARGET-stage1-gmp = $(TARGET-gmp)
10653 all-stage1-gmp: configure-stage1-gmp
10654 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10655 @r=`${PWD_COMMAND}`; export r; \
10656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10657 TFLAGS="$(STAGE1_TFLAGS)"; \
10658 $(HOST_EXPORTS) \
10659 cd $(HOST_SUBDIR)/gmp && \
10660 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10661 CFLAGS="$(STAGE1_CFLAGS)" \
10662 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10663 LIBCFLAGS="$(LIBCFLAGS)" \
10664 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10665 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10666 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10667 $(EXTRA_HOST_FLAGS) \
10668 TFLAGS="$(STAGE1_TFLAGS)" \
10669 $(TARGET-stage1-gmp)
10671 maybe-clean-stage1-gmp: clean-stage1-gmp
10672 clean-stage1: clean-stage1-gmp
10673 clean-stage1-gmp:
10674 @if [ $(current_stage) = stage1 ]; then \
10675 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10676 else \
10677 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10678 $(MAKE) stage1-start; \
10679 fi; \
10680 cd $(HOST_SUBDIR)/gmp && \
10681 $(MAKE) $(EXTRA_HOST_FLAGS) \
10682 clean
10683 @endif gmp-bootstrap
10686 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10687 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10688 maybe-all-stage2-gmp:
10689 maybe-clean-stage2-gmp:
10690 @if gmp-bootstrap
10691 maybe-all-stage2-gmp: all-stage2-gmp
10692 all-stage2: all-stage2-gmp
10693 TARGET-stage2-gmp = $(TARGET-gmp)
10694 all-stage2-gmp: configure-stage2-gmp
10695 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10696 @r=`${PWD_COMMAND}`; export r; \
10697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10698 TFLAGS="$(STAGE2_TFLAGS)"; \
10699 $(HOST_EXPORTS) \
10700 $(POSTSTAGE1_HOST_EXPORTS) \
10701 cd $(HOST_SUBDIR)/gmp && \
10702 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10703 CFLAGS="$(STAGE2_CFLAGS)" \
10704 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10705 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10706 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10707 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10708 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10709 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10710 TFLAGS="$(STAGE2_TFLAGS)" \
10711 $(TARGET-stage2-gmp)
10713 maybe-clean-stage2-gmp: clean-stage2-gmp
10714 clean-stage2: clean-stage2-gmp
10715 clean-stage2-gmp:
10716 @if [ $(current_stage) = stage2 ]; then \
10717 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10718 else \
10719 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10720 $(MAKE) stage2-start; \
10721 fi; \
10722 cd $(HOST_SUBDIR)/gmp && \
10723 $(MAKE) $(EXTRA_HOST_FLAGS) \
10724 $(POSTSTAGE1_FLAGS_TO_PASS) \
10725 clean
10726 @endif gmp-bootstrap
10729 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10730 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10731 maybe-all-stage3-gmp:
10732 maybe-clean-stage3-gmp:
10733 @if gmp-bootstrap
10734 maybe-all-stage3-gmp: all-stage3-gmp
10735 all-stage3: all-stage3-gmp
10736 TARGET-stage3-gmp = $(TARGET-gmp)
10737 all-stage3-gmp: configure-stage3-gmp
10738 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10739 @r=`${PWD_COMMAND}`; export r; \
10740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10741 TFLAGS="$(STAGE3_TFLAGS)"; \
10742 $(HOST_EXPORTS) \
10743 $(POSTSTAGE1_HOST_EXPORTS) \
10744 cd $(HOST_SUBDIR)/gmp && \
10745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10746 CFLAGS="$(STAGE3_CFLAGS)" \
10747 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10748 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10749 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10750 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10751 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10752 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10753 TFLAGS="$(STAGE3_TFLAGS)" \
10754 $(TARGET-stage3-gmp)
10756 maybe-clean-stage3-gmp: clean-stage3-gmp
10757 clean-stage3: clean-stage3-gmp
10758 clean-stage3-gmp:
10759 @if [ $(current_stage) = stage3 ]; then \
10760 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10761 else \
10762 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10763 $(MAKE) stage3-start; \
10764 fi; \
10765 cd $(HOST_SUBDIR)/gmp && \
10766 $(MAKE) $(EXTRA_HOST_FLAGS) \
10767 $(POSTSTAGE1_FLAGS_TO_PASS) \
10768 clean
10769 @endif gmp-bootstrap
10772 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10773 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10774 maybe-all-stage4-gmp:
10775 maybe-clean-stage4-gmp:
10776 @if gmp-bootstrap
10777 maybe-all-stage4-gmp: all-stage4-gmp
10778 all-stage4: all-stage4-gmp
10779 TARGET-stage4-gmp = $(TARGET-gmp)
10780 all-stage4-gmp: configure-stage4-gmp
10781 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10782 @r=`${PWD_COMMAND}`; export r; \
10783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10784 TFLAGS="$(STAGE4_TFLAGS)"; \
10785 $(HOST_EXPORTS) \
10786 $(POSTSTAGE1_HOST_EXPORTS) \
10787 cd $(HOST_SUBDIR)/gmp && \
10788 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10789 CFLAGS="$(STAGE4_CFLAGS)" \
10790 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10791 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10792 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10793 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10794 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10795 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10796 TFLAGS="$(STAGE4_TFLAGS)" \
10797 $(TARGET-stage4-gmp)
10799 maybe-clean-stage4-gmp: clean-stage4-gmp
10800 clean-stage4: clean-stage4-gmp
10801 clean-stage4-gmp:
10802 @if [ $(current_stage) = stage4 ]; then \
10803 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10804 else \
10805 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10806 $(MAKE) stage4-start; \
10807 fi; \
10808 cd $(HOST_SUBDIR)/gmp && \
10809 $(MAKE) $(EXTRA_HOST_FLAGS) \
10810 $(POSTSTAGE1_FLAGS_TO_PASS) \
10811 clean
10812 @endif gmp-bootstrap
10815 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10816 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10817 maybe-all-stageprofile-gmp:
10818 maybe-clean-stageprofile-gmp:
10819 @if gmp-bootstrap
10820 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10821 all-stageprofile: all-stageprofile-gmp
10822 TARGET-stageprofile-gmp = $(TARGET-gmp)
10823 all-stageprofile-gmp: configure-stageprofile-gmp
10824 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10825 @r=`${PWD_COMMAND}`; export r; \
10826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10827 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10828 $(HOST_EXPORTS) \
10829 $(POSTSTAGE1_HOST_EXPORTS) \
10830 cd $(HOST_SUBDIR)/gmp && \
10831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10832 CFLAGS="$(STAGEprofile_CFLAGS)" \
10833 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10834 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10835 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10836 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10837 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10838 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10839 TFLAGS="$(STAGEprofile_TFLAGS)" \
10840 $(TARGET-stageprofile-gmp)
10842 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10843 clean-stageprofile: clean-stageprofile-gmp
10844 clean-stageprofile-gmp:
10845 @if [ $(current_stage) = stageprofile ]; then \
10846 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10847 else \
10848 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10849 $(MAKE) stageprofile-start; \
10850 fi; \
10851 cd $(HOST_SUBDIR)/gmp && \
10852 $(MAKE) $(EXTRA_HOST_FLAGS) \
10853 $(POSTSTAGE1_FLAGS_TO_PASS) \
10854 clean
10855 @endif gmp-bootstrap
10858 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10859 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10860 maybe-all-stagefeedback-gmp:
10861 maybe-clean-stagefeedback-gmp:
10862 @if gmp-bootstrap
10863 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10864 all-stagefeedback: all-stagefeedback-gmp
10865 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10866 all-stagefeedback-gmp: configure-stagefeedback-gmp
10867 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10868 @r=`${PWD_COMMAND}`; export r; \
10869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10870 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10871 $(HOST_EXPORTS) \
10872 $(POSTSTAGE1_HOST_EXPORTS) \
10873 cd $(HOST_SUBDIR)/gmp && \
10874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10875 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10876 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10877 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10878 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10879 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10880 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10881 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10882 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10883 $(TARGET-stagefeedback-gmp)
10885 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10886 clean-stagefeedback: clean-stagefeedback-gmp
10887 clean-stagefeedback-gmp:
10888 @if [ $(current_stage) = stagefeedback ]; then \
10889 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10890 else \
10891 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10892 $(MAKE) stagefeedback-start; \
10893 fi; \
10894 cd $(HOST_SUBDIR)/gmp && \
10895 $(MAKE) $(EXTRA_HOST_FLAGS) \
10896 $(POSTSTAGE1_FLAGS_TO_PASS) \
10897 clean
10898 @endif gmp-bootstrap
10904 .PHONY: check-gmp maybe-check-gmp
10905 maybe-check-gmp:
10906 @if gmp
10907 maybe-check-gmp: check-gmp
10909 check-gmp:
10910 @: $(MAKE); $(unstage)
10911 @r=`${PWD_COMMAND}`; export r; \
10912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10913 $(HOST_EXPORTS) \
10914 (cd $(HOST_SUBDIR)/gmp && \
10915 $(MAKE) $(FLAGS_TO_PASS) check)
10917 @endif gmp
10919 .PHONY: install-gmp maybe-install-gmp
10920 maybe-install-gmp:
10921 @if gmp
10922 maybe-install-gmp: install-gmp
10924 install-gmp:
10926 @endif gmp
10928 .PHONY: install-strip-gmp maybe-install-strip-gmp
10929 maybe-install-strip-gmp:
10930 @if gmp
10931 maybe-install-strip-gmp: install-strip-gmp
10933 install-strip-gmp:
10935 @endif gmp
10937 # Other targets (info, dvi, pdf, etc.)
10939 .PHONY: maybe-info-gmp info-gmp
10940 maybe-info-gmp:
10941 @if gmp
10942 maybe-info-gmp: info-gmp
10944 info-gmp: \
10945 configure-gmp
10946 @[ -f ./gmp/Makefile ] || exit 0; \
10947 r=`${PWD_COMMAND}`; export r; \
10948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10949 $(HOST_EXPORTS) \
10950 for flag in $(EXTRA_HOST_FLAGS) ; do \
10951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10952 done; \
10953 echo "Doing info in gmp" ; \
10954 (cd $(HOST_SUBDIR)/gmp && \
10955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10957 "RANLIB=$${RANLIB}" \
10958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10959 info) \
10960 || exit 1
10962 @endif gmp
10964 .PHONY: maybe-dvi-gmp dvi-gmp
10965 maybe-dvi-gmp:
10966 @if gmp
10967 maybe-dvi-gmp: dvi-gmp
10969 dvi-gmp: \
10970 configure-gmp
10971 @[ -f ./gmp/Makefile ] || exit 0; \
10972 r=`${PWD_COMMAND}`; export r; \
10973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10974 $(HOST_EXPORTS) \
10975 for flag in $(EXTRA_HOST_FLAGS) ; do \
10976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10977 done; \
10978 echo "Doing dvi in gmp" ; \
10979 (cd $(HOST_SUBDIR)/gmp && \
10980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10982 "RANLIB=$${RANLIB}" \
10983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10984 dvi) \
10985 || exit 1
10987 @endif gmp
10989 .PHONY: maybe-pdf-gmp pdf-gmp
10990 maybe-pdf-gmp:
10991 @if gmp
10992 maybe-pdf-gmp: pdf-gmp
10994 pdf-gmp: \
10995 configure-gmp
10996 @[ -f ./gmp/Makefile ] || exit 0; \
10997 r=`${PWD_COMMAND}`; export r; \
10998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10999 $(HOST_EXPORTS) \
11000 for flag in $(EXTRA_HOST_FLAGS) ; do \
11001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11002 done; \
11003 echo "Doing pdf in gmp" ; \
11004 (cd $(HOST_SUBDIR)/gmp && \
11005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11007 "RANLIB=$${RANLIB}" \
11008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11009 pdf) \
11010 || exit 1
11012 @endif gmp
11014 .PHONY: maybe-html-gmp html-gmp
11015 maybe-html-gmp:
11016 @if gmp
11017 maybe-html-gmp: html-gmp
11019 html-gmp: \
11020 configure-gmp
11021 @[ -f ./gmp/Makefile ] || exit 0; \
11022 r=`${PWD_COMMAND}`; export r; \
11023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11024 $(HOST_EXPORTS) \
11025 for flag in $(EXTRA_HOST_FLAGS) ; do \
11026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11027 done; \
11028 echo "Doing html in gmp" ; \
11029 (cd $(HOST_SUBDIR)/gmp && \
11030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11032 "RANLIB=$${RANLIB}" \
11033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11034 html) \
11035 || exit 1
11037 @endif gmp
11039 .PHONY: maybe-TAGS-gmp TAGS-gmp
11040 maybe-TAGS-gmp:
11041 @if gmp
11042 maybe-TAGS-gmp: TAGS-gmp
11044 TAGS-gmp: \
11045 configure-gmp
11046 @[ -f ./gmp/Makefile ] || exit 0; \
11047 r=`${PWD_COMMAND}`; export r; \
11048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11049 $(HOST_EXPORTS) \
11050 for flag in $(EXTRA_HOST_FLAGS) ; do \
11051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11052 done; \
11053 echo "Doing TAGS in gmp" ; \
11054 (cd $(HOST_SUBDIR)/gmp && \
11055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11057 "RANLIB=$${RANLIB}" \
11058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11059 TAGS) \
11060 || exit 1
11062 @endif gmp
11064 .PHONY: maybe-install-info-gmp install-info-gmp
11065 maybe-install-info-gmp:
11066 @if gmp
11067 maybe-install-info-gmp: install-info-gmp
11069 install-info-gmp: \
11070 configure-gmp \
11071 info-gmp
11072 @[ -f ./gmp/Makefile ] || exit 0; \
11073 r=`${PWD_COMMAND}`; export r; \
11074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11075 $(HOST_EXPORTS) \
11076 for flag in $(EXTRA_HOST_FLAGS) ; do \
11077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11078 done; \
11079 echo "Doing install-info in gmp" ; \
11080 (cd $(HOST_SUBDIR)/gmp && \
11081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11083 "RANLIB=$${RANLIB}" \
11084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11085 install-info) \
11086 || exit 1
11088 @endif gmp
11090 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11091 maybe-install-pdf-gmp:
11092 @if gmp
11093 maybe-install-pdf-gmp: install-pdf-gmp
11095 install-pdf-gmp: \
11096 configure-gmp \
11097 pdf-gmp
11098 @[ -f ./gmp/Makefile ] || exit 0; \
11099 r=`${PWD_COMMAND}`; export r; \
11100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11101 $(HOST_EXPORTS) \
11102 for flag in $(EXTRA_HOST_FLAGS) ; do \
11103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11104 done; \
11105 echo "Doing install-pdf in gmp" ; \
11106 (cd $(HOST_SUBDIR)/gmp && \
11107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11109 "RANLIB=$${RANLIB}" \
11110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11111 install-pdf) \
11112 || exit 1
11114 @endif gmp
11116 .PHONY: maybe-install-html-gmp install-html-gmp
11117 maybe-install-html-gmp:
11118 @if gmp
11119 maybe-install-html-gmp: install-html-gmp
11121 install-html-gmp: \
11122 configure-gmp \
11123 html-gmp
11124 @[ -f ./gmp/Makefile ] || exit 0; \
11125 r=`${PWD_COMMAND}`; export r; \
11126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11127 $(HOST_EXPORTS) \
11128 for flag in $(EXTRA_HOST_FLAGS) ; do \
11129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11130 done; \
11131 echo "Doing install-html in gmp" ; \
11132 (cd $(HOST_SUBDIR)/gmp && \
11133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11135 "RANLIB=$${RANLIB}" \
11136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11137 install-html) \
11138 || exit 1
11140 @endif gmp
11142 .PHONY: maybe-installcheck-gmp installcheck-gmp
11143 maybe-installcheck-gmp:
11144 @if gmp
11145 maybe-installcheck-gmp: installcheck-gmp
11147 installcheck-gmp: \
11148 configure-gmp
11149 @[ -f ./gmp/Makefile ] || exit 0; \
11150 r=`${PWD_COMMAND}`; export r; \
11151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11152 $(HOST_EXPORTS) \
11153 for flag in $(EXTRA_HOST_FLAGS) ; do \
11154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11155 done; \
11156 echo "Doing installcheck in gmp" ; \
11157 (cd $(HOST_SUBDIR)/gmp && \
11158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11160 "RANLIB=$${RANLIB}" \
11161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11162 installcheck) \
11163 || exit 1
11165 @endif gmp
11167 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11168 maybe-mostlyclean-gmp:
11169 @if gmp
11170 maybe-mostlyclean-gmp: mostlyclean-gmp
11172 mostlyclean-gmp:
11173 @[ -f ./gmp/Makefile ] || exit 0; \
11174 r=`${PWD_COMMAND}`; export r; \
11175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11176 $(HOST_EXPORTS) \
11177 for flag in $(EXTRA_HOST_FLAGS) ; do \
11178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11179 done; \
11180 echo "Doing mostlyclean in gmp" ; \
11181 (cd $(HOST_SUBDIR)/gmp && \
11182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11184 "RANLIB=$${RANLIB}" \
11185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11186 mostlyclean) \
11187 || exit 1
11189 @endif gmp
11191 .PHONY: maybe-clean-gmp clean-gmp
11192 maybe-clean-gmp:
11193 @if gmp
11194 maybe-clean-gmp: clean-gmp
11196 clean-gmp:
11197 @[ -f ./gmp/Makefile ] || exit 0; \
11198 r=`${PWD_COMMAND}`; export r; \
11199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11200 $(HOST_EXPORTS) \
11201 for flag in $(EXTRA_HOST_FLAGS) ; do \
11202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11203 done; \
11204 echo "Doing clean in gmp" ; \
11205 (cd $(HOST_SUBDIR)/gmp && \
11206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11208 "RANLIB=$${RANLIB}" \
11209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11210 clean) \
11211 || exit 1
11213 @endif gmp
11215 .PHONY: maybe-distclean-gmp distclean-gmp
11216 maybe-distclean-gmp:
11217 @if gmp
11218 maybe-distclean-gmp: distclean-gmp
11220 distclean-gmp:
11221 @[ -f ./gmp/Makefile ] || exit 0; \
11222 r=`${PWD_COMMAND}`; export r; \
11223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11224 $(HOST_EXPORTS) \
11225 for flag in $(EXTRA_HOST_FLAGS) ; do \
11226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11227 done; \
11228 echo "Doing distclean in gmp" ; \
11229 (cd $(HOST_SUBDIR)/gmp && \
11230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11232 "RANLIB=$${RANLIB}" \
11233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11234 distclean) \
11235 || exit 1
11237 @endif gmp
11239 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11240 maybe-maintainer-clean-gmp:
11241 @if gmp
11242 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11244 maintainer-clean-gmp:
11245 @[ -f ./gmp/Makefile ] || exit 0; \
11246 r=`${PWD_COMMAND}`; export r; \
11247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11248 $(HOST_EXPORTS) \
11249 for flag in $(EXTRA_HOST_FLAGS) ; do \
11250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11251 done; \
11252 echo "Doing maintainer-clean in gmp" ; \
11253 (cd $(HOST_SUBDIR)/gmp && \
11254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11256 "RANLIB=$${RANLIB}" \
11257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11258 maintainer-clean) \
11259 || exit 1
11261 @endif gmp
11265 .PHONY: configure-mpfr maybe-configure-mpfr
11266 maybe-configure-mpfr:
11267 @if gcc-bootstrap
11268 configure-mpfr: stage_current
11269 @endif gcc-bootstrap
11270 @if mpfr
11271 maybe-configure-mpfr: configure-mpfr
11272 configure-mpfr:
11273 @r=`${PWD_COMMAND}`; export r; \
11274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11275 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11277 $(HOST_EXPORTS) \
11278 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11279 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11280 case $(srcdir) in \
11281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11282 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11284 esac; \
11285 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11286 libsrcdir="$$s/mpfr"; \
11287 $(SHELL) $${libsrcdir}/configure \
11288 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11289 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11290 || exit 1
11291 @endif mpfr
11295 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11296 maybe-configure-stage1-mpfr:
11297 @if mpfr-bootstrap
11298 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11299 configure-stage1-mpfr:
11300 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11302 @r=`${PWD_COMMAND}`; export r; \
11303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11304 TFLAGS="$(STAGE1_TFLAGS)"; \
11305 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11306 $(HOST_EXPORTS) \
11307 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11308 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11309 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11310 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11312 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11313 case $(srcdir) in \
11314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11315 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11317 esac; \
11318 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11319 libsrcdir="$$s/mpfr"; \
11320 $(SHELL) $${libsrcdir}/configure \
11321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11322 --target=${target_alias} $${srcdiroption} \
11323 $(STAGE1_CONFIGURE_FLAGS) \
11324 --disable-shared @extra_mpfr_configure_flags@
11325 @endif mpfr-bootstrap
11327 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11328 maybe-configure-stage2-mpfr:
11329 @if mpfr-bootstrap
11330 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11331 configure-stage2-mpfr:
11332 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11334 @r=`${PWD_COMMAND}`; export r; \
11335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11336 TFLAGS="$(STAGE2_TFLAGS)"; \
11337 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11338 $(HOST_EXPORTS) \
11339 $(POSTSTAGE1_HOST_EXPORTS) \
11340 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11341 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11342 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11343 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11345 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11346 case $(srcdir) in \
11347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11348 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11350 esac; \
11351 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11352 libsrcdir="$$s/mpfr"; \
11353 $(SHELL) $${libsrcdir}/configure \
11354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11355 --target=${target_alias} $${srcdiroption} \
11356 --with-build-libsubdir=$(HOST_SUBDIR) \
11357 $(STAGE2_CONFIGURE_FLAGS) \
11358 --disable-shared @extra_mpfr_configure_flags@
11359 @endif mpfr-bootstrap
11361 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11362 maybe-configure-stage3-mpfr:
11363 @if mpfr-bootstrap
11364 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11365 configure-stage3-mpfr:
11366 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11367 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11368 @r=`${PWD_COMMAND}`; export r; \
11369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11370 TFLAGS="$(STAGE3_TFLAGS)"; \
11371 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11372 $(HOST_EXPORTS) \
11373 $(POSTSTAGE1_HOST_EXPORTS) \
11374 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11375 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11376 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11377 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11379 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11380 case $(srcdir) in \
11381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11382 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11384 esac; \
11385 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11386 libsrcdir="$$s/mpfr"; \
11387 $(SHELL) $${libsrcdir}/configure \
11388 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11389 --target=${target_alias} $${srcdiroption} \
11390 --with-build-libsubdir=$(HOST_SUBDIR) \
11391 $(STAGE3_CONFIGURE_FLAGS) \
11392 --disable-shared @extra_mpfr_configure_flags@
11393 @endif mpfr-bootstrap
11395 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11396 maybe-configure-stage4-mpfr:
11397 @if mpfr-bootstrap
11398 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11399 configure-stage4-mpfr:
11400 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11401 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11402 @r=`${PWD_COMMAND}`; export r; \
11403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11404 TFLAGS="$(STAGE4_TFLAGS)"; \
11405 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11406 $(HOST_EXPORTS) \
11407 $(POSTSTAGE1_HOST_EXPORTS) \
11408 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11409 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11410 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11411 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11413 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11414 case $(srcdir) in \
11415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11416 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11418 esac; \
11419 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11420 libsrcdir="$$s/mpfr"; \
11421 $(SHELL) $${libsrcdir}/configure \
11422 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11423 --target=${target_alias} $${srcdiroption} \
11424 --with-build-libsubdir=$(HOST_SUBDIR) \
11425 $(STAGE4_CONFIGURE_FLAGS) \
11426 --disable-shared @extra_mpfr_configure_flags@
11427 @endif mpfr-bootstrap
11429 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11430 maybe-configure-stageprofile-mpfr:
11431 @if mpfr-bootstrap
11432 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11433 configure-stageprofile-mpfr:
11434 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11435 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11436 @r=`${PWD_COMMAND}`; export r; \
11437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11438 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11439 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11440 $(HOST_EXPORTS) \
11441 $(POSTSTAGE1_HOST_EXPORTS) \
11442 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11443 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11444 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11445 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11447 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11448 case $(srcdir) in \
11449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11450 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11452 esac; \
11453 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11454 libsrcdir="$$s/mpfr"; \
11455 $(SHELL) $${libsrcdir}/configure \
11456 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11457 --target=${target_alias} $${srcdiroption} \
11458 --with-build-libsubdir=$(HOST_SUBDIR) \
11459 $(STAGEprofile_CONFIGURE_FLAGS) \
11460 --disable-shared @extra_mpfr_configure_flags@
11461 @endif mpfr-bootstrap
11463 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11464 maybe-configure-stagefeedback-mpfr:
11465 @if mpfr-bootstrap
11466 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11467 configure-stagefeedback-mpfr:
11468 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11470 @r=`${PWD_COMMAND}`; export r; \
11471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11472 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11473 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11474 $(HOST_EXPORTS) \
11475 $(POSTSTAGE1_HOST_EXPORTS) \
11476 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11477 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11478 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11479 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11481 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11482 case $(srcdir) in \
11483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11484 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11486 esac; \
11487 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11488 libsrcdir="$$s/mpfr"; \
11489 $(SHELL) $${libsrcdir}/configure \
11490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11491 --target=${target_alias} $${srcdiroption} \
11492 --with-build-libsubdir=$(HOST_SUBDIR) \
11493 $(STAGEfeedback_CONFIGURE_FLAGS) \
11494 --disable-shared @extra_mpfr_configure_flags@
11495 @endif mpfr-bootstrap
11501 .PHONY: all-mpfr maybe-all-mpfr
11502 maybe-all-mpfr:
11503 @if gcc-bootstrap
11504 all-mpfr: stage_current
11505 @endif gcc-bootstrap
11506 @if mpfr
11507 TARGET-mpfr=all
11508 maybe-all-mpfr: all-mpfr
11509 all-mpfr: configure-mpfr
11510 @r=`${PWD_COMMAND}`; export r; \
11511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11512 $(HOST_EXPORTS) \
11513 (cd $(HOST_SUBDIR)/mpfr && \
11514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11515 $(TARGET-mpfr))
11516 @endif mpfr
11520 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11521 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11522 maybe-all-stage1-mpfr:
11523 maybe-clean-stage1-mpfr:
11524 @if mpfr-bootstrap
11525 maybe-all-stage1-mpfr: all-stage1-mpfr
11526 all-stage1: all-stage1-mpfr
11527 TARGET-stage1-mpfr = $(TARGET-mpfr)
11528 all-stage1-mpfr: configure-stage1-mpfr
11529 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11530 @r=`${PWD_COMMAND}`; export r; \
11531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11532 TFLAGS="$(STAGE1_TFLAGS)"; \
11533 $(HOST_EXPORTS) \
11534 cd $(HOST_SUBDIR)/mpfr && \
11535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11536 CFLAGS="$(STAGE1_CFLAGS)" \
11537 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11538 LIBCFLAGS="$(LIBCFLAGS)" \
11539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11542 $(EXTRA_HOST_FLAGS) \
11543 TFLAGS="$(STAGE1_TFLAGS)" \
11544 $(TARGET-stage1-mpfr)
11546 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11547 clean-stage1: clean-stage1-mpfr
11548 clean-stage1-mpfr:
11549 @if [ $(current_stage) = stage1 ]; then \
11550 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11551 else \
11552 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11553 $(MAKE) stage1-start; \
11554 fi; \
11555 cd $(HOST_SUBDIR)/mpfr && \
11556 $(MAKE) $(EXTRA_HOST_FLAGS) \
11557 clean
11558 @endif mpfr-bootstrap
11561 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11562 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11563 maybe-all-stage2-mpfr:
11564 maybe-clean-stage2-mpfr:
11565 @if mpfr-bootstrap
11566 maybe-all-stage2-mpfr: all-stage2-mpfr
11567 all-stage2: all-stage2-mpfr
11568 TARGET-stage2-mpfr = $(TARGET-mpfr)
11569 all-stage2-mpfr: configure-stage2-mpfr
11570 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11571 @r=`${PWD_COMMAND}`; export r; \
11572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11573 TFLAGS="$(STAGE2_TFLAGS)"; \
11574 $(HOST_EXPORTS) \
11575 $(POSTSTAGE1_HOST_EXPORTS) \
11576 cd $(HOST_SUBDIR)/mpfr && \
11577 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11578 CFLAGS="$(STAGE2_CFLAGS)" \
11579 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11580 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11581 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11582 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11583 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11584 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11585 TFLAGS="$(STAGE2_TFLAGS)" \
11586 $(TARGET-stage2-mpfr)
11588 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11589 clean-stage2: clean-stage2-mpfr
11590 clean-stage2-mpfr:
11591 @if [ $(current_stage) = stage2 ]; then \
11592 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11593 else \
11594 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11595 $(MAKE) stage2-start; \
11596 fi; \
11597 cd $(HOST_SUBDIR)/mpfr && \
11598 $(MAKE) $(EXTRA_HOST_FLAGS) \
11599 $(POSTSTAGE1_FLAGS_TO_PASS) \
11600 clean
11601 @endif mpfr-bootstrap
11604 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11605 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11606 maybe-all-stage3-mpfr:
11607 maybe-clean-stage3-mpfr:
11608 @if mpfr-bootstrap
11609 maybe-all-stage3-mpfr: all-stage3-mpfr
11610 all-stage3: all-stage3-mpfr
11611 TARGET-stage3-mpfr = $(TARGET-mpfr)
11612 all-stage3-mpfr: configure-stage3-mpfr
11613 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11614 @r=`${PWD_COMMAND}`; export r; \
11615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11616 TFLAGS="$(STAGE3_TFLAGS)"; \
11617 $(HOST_EXPORTS) \
11618 $(POSTSTAGE1_HOST_EXPORTS) \
11619 cd $(HOST_SUBDIR)/mpfr && \
11620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11621 CFLAGS="$(STAGE3_CFLAGS)" \
11622 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11623 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11628 TFLAGS="$(STAGE3_TFLAGS)" \
11629 $(TARGET-stage3-mpfr)
11631 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11632 clean-stage3: clean-stage3-mpfr
11633 clean-stage3-mpfr:
11634 @if [ $(current_stage) = stage3 ]; then \
11635 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11636 else \
11637 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11638 $(MAKE) stage3-start; \
11639 fi; \
11640 cd $(HOST_SUBDIR)/mpfr && \
11641 $(MAKE) $(EXTRA_HOST_FLAGS) \
11642 $(POSTSTAGE1_FLAGS_TO_PASS) \
11643 clean
11644 @endif mpfr-bootstrap
11647 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11648 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11649 maybe-all-stage4-mpfr:
11650 maybe-clean-stage4-mpfr:
11651 @if mpfr-bootstrap
11652 maybe-all-stage4-mpfr: all-stage4-mpfr
11653 all-stage4: all-stage4-mpfr
11654 TARGET-stage4-mpfr = $(TARGET-mpfr)
11655 all-stage4-mpfr: configure-stage4-mpfr
11656 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11657 @r=`${PWD_COMMAND}`; export r; \
11658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11659 TFLAGS="$(STAGE4_TFLAGS)"; \
11660 $(HOST_EXPORTS) \
11661 $(POSTSTAGE1_HOST_EXPORTS) \
11662 cd $(HOST_SUBDIR)/mpfr && \
11663 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11664 CFLAGS="$(STAGE4_CFLAGS)" \
11665 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11666 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11670 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11671 TFLAGS="$(STAGE4_TFLAGS)" \
11672 $(TARGET-stage4-mpfr)
11674 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11675 clean-stage4: clean-stage4-mpfr
11676 clean-stage4-mpfr:
11677 @if [ $(current_stage) = stage4 ]; then \
11678 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11679 else \
11680 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11681 $(MAKE) stage4-start; \
11682 fi; \
11683 cd $(HOST_SUBDIR)/mpfr && \
11684 $(MAKE) $(EXTRA_HOST_FLAGS) \
11685 $(POSTSTAGE1_FLAGS_TO_PASS) \
11686 clean
11687 @endif mpfr-bootstrap
11690 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11691 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11692 maybe-all-stageprofile-mpfr:
11693 maybe-clean-stageprofile-mpfr:
11694 @if mpfr-bootstrap
11695 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11696 all-stageprofile: all-stageprofile-mpfr
11697 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11698 all-stageprofile-mpfr: configure-stageprofile-mpfr
11699 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11700 @r=`${PWD_COMMAND}`; export r; \
11701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11702 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11703 $(HOST_EXPORTS) \
11704 $(POSTSTAGE1_HOST_EXPORTS) \
11705 cd $(HOST_SUBDIR)/mpfr && \
11706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11707 CFLAGS="$(STAGEprofile_CFLAGS)" \
11708 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11709 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11714 TFLAGS="$(STAGEprofile_TFLAGS)" \
11715 $(TARGET-stageprofile-mpfr)
11717 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11718 clean-stageprofile: clean-stageprofile-mpfr
11719 clean-stageprofile-mpfr:
11720 @if [ $(current_stage) = stageprofile ]; then \
11721 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11722 else \
11723 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11724 $(MAKE) stageprofile-start; \
11725 fi; \
11726 cd $(HOST_SUBDIR)/mpfr && \
11727 $(MAKE) $(EXTRA_HOST_FLAGS) \
11728 $(POSTSTAGE1_FLAGS_TO_PASS) \
11729 clean
11730 @endif mpfr-bootstrap
11733 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11734 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11735 maybe-all-stagefeedback-mpfr:
11736 maybe-clean-stagefeedback-mpfr:
11737 @if mpfr-bootstrap
11738 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11739 all-stagefeedback: all-stagefeedback-mpfr
11740 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11741 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11742 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11743 @r=`${PWD_COMMAND}`; export r; \
11744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11745 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11746 $(HOST_EXPORTS) \
11747 $(POSTSTAGE1_HOST_EXPORTS) \
11748 cd $(HOST_SUBDIR)/mpfr && \
11749 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11750 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11751 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11752 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11753 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11754 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11755 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11756 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11757 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11758 $(TARGET-stagefeedback-mpfr)
11760 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11761 clean-stagefeedback: clean-stagefeedback-mpfr
11762 clean-stagefeedback-mpfr:
11763 @if [ $(current_stage) = stagefeedback ]; then \
11764 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11765 else \
11766 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11767 $(MAKE) stagefeedback-start; \
11768 fi; \
11769 cd $(HOST_SUBDIR)/mpfr && \
11770 $(MAKE) $(EXTRA_HOST_FLAGS) \
11771 $(POSTSTAGE1_FLAGS_TO_PASS) \
11772 clean
11773 @endif mpfr-bootstrap
11779 .PHONY: check-mpfr maybe-check-mpfr
11780 maybe-check-mpfr:
11781 @if mpfr
11782 maybe-check-mpfr: check-mpfr
11784 check-mpfr:
11785 @: $(MAKE); $(unstage)
11786 @r=`${PWD_COMMAND}`; export r; \
11787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11788 $(HOST_EXPORTS) \
11789 (cd $(HOST_SUBDIR)/mpfr && \
11790 $(MAKE) $(FLAGS_TO_PASS) check)
11792 @endif mpfr
11794 .PHONY: install-mpfr maybe-install-mpfr
11795 maybe-install-mpfr:
11796 @if mpfr
11797 maybe-install-mpfr: install-mpfr
11799 install-mpfr:
11801 @endif mpfr
11803 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11804 maybe-install-strip-mpfr:
11805 @if mpfr
11806 maybe-install-strip-mpfr: install-strip-mpfr
11808 install-strip-mpfr:
11810 @endif mpfr
11812 # Other targets (info, dvi, pdf, etc.)
11814 .PHONY: maybe-info-mpfr info-mpfr
11815 maybe-info-mpfr:
11816 @if mpfr
11817 maybe-info-mpfr: info-mpfr
11819 info-mpfr: \
11820 configure-mpfr
11821 @[ -f ./mpfr/Makefile ] || exit 0; \
11822 r=`${PWD_COMMAND}`; export r; \
11823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11824 $(HOST_EXPORTS) \
11825 for flag in $(EXTRA_HOST_FLAGS) ; do \
11826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11827 done; \
11828 echo "Doing info in mpfr" ; \
11829 (cd $(HOST_SUBDIR)/mpfr && \
11830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11832 "RANLIB=$${RANLIB}" \
11833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11834 info) \
11835 || exit 1
11837 @endif mpfr
11839 .PHONY: maybe-dvi-mpfr dvi-mpfr
11840 maybe-dvi-mpfr:
11841 @if mpfr
11842 maybe-dvi-mpfr: dvi-mpfr
11844 dvi-mpfr: \
11845 configure-mpfr
11846 @[ -f ./mpfr/Makefile ] || exit 0; \
11847 r=`${PWD_COMMAND}`; export r; \
11848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11849 $(HOST_EXPORTS) \
11850 for flag in $(EXTRA_HOST_FLAGS) ; do \
11851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11852 done; \
11853 echo "Doing dvi in mpfr" ; \
11854 (cd $(HOST_SUBDIR)/mpfr && \
11855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11857 "RANLIB=$${RANLIB}" \
11858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11859 dvi) \
11860 || exit 1
11862 @endif mpfr
11864 .PHONY: maybe-pdf-mpfr pdf-mpfr
11865 maybe-pdf-mpfr:
11866 @if mpfr
11867 maybe-pdf-mpfr: pdf-mpfr
11869 pdf-mpfr: \
11870 configure-mpfr
11871 @[ -f ./mpfr/Makefile ] || exit 0; \
11872 r=`${PWD_COMMAND}`; export r; \
11873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11874 $(HOST_EXPORTS) \
11875 for flag in $(EXTRA_HOST_FLAGS) ; do \
11876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11877 done; \
11878 echo "Doing pdf in mpfr" ; \
11879 (cd $(HOST_SUBDIR)/mpfr && \
11880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11882 "RANLIB=$${RANLIB}" \
11883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11884 pdf) \
11885 || exit 1
11887 @endif mpfr
11889 .PHONY: maybe-html-mpfr html-mpfr
11890 maybe-html-mpfr:
11891 @if mpfr
11892 maybe-html-mpfr: html-mpfr
11894 html-mpfr: \
11895 configure-mpfr
11896 @[ -f ./mpfr/Makefile ] || exit 0; \
11897 r=`${PWD_COMMAND}`; export r; \
11898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11899 $(HOST_EXPORTS) \
11900 for flag in $(EXTRA_HOST_FLAGS) ; do \
11901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11902 done; \
11903 echo "Doing html in mpfr" ; \
11904 (cd $(HOST_SUBDIR)/mpfr && \
11905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11907 "RANLIB=$${RANLIB}" \
11908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11909 html) \
11910 || exit 1
11912 @endif mpfr
11914 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11915 maybe-TAGS-mpfr:
11916 @if mpfr
11917 maybe-TAGS-mpfr: TAGS-mpfr
11919 TAGS-mpfr: \
11920 configure-mpfr
11921 @[ -f ./mpfr/Makefile ] || exit 0; \
11922 r=`${PWD_COMMAND}`; export r; \
11923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11924 $(HOST_EXPORTS) \
11925 for flag in $(EXTRA_HOST_FLAGS) ; do \
11926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11927 done; \
11928 echo "Doing TAGS in mpfr" ; \
11929 (cd $(HOST_SUBDIR)/mpfr && \
11930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11932 "RANLIB=$${RANLIB}" \
11933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11934 TAGS) \
11935 || exit 1
11937 @endif mpfr
11939 .PHONY: maybe-install-info-mpfr install-info-mpfr
11940 maybe-install-info-mpfr:
11941 @if mpfr
11942 maybe-install-info-mpfr: install-info-mpfr
11944 install-info-mpfr: \
11945 configure-mpfr \
11946 info-mpfr
11947 @[ -f ./mpfr/Makefile ] || exit 0; \
11948 r=`${PWD_COMMAND}`; export r; \
11949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11950 $(HOST_EXPORTS) \
11951 for flag in $(EXTRA_HOST_FLAGS) ; do \
11952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11953 done; \
11954 echo "Doing install-info in mpfr" ; \
11955 (cd $(HOST_SUBDIR)/mpfr && \
11956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11958 "RANLIB=$${RANLIB}" \
11959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11960 install-info) \
11961 || exit 1
11963 @endif mpfr
11965 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11966 maybe-install-pdf-mpfr:
11967 @if mpfr
11968 maybe-install-pdf-mpfr: install-pdf-mpfr
11970 install-pdf-mpfr: \
11971 configure-mpfr \
11972 pdf-mpfr
11973 @[ -f ./mpfr/Makefile ] || exit 0; \
11974 r=`${PWD_COMMAND}`; export r; \
11975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11976 $(HOST_EXPORTS) \
11977 for flag in $(EXTRA_HOST_FLAGS) ; do \
11978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11979 done; \
11980 echo "Doing install-pdf in mpfr" ; \
11981 (cd $(HOST_SUBDIR)/mpfr && \
11982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11984 "RANLIB=$${RANLIB}" \
11985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11986 install-pdf) \
11987 || exit 1
11989 @endif mpfr
11991 .PHONY: maybe-install-html-mpfr install-html-mpfr
11992 maybe-install-html-mpfr:
11993 @if mpfr
11994 maybe-install-html-mpfr: install-html-mpfr
11996 install-html-mpfr: \
11997 configure-mpfr \
11998 html-mpfr
11999 @[ -f ./mpfr/Makefile ] || exit 0; \
12000 r=`${PWD_COMMAND}`; export r; \
12001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12002 $(HOST_EXPORTS) \
12003 for flag in $(EXTRA_HOST_FLAGS) ; do \
12004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12005 done; \
12006 echo "Doing install-html in mpfr" ; \
12007 (cd $(HOST_SUBDIR)/mpfr && \
12008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12010 "RANLIB=$${RANLIB}" \
12011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12012 install-html) \
12013 || exit 1
12015 @endif mpfr
12017 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12018 maybe-installcheck-mpfr:
12019 @if mpfr
12020 maybe-installcheck-mpfr: installcheck-mpfr
12022 installcheck-mpfr: \
12023 configure-mpfr
12024 @[ -f ./mpfr/Makefile ] || exit 0; \
12025 r=`${PWD_COMMAND}`; export r; \
12026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12027 $(HOST_EXPORTS) \
12028 for flag in $(EXTRA_HOST_FLAGS) ; do \
12029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12030 done; \
12031 echo "Doing installcheck in mpfr" ; \
12032 (cd $(HOST_SUBDIR)/mpfr && \
12033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12035 "RANLIB=$${RANLIB}" \
12036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12037 installcheck) \
12038 || exit 1
12040 @endif mpfr
12042 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12043 maybe-mostlyclean-mpfr:
12044 @if mpfr
12045 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12047 mostlyclean-mpfr:
12048 @[ -f ./mpfr/Makefile ] || exit 0; \
12049 r=`${PWD_COMMAND}`; export r; \
12050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12051 $(HOST_EXPORTS) \
12052 for flag in $(EXTRA_HOST_FLAGS) ; do \
12053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12054 done; \
12055 echo "Doing mostlyclean in mpfr" ; \
12056 (cd $(HOST_SUBDIR)/mpfr && \
12057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12059 "RANLIB=$${RANLIB}" \
12060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12061 mostlyclean) \
12062 || exit 1
12064 @endif mpfr
12066 .PHONY: maybe-clean-mpfr clean-mpfr
12067 maybe-clean-mpfr:
12068 @if mpfr
12069 maybe-clean-mpfr: clean-mpfr
12071 clean-mpfr:
12072 @[ -f ./mpfr/Makefile ] || exit 0; \
12073 r=`${PWD_COMMAND}`; export r; \
12074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12075 $(HOST_EXPORTS) \
12076 for flag in $(EXTRA_HOST_FLAGS) ; do \
12077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12078 done; \
12079 echo "Doing clean in mpfr" ; \
12080 (cd $(HOST_SUBDIR)/mpfr && \
12081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12083 "RANLIB=$${RANLIB}" \
12084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12085 clean) \
12086 || exit 1
12088 @endif mpfr
12090 .PHONY: maybe-distclean-mpfr distclean-mpfr
12091 maybe-distclean-mpfr:
12092 @if mpfr
12093 maybe-distclean-mpfr: distclean-mpfr
12095 distclean-mpfr:
12096 @[ -f ./mpfr/Makefile ] || exit 0; \
12097 r=`${PWD_COMMAND}`; export r; \
12098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12099 $(HOST_EXPORTS) \
12100 for flag in $(EXTRA_HOST_FLAGS) ; do \
12101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12102 done; \
12103 echo "Doing distclean in mpfr" ; \
12104 (cd $(HOST_SUBDIR)/mpfr && \
12105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12107 "RANLIB=$${RANLIB}" \
12108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12109 distclean) \
12110 || exit 1
12112 @endif mpfr
12114 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12115 maybe-maintainer-clean-mpfr:
12116 @if mpfr
12117 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12119 maintainer-clean-mpfr:
12120 @[ -f ./mpfr/Makefile ] || exit 0; \
12121 r=`${PWD_COMMAND}`; export r; \
12122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12123 $(HOST_EXPORTS) \
12124 for flag in $(EXTRA_HOST_FLAGS) ; do \
12125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12126 done; \
12127 echo "Doing maintainer-clean in mpfr" ; \
12128 (cd $(HOST_SUBDIR)/mpfr && \
12129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12131 "RANLIB=$${RANLIB}" \
12132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12133 maintainer-clean) \
12134 || exit 1
12136 @endif mpfr
12140 .PHONY: configure-mpc maybe-configure-mpc
12141 maybe-configure-mpc:
12142 @if gcc-bootstrap
12143 configure-mpc: stage_current
12144 @endif gcc-bootstrap
12145 @if mpc
12146 maybe-configure-mpc: configure-mpc
12147 configure-mpc:
12148 @r=`${PWD_COMMAND}`; export r; \
12149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12150 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12151 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12152 $(HOST_EXPORTS) \
12153 echo Configuring in $(HOST_SUBDIR)/mpc; \
12154 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12155 case $(srcdir) in \
12156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12157 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12159 esac; \
12160 srcdiroption="--srcdir=$${topdir}/mpc"; \
12161 libsrcdir="$$s/mpc"; \
12162 $(SHELL) $${libsrcdir}/configure \
12163 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12164 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12165 || exit 1
12166 @endif mpc
12170 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12171 maybe-configure-stage1-mpc:
12172 @if mpc-bootstrap
12173 maybe-configure-stage1-mpc: configure-stage1-mpc
12174 configure-stage1-mpc:
12175 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12176 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12177 @r=`${PWD_COMMAND}`; export r; \
12178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12179 TFLAGS="$(STAGE1_TFLAGS)"; \
12180 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12181 $(HOST_EXPORTS) \
12182 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12183 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12184 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12185 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12187 cd $(HOST_SUBDIR)/mpc || exit 1; \
12188 case $(srcdir) in \
12189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12190 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12192 esac; \
12193 srcdiroption="--srcdir=$${topdir}/mpc"; \
12194 libsrcdir="$$s/mpc"; \
12195 $(SHELL) $${libsrcdir}/configure \
12196 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12197 --target=${target_alias} $${srcdiroption} \
12198 $(STAGE1_CONFIGURE_FLAGS) \
12199 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12200 @endif mpc-bootstrap
12202 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12203 maybe-configure-stage2-mpc:
12204 @if mpc-bootstrap
12205 maybe-configure-stage2-mpc: configure-stage2-mpc
12206 configure-stage2-mpc:
12207 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12208 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12209 @r=`${PWD_COMMAND}`; export r; \
12210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12211 TFLAGS="$(STAGE2_TFLAGS)"; \
12212 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12213 $(HOST_EXPORTS) \
12214 $(POSTSTAGE1_HOST_EXPORTS) \
12215 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12216 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12217 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12218 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12219 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12220 cd $(HOST_SUBDIR)/mpc || exit 1; \
12221 case $(srcdir) in \
12222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12223 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12225 esac; \
12226 srcdiroption="--srcdir=$${topdir}/mpc"; \
12227 libsrcdir="$$s/mpc"; \
12228 $(SHELL) $${libsrcdir}/configure \
12229 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12230 --target=${target_alias} $${srcdiroption} \
12231 --with-build-libsubdir=$(HOST_SUBDIR) \
12232 $(STAGE2_CONFIGURE_FLAGS) \
12233 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12234 @endif mpc-bootstrap
12236 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12237 maybe-configure-stage3-mpc:
12238 @if mpc-bootstrap
12239 maybe-configure-stage3-mpc: configure-stage3-mpc
12240 configure-stage3-mpc:
12241 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12242 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12243 @r=`${PWD_COMMAND}`; export r; \
12244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12245 TFLAGS="$(STAGE3_TFLAGS)"; \
12246 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12247 $(HOST_EXPORTS) \
12248 $(POSTSTAGE1_HOST_EXPORTS) \
12249 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12250 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12251 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12252 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12254 cd $(HOST_SUBDIR)/mpc || exit 1; \
12255 case $(srcdir) in \
12256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12257 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12259 esac; \
12260 srcdiroption="--srcdir=$${topdir}/mpc"; \
12261 libsrcdir="$$s/mpc"; \
12262 $(SHELL) $${libsrcdir}/configure \
12263 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12264 --target=${target_alias} $${srcdiroption} \
12265 --with-build-libsubdir=$(HOST_SUBDIR) \
12266 $(STAGE3_CONFIGURE_FLAGS) \
12267 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12268 @endif mpc-bootstrap
12270 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12271 maybe-configure-stage4-mpc:
12272 @if mpc-bootstrap
12273 maybe-configure-stage4-mpc: configure-stage4-mpc
12274 configure-stage4-mpc:
12275 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12277 @r=`${PWD_COMMAND}`; export r; \
12278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12279 TFLAGS="$(STAGE4_TFLAGS)"; \
12280 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12281 $(HOST_EXPORTS) \
12282 $(POSTSTAGE1_HOST_EXPORTS) \
12283 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12284 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12285 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12286 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12288 cd $(HOST_SUBDIR)/mpc || exit 1; \
12289 case $(srcdir) in \
12290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12291 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12293 esac; \
12294 srcdiroption="--srcdir=$${topdir}/mpc"; \
12295 libsrcdir="$$s/mpc"; \
12296 $(SHELL) $${libsrcdir}/configure \
12297 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12298 --target=${target_alias} $${srcdiroption} \
12299 --with-build-libsubdir=$(HOST_SUBDIR) \
12300 $(STAGE4_CONFIGURE_FLAGS) \
12301 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12302 @endif mpc-bootstrap
12304 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12305 maybe-configure-stageprofile-mpc:
12306 @if mpc-bootstrap
12307 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12308 configure-stageprofile-mpc:
12309 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12310 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12311 @r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12313 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12314 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12315 $(HOST_EXPORTS) \
12316 $(POSTSTAGE1_HOST_EXPORTS) \
12317 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12318 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12319 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12320 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12322 cd $(HOST_SUBDIR)/mpc || exit 1; \
12323 case $(srcdir) in \
12324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12325 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12327 esac; \
12328 srcdiroption="--srcdir=$${topdir}/mpc"; \
12329 libsrcdir="$$s/mpc"; \
12330 $(SHELL) $${libsrcdir}/configure \
12331 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12332 --target=${target_alias} $${srcdiroption} \
12333 --with-build-libsubdir=$(HOST_SUBDIR) \
12334 $(STAGEprofile_CONFIGURE_FLAGS) \
12335 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12336 @endif mpc-bootstrap
12338 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12339 maybe-configure-stagefeedback-mpc:
12340 @if mpc-bootstrap
12341 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12342 configure-stagefeedback-mpc:
12343 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12344 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12345 @r=`${PWD_COMMAND}`; export r; \
12346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12347 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12348 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12349 $(HOST_EXPORTS) \
12350 $(POSTSTAGE1_HOST_EXPORTS) \
12351 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12352 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12353 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12354 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12356 cd $(HOST_SUBDIR)/mpc || exit 1; \
12357 case $(srcdir) in \
12358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12359 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12361 esac; \
12362 srcdiroption="--srcdir=$${topdir}/mpc"; \
12363 libsrcdir="$$s/mpc"; \
12364 $(SHELL) $${libsrcdir}/configure \
12365 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12366 --target=${target_alias} $${srcdiroption} \
12367 --with-build-libsubdir=$(HOST_SUBDIR) \
12368 $(STAGEfeedback_CONFIGURE_FLAGS) \
12369 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12370 @endif mpc-bootstrap
12376 .PHONY: all-mpc maybe-all-mpc
12377 maybe-all-mpc:
12378 @if gcc-bootstrap
12379 all-mpc: stage_current
12380 @endif gcc-bootstrap
12381 @if mpc
12382 TARGET-mpc=all
12383 maybe-all-mpc: all-mpc
12384 all-mpc: configure-mpc
12385 @r=`${PWD_COMMAND}`; export r; \
12386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12387 $(HOST_EXPORTS) \
12388 (cd $(HOST_SUBDIR)/mpc && \
12389 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12390 $(TARGET-mpc))
12391 @endif mpc
12395 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12396 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12397 maybe-all-stage1-mpc:
12398 maybe-clean-stage1-mpc:
12399 @if mpc-bootstrap
12400 maybe-all-stage1-mpc: all-stage1-mpc
12401 all-stage1: all-stage1-mpc
12402 TARGET-stage1-mpc = $(TARGET-mpc)
12403 all-stage1-mpc: configure-stage1-mpc
12404 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12405 @r=`${PWD_COMMAND}`; export r; \
12406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12407 TFLAGS="$(STAGE1_TFLAGS)"; \
12408 $(HOST_EXPORTS) \
12409 cd $(HOST_SUBDIR)/mpc && \
12410 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12411 CFLAGS="$(STAGE1_CFLAGS)" \
12412 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12413 LIBCFLAGS="$(LIBCFLAGS)" \
12414 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12417 $(EXTRA_HOST_FLAGS) \
12418 TFLAGS="$(STAGE1_TFLAGS)" \
12419 $(TARGET-stage1-mpc)
12421 maybe-clean-stage1-mpc: clean-stage1-mpc
12422 clean-stage1: clean-stage1-mpc
12423 clean-stage1-mpc:
12424 @if [ $(current_stage) = stage1 ]; then \
12425 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12426 else \
12427 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12428 $(MAKE) stage1-start; \
12429 fi; \
12430 cd $(HOST_SUBDIR)/mpc && \
12431 $(MAKE) $(EXTRA_HOST_FLAGS) \
12432 clean
12433 @endif mpc-bootstrap
12436 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12437 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12438 maybe-all-stage2-mpc:
12439 maybe-clean-stage2-mpc:
12440 @if mpc-bootstrap
12441 maybe-all-stage2-mpc: all-stage2-mpc
12442 all-stage2: all-stage2-mpc
12443 TARGET-stage2-mpc = $(TARGET-mpc)
12444 all-stage2-mpc: configure-stage2-mpc
12445 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12446 @r=`${PWD_COMMAND}`; export r; \
12447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12448 TFLAGS="$(STAGE2_TFLAGS)"; \
12449 $(HOST_EXPORTS) \
12450 $(POSTSTAGE1_HOST_EXPORTS) \
12451 cd $(HOST_SUBDIR)/mpc && \
12452 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12453 CFLAGS="$(STAGE2_CFLAGS)" \
12454 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12455 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12460 TFLAGS="$(STAGE2_TFLAGS)" \
12461 $(TARGET-stage2-mpc)
12463 maybe-clean-stage2-mpc: clean-stage2-mpc
12464 clean-stage2: clean-stage2-mpc
12465 clean-stage2-mpc:
12466 @if [ $(current_stage) = stage2 ]; then \
12467 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12468 else \
12469 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12470 $(MAKE) stage2-start; \
12471 fi; \
12472 cd $(HOST_SUBDIR)/mpc && \
12473 $(MAKE) $(EXTRA_HOST_FLAGS) \
12474 $(POSTSTAGE1_FLAGS_TO_PASS) \
12475 clean
12476 @endif mpc-bootstrap
12479 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12480 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12481 maybe-all-stage3-mpc:
12482 maybe-clean-stage3-mpc:
12483 @if mpc-bootstrap
12484 maybe-all-stage3-mpc: all-stage3-mpc
12485 all-stage3: all-stage3-mpc
12486 TARGET-stage3-mpc = $(TARGET-mpc)
12487 all-stage3-mpc: configure-stage3-mpc
12488 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12489 @r=`${PWD_COMMAND}`; export r; \
12490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12491 TFLAGS="$(STAGE3_TFLAGS)"; \
12492 $(HOST_EXPORTS) \
12493 $(POSTSTAGE1_HOST_EXPORTS) \
12494 cd $(HOST_SUBDIR)/mpc && \
12495 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12496 CFLAGS="$(STAGE3_CFLAGS)" \
12497 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12498 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12503 TFLAGS="$(STAGE3_TFLAGS)" \
12504 $(TARGET-stage3-mpc)
12506 maybe-clean-stage3-mpc: clean-stage3-mpc
12507 clean-stage3: clean-stage3-mpc
12508 clean-stage3-mpc:
12509 @if [ $(current_stage) = stage3 ]; then \
12510 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12511 else \
12512 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12513 $(MAKE) stage3-start; \
12514 fi; \
12515 cd $(HOST_SUBDIR)/mpc && \
12516 $(MAKE) $(EXTRA_HOST_FLAGS) \
12517 $(POSTSTAGE1_FLAGS_TO_PASS) \
12518 clean
12519 @endif mpc-bootstrap
12522 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12523 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12524 maybe-all-stage4-mpc:
12525 maybe-clean-stage4-mpc:
12526 @if mpc-bootstrap
12527 maybe-all-stage4-mpc: all-stage4-mpc
12528 all-stage4: all-stage4-mpc
12529 TARGET-stage4-mpc = $(TARGET-mpc)
12530 all-stage4-mpc: configure-stage4-mpc
12531 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12532 @r=`${PWD_COMMAND}`; export r; \
12533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12534 TFLAGS="$(STAGE4_TFLAGS)"; \
12535 $(HOST_EXPORTS) \
12536 $(POSTSTAGE1_HOST_EXPORTS) \
12537 cd $(HOST_SUBDIR)/mpc && \
12538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12539 CFLAGS="$(STAGE4_CFLAGS)" \
12540 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12541 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12546 TFLAGS="$(STAGE4_TFLAGS)" \
12547 $(TARGET-stage4-mpc)
12549 maybe-clean-stage4-mpc: clean-stage4-mpc
12550 clean-stage4: clean-stage4-mpc
12551 clean-stage4-mpc:
12552 @if [ $(current_stage) = stage4 ]; then \
12553 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12554 else \
12555 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12556 $(MAKE) stage4-start; \
12557 fi; \
12558 cd $(HOST_SUBDIR)/mpc && \
12559 $(MAKE) $(EXTRA_HOST_FLAGS) \
12560 $(POSTSTAGE1_FLAGS_TO_PASS) \
12561 clean
12562 @endif mpc-bootstrap
12565 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12566 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12567 maybe-all-stageprofile-mpc:
12568 maybe-clean-stageprofile-mpc:
12569 @if mpc-bootstrap
12570 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12571 all-stageprofile: all-stageprofile-mpc
12572 TARGET-stageprofile-mpc = $(TARGET-mpc)
12573 all-stageprofile-mpc: configure-stageprofile-mpc
12574 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12575 @r=`${PWD_COMMAND}`; export r; \
12576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12577 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12578 $(HOST_EXPORTS) \
12579 $(POSTSTAGE1_HOST_EXPORTS) \
12580 cd $(HOST_SUBDIR)/mpc && \
12581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12582 CFLAGS="$(STAGEprofile_CFLAGS)" \
12583 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12584 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12588 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12589 TFLAGS="$(STAGEprofile_TFLAGS)" \
12590 $(TARGET-stageprofile-mpc)
12592 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12593 clean-stageprofile: clean-stageprofile-mpc
12594 clean-stageprofile-mpc:
12595 @if [ $(current_stage) = stageprofile ]; then \
12596 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12597 else \
12598 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12599 $(MAKE) stageprofile-start; \
12600 fi; \
12601 cd $(HOST_SUBDIR)/mpc && \
12602 $(MAKE) $(EXTRA_HOST_FLAGS) \
12603 $(POSTSTAGE1_FLAGS_TO_PASS) \
12604 clean
12605 @endif mpc-bootstrap
12608 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12609 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12610 maybe-all-stagefeedback-mpc:
12611 maybe-clean-stagefeedback-mpc:
12612 @if mpc-bootstrap
12613 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12614 all-stagefeedback: all-stagefeedback-mpc
12615 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12616 all-stagefeedback-mpc: configure-stagefeedback-mpc
12617 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12618 @r=`${PWD_COMMAND}`; export r; \
12619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12620 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12621 $(HOST_EXPORTS) \
12622 $(POSTSTAGE1_HOST_EXPORTS) \
12623 cd $(HOST_SUBDIR)/mpc && \
12624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12625 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12626 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12627 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12632 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12633 $(TARGET-stagefeedback-mpc)
12635 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12636 clean-stagefeedback: clean-stagefeedback-mpc
12637 clean-stagefeedback-mpc:
12638 @if [ $(current_stage) = stagefeedback ]; then \
12639 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12640 else \
12641 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12642 $(MAKE) stagefeedback-start; \
12643 fi; \
12644 cd $(HOST_SUBDIR)/mpc && \
12645 $(MAKE) $(EXTRA_HOST_FLAGS) \
12646 $(POSTSTAGE1_FLAGS_TO_PASS) \
12647 clean
12648 @endif mpc-bootstrap
12654 .PHONY: check-mpc maybe-check-mpc
12655 maybe-check-mpc:
12656 @if mpc
12657 maybe-check-mpc: check-mpc
12659 check-mpc:
12660 @: $(MAKE); $(unstage)
12661 @r=`${PWD_COMMAND}`; export r; \
12662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12663 $(HOST_EXPORTS) \
12664 (cd $(HOST_SUBDIR)/mpc && \
12665 $(MAKE) $(FLAGS_TO_PASS) check)
12667 @endif mpc
12669 .PHONY: install-mpc maybe-install-mpc
12670 maybe-install-mpc:
12671 @if mpc
12672 maybe-install-mpc: install-mpc
12674 install-mpc:
12676 @endif mpc
12678 .PHONY: install-strip-mpc maybe-install-strip-mpc
12679 maybe-install-strip-mpc:
12680 @if mpc
12681 maybe-install-strip-mpc: install-strip-mpc
12683 install-strip-mpc:
12685 @endif mpc
12687 # Other targets (info, dvi, pdf, etc.)
12689 .PHONY: maybe-info-mpc info-mpc
12690 maybe-info-mpc:
12691 @if mpc
12692 maybe-info-mpc: info-mpc
12694 info-mpc: \
12695 configure-mpc
12696 @[ -f ./mpc/Makefile ] || exit 0; \
12697 r=`${PWD_COMMAND}`; export r; \
12698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12699 $(HOST_EXPORTS) \
12700 for flag in $(EXTRA_HOST_FLAGS) ; do \
12701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12702 done; \
12703 echo "Doing info in mpc" ; \
12704 (cd $(HOST_SUBDIR)/mpc && \
12705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12707 "RANLIB=$${RANLIB}" \
12708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12709 info) \
12710 || exit 1
12712 @endif mpc
12714 .PHONY: maybe-dvi-mpc dvi-mpc
12715 maybe-dvi-mpc:
12716 @if mpc
12717 maybe-dvi-mpc: dvi-mpc
12719 dvi-mpc: \
12720 configure-mpc
12721 @[ -f ./mpc/Makefile ] || exit 0; \
12722 r=`${PWD_COMMAND}`; export r; \
12723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12724 $(HOST_EXPORTS) \
12725 for flag in $(EXTRA_HOST_FLAGS) ; do \
12726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12727 done; \
12728 echo "Doing dvi in mpc" ; \
12729 (cd $(HOST_SUBDIR)/mpc && \
12730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12732 "RANLIB=$${RANLIB}" \
12733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12734 dvi) \
12735 || exit 1
12737 @endif mpc
12739 .PHONY: maybe-pdf-mpc pdf-mpc
12740 maybe-pdf-mpc:
12741 @if mpc
12742 maybe-pdf-mpc: pdf-mpc
12744 pdf-mpc: \
12745 configure-mpc
12746 @[ -f ./mpc/Makefile ] || exit 0; \
12747 r=`${PWD_COMMAND}`; export r; \
12748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12749 $(HOST_EXPORTS) \
12750 for flag in $(EXTRA_HOST_FLAGS) ; do \
12751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12752 done; \
12753 echo "Doing pdf in mpc" ; \
12754 (cd $(HOST_SUBDIR)/mpc && \
12755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12757 "RANLIB=$${RANLIB}" \
12758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12759 pdf) \
12760 || exit 1
12762 @endif mpc
12764 .PHONY: maybe-html-mpc html-mpc
12765 maybe-html-mpc:
12766 @if mpc
12767 maybe-html-mpc: html-mpc
12769 html-mpc: \
12770 configure-mpc
12771 @[ -f ./mpc/Makefile ] || exit 0; \
12772 r=`${PWD_COMMAND}`; export r; \
12773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12774 $(HOST_EXPORTS) \
12775 for flag in $(EXTRA_HOST_FLAGS) ; do \
12776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12777 done; \
12778 echo "Doing html in mpc" ; \
12779 (cd $(HOST_SUBDIR)/mpc && \
12780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12782 "RANLIB=$${RANLIB}" \
12783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12784 html) \
12785 || exit 1
12787 @endif mpc
12789 .PHONY: maybe-TAGS-mpc TAGS-mpc
12790 maybe-TAGS-mpc:
12791 @if mpc
12792 maybe-TAGS-mpc: TAGS-mpc
12794 TAGS-mpc: \
12795 configure-mpc
12796 @[ -f ./mpc/Makefile ] || exit 0; \
12797 r=`${PWD_COMMAND}`; export r; \
12798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12799 $(HOST_EXPORTS) \
12800 for flag in $(EXTRA_HOST_FLAGS) ; do \
12801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12802 done; \
12803 echo "Doing TAGS in mpc" ; \
12804 (cd $(HOST_SUBDIR)/mpc && \
12805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12807 "RANLIB=$${RANLIB}" \
12808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12809 TAGS) \
12810 || exit 1
12812 @endif mpc
12814 .PHONY: maybe-install-info-mpc install-info-mpc
12815 maybe-install-info-mpc:
12816 @if mpc
12817 maybe-install-info-mpc: install-info-mpc
12819 install-info-mpc: \
12820 configure-mpc \
12821 info-mpc
12822 @[ -f ./mpc/Makefile ] || exit 0; \
12823 r=`${PWD_COMMAND}`; export r; \
12824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12825 $(HOST_EXPORTS) \
12826 for flag in $(EXTRA_HOST_FLAGS) ; do \
12827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12828 done; \
12829 echo "Doing install-info in mpc" ; \
12830 (cd $(HOST_SUBDIR)/mpc && \
12831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12833 "RANLIB=$${RANLIB}" \
12834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12835 install-info) \
12836 || exit 1
12838 @endif mpc
12840 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12841 maybe-install-pdf-mpc:
12842 @if mpc
12843 maybe-install-pdf-mpc: install-pdf-mpc
12845 install-pdf-mpc: \
12846 configure-mpc \
12847 pdf-mpc
12848 @[ -f ./mpc/Makefile ] || exit 0; \
12849 r=`${PWD_COMMAND}`; export r; \
12850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12851 $(HOST_EXPORTS) \
12852 for flag in $(EXTRA_HOST_FLAGS) ; do \
12853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12854 done; \
12855 echo "Doing install-pdf in mpc" ; \
12856 (cd $(HOST_SUBDIR)/mpc && \
12857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12859 "RANLIB=$${RANLIB}" \
12860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12861 install-pdf) \
12862 || exit 1
12864 @endif mpc
12866 .PHONY: maybe-install-html-mpc install-html-mpc
12867 maybe-install-html-mpc:
12868 @if mpc
12869 maybe-install-html-mpc: install-html-mpc
12871 install-html-mpc: \
12872 configure-mpc \
12873 html-mpc
12874 @[ -f ./mpc/Makefile ] || exit 0; \
12875 r=`${PWD_COMMAND}`; export r; \
12876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12877 $(HOST_EXPORTS) \
12878 for flag in $(EXTRA_HOST_FLAGS) ; do \
12879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12880 done; \
12881 echo "Doing install-html in mpc" ; \
12882 (cd $(HOST_SUBDIR)/mpc && \
12883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12885 "RANLIB=$${RANLIB}" \
12886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12887 install-html) \
12888 || exit 1
12890 @endif mpc
12892 .PHONY: maybe-installcheck-mpc installcheck-mpc
12893 maybe-installcheck-mpc:
12894 @if mpc
12895 maybe-installcheck-mpc: installcheck-mpc
12897 installcheck-mpc: \
12898 configure-mpc
12899 @[ -f ./mpc/Makefile ] || exit 0; \
12900 r=`${PWD_COMMAND}`; export r; \
12901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12902 $(HOST_EXPORTS) \
12903 for flag in $(EXTRA_HOST_FLAGS) ; do \
12904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12905 done; \
12906 echo "Doing installcheck in mpc" ; \
12907 (cd $(HOST_SUBDIR)/mpc && \
12908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12910 "RANLIB=$${RANLIB}" \
12911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12912 installcheck) \
12913 || exit 1
12915 @endif mpc
12917 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12918 maybe-mostlyclean-mpc:
12919 @if mpc
12920 maybe-mostlyclean-mpc: mostlyclean-mpc
12922 mostlyclean-mpc:
12923 @[ -f ./mpc/Makefile ] || exit 0; \
12924 r=`${PWD_COMMAND}`; export r; \
12925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12926 $(HOST_EXPORTS) \
12927 for flag in $(EXTRA_HOST_FLAGS) ; do \
12928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12929 done; \
12930 echo "Doing mostlyclean in mpc" ; \
12931 (cd $(HOST_SUBDIR)/mpc && \
12932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12934 "RANLIB=$${RANLIB}" \
12935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12936 mostlyclean) \
12937 || exit 1
12939 @endif mpc
12941 .PHONY: maybe-clean-mpc clean-mpc
12942 maybe-clean-mpc:
12943 @if mpc
12944 maybe-clean-mpc: clean-mpc
12946 clean-mpc:
12947 @[ -f ./mpc/Makefile ] || exit 0; \
12948 r=`${PWD_COMMAND}`; export r; \
12949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12950 $(HOST_EXPORTS) \
12951 for flag in $(EXTRA_HOST_FLAGS) ; do \
12952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12953 done; \
12954 echo "Doing clean in mpc" ; \
12955 (cd $(HOST_SUBDIR)/mpc && \
12956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12958 "RANLIB=$${RANLIB}" \
12959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12960 clean) \
12961 || exit 1
12963 @endif mpc
12965 .PHONY: maybe-distclean-mpc distclean-mpc
12966 maybe-distclean-mpc:
12967 @if mpc
12968 maybe-distclean-mpc: distclean-mpc
12970 distclean-mpc:
12971 @[ -f ./mpc/Makefile ] || exit 0; \
12972 r=`${PWD_COMMAND}`; export r; \
12973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12974 $(HOST_EXPORTS) \
12975 for flag in $(EXTRA_HOST_FLAGS) ; do \
12976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12977 done; \
12978 echo "Doing distclean in mpc" ; \
12979 (cd $(HOST_SUBDIR)/mpc && \
12980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12982 "RANLIB=$${RANLIB}" \
12983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12984 distclean) \
12985 || exit 1
12987 @endif mpc
12989 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12990 maybe-maintainer-clean-mpc:
12991 @if mpc
12992 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12994 maintainer-clean-mpc:
12995 @[ -f ./mpc/Makefile ] || exit 0; \
12996 r=`${PWD_COMMAND}`; export r; \
12997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12998 $(HOST_EXPORTS) \
12999 for flag in $(EXTRA_HOST_FLAGS) ; do \
13000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13001 done; \
13002 echo "Doing maintainer-clean in mpc" ; \
13003 (cd $(HOST_SUBDIR)/mpc && \
13004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13006 "RANLIB=$${RANLIB}" \
13007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13008 maintainer-clean) \
13009 || exit 1
13011 @endif mpc
13015 .PHONY: configure-ppl maybe-configure-ppl
13016 maybe-configure-ppl:
13017 @if gcc-bootstrap
13018 configure-ppl: stage_current
13019 @endif gcc-bootstrap
13020 @if ppl
13021 maybe-configure-ppl: configure-ppl
13022 configure-ppl:
13023 @r=`${PWD_COMMAND}`; export r; \
13024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13025 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13027 $(HOST_EXPORTS) \
13028 echo Configuring in $(HOST_SUBDIR)/ppl; \
13029 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
13030 case $(srcdir) in \
13031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13032 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13034 esac; \
13035 srcdiroption="--srcdir=$${topdir}/ppl"; \
13036 libsrcdir="$$s/ppl"; \
13037 $(SHELL) $${libsrcdir}/configure \
13038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13039 --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
13040 || exit 1
13041 @endif ppl
13045 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
13046 maybe-configure-stage1-ppl:
13047 @if ppl-bootstrap
13048 maybe-configure-stage1-ppl: configure-stage1-ppl
13049 configure-stage1-ppl:
13050 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13052 @r=`${PWD_COMMAND}`; export r; \
13053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13054 TFLAGS="$(STAGE1_TFLAGS)"; \
13055 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13056 $(HOST_EXPORTS) \
13057 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13058 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13059 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13060 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
13061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13062 cd $(HOST_SUBDIR)/ppl || exit 1; \
13063 case $(srcdir) in \
13064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13065 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13067 esac; \
13068 srcdiroption="--srcdir=$${topdir}/ppl"; \
13069 libsrcdir="$$s/ppl"; \
13070 $(SHELL) $${libsrcdir}/configure \
13071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13072 --target=${target_alias} $${srcdiroption} \
13073 $(STAGE1_CONFIGURE_FLAGS) \
13074 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13075 @endif ppl-bootstrap
13077 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
13078 maybe-configure-stage2-ppl:
13079 @if ppl-bootstrap
13080 maybe-configure-stage2-ppl: configure-stage2-ppl
13081 configure-stage2-ppl:
13082 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13083 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13084 @r=`${PWD_COMMAND}`; export r; \
13085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13086 TFLAGS="$(STAGE2_TFLAGS)"; \
13087 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13088 $(HOST_EXPORTS) \
13089 $(POSTSTAGE1_HOST_EXPORTS) \
13090 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13091 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13092 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13093 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
13094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13095 cd $(HOST_SUBDIR)/ppl || exit 1; \
13096 case $(srcdir) in \
13097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13098 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13100 esac; \
13101 srcdiroption="--srcdir=$${topdir}/ppl"; \
13102 libsrcdir="$$s/ppl"; \
13103 $(SHELL) $${libsrcdir}/configure \
13104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13105 --target=${target_alias} $${srcdiroption} \
13106 --with-build-libsubdir=$(HOST_SUBDIR) \
13107 $(STAGE2_CONFIGURE_FLAGS) \
13108 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13109 @endif ppl-bootstrap
13111 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
13112 maybe-configure-stage3-ppl:
13113 @if ppl-bootstrap
13114 maybe-configure-stage3-ppl: configure-stage3-ppl
13115 configure-stage3-ppl:
13116 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13118 @r=`${PWD_COMMAND}`; export r; \
13119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13120 TFLAGS="$(STAGE3_TFLAGS)"; \
13121 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13122 $(HOST_EXPORTS) \
13123 $(POSTSTAGE1_HOST_EXPORTS) \
13124 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13125 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13126 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13127 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
13128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13129 cd $(HOST_SUBDIR)/ppl || exit 1; \
13130 case $(srcdir) in \
13131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13132 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13134 esac; \
13135 srcdiroption="--srcdir=$${topdir}/ppl"; \
13136 libsrcdir="$$s/ppl"; \
13137 $(SHELL) $${libsrcdir}/configure \
13138 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13139 --target=${target_alias} $${srcdiroption} \
13140 --with-build-libsubdir=$(HOST_SUBDIR) \
13141 $(STAGE3_CONFIGURE_FLAGS) \
13142 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13143 @endif ppl-bootstrap
13145 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
13146 maybe-configure-stage4-ppl:
13147 @if ppl-bootstrap
13148 maybe-configure-stage4-ppl: configure-stage4-ppl
13149 configure-stage4-ppl:
13150 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13151 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13152 @r=`${PWD_COMMAND}`; export r; \
13153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13154 TFLAGS="$(STAGE4_TFLAGS)"; \
13155 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13156 $(HOST_EXPORTS) \
13157 $(POSTSTAGE1_HOST_EXPORTS) \
13158 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13159 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13160 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13161 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
13162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13163 cd $(HOST_SUBDIR)/ppl || exit 1; \
13164 case $(srcdir) in \
13165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13166 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13168 esac; \
13169 srcdiroption="--srcdir=$${topdir}/ppl"; \
13170 libsrcdir="$$s/ppl"; \
13171 $(SHELL) $${libsrcdir}/configure \
13172 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13173 --target=${target_alias} $${srcdiroption} \
13174 --with-build-libsubdir=$(HOST_SUBDIR) \
13175 $(STAGE4_CONFIGURE_FLAGS) \
13176 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13177 @endif ppl-bootstrap
13179 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
13180 maybe-configure-stageprofile-ppl:
13181 @if ppl-bootstrap
13182 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
13183 configure-stageprofile-ppl:
13184 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13185 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13186 @r=`${PWD_COMMAND}`; export r; \
13187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13188 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13189 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13190 $(HOST_EXPORTS) \
13191 $(POSTSTAGE1_HOST_EXPORTS) \
13192 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13193 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13194 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13195 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
13196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13197 cd $(HOST_SUBDIR)/ppl || exit 1; \
13198 case $(srcdir) in \
13199 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13200 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13201 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13202 esac; \
13203 srcdiroption="--srcdir=$${topdir}/ppl"; \
13204 libsrcdir="$$s/ppl"; \
13205 $(SHELL) $${libsrcdir}/configure \
13206 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13207 --target=${target_alias} $${srcdiroption} \
13208 --with-build-libsubdir=$(HOST_SUBDIR) \
13209 $(STAGEprofile_CONFIGURE_FLAGS) \
13210 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13211 @endif ppl-bootstrap
13213 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
13214 maybe-configure-stagefeedback-ppl:
13215 @if ppl-bootstrap
13216 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
13217 configure-stagefeedback-ppl:
13218 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13219 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13220 @r=`${PWD_COMMAND}`; export r; \
13221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13222 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13223 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13224 $(HOST_EXPORTS) \
13225 $(POSTSTAGE1_HOST_EXPORTS) \
13226 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13227 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13228 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13229 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
13230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13231 cd $(HOST_SUBDIR)/ppl || exit 1; \
13232 case $(srcdir) in \
13233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13234 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13236 esac; \
13237 srcdiroption="--srcdir=$${topdir}/ppl"; \
13238 libsrcdir="$$s/ppl"; \
13239 $(SHELL) $${libsrcdir}/configure \
13240 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13241 --target=${target_alias} $${srcdiroption} \
13242 --with-build-libsubdir=$(HOST_SUBDIR) \
13243 $(STAGEfeedback_CONFIGURE_FLAGS) \
13244 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13245 @endif ppl-bootstrap
13251 .PHONY: all-ppl maybe-all-ppl
13252 maybe-all-ppl:
13253 @if gcc-bootstrap
13254 all-ppl: stage_current
13255 @endif gcc-bootstrap
13256 @if ppl
13257 TARGET-ppl=all
13258 maybe-all-ppl: all-ppl
13259 all-ppl: configure-ppl
13260 @r=`${PWD_COMMAND}`; export r; \
13261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13262 $(HOST_EXPORTS) \
13263 (cd $(HOST_SUBDIR)/ppl && \
13264 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13265 $(TARGET-ppl))
13266 @endif ppl
13270 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
13271 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
13272 maybe-all-stage1-ppl:
13273 maybe-clean-stage1-ppl:
13274 @if ppl-bootstrap
13275 maybe-all-stage1-ppl: all-stage1-ppl
13276 all-stage1: all-stage1-ppl
13277 TARGET-stage1-ppl = $(TARGET-ppl)
13278 all-stage1-ppl: configure-stage1-ppl
13279 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13280 @r=`${PWD_COMMAND}`; export r; \
13281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13282 TFLAGS="$(STAGE1_TFLAGS)"; \
13283 $(HOST_EXPORTS) \
13284 cd $(HOST_SUBDIR)/ppl && \
13285 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13286 CFLAGS="$(STAGE1_CFLAGS)" \
13287 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13288 LIBCFLAGS="$(LIBCFLAGS)" \
13289 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13290 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13291 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13292 $(EXTRA_HOST_FLAGS) \
13293 TFLAGS="$(STAGE1_TFLAGS)" \
13294 $(TARGET-stage1-ppl)
13296 maybe-clean-stage1-ppl: clean-stage1-ppl
13297 clean-stage1: clean-stage1-ppl
13298 clean-stage1-ppl:
13299 @if [ $(current_stage) = stage1 ]; then \
13300 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13301 else \
13302 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
13303 $(MAKE) stage1-start; \
13304 fi; \
13305 cd $(HOST_SUBDIR)/ppl && \
13306 $(MAKE) $(EXTRA_HOST_FLAGS) \
13307 clean
13308 @endif ppl-bootstrap
13311 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
13312 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
13313 maybe-all-stage2-ppl:
13314 maybe-clean-stage2-ppl:
13315 @if ppl-bootstrap
13316 maybe-all-stage2-ppl: all-stage2-ppl
13317 all-stage2: all-stage2-ppl
13318 TARGET-stage2-ppl = $(TARGET-ppl)
13319 all-stage2-ppl: configure-stage2-ppl
13320 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13321 @r=`${PWD_COMMAND}`; export r; \
13322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13323 TFLAGS="$(STAGE2_TFLAGS)"; \
13324 $(HOST_EXPORTS) \
13325 $(POSTSTAGE1_HOST_EXPORTS) \
13326 cd $(HOST_SUBDIR)/ppl && \
13327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13328 CFLAGS="$(STAGE2_CFLAGS)" \
13329 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13330 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13331 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13332 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13333 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13334 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13335 TFLAGS="$(STAGE2_TFLAGS)" \
13336 $(TARGET-stage2-ppl)
13338 maybe-clean-stage2-ppl: clean-stage2-ppl
13339 clean-stage2: clean-stage2-ppl
13340 clean-stage2-ppl:
13341 @if [ $(current_stage) = stage2 ]; then \
13342 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13343 else \
13344 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
13345 $(MAKE) stage2-start; \
13346 fi; \
13347 cd $(HOST_SUBDIR)/ppl && \
13348 $(MAKE) $(EXTRA_HOST_FLAGS) \
13349 $(POSTSTAGE1_FLAGS_TO_PASS) \
13350 clean
13351 @endif ppl-bootstrap
13354 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
13355 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
13356 maybe-all-stage3-ppl:
13357 maybe-clean-stage3-ppl:
13358 @if ppl-bootstrap
13359 maybe-all-stage3-ppl: all-stage3-ppl
13360 all-stage3: all-stage3-ppl
13361 TARGET-stage3-ppl = $(TARGET-ppl)
13362 all-stage3-ppl: configure-stage3-ppl
13363 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13364 @r=`${PWD_COMMAND}`; export r; \
13365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13366 TFLAGS="$(STAGE3_TFLAGS)"; \
13367 $(HOST_EXPORTS) \
13368 $(POSTSTAGE1_HOST_EXPORTS) \
13369 cd $(HOST_SUBDIR)/ppl && \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13371 CFLAGS="$(STAGE3_CFLAGS)" \
13372 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13373 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13374 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13375 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13376 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13377 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13378 TFLAGS="$(STAGE3_TFLAGS)" \
13379 $(TARGET-stage3-ppl)
13381 maybe-clean-stage3-ppl: clean-stage3-ppl
13382 clean-stage3: clean-stage3-ppl
13383 clean-stage3-ppl:
13384 @if [ $(current_stage) = stage3 ]; then \
13385 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13386 else \
13387 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
13388 $(MAKE) stage3-start; \
13389 fi; \
13390 cd $(HOST_SUBDIR)/ppl && \
13391 $(MAKE) $(EXTRA_HOST_FLAGS) \
13392 $(POSTSTAGE1_FLAGS_TO_PASS) \
13393 clean
13394 @endif ppl-bootstrap
13397 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
13398 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
13399 maybe-all-stage4-ppl:
13400 maybe-clean-stage4-ppl:
13401 @if ppl-bootstrap
13402 maybe-all-stage4-ppl: all-stage4-ppl
13403 all-stage4: all-stage4-ppl
13404 TARGET-stage4-ppl = $(TARGET-ppl)
13405 all-stage4-ppl: configure-stage4-ppl
13406 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13407 @r=`${PWD_COMMAND}`; export r; \
13408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13409 TFLAGS="$(STAGE4_TFLAGS)"; \
13410 $(HOST_EXPORTS) \
13411 $(POSTSTAGE1_HOST_EXPORTS) \
13412 cd $(HOST_SUBDIR)/ppl && \
13413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13414 CFLAGS="$(STAGE4_CFLAGS)" \
13415 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13416 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13420 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13421 TFLAGS="$(STAGE4_TFLAGS)" \
13422 $(TARGET-stage4-ppl)
13424 maybe-clean-stage4-ppl: clean-stage4-ppl
13425 clean-stage4: clean-stage4-ppl
13426 clean-stage4-ppl:
13427 @if [ $(current_stage) = stage4 ]; then \
13428 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13429 else \
13430 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
13431 $(MAKE) stage4-start; \
13432 fi; \
13433 cd $(HOST_SUBDIR)/ppl && \
13434 $(MAKE) $(EXTRA_HOST_FLAGS) \
13435 $(POSTSTAGE1_FLAGS_TO_PASS) \
13436 clean
13437 @endif ppl-bootstrap
13440 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
13441 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
13442 maybe-all-stageprofile-ppl:
13443 maybe-clean-stageprofile-ppl:
13444 @if ppl-bootstrap
13445 maybe-all-stageprofile-ppl: all-stageprofile-ppl
13446 all-stageprofile: all-stageprofile-ppl
13447 TARGET-stageprofile-ppl = $(TARGET-ppl)
13448 all-stageprofile-ppl: configure-stageprofile-ppl
13449 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13450 @r=`${PWD_COMMAND}`; export r; \
13451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13453 $(HOST_EXPORTS) \
13454 $(POSTSTAGE1_HOST_EXPORTS) \
13455 cd $(HOST_SUBDIR)/ppl && \
13456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13457 CFLAGS="$(STAGEprofile_CFLAGS)" \
13458 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13459 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13464 TFLAGS="$(STAGEprofile_TFLAGS)" \
13465 $(TARGET-stageprofile-ppl)
13467 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
13468 clean-stageprofile: clean-stageprofile-ppl
13469 clean-stageprofile-ppl:
13470 @if [ $(current_stage) = stageprofile ]; then \
13471 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13472 else \
13473 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
13474 $(MAKE) stageprofile-start; \
13475 fi; \
13476 cd $(HOST_SUBDIR)/ppl && \
13477 $(MAKE) $(EXTRA_HOST_FLAGS) \
13478 $(POSTSTAGE1_FLAGS_TO_PASS) \
13479 clean
13480 @endif ppl-bootstrap
13483 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
13484 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
13485 maybe-all-stagefeedback-ppl:
13486 maybe-clean-stagefeedback-ppl:
13487 @if ppl-bootstrap
13488 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
13489 all-stagefeedback: all-stagefeedback-ppl
13490 TARGET-stagefeedback-ppl = $(TARGET-ppl)
13491 all-stagefeedback-ppl: configure-stagefeedback-ppl
13492 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13493 @r=`${PWD_COMMAND}`; export r; \
13494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13495 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13496 $(HOST_EXPORTS) \
13497 $(POSTSTAGE1_HOST_EXPORTS) \
13498 cd $(HOST_SUBDIR)/ppl && \
13499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13500 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13501 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13502 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13503 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13504 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13505 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13506 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13507 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13508 $(TARGET-stagefeedback-ppl)
13510 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
13511 clean-stagefeedback: clean-stagefeedback-ppl
13512 clean-stagefeedback-ppl:
13513 @if [ $(current_stage) = stagefeedback ]; then \
13514 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13515 else \
13516 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
13517 $(MAKE) stagefeedback-start; \
13518 fi; \
13519 cd $(HOST_SUBDIR)/ppl && \
13520 $(MAKE) $(EXTRA_HOST_FLAGS) \
13521 $(POSTSTAGE1_FLAGS_TO_PASS) \
13522 clean
13523 @endif ppl-bootstrap
13529 .PHONY: check-ppl maybe-check-ppl
13530 maybe-check-ppl:
13531 @if ppl
13532 maybe-check-ppl: check-ppl
13534 check-ppl:
13535 @: $(MAKE); $(unstage)
13536 @r=`${PWD_COMMAND}`; export r; \
13537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13538 $(HOST_EXPORTS) \
13539 (cd $(HOST_SUBDIR)/ppl && \
13540 $(MAKE) $(FLAGS_TO_PASS) check)
13542 @endif ppl
13544 .PHONY: install-ppl maybe-install-ppl
13545 maybe-install-ppl:
13546 @if ppl
13547 maybe-install-ppl: install-ppl
13549 install-ppl:
13551 @endif ppl
13553 .PHONY: install-strip-ppl maybe-install-strip-ppl
13554 maybe-install-strip-ppl:
13555 @if ppl
13556 maybe-install-strip-ppl: install-strip-ppl
13558 install-strip-ppl:
13560 @endif ppl
13562 # Other targets (info, dvi, pdf, etc.)
13564 .PHONY: maybe-info-ppl info-ppl
13565 maybe-info-ppl:
13566 @if ppl
13567 maybe-info-ppl: info-ppl
13569 info-ppl: \
13570 configure-ppl
13571 @[ -f ./ppl/Makefile ] || exit 0; \
13572 r=`${PWD_COMMAND}`; export r; \
13573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13574 $(HOST_EXPORTS) \
13575 for flag in $(EXTRA_HOST_FLAGS) ; do \
13576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13577 done; \
13578 echo "Doing info in ppl" ; \
13579 (cd $(HOST_SUBDIR)/ppl && \
13580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13582 "RANLIB=$${RANLIB}" \
13583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13584 info) \
13585 || exit 1
13587 @endif ppl
13589 .PHONY: maybe-dvi-ppl dvi-ppl
13590 maybe-dvi-ppl:
13591 @if ppl
13592 maybe-dvi-ppl: dvi-ppl
13594 dvi-ppl: \
13595 configure-ppl
13596 @[ -f ./ppl/Makefile ] || exit 0; \
13597 r=`${PWD_COMMAND}`; export r; \
13598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13599 $(HOST_EXPORTS) \
13600 for flag in $(EXTRA_HOST_FLAGS) ; do \
13601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13602 done; \
13603 echo "Doing dvi in ppl" ; \
13604 (cd $(HOST_SUBDIR)/ppl && \
13605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13607 "RANLIB=$${RANLIB}" \
13608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13609 dvi) \
13610 || exit 1
13612 @endif ppl
13614 .PHONY: maybe-pdf-ppl pdf-ppl
13615 maybe-pdf-ppl:
13616 @if ppl
13617 maybe-pdf-ppl: pdf-ppl
13619 pdf-ppl: \
13620 configure-ppl
13621 @[ -f ./ppl/Makefile ] || exit 0; \
13622 r=`${PWD_COMMAND}`; export r; \
13623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13624 $(HOST_EXPORTS) \
13625 for flag in $(EXTRA_HOST_FLAGS) ; do \
13626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13627 done; \
13628 echo "Doing pdf in ppl" ; \
13629 (cd $(HOST_SUBDIR)/ppl && \
13630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13632 "RANLIB=$${RANLIB}" \
13633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13634 pdf) \
13635 || exit 1
13637 @endif ppl
13639 .PHONY: maybe-html-ppl html-ppl
13640 maybe-html-ppl:
13641 @if ppl
13642 maybe-html-ppl: html-ppl
13644 html-ppl: \
13645 configure-ppl
13646 @[ -f ./ppl/Makefile ] || exit 0; \
13647 r=`${PWD_COMMAND}`; export r; \
13648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13649 $(HOST_EXPORTS) \
13650 for flag in $(EXTRA_HOST_FLAGS) ; do \
13651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13652 done; \
13653 echo "Doing html in ppl" ; \
13654 (cd $(HOST_SUBDIR)/ppl && \
13655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13657 "RANLIB=$${RANLIB}" \
13658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13659 html) \
13660 || exit 1
13662 @endif ppl
13664 .PHONY: maybe-TAGS-ppl TAGS-ppl
13665 maybe-TAGS-ppl:
13666 @if ppl
13667 maybe-TAGS-ppl: TAGS-ppl
13669 TAGS-ppl: \
13670 configure-ppl
13671 @[ -f ./ppl/Makefile ] || exit 0; \
13672 r=`${PWD_COMMAND}`; export r; \
13673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13674 $(HOST_EXPORTS) \
13675 for flag in $(EXTRA_HOST_FLAGS) ; do \
13676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13677 done; \
13678 echo "Doing TAGS in ppl" ; \
13679 (cd $(HOST_SUBDIR)/ppl && \
13680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13682 "RANLIB=$${RANLIB}" \
13683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13684 TAGS) \
13685 || exit 1
13687 @endif ppl
13689 .PHONY: maybe-install-info-ppl install-info-ppl
13690 maybe-install-info-ppl:
13691 @if ppl
13692 maybe-install-info-ppl: install-info-ppl
13694 install-info-ppl: \
13695 configure-ppl \
13696 info-ppl
13697 @[ -f ./ppl/Makefile ] || exit 0; \
13698 r=`${PWD_COMMAND}`; export r; \
13699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13700 $(HOST_EXPORTS) \
13701 for flag in $(EXTRA_HOST_FLAGS) ; do \
13702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13703 done; \
13704 echo "Doing install-info in ppl" ; \
13705 (cd $(HOST_SUBDIR)/ppl && \
13706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13708 "RANLIB=$${RANLIB}" \
13709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13710 install-info) \
13711 || exit 1
13713 @endif ppl
13715 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
13716 maybe-install-pdf-ppl:
13717 @if ppl
13718 maybe-install-pdf-ppl: install-pdf-ppl
13720 install-pdf-ppl: \
13721 configure-ppl \
13722 pdf-ppl
13723 @[ -f ./ppl/Makefile ] || exit 0; \
13724 r=`${PWD_COMMAND}`; export r; \
13725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13726 $(HOST_EXPORTS) \
13727 for flag in $(EXTRA_HOST_FLAGS) ; do \
13728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13729 done; \
13730 echo "Doing install-pdf in ppl" ; \
13731 (cd $(HOST_SUBDIR)/ppl && \
13732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13734 "RANLIB=$${RANLIB}" \
13735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13736 install-pdf) \
13737 || exit 1
13739 @endif ppl
13741 .PHONY: maybe-install-html-ppl install-html-ppl
13742 maybe-install-html-ppl:
13743 @if ppl
13744 maybe-install-html-ppl: install-html-ppl
13746 install-html-ppl: \
13747 configure-ppl \
13748 html-ppl
13749 @[ -f ./ppl/Makefile ] || exit 0; \
13750 r=`${PWD_COMMAND}`; export r; \
13751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13752 $(HOST_EXPORTS) \
13753 for flag in $(EXTRA_HOST_FLAGS) ; do \
13754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13755 done; \
13756 echo "Doing install-html in ppl" ; \
13757 (cd $(HOST_SUBDIR)/ppl && \
13758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13760 "RANLIB=$${RANLIB}" \
13761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13762 install-html) \
13763 || exit 1
13765 @endif ppl
13767 .PHONY: maybe-installcheck-ppl installcheck-ppl
13768 maybe-installcheck-ppl:
13769 @if ppl
13770 maybe-installcheck-ppl: installcheck-ppl
13772 installcheck-ppl: \
13773 configure-ppl
13774 @[ -f ./ppl/Makefile ] || exit 0; \
13775 r=`${PWD_COMMAND}`; export r; \
13776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13777 $(HOST_EXPORTS) \
13778 for flag in $(EXTRA_HOST_FLAGS) ; do \
13779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13780 done; \
13781 echo "Doing installcheck in ppl" ; \
13782 (cd $(HOST_SUBDIR)/ppl && \
13783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13785 "RANLIB=$${RANLIB}" \
13786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13787 installcheck) \
13788 || exit 1
13790 @endif ppl
13792 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
13793 maybe-mostlyclean-ppl:
13794 @if ppl
13795 maybe-mostlyclean-ppl: mostlyclean-ppl
13797 mostlyclean-ppl:
13798 @[ -f ./ppl/Makefile ] || exit 0; \
13799 r=`${PWD_COMMAND}`; export r; \
13800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13801 $(HOST_EXPORTS) \
13802 for flag in $(EXTRA_HOST_FLAGS) ; do \
13803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13804 done; \
13805 echo "Doing mostlyclean in ppl" ; \
13806 (cd $(HOST_SUBDIR)/ppl && \
13807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13809 "RANLIB=$${RANLIB}" \
13810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13811 mostlyclean) \
13812 || exit 1
13814 @endif ppl
13816 .PHONY: maybe-clean-ppl clean-ppl
13817 maybe-clean-ppl:
13818 @if ppl
13819 maybe-clean-ppl: clean-ppl
13821 clean-ppl:
13822 @[ -f ./ppl/Makefile ] || exit 0; \
13823 r=`${PWD_COMMAND}`; export r; \
13824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13825 $(HOST_EXPORTS) \
13826 for flag in $(EXTRA_HOST_FLAGS) ; do \
13827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13828 done; \
13829 echo "Doing clean in ppl" ; \
13830 (cd $(HOST_SUBDIR)/ppl && \
13831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13833 "RANLIB=$${RANLIB}" \
13834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13835 clean) \
13836 || exit 1
13838 @endif ppl
13840 .PHONY: maybe-distclean-ppl distclean-ppl
13841 maybe-distclean-ppl:
13842 @if ppl
13843 maybe-distclean-ppl: distclean-ppl
13845 distclean-ppl:
13846 @[ -f ./ppl/Makefile ] || exit 0; \
13847 r=`${PWD_COMMAND}`; export r; \
13848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13849 $(HOST_EXPORTS) \
13850 for flag in $(EXTRA_HOST_FLAGS) ; do \
13851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13852 done; \
13853 echo "Doing distclean in ppl" ; \
13854 (cd $(HOST_SUBDIR)/ppl && \
13855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13857 "RANLIB=$${RANLIB}" \
13858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13859 distclean) \
13860 || exit 1
13862 @endif ppl
13864 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
13865 maybe-maintainer-clean-ppl:
13866 @if ppl
13867 maybe-maintainer-clean-ppl: maintainer-clean-ppl
13869 maintainer-clean-ppl:
13870 @[ -f ./ppl/Makefile ] || exit 0; \
13871 r=`${PWD_COMMAND}`; export r; \
13872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13873 $(HOST_EXPORTS) \
13874 for flag in $(EXTRA_HOST_FLAGS) ; do \
13875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13876 done; \
13877 echo "Doing maintainer-clean in ppl" ; \
13878 (cd $(HOST_SUBDIR)/ppl && \
13879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13881 "RANLIB=$${RANLIB}" \
13882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13883 maintainer-clean) \
13884 || exit 1
13886 @endif ppl
13890 .PHONY: configure-cloog maybe-configure-cloog
13891 maybe-configure-cloog:
13892 @if gcc-bootstrap
13893 configure-cloog: stage_current
13894 @endif gcc-bootstrap
13895 @if cloog
13896 maybe-configure-cloog: configure-cloog
13897 configure-cloog:
13898 @r=`${PWD_COMMAND}`; export r; \
13899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13900 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13902 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13903 echo Configuring in $(HOST_SUBDIR)/cloog; \
13904 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13905 case $(srcdir) in \
13906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13907 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13909 esac; \
13910 srcdiroption="--srcdir=$${topdir}/cloog"; \
13911 libsrcdir="$$s/cloog"; \
13912 $(SHELL) $${libsrcdir}/configure \
13913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13914 --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 \
13915 || exit 1
13916 @endif cloog
13920 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13921 maybe-configure-stage1-cloog:
13922 @if cloog-bootstrap
13923 maybe-configure-stage1-cloog: configure-stage1-cloog
13924 configure-stage1-cloog:
13925 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13927 @r=`${PWD_COMMAND}`; export r; \
13928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13929 TFLAGS="$(STAGE1_TFLAGS)"; \
13930 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13931 $(HOST_EXPORTS) \
13932 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13933 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13934 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13935 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13937 cd $(HOST_SUBDIR)/cloog || exit 1; \
13938 case $(srcdir) in \
13939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13940 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13942 esac; \
13943 srcdiroption="--srcdir=$${topdir}/cloog"; \
13944 libsrcdir="$$s/cloog"; \
13945 $(SHELL) $${libsrcdir}/configure \
13946 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13947 --target=${target_alias} $${srcdiroption} \
13948 $(STAGE1_CONFIGURE_FLAGS) \
13949 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13950 @endif cloog-bootstrap
13952 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13953 maybe-configure-stage2-cloog:
13954 @if cloog-bootstrap
13955 maybe-configure-stage2-cloog: configure-stage2-cloog
13956 configure-stage2-cloog:
13957 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13958 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13959 @r=`${PWD_COMMAND}`; export r; \
13960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13961 TFLAGS="$(STAGE2_TFLAGS)"; \
13962 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13963 $(HOST_EXPORTS) \
13964 $(POSTSTAGE1_HOST_EXPORTS) \
13965 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13966 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13967 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13968 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13970 cd $(HOST_SUBDIR)/cloog || exit 1; \
13971 case $(srcdir) in \
13972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13973 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13975 esac; \
13976 srcdiroption="--srcdir=$${topdir}/cloog"; \
13977 libsrcdir="$$s/cloog"; \
13978 $(SHELL) $${libsrcdir}/configure \
13979 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13980 --target=${target_alias} $${srcdiroption} \
13981 --with-build-libsubdir=$(HOST_SUBDIR) \
13982 $(STAGE2_CONFIGURE_FLAGS) \
13983 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13984 @endif cloog-bootstrap
13986 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13987 maybe-configure-stage3-cloog:
13988 @if cloog-bootstrap
13989 maybe-configure-stage3-cloog: configure-stage3-cloog
13990 configure-stage3-cloog:
13991 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13993 @r=`${PWD_COMMAND}`; export r; \
13994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13995 TFLAGS="$(STAGE3_TFLAGS)"; \
13996 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13997 $(HOST_EXPORTS) \
13998 $(POSTSTAGE1_HOST_EXPORTS) \
13999 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14000 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14001 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14002 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
14003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14004 cd $(HOST_SUBDIR)/cloog || exit 1; \
14005 case $(srcdir) in \
14006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14007 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14009 esac; \
14010 srcdiroption="--srcdir=$${topdir}/cloog"; \
14011 libsrcdir="$$s/cloog"; \
14012 $(SHELL) $${libsrcdir}/configure \
14013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14014 --target=${target_alias} $${srcdiroption} \
14015 --with-build-libsubdir=$(HOST_SUBDIR) \
14016 $(STAGE3_CONFIGURE_FLAGS) \
14017 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14018 @endif cloog-bootstrap
14020 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14021 maybe-configure-stage4-cloog:
14022 @if cloog-bootstrap
14023 maybe-configure-stage4-cloog: configure-stage4-cloog
14024 configure-stage4-cloog:
14025 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14026 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14027 @r=`${PWD_COMMAND}`; export r; \
14028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14029 TFLAGS="$(STAGE4_TFLAGS)"; \
14030 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14031 $(HOST_EXPORTS) \
14032 $(POSTSTAGE1_HOST_EXPORTS) \
14033 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14034 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14035 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14036 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14038 cd $(HOST_SUBDIR)/cloog || exit 1; \
14039 case $(srcdir) in \
14040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14041 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14043 esac; \
14044 srcdiroption="--srcdir=$${topdir}/cloog"; \
14045 libsrcdir="$$s/cloog"; \
14046 $(SHELL) $${libsrcdir}/configure \
14047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14048 --target=${target_alias} $${srcdiroption} \
14049 --with-build-libsubdir=$(HOST_SUBDIR) \
14050 $(STAGE4_CONFIGURE_FLAGS) \
14051 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14052 @endif cloog-bootstrap
14054 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14055 maybe-configure-stageprofile-cloog:
14056 @if cloog-bootstrap
14057 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14058 configure-stageprofile-cloog:
14059 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14061 @r=`${PWD_COMMAND}`; export r; \
14062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14063 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14064 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14065 $(HOST_EXPORTS) \
14066 $(POSTSTAGE1_HOST_EXPORTS) \
14067 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14068 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14069 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14070 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14072 cd $(HOST_SUBDIR)/cloog || exit 1; \
14073 case $(srcdir) in \
14074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14075 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14077 esac; \
14078 srcdiroption="--srcdir=$${topdir}/cloog"; \
14079 libsrcdir="$$s/cloog"; \
14080 $(SHELL) $${libsrcdir}/configure \
14081 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14082 --target=${target_alias} $${srcdiroption} \
14083 --with-build-libsubdir=$(HOST_SUBDIR) \
14084 $(STAGEprofile_CONFIGURE_FLAGS) \
14085 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14086 @endif cloog-bootstrap
14088 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14089 maybe-configure-stagefeedback-cloog:
14090 @if cloog-bootstrap
14091 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14092 configure-stagefeedback-cloog:
14093 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14095 @r=`${PWD_COMMAND}`; export r; \
14096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14098 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14099 $(HOST_EXPORTS) \
14100 $(POSTSTAGE1_HOST_EXPORTS) \
14101 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14102 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14103 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14104 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14106 cd $(HOST_SUBDIR)/cloog || exit 1; \
14107 case $(srcdir) in \
14108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14109 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14111 esac; \
14112 srcdiroption="--srcdir=$${topdir}/cloog"; \
14113 libsrcdir="$$s/cloog"; \
14114 $(SHELL) $${libsrcdir}/configure \
14115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14116 --target=${target_alias} $${srcdiroption} \
14117 --with-build-libsubdir=$(HOST_SUBDIR) \
14118 $(STAGEfeedback_CONFIGURE_FLAGS) \
14119 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14120 @endif cloog-bootstrap
14126 .PHONY: all-cloog maybe-all-cloog
14127 maybe-all-cloog:
14128 @if gcc-bootstrap
14129 all-cloog: stage_current
14130 @endif gcc-bootstrap
14131 @if cloog
14132 TARGET-cloog=all
14133 maybe-all-cloog: all-cloog
14134 all-cloog: configure-cloog
14135 @r=`${PWD_COMMAND}`; export r; \
14136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14137 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14138 (cd $(HOST_SUBDIR)/cloog && \
14139 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14140 $(TARGET-cloog))
14141 @endif cloog
14145 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14146 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14147 maybe-all-stage1-cloog:
14148 maybe-clean-stage1-cloog:
14149 @if cloog-bootstrap
14150 maybe-all-stage1-cloog: all-stage1-cloog
14151 all-stage1: all-stage1-cloog
14152 TARGET-stage1-cloog = $(TARGET-cloog)
14153 all-stage1-cloog: configure-stage1-cloog
14154 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14155 @r=`${PWD_COMMAND}`; export r; \
14156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14157 TFLAGS="$(STAGE1_TFLAGS)"; \
14158 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14159 cd $(HOST_SUBDIR)/cloog && \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14161 CFLAGS="$(STAGE1_CFLAGS)" \
14162 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14163 LIBCFLAGS="$(LIBCFLAGS)" \
14164 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14165 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14166 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14167 $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14168 TFLAGS="$(STAGE1_TFLAGS)" \
14169 $(TARGET-stage1-cloog)
14171 maybe-clean-stage1-cloog: clean-stage1-cloog
14172 clean-stage1: clean-stage1-cloog
14173 clean-stage1-cloog:
14174 @if [ $(current_stage) = stage1 ]; then \
14175 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14176 else \
14177 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14178 $(MAKE) stage1-start; \
14179 fi; \
14180 cd $(HOST_SUBDIR)/cloog && \
14181 $(MAKE) $(EXTRA_HOST_FLAGS) \
14182 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14183 @endif cloog-bootstrap
14186 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14187 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14188 maybe-all-stage2-cloog:
14189 maybe-clean-stage2-cloog:
14190 @if cloog-bootstrap
14191 maybe-all-stage2-cloog: all-stage2-cloog
14192 all-stage2: all-stage2-cloog
14193 TARGET-stage2-cloog = $(TARGET-cloog)
14194 all-stage2-cloog: configure-stage2-cloog
14195 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14196 @r=`${PWD_COMMAND}`; export r; \
14197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14198 TFLAGS="$(STAGE2_TFLAGS)"; \
14199 $(HOST_EXPORTS) \
14200 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14201 cd $(HOST_SUBDIR)/cloog && \
14202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14203 CFLAGS="$(STAGE2_CFLAGS)" \
14204 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14205 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14210 TFLAGS="$(STAGE2_TFLAGS)" \
14211 $(TARGET-stage2-cloog)
14213 maybe-clean-stage2-cloog: clean-stage2-cloog
14214 clean-stage2: clean-stage2-cloog
14215 clean-stage2-cloog:
14216 @if [ $(current_stage) = stage2 ]; then \
14217 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14218 else \
14219 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14220 $(MAKE) stage2-start; \
14221 fi; \
14222 cd $(HOST_SUBDIR)/cloog && \
14223 $(MAKE) $(EXTRA_HOST_FLAGS) \
14224 $(POSTSTAGE1_FLAGS_TO_PASS) \
14225 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14226 @endif cloog-bootstrap
14229 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14230 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14231 maybe-all-stage3-cloog:
14232 maybe-clean-stage3-cloog:
14233 @if cloog-bootstrap
14234 maybe-all-stage3-cloog: all-stage3-cloog
14235 all-stage3: all-stage3-cloog
14236 TARGET-stage3-cloog = $(TARGET-cloog)
14237 all-stage3-cloog: configure-stage3-cloog
14238 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14239 @r=`${PWD_COMMAND}`; export r; \
14240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14241 TFLAGS="$(STAGE3_TFLAGS)"; \
14242 $(HOST_EXPORTS) \
14243 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14244 cd $(HOST_SUBDIR)/cloog && \
14245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14246 CFLAGS="$(STAGE3_CFLAGS)" \
14247 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14248 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14249 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14250 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14251 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14252 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14253 TFLAGS="$(STAGE3_TFLAGS)" \
14254 $(TARGET-stage3-cloog)
14256 maybe-clean-stage3-cloog: clean-stage3-cloog
14257 clean-stage3: clean-stage3-cloog
14258 clean-stage3-cloog:
14259 @if [ $(current_stage) = stage3 ]; then \
14260 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14261 else \
14262 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14263 $(MAKE) stage3-start; \
14264 fi; \
14265 cd $(HOST_SUBDIR)/cloog && \
14266 $(MAKE) $(EXTRA_HOST_FLAGS) \
14267 $(POSTSTAGE1_FLAGS_TO_PASS) \
14268 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14269 @endif cloog-bootstrap
14272 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14273 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14274 maybe-all-stage4-cloog:
14275 maybe-clean-stage4-cloog:
14276 @if cloog-bootstrap
14277 maybe-all-stage4-cloog: all-stage4-cloog
14278 all-stage4: all-stage4-cloog
14279 TARGET-stage4-cloog = $(TARGET-cloog)
14280 all-stage4-cloog: configure-stage4-cloog
14281 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14282 @r=`${PWD_COMMAND}`; export r; \
14283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14284 TFLAGS="$(STAGE4_TFLAGS)"; \
14285 $(HOST_EXPORTS) \
14286 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14287 cd $(HOST_SUBDIR)/cloog && \
14288 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14289 CFLAGS="$(STAGE4_CFLAGS)" \
14290 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14291 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14292 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14293 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14294 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14295 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14296 TFLAGS="$(STAGE4_TFLAGS)" \
14297 $(TARGET-stage4-cloog)
14299 maybe-clean-stage4-cloog: clean-stage4-cloog
14300 clean-stage4: clean-stage4-cloog
14301 clean-stage4-cloog:
14302 @if [ $(current_stage) = stage4 ]; then \
14303 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14304 else \
14305 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14306 $(MAKE) stage4-start; \
14307 fi; \
14308 cd $(HOST_SUBDIR)/cloog && \
14309 $(MAKE) $(EXTRA_HOST_FLAGS) \
14310 $(POSTSTAGE1_FLAGS_TO_PASS) \
14311 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14312 @endif cloog-bootstrap
14315 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14316 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14317 maybe-all-stageprofile-cloog:
14318 maybe-clean-stageprofile-cloog:
14319 @if cloog-bootstrap
14320 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14321 all-stageprofile: all-stageprofile-cloog
14322 TARGET-stageprofile-cloog = $(TARGET-cloog)
14323 all-stageprofile-cloog: configure-stageprofile-cloog
14324 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14325 @r=`${PWD_COMMAND}`; export r; \
14326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14327 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14328 $(HOST_EXPORTS) \
14329 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14330 cd $(HOST_SUBDIR)/cloog && \
14331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14332 CFLAGS="$(STAGEprofile_CFLAGS)" \
14333 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14334 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14338 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14339 TFLAGS="$(STAGEprofile_TFLAGS)" \
14340 $(TARGET-stageprofile-cloog)
14342 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14343 clean-stageprofile: clean-stageprofile-cloog
14344 clean-stageprofile-cloog:
14345 @if [ $(current_stage) = stageprofile ]; then \
14346 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14347 else \
14348 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14349 $(MAKE) stageprofile-start; \
14350 fi; \
14351 cd $(HOST_SUBDIR)/cloog && \
14352 $(MAKE) $(EXTRA_HOST_FLAGS) \
14353 $(POSTSTAGE1_FLAGS_TO_PASS) \
14354 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14355 @endif cloog-bootstrap
14358 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14359 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14360 maybe-all-stagefeedback-cloog:
14361 maybe-clean-stagefeedback-cloog:
14362 @if cloog-bootstrap
14363 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14364 all-stagefeedback: all-stagefeedback-cloog
14365 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14366 all-stagefeedback-cloog: configure-stagefeedback-cloog
14367 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14368 @r=`${PWD_COMMAND}`; export r; \
14369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14370 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14371 $(HOST_EXPORTS) \
14372 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14373 cd $(HOST_SUBDIR)/cloog && \
14374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14375 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14376 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14377 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14378 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14379 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14380 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14381 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14382 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14383 $(TARGET-stagefeedback-cloog)
14385 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14386 clean-stagefeedback: clean-stagefeedback-cloog
14387 clean-stagefeedback-cloog:
14388 @if [ $(current_stage) = stagefeedback ]; then \
14389 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14390 else \
14391 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14392 $(MAKE) stagefeedback-start; \
14393 fi; \
14394 cd $(HOST_SUBDIR)/cloog && \
14395 $(MAKE) $(EXTRA_HOST_FLAGS) \
14396 $(POSTSTAGE1_FLAGS_TO_PASS) \
14397 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14398 @endif cloog-bootstrap
14404 .PHONY: check-cloog maybe-check-cloog
14405 maybe-check-cloog:
14406 @if cloog
14407 maybe-check-cloog: check-cloog
14409 check-cloog:
14410 @: $(MAKE); $(unstage)
14411 @r=`${PWD_COMMAND}`; export r; \
14412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14413 $(HOST_EXPORTS) \
14414 (cd $(HOST_SUBDIR)/cloog && \
14415 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
14417 @endif cloog
14419 .PHONY: install-cloog maybe-install-cloog
14420 maybe-install-cloog:
14421 @if cloog
14422 maybe-install-cloog: install-cloog
14424 install-cloog:
14426 @endif cloog
14428 .PHONY: install-strip-cloog maybe-install-strip-cloog
14429 maybe-install-strip-cloog:
14430 @if cloog
14431 maybe-install-strip-cloog: install-strip-cloog
14433 install-strip-cloog:
14435 @endif cloog
14437 # Other targets (info, dvi, pdf, etc.)
14439 .PHONY: maybe-info-cloog info-cloog
14440 maybe-info-cloog:
14441 @if cloog
14442 maybe-info-cloog: info-cloog
14444 info-cloog: \
14445 configure-cloog
14446 @[ -f ./cloog/Makefile ] || exit 0; \
14447 r=`${PWD_COMMAND}`; export r; \
14448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14449 $(HOST_EXPORTS) \
14450 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14452 done; \
14453 echo "Doing info in cloog" ; \
14454 (cd $(HOST_SUBDIR)/cloog && \
14455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14457 "RANLIB=$${RANLIB}" \
14458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14459 info) \
14460 || exit 1
14462 @endif cloog
14464 .PHONY: maybe-dvi-cloog dvi-cloog
14465 maybe-dvi-cloog:
14466 @if cloog
14467 maybe-dvi-cloog: dvi-cloog
14469 dvi-cloog: \
14470 configure-cloog
14471 @[ -f ./cloog/Makefile ] || exit 0; \
14472 r=`${PWD_COMMAND}`; export r; \
14473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14474 $(HOST_EXPORTS) \
14475 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14477 done; \
14478 echo "Doing dvi in cloog" ; \
14479 (cd $(HOST_SUBDIR)/cloog && \
14480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14482 "RANLIB=$${RANLIB}" \
14483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14484 dvi) \
14485 || exit 1
14487 @endif cloog
14489 .PHONY: maybe-pdf-cloog pdf-cloog
14490 maybe-pdf-cloog:
14491 @if cloog
14492 maybe-pdf-cloog: pdf-cloog
14494 pdf-cloog: \
14495 configure-cloog
14496 @[ -f ./cloog/Makefile ] || exit 0; \
14497 r=`${PWD_COMMAND}`; export r; \
14498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14499 $(HOST_EXPORTS) \
14500 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14502 done; \
14503 echo "Doing pdf in cloog" ; \
14504 (cd $(HOST_SUBDIR)/cloog && \
14505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14507 "RANLIB=$${RANLIB}" \
14508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14509 pdf) \
14510 || exit 1
14512 @endif cloog
14514 .PHONY: maybe-html-cloog html-cloog
14515 maybe-html-cloog:
14516 @if cloog
14517 maybe-html-cloog: html-cloog
14519 html-cloog: \
14520 configure-cloog
14521 @[ -f ./cloog/Makefile ] || exit 0; \
14522 r=`${PWD_COMMAND}`; export r; \
14523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14524 $(HOST_EXPORTS) \
14525 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14527 done; \
14528 echo "Doing html in cloog" ; \
14529 (cd $(HOST_SUBDIR)/cloog && \
14530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14532 "RANLIB=$${RANLIB}" \
14533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14534 html) \
14535 || exit 1
14537 @endif cloog
14539 .PHONY: maybe-TAGS-cloog TAGS-cloog
14540 maybe-TAGS-cloog:
14541 @if cloog
14542 maybe-TAGS-cloog: TAGS-cloog
14544 TAGS-cloog: \
14545 configure-cloog
14546 @[ -f ./cloog/Makefile ] || exit 0; \
14547 r=`${PWD_COMMAND}`; export r; \
14548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14549 $(HOST_EXPORTS) \
14550 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14552 done; \
14553 echo "Doing TAGS in cloog" ; \
14554 (cd $(HOST_SUBDIR)/cloog && \
14555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14557 "RANLIB=$${RANLIB}" \
14558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14559 TAGS) \
14560 || exit 1
14562 @endif cloog
14564 .PHONY: maybe-install-info-cloog install-info-cloog
14565 maybe-install-info-cloog:
14566 @if cloog
14567 maybe-install-info-cloog: install-info-cloog
14569 install-info-cloog: \
14570 configure-cloog \
14571 info-cloog
14572 @[ -f ./cloog/Makefile ] || exit 0; \
14573 r=`${PWD_COMMAND}`; export r; \
14574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14575 $(HOST_EXPORTS) \
14576 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14578 done; \
14579 echo "Doing install-info in cloog" ; \
14580 (cd $(HOST_SUBDIR)/cloog && \
14581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14583 "RANLIB=$${RANLIB}" \
14584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14585 install-info) \
14586 || exit 1
14588 @endif cloog
14590 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14591 maybe-install-pdf-cloog:
14592 @if cloog
14593 maybe-install-pdf-cloog: install-pdf-cloog
14595 install-pdf-cloog: \
14596 configure-cloog \
14597 pdf-cloog
14598 @[ -f ./cloog/Makefile ] || exit 0; \
14599 r=`${PWD_COMMAND}`; export r; \
14600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14601 $(HOST_EXPORTS) \
14602 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14604 done; \
14605 echo "Doing install-pdf in cloog" ; \
14606 (cd $(HOST_SUBDIR)/cloog && \
14607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14609 "RANLIB=$${RANLIB}" \
14610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14611 install-pdf) \
14612 || exit 1
14614 @endif cloog
14616 .PHONY: maybe-install-html-cloog install-html-cloog
14617 maybe-install-html-cloog:
14618 @if cloog
14619 maybe-install-html-cloog: install-html-cloog
14621 install-html-cloog: \
14622 configure-cloog \
14623 html-cloog
14624 @[ -f ./cloog/Makefile ] || exit 0; \
14625 r=`${PWD_COMMAND}`; export r; \
14626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14627 $(HOST_EXPORTS) \
14628 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14630 done; \
14631 echo "Doing install-html in cloog" ; \
14632 (cd $(HOST_SUBDIR)/cloog && \
14633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14635 "RANLIB=$${RANLIB}" \
14636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14637 install-html) \
14638 || exit 1
14640 @endif cloog
14642 .PHONY: maybe-installcheck-cloog installcheck-cloog
14643 maybe-installcheck-cloog:
14644 @if cloog
14645 maybe-installcheck-cloog: installcheck-cloog
14647 installcheck-cloog: \
14648 configure-cloog
14649 @[ -f ./cloog/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14652 $(HOST_EXPORTS) \
14653 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14655 done; \
14656 echo "Doing installcheck in cloog" ; \
14657 (cd $(HOST_SUBDIR)/cloog && \
14658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14660 "RANLIB=$${RANLIB}" \
14661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14662 installcheck) \
14663 || exit 1
14665 @endif cloog
14667 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14668 maybe-mostlyclean-cloog:
14669 @if cloog
14670 maybe-mostlyclean-cloog: mostlyclean-cloog
14672 mostlyclean-cloog:
14673 @[ -f ./cloog/Makefile ] || exit 0; \
14674 r=`${PWD_COMMAND}`; export r; \
14675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14676 $(HOST_EXPORTS) \
14677 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14679 done; \
14680 echo "Doing mostlyclean in cloog" ; \
14681 (cd $(HOST_SUBDIR)/cloog && \
14682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14684 "RANLIB=$${RANLIB}" \
14685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14686 mostlyclean) \
14687 || exit 1
14689 @endif cloog
14691 .PHONY: maybe-clean-cloog clean-cloog
14692 maybe-clean-cloog:
14693 @if cloog
14694 maybe-clean-cloog: clean-cloog
14696 clean-cloog:
14697 @[ -f ./cloog/Makefile ] || exit 0; \
14698 r=`${PWD_COMMAND}`; export r; \
14699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14700 $(HOST_EXPORTS) \
14701 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14703 done; \
14704 echo "Doing clean in cloog" ; \
14705 (cd $(HOST_SUBDIR)/cloog && \
14706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14708 "RANLIB=$${RANLIB}" \
14709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14710 clean) \
14711 || exit 1
14713 @endif cloog
14715 .PHONY: maybe-distclean-cloog distclean-cloog
14716 maybe-distclean-cloog:
14717 @if cloog
14718 maybe-distclean-cloog: distclean-cloog
14720 distclean-cloog:
14721 @[ -f ./cloog/Makefile ] || exit 0; \
14722 r=`${PWD_COMMAND}`; export r; \
14723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14724 $(HOST_EXPORTS) \
14725 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14727 done; \
14728 echo "Doing distclean in cloog" ; \
14729 (cd $(HOST_SUBDIR)/cloog && \
14730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14732 "RANLIB=$${RANLIB}" \
14733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14734 distclean) \
14735 || exit 1
14737 @endif cloog
14739 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14740 maybe-maintainer-clean-cloog:
14741 @if cloog
14742 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14744 maintainer-clean-cloog:
14745 @[ -f ./cloog/Makefile ] || exit 0; \
14746 r=`${PWD_COMMAND}`; export r; \
14747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14748 $(HOST_EXPORTS) \
14749 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14751 done; \
14752 echo "Doing maintainer-clean in cloog" ; \
14753 (cd $(HOST_SUBDIR)/cloog && \
14754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14756 "RANLIB=$${RANLIB}" \
14757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14758 maintainer-clean) \
14759 || exit 1
14761 @endif cloog
14765 .PHONY: configure-libelf maybe-configure-libelf
14766 maybe-configure-libelf:
14767 @if gcc-bootstrap
14768 configure-libelf: stage_current
14769 @endif gcc-bootstrap
14770 @if libelf
14771 maybe-configure-libelf: configure-libelf
14772 configure-libelf:
14773 @r=`${PWD_COMMAND}`; export r; \
14774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14775 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14777 $(HOST_EXPORTS) \
14778 echo Configuring in $(HOST_SUBDIR)/libelf; \
14779 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14780 case $(srcdir) in \
14781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14782 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14784 esac; \
14785 srcdiroption="--srcdir=$${topdir}/libelf"; \
14786 libsrcdir="$$s/libelf"; \
14787 $(SHELL) $${libsrcdir}/configure \
14788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14789 --target=${target_alias} $${srcdiroption} --disable-shared \
14790 || exit 1
14791 @endif libelf
14795 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14796 maybe-configure-stage1-libelf:
14797 @if libelf-bootstrap
14798 maybe-configure-stage1-libelf: configure-stage1-libelf
14799 configure-stage1-libelf:
14800 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14802 @r=`${PWD_COMMAND}`; export r; \
14803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14804 TFLAGS="$(STAGE1_TFLAGS)"; \
14805 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14806 $(HOST_EXPORTS) \
14807 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14808 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14809 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14810 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14812 cd $(HOST_SUBDIR)/libelf || exit 1; \
14813 case $(srcdir) in \
14814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14815 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14817 esac; \
14818 srcdiroption="--srcdir=$${topdir}/libelf"; \
14819 libsrcdir="$$s/libelf"; \
14820 $(SHELL) $${libsrcdir}/configure \
14821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14822 --target=${target_alias} $${srcdiroption} \
14823 $(STAGE1_CONFIGURE_FLAGS) \
14824 --disable-shared
14825 @endif libelf-bootstrap
14827 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14828 maybe-configure-stage2-libelf:
14829 @if libelf-bootstrap
14830 maybe-configure-stage2-libelf: configure-stage2-libelf
14831 configure-stage2-libelf:
14832 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14833 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14834 @r=`${PWD_COMMAND}`; export r; \
14835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14836 TFLAGS="$(STAGE2_TFLAGS)"; \
14837 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14838 $(HOST_EXPORTS) \
14839 $(POSTSTAGE1_HOST_EXPORTS) \
14840 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14841 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14842 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14843 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14845 cd $(HOST_SUBDIR)/libelf || exit 1; \
14846 case $(srcdir) in \
14847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14848 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14850 esac; \
14851 srcdiroption="--srcdir=$${topdir}/libelf"; \
14852 libsrcdir="$$s/libelf"; \
14853 $(SHELL) $${libsrcdir}/configure \
14854 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14855 --target=${target_alias} $${srcdiroption} \
14856 --with-build-libsubdir=$(HOST_SUBDIR) \
14857 $(STAGE2_CONFIGURE_FLAGS) \
14858 --disable-shared
14859 @endif libelf-bootstrap
14861 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14862 maybe-configure-stage3-libelf:
14863 @if libelf-bootstrap
14864 maybe-configure-stage3-libelf: configure-stage3-libelf
14865 configure-stage3-libelf:
14866 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14867 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14868 @r=`${PWD_COMMAND}`; export r; \
14869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14870 TFLAGS="$(STAGE3_TFLAGS)"; \
14871 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14872 $(HOST_EXPORTS) \
14873 $(POSTSTAGE1_HOST_EXPORTS) \
14874 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14875 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14876 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14877 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14879 cd $(HOST_SUBDIR)/libelf || exit 1; \
14880 case $(srcdir) in \
14881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14882 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14884 esac; \
14885 srcdiroption="--srcdir=$${topdir}/libelf"; \
14886 libsrcdir="$$s/libelf"; \
14887 $(SHELL) $${libsrcdir}/configure \
14888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14889 --target=${target_alias} $${srcdiroption} \
14890 --with-build-libsubdir=$(HOST_SUBDIR) \
14891 $(STAGE3_CONFIGURE_FLAGS) \
14892 --disable-shared
14893 @endif libelf-bootstrap
14895 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14896 maybe-configure-stage4-libelf:
14897 @if libelf-bootstrap
14898 maybe-configure-stage4-libelf: configure-stage4-libelf
14899 configure-stage4-libelf:
14900 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14901 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14902 @r=`${PWD_COMMAND}`; export r; \
14903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14904 TFLAGS="$(STAGE4_TFLAGS)"; \
14905 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14906 $(HOST_EXPORTS) \
14907 $(POSTSTAGE1_HOST_EXPORTS) \
14908 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14909 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14910 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14911 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14913 cd $(HOST_SUBDIR)/libelf || exit 1; \
14914 case $(srcdir) in \
14915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14916 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14918 esac; \
14919 srcdiroption="--srcdir=$${topdir}/libelf"; \
14920 libsrcdir="$$s/libelf"; \
14921 $(SHELL) $${libsrcdir}/configure \
14922 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14923 --target=${target_alias} $${srcdiroption} \
14924 --with-build-libsubdir=$(HOST_SUBDIR) \
14925 $(STAGE4_CONFIGURE_FLAGS) \
14926 --disable-shared
14927 @endif libelf-bootstrap
14929 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14930 maybe-configure-stageprofile-libelf:
14931 @if libelf-bootstrap
14932 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14933 configure-stageprofile-libelf:
14934 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14936 @r=`${PWD_COMMAND}`; export r; \
14937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14938 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14939 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14940 $(HOST_EXPORTS) \
14941 $(POSTSTAGE1_HOST_EXPORTS) \
14942 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14943 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14944 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14945 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14947 cd $(HOST_SUBDIR)/libelf || exit 1; \
14948 case $(srcdir) in \
14949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14950 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14952 esac; \
14953 srcdiroption="--srcdir=$${topdir}/libelf"; \
14954 libsrcdir="$$s/libelf"; \
14955 $(SHELL) $${libsrcdir}/configure \
14956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14957 --target=${target_alias} $${srcdiroption} \
14958 --with-build-libsubdir=$(HOST_SUBDIR) \
14959 $(STAGEprofile_CONFIGURE_FLAGS) \
14960 --disable-shared
14961 @endif libelf-bootstrap
14963 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14964 maybe-configure-stagefeedback-libelf:
14965 @if libelf-bootstrap
14966 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14967 configure-stagefeedback-libelf:
14968 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14970 @r=`${PWD_COMMAND}`; export r; \
14971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14972 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14973 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14974 $(HOST_EXPORTS) \
14975 $(POSTSTAGE1_HOST_EXPORTS) \
14976 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14977 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14978 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14979 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14981 cd $(HOST_SUBDIR)/libelf || exit 1; \
14982 case $(srcdir) in \
14983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14984 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14986 esac; \
14987 srcdiroption="--srcdir=$${topdir}/libelf"; \
14988 libsrcdir="$$s/libelf"; \
14989 $(SHELL) $${libsrcdir}/configure \
14990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14991 --target=${target_alias} $${srcdiroption} \
14992 --with-build-libsubdir=$(HOST_SUBDIR) \
14993 $(STAGEfeedback_CONFIGURE_FLAGS) \
14994 --disable-shared
14995 @endif libelf-bootstrap
15001 .PHONY: all-libelf maybe-all-libelf
15002 maybe-all-libelf:
15003 @if gcc-bootstrap
15004 all-libelf: stage_current
15005 @endif gcc-bootstrap
15006 @if libelf
15007 TARGET-libelf=all
15008 maybe-all-libelf: all-libelf
15009 all-libelf: configure-libelf
15010 @r=`${PWD_COMMAND}`; export r; \
15011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15012 $(HOST_EXPORTS) \
15013 (cd $(HOST_SUBDIR)/libelf && \
15014 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15015 $(TARGET-libelf))
15016 @endif libelf
15020 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
15021 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15022 maybe-all-stage1-libelf:
15023 maybe-clean-stage1-libelf:
15024 @if libelf-bootstrap
15025 maybe-all-stage1-libelf: all-stage1-libelf
15026 all-stage1: all-stage1-libelf
15027 TARGET-stage1-libelf = $(TARGET-libelf)
15028 all-stage1-libelf: configure-stage1-libelf
15029 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15030 @r=`${PWD_COMMAND}`; export r; \
15031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15032 TFLAGS="$(STAGE1_TFLAGS)"; \
15033 $(HOST_EXPORTS) \
15034 cd $(HOST_SUBDIR)/libelf && \
15035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15036 CFLAGS="$(STAGE1_CFLAGS)" \
15037 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15038 LIBCFLAGS="$(LIBCFLAGS)" \
15039 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15040 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15041 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15042 $(EXTRA_HOST_FLAGS) \
15043 TFLAGS="$(STAGE1_TFLAGS)" \
15044 $(TARGET-stage1-libelf)
15046 maybe-clean-stage1-libelf: clean-stage1-libelf
15047 clean-stage1: clean-stage1-libelf
15048 clean-stage1-libelf:
15049 @if [ $(current_stage) = stage1 ]; then \
15050 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15051 else \
15052 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15053 $(MAKE) stage1-start; \
15054 fi; \
15055 cd $(HOST_SUBDIR)/libelf && \
15056 $(MAKE) $(EXTRA_HOST_FLAGS) \
15057 clean
15058 @endif libelf-bootstrap
15061 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15062 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15063 maybe-all-stage2-libelf:
15064 maybe-clean-stage2-libelf:
15065 @if libelf-bootstrap
15066 maybe-all-stage2-libelf: all-stage2-libelf
15067 all-stage2: all-stage2-libelf
15068 TARGET-stage2-libelf = $(TARGET-libelf)
15069 all-stage2-libelf: configure-stage2-libelf
15070 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15071 @r=`${PWD_COMMAND}`; export r; \
15072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15073 TFLAGS="$(STAGE2_TFLAGS)"; \
15074 $(HOST_EXPORTS) \
15075 $(POSTSTAGE1_HOST_EXPORTS) \
15076 cd $(HOST_SUBDIR)/libelf && \
15077 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15078 CFLAGS="$(STAGE2_CFLAGS)" \
15079 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15080 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15081 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15082 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15083 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15084 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15085 TFLAGS="$(STAGE2_TFLAGS)" \
15086 $(TARGET-stage2-libelf)
15088 maybe-clean-stage2-libelf: clean-stage2-libelf
15089 clean-stage2: clean-stage2-libelf
15090 clean-stage2-libelf:
15091 @if [ $(current_stage) = stage2 ]; then \
15092 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15093 else \
15094 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15095 $(MAKE) stage2-start; \
15096 fi; \
15097 cd $(HOST_SUBDIR)/libelf && \
15098 $(MAKE) $(EXTRA_HOST_FLAGS) \
15099 $(POSTSTAGE1_FLAGS_TO_PASS) \
15100 clean
15101 @endif libelf-bootstrap
15104 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15105 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15106 maybe-all-stage3-libelf:
15107 maybe-clean-stage3-libelf:
15108 @if libelf-bootstrap
15109 maybe-all-stage3-libelf: all-stage3-libelf
15110 all-stage3: all-stage3-libelf
15111 TARGET-stage3-libelf = $(TARGET-libelf)
15112 all-stage3-libelf: configure-stage3-libelf
15113 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15114 @r=`${PWD_COMMAND}`; export r; \
15115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15116 TFLAGS="$(STAGE3_TFLAGS)"; \
15117 $(HOST_EXPORTS) \
15118 $(POSTSTAGE1_HOST_EXPORTS) \
15119 cd $(HOST_SUBDIR)/libelf && \
15120 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15121 CFLAGS="$(STAGE3_CFLAGS)" \
15122 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15123 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15127 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15128 TFLAGS="$(STAGE3_TFLAGS)" \
15129 $(TARGET-stage3-libelf)
15131 maybe-clean-stage3-libelf: clean-stage3-libelf
15132 clean-stage3: clean-stage3-libelf
15133 clean-stage3-libelf:
15134 @if [ $(current_stage) = stage3 ]; then \
15135 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15136 else \
15137 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15138 $(MAKE) stage3-start; \
15139 fi; \
15140 cd $(HOST_SUBDIR)/libelf && \
15141 $(MAKE) $(EXTRA_HOST_FLAGS) \
15142 $(POSTSTAGE1_FLAGS_TO_PASS) \
15143 clean
15144 @endif libelf-bootstrap
15147 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15148 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15149 maybe-all-stage4-libelf:
15150 maybe-clean-stage4-libelf:
15151 @if libelf-bootstrap
15152 maybe-all-stage4-libelf: all-stage4-libelf
15153 all-stage4: all-stage4-libelf
15154 TARGET-stage4-libelf = $(TARGET-libelf)
15155 all-stage4-libelf: configure-stage4-libelf
15156 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15157 @r=`${PWD_COMMAND}`; export r; \
15158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15159 TFLAGS="$(STAGE4_TFLAGS)"; \
15160 $(HOST_EXPORTS) \
15161 $(POSTSTAGE1_HOST_EXPORTS) \
15162 cd $(HOST_SUBDIR)/libelf && \
15163 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15164 CFLAGS="$(STAGE4_CFLAGS)" \
15165 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15166 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15167 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15168 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15169 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15170 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15171 TFLAGS="$(STAGE4_TFLAGS)" \
15172 $(TARGET-stage4-libelf)
15174 maybe-clean-stage4-libelf: clean-stage4-libelf
15175 clean-stage4: clean-stage4-libelf
15176 clean-stage4-libelf:
15177 @if [ $(current_stage) = stage4 ]; then \
15178 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15179 else \
15180 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15181 $(MAKE) stage4-start; \
15182 fi; \
15183 cd $(HOST_SUBDIR)/libelf && \
15184 $(MAKE) $(EXTRA_HOST_FLAGS) \
15185 $(POSTSTAGE1_FLAGS_TO_PASS) \
15186 clean
15187 @endif libelf-bootstrap
15190 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15191 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15192 maybe-all-stageprofile-libelf:
15193 maybe-clean-stageprofile-libelf:
15194 @if libelf-bootstrap
15195 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15196 all-stageprofile: all-stageprofile-libelf
15197 TARGET-stageprofile-libelf = $(TARGET-libelf)
15198 all-stageprofile-libelf: configure-stageprofile-libelf
15199 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15200 @r=`${PWD_COMMAND}`; export r; \
15201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15202 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15203 $(HOST_EXPORTS) \
15204 $(POSTSTAGE1_HOST_EXPORTS) \
15205 cd $(HOST_SUBDIR)/libelf && \
15206 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15207 CFLAGS="$(STAGEprofile_CFLAGS)" \
15208 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15209 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15210 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15211 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15212 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15213 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15214 TFLAGS="$(STAGEprofile_TFLAGS)" \
15215 $(TARGET-stageprofile-libelf)
15217 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15218 clean-stageprofile: clean-stageprofile-libelf
15219 clean-stageprofile-libelf:
15220 @if [ $(current_stage) = stageprofile ]; then \
15221 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15222 else \
15223 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15224 $(MAKE) stageprofile-start; \
15225 fi; \
15226 cd $(HOST_SUBDIR)/libelf && \
15227 $(MAKE) $(EXTRA_HOST_FLAGS) \
15228 $(POSTSTAGE1_FLAGS_TO_PASS) \
15229 clean
15230 @endif libelf-bootstrap
15233 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15234 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15235 maybe-all-stagefeedback-libelf:
15236 maybe-clean-stagefeedback-libelf:
15237 @if libelf-bootstrap
15238 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15239 all-stagefeedback: all-stagefeedback-libelf
15240 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15241 all-stagefeedback-libelf: configure-stagefeedback-libelf
15242 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15243 @r=`${PWD_COMMAND}`; export r; \
15244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15245 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15246 $(HOST_EXPORTS) \
15247 $(POSTSTAGE1_HOST_EXPORTS) \
15248 cd $(HOST_SUBDIR)/libelf && \
15249 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15250 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15251 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15252 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15253 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15254 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15255 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15256 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15257 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15258 $(TARGET-stagefeedback-libelf)
15260 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15261 clean-stagefeedback: clean-stagefeedback-libelf
15262 clean-stagefeedback-libelf:
15263 @if [ $(current_stage) = stagefeedback ]; then \
15264 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15265 else \
15266 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15267 $(MAKE) stagefeedback-start; \
15268 fi; \
15269 cd $(HOST_SUBDIR)/libelf && \
15270 $(MAKE) $(EXTRA_HOST_FLAGS) \
15271 $(POSTSTAGE1_FLAGS_TO_PASS) \
15272 clean
15273 @endif libelf-bootstrap
15279 .PHONY: check-libelf maybe-check-libelf
15280 maybe-check-libelf:
15281 @if libelf
15282 maybe-check-libelf: check-libelf
15284 check-libelf:
15285 @: $(MAKE); $(unstage)
15286 @r=`${PWD_COMMAND}`; export r; \
15287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15288 $(HOST_EXPORTS) \
15289 (cd $(HOST_SUBDIR)/libelf && \
15290 $(MAKE) $(FLAGS_TO_PASS) check)
15292 @endif libelf
15294 .PHONY: install-libelf maybe-install-libelf
15295 maybe-install-libelf:
15296 @if libelf
15297 maybe-install-libelf: install-libelf
15299 install-libelf:
15301 @endif libelf
15303 .PHONY: install-strip-libelf maybe-install-strip-libelf
15304 maybe-install-strip-libelf:
15305 @if libelf
15306 maybe-install-strip-libelf: install-strip-libelf
15308 install-strip-libelf:
15310 @endif libelf
15312 # Other targets (info, dvi, pdf, etc.)
15314 .PHONY: maybe-info-libelf info-libelf
15315 maybe-info-libelf:
15316 @if libelf
15317 maybe-info-libelf: info-libelf
15319 info-libelf: \
15320 configure-libelf
15321 @[ -f ./libelf/Makefile ] || exit 0; \
15322 r=`${PWD_COMMAND}`; export r; \
15323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15324 $(HOST_EXPORTS) \
15325 for flag in $(EXTRA_HOST_FLAGS) ; do \
15326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15327 done; \
15328 echo "Doing info in libelf" ; \
15329 (cd $(HOST_SUBDIR)/libelf && \
15330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15332 "RANLIB=$${RANLIB}" \
15333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15334 info) \
15335 || exit 1
15337 @endif libelf
15339 .PHONY: maybe-dvi-libelf dvi-libelf
15340 maybe-dvi-libelf:
15341 @if libelf
15342 maybe-dvi-libelf: dvi-libelf
15344 dvi-libelf: \
15345 configure-libelf
15346 @[ -f ./libelf/Makefile ] || exit 0; \
15347 r=`${PWD_COMMAND}`; export r; \
15348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15349 $(HOST_EXPORTS) \
15350 for flag in $(EXTRA_HOST_FLAGS) ; do \
15351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15352 done; \
15353 echo "Doing dvi in libelf" ; \
15354 (cd $(HOST_SUBDIR)/libelf && \
15355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15357 "RANLIB=$${RANLIB}" \
15358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15359 dvi) \
15360 || exit 1
15362 @endif libelf
15364 .PHONY: maybe-pdf-libelf pdf-libelf
15365 maybe-pdf-libelf:
15366 @if libelf
15367 maybe-pdf-libelf: pdf-libelf
15369 pdf-libelf: \
15370 configure-libelf
15371 @[ -f ./libelf/Makefile ] || exit 0; \
15372 r=`${PWD_COMMAND}`; export r; \
15373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15374 $(HOST_EXPORTS) \
15375 for flag in $(EXTRA_HOST_FLAGS) ; do \
15376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15377 done; \
15378 echo "Doing pdf in libelf" ; \
15379 (cd $(HOST_SUBDIR)/libelf && \
15380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15382 "RANLIB=$${RANLIB}" \
15383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15384 pdf) \
15385 || exit 1
15387 @endif libelf
15389 .PHONY: maybe-html-libelf html-libelf
15390 maybe-html-libelf:
15391 @if libelf
15392 maybe-html-libelf: html-libelf
15394 html-libelf: \
15395 configure-libelf
15396 @[ -f ./libelf/Makefile ] || exit 0; \
15397 r=`${PWD_COMMAND}`; export r; \
15398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15399 $(HOST_EXPORTS) \
15400 for flag in $(EXTRA_HOST_FLAGS) ; do \
15401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15402 done; \
15403 echo "Doing html in libelf" ; \
15404 (cd $(HOST_SUBDIR)/libelf && \
15405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15407 "RANLIB=$${RANLIB}" \
15408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15409 html) \
15410 || exit 1
15412 @endif libelf
15414 .PHONY: maybe-TAGS-libelf TAGS-libelf
15415 maybe-TAGS-libelf:
15416 @if libelf
15417 maybe-TAGS-libelf: TAGS-libelf
15419 TAGS-libelf: \
15420 configure-libelf
15421 @[ -f ./libelf/Makefile ] || exit 0; \
15422 r=`${PWD_COMMAND}`; export r; \
15423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15424 $(HOST_EXPORTS) \
15425 for flag in $(EXTRA_HOST_FLAGS) ; do \
15426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15427 done; \
15428 echo "Doing TAGS in libelf" ; \
15429 (cd $(HOST_SUBDIR)/libelf && \
15430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15432 "RANLIB=$${RANLIB}" \
15433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15434 TAGS) \
15435 || exit 1
15437 @endif libelf
15439 .PHONY: maybe-install-info-libelf install-info-libelf
15440 maybe-install-info-libelf:
15441 @if libelf
15442 maybe-install-info-libelf: install-info-libelf
15444 install-info-libelf: \
15445 configure-libelf \
15446 info-libelf
15447 @[ -f ./libelf/Makefile ] || exit 0; \
15448 r=`${PWD_COMMAND}`; export r; \
15449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15450 $(HOST_EXPORTS) \
15451 for flag in $(EXTRA_HOST_FLAGS) ; do \
15452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15453 done; \
15454 echo "Doing install-info in libelf" ; \
15455 (cd $(HOST_SUBDIR)/libelf && \
15456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15458 "RANLIB=$${RANLIB}" \
15459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15460 install-info) \
15461 || exit 1
15463 @endif libelf
15465 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15466 maybe-install-pdf-libelf:
15467 @if libelf
15468 maybe-install-pdf-libelf: install-pdf-libelf
15470 install-pdf-libelf: \
15471 configure-libelf \
15472 pdf-libelf
15473 @[ -f ./libelf/Makefile ] || exit 0; \
15474 r=`${PWD_COMMAND}`; export r; \
15475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15476 $(HOST_EXPORTS) \
15477 for flag in $(EXTRA_HOST_FLAGS) ; do \
15478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15479 done; \
15480 echo "Doing install-pdf in libelf" ; \
15481 (cd $(HOST_SUBDIR)/libelf && \
15482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15484 "RANLIB=$${RANLIB}" \
15485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15486 install-pdf) \
15487 || exit 1
15489 @endif libelf
15491 .PHONY: maybe-install-html-libelf install-html-libelf
15492 maybe-install-html-libelf:
15493 @if libelf
15494 maybe-install-html-libelf: install-html-libelf
15496 install-html-libelf: \
15497 configure-libelf \
15498 html-libelf
15499 @[ -f ./libelf/Makefile ] || exit 0; \
15500 r=`${PWD_COMMAND}`; export r; \
15501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15502 $(HOST_EXPORTS) \
15503 for flag in $(EXTRA_HOST_FLAGS) ; do \
15504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15505 done; \
15506 echo "Doing install-html in libelf" ; \
15507 (cd $(HOST_SUBDIR)/libelf && \
15508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15510 "RANLIB=$${RANLIB}" \
15511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15512 install-html) \
15513 || exit 1
15515 @endif libelf
15517 .PHONY: maybe-installcheck-libelf installcheck-libelf
15518 maybe-installcheck-libelf:
15519 @if libelf
15520 maybe-installcheck-libelf: installcheck-libelf
15522 installcheck-libelf: \
15523 configure-libelf
15524 @[ -f ./libelf/Makefile ] || exit 0; \
15525 r=`${PWD_COMMAND}`; export r; \
15526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15527 $(HOST_EXPORTS) \
15528 for flag in $(EXTRA_HOST_FLAGS) ; do \
15529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15530 done; \
15531 echo "Doing installcheck in libelf" ; \
15532 (cd $(HOST_SUBDIR)/libelf && \
15533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15535 "RANLIB=$${RANLIB}" \
15536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15537 installcheck) \
15538 || exit 1
15540 @endif libelf
15542 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15543 maybe-mostlyclean-libelf:
15544 @if libelf
15545 maybe-mostlyclean-libelf: mostlyclean-libelf
15547 mostlyclean-libelf:
15548 @[ -f ./libelf/Makefile ] || exit 0; \
15549 r=`${PWD_COMMAND}`; export r; \
15550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15551 $(HOST_EXPORTS) \
15552 for flag in $(EXTRA_HOST_FLAGS) ; do \
15553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15554 done; \
15555 echo "Doing mostlyclean in libelf" ; \
15556 (cd $(HOST_SUBDIR)/libelf && \
15557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15559 "RANLIB=$${RANLIB}" \
15560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15561 mostlyclean) \
15562 || exit 1
15564 @endif libelf
15566 .PHONY: maybe-clean-libelf clean-libelf
15567 maybe-clean-libelf:
15568 @if libelf
15569 maybe-clean-libelf: clean-libelf
15571 clean-libelf:
15572 @[ -f ./libelf/Makefile ] || exit 0; \
15573 r=`${PWD_COMMAND}`; export r; \
15574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15575 $(HOST_EXPORTS) \
15576 for flag in $(EXTRA_HOST_FLAGS) ; do \
15577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15578 done; \
15579 echo "Doing clean in libelf" ; \
15580 (cd $(HOST_SUBDIR)/libelf && \
15581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15583 "RANLIB=$${RANLIB}" \
15584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15585 clean) \
15586 || exit 1
15588 @endif libelf
15590 .PHONY: maybe-distclean-libelf distclean-libelf
15591 maybe-distclean-libelf:
15592 @if libelf
15593 maybe-distclean-libelf: distclean-libelf
15595 distclean-libelf:
15596 @[ -f ./libelf/Makefile ] || exit 0; \
15597 r=`${PWD_COMMAND}`; export r; \
15598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15599 $(HOST_EXPORTS) \
15600 for flag in $(EXTRA_HOST_FLAGS) ; do \
15601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15602 done; \
15603 echo "Doing distclean in libelf" ; \
15604 (cd $(HOST_SUBDIR)/libelf && \
15605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15607 "RANLIB=$${RANLIB}" \
15608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15609 distclean) \
15610 || exit 1
15612 @endif libelf
15614 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15615 maybe-maintainer-clean-libelf:
15616 @if libelf
15617 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15619 maintainer-clean-libelf:
15620 @[ -f ./libelf/Makefile ] || exit 0; \
15621 r=`${PWD_COMMAND}`; export r; \
15622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15623 $(HOST_EXPORTS) \
15624 for flag in $(EXTRA_HOST_FLAGS) ; do \
15625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15626 done; \
15627 echo "Doing maintainer-clean in libelf" ; \
15628 (cd $(HOST_SUBDIR)/libelf && \
15629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15631 "RANLIB=$${RANLIB}" \
15632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15633 maintainer-clean) \
15634 || exit 1
15636 @endif libelf
15640 .PHONY: configure-gold maybe-configure-gold
15641 maybe-configure-gold:
15642 @if gcc-bootstrap
15643 configure-gold: stage_current
15644 @endif gcc-bootstrap
15645 @if gold
15646 maybe-configure-gold: configure-gold
15647 configure-gold:
15648 @r=`${PWD_COMMAND}`; export r; \
15649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15650 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15652 $(HOST_EXPORTS) \
15653 echo Configuring in $(HOST_SUBDIR)/gold; \
15654 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15655 case $(srcdir) in \
15656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15657 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15659 esac; \
15660 srcdiroption="--srcdir=$${topdir}/gold"; \
15661 libsrcdir="$$s/gold"; \
15662 $(SHELL) $${libsrcdir}/configure \
15663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15664 --target=${target_alias} $${srcdiroption} \
15665 || exit 1
15666 @endif gold
15670 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15671 maybe-configure-stage1-gold:
15672 @if gold-bootstrap
15673 maybe-configure-stage1-gold: configure-stage1-gold
15674 configure-stage1-gold:
15675 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15676 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15677 @r=`${PWD_COMMAND}`; export r; \
15678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15679 TFLAGS="$(STAGE1_TFLAGS)"; \
15680 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15681 $(HOST_EXPORTS) \
15682 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15683 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15684 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15685 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15687 cd $(HOST_SUBDIR)/gold || exit 1; \
15688 case $(srcdir) in \
15689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15690 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15692 esac; \
15693 srcdiroption="--srcdir=$${topdir}/gold"; \
15694 libsrcdir="$$s/gold"; \
15695 $(SHELL) $${libsrcdir}/configure \
15696 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15697 --target=${target_alias} $${srcdiroption} \
15698 $(STAGE1_CONFIGURE_FLAGS)
15699 @endif gold-bootstrap
15701 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15702 maybe-configure-stage2-gold:
15703 @if gold-bootstrap
15704 maybe-configure-stage2-gold: configure-stage2-gold
15705 configure-stage2-gold:
15706 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15708 @r=`${PWD_COMMAND}`; export r; \
15709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15710 TFLAGS="$(STAGE2_TFLAGS)"; \
15711 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15712 $(HOST_EXPORTS) \
15713 $(POSTSTAGE1_HOST_EXPORTS) \
15714 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15715 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15716 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15717 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15719 cd $(HOST_SUBDIR)/gold || exit 1; \
15720 case $(srcdir) in \
15721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15722 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15724 esac; \
15725 srcdiroption="--srcdir=$${topdir}/gold"; \
15726 libsrcdir="$$s/gold"; \
15727 $(SHELL) $${libsrcdir}/configure \
15728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15729 --target=${target_alias} $${srcdiroption} \
15730 --with-build-libsubdir=$(HOST_SUBDIR) \
15731 $(STAGE2_CONFIGURE_FLAGS)
15732 @endif gold-bootstrap
15734 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15735 maybe-configure-stage3-gold:
15736 @if gold-bootstrap
15737 maybe-configure-stage3-gold: configure-stage3-gold
15738 configure-stage3-gold:
15739 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15741 @r=`${PWD_COMMAND}`; export r; \
15742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15743 TFLAGS="$(STAGE3_TFLAGS)"; \
15744 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15745 $(HOST_EXPORTS) \
15746 $(POSTSTAGE1_HOST_EXPORTS) \
15747 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15748 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15749 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15750 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15752 cd $(HOST_SUBDIR)/gold || exit 1; \
15753 case $(srcdir) in \
15754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15755 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15757 esac; \
15758 srcdiroption="--srcdir=$${topdir}/gold"; \
15759 libsrcdir="$$s/gold"; \
15760 $(SHELL) $${libsrcdir}/configure \
15761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15762 --target=${target_alias} $${srcdiroption} \
15763 --with-build-libsubdir=$(HOST_SUBDIR) \
15764 $(STAGE3_CONFIGURE_FLAGS)
15765 @endif gold-bootstrap
15767 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15768 maybe-configure-stage4-gold:
15769 @if gold-bootstrap
15770 maybe-configure-stage4-gold: configure-stage4-gold
15771 configure-stage4-gold:
15772 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15774 @r=`${PWD_COMMAND}`; export r; \
15775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15776 TFLAGS="$(STAGE4_TFLAGS)"; \
15777 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15778 $(HOST_EXPORTS) \
15779 $(POSTSTAGE1_HOST_EXPORTS) \
15780 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15781 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15782 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15783 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15785 cd $(HOST_SUBDIR)/gold || exit 1; \
15786 case $(srcdir) in \
15787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15788 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15790 esac; \
15791 srcdiroption="--srcdir=$${topdir}/gold"; \
15792 libsrcdir="$$s/gold"; \
15793 $(SHELL) $${libsrcdir}/configure \
15794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15795 --target=${target_alias} $${srcdiroption} \
15796 --with-build-libsubdir=$(HOST_SUBDIR) \
15797 $(STAGE4_CONFIGURE_FLAGS)
15798 @endif gold-bootstrap
15800 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15801 maybe-configure-stageprofile-gold:
15802 @if gold-bootstrap
15803 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15804 configure-stageprofile-gold:
15805 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15807 @r=`${PWD_COMMAND}`; export r; \
15808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15809 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15810 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15811 $(HOST_EXPORTS) \
15812 $(POSTSTAGE1_HOST_EXPORTS) \
15813 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15814 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15815 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15816 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15818 cd $(HOST_SUBDIR)/gold || exit 1; \
15819 case $(srcdir) in \
15820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15821 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15823 esac; \
15824 srcdiroption="--srcdir=$${topdir}/gold"; \
15825 libsrcdir="$$s/gold"; \
15826 $(SHELL) $${libsrcdir}/configure \
15827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15828 --target=${target_alias} $${srcdiroption} \
15829 --with-build-libsubdir=$(HOST_SUBDIR) \
15830 $(STAGEprofile_CONFIGURE_FLAGS)
15831 @endif gold-bootstrap
15833 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15834 maybe-configure-stagefeedback-gold:
15835 @if gold-bootstrap
15836 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15837 configure-stagefeedback-gold:
15838 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15839 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15840 @r=`${PWD_COMMAND}`; export r; \
15841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15842 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15843 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15844 $(HOST_EXPORTS) \
15845 $(POSTSTAGE1_HOST_EXPORTS) \
15846 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15847 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15848 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15849 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15850 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15851 cd $(HOST_SUBDIR)/gold || exit 1; \
15852 case $(srcdir) in \
15853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15854 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15856 esac; \
15857 srcdiroption="--srcdir=$${topdir}/gold"; \
15858 libsrcdir="$$s/gold"; \
15859 $(SHELL) $${libsrcdir}/configure \
15860 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15861 --target=${target_alias} $${srcdiroption} \
15862 --with-build-libsubdir=$(HOST_SUBDIR) \
15863 $(STAGEfeedback_CONFIGURE_FLAGS)
15864 @endif gold-bootstrap
15870 .PHONY: all-gold maybe-all-gold
15871 maybe-all-gold:
15872 @if gcc-bootstrap
15873 all-gold: stage_current
15874 @endif gcc-bootstrap
15875 @if gold
15876 TARGET-gold=all
15877 maybe-all-gold: all-gold
15878 all-gold: configure-gold
15879 @r=`${PWD_COMMAND}`; export r; \
15880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15881 $(HOST_EXPORTS) \
15882 (cd $(HOST_SUBDIR)/gold && \
15883 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15884 $(TARGET-gold))
15885 @endif gold
15889 .PHONY: all-stage1-gold maybe-all-stage1-gold
15890 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15891 maybe-all-stage1-gold:
15892 maybe-clean-stage1-gold:
15893 @if gold-bootstrap
15894 maybe-all-stage1-gold: all-stage1-gold
15895 all-stage1: all-stage1-gold
15896 TARGET-stage1-gold = $(TARGET-gold)
15897 all-stage1-gold: configure-stage1-gold
15898 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15899 @r=`${PWD_COMMAND}`; export r; \
15900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15901 TFLAGS="$(STAGE1_TFLAGS)"; \
15902 $(HOST_EXPORTS) \
15903 cd $(HOST_SUBDIR)/gold && \
15904 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15905 CFLAGS="$(STAGE1_CFLAGS)" \
15906 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15907 LIBCFLAGS="$(LIBCFLAGS)" \
15908 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15909 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15910 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15911 $(EXTRA_HOST_FLAGS) \
15912 TFLAGS="$(STAGE1_TFLAGS)" \
15913 $(TARGET-stage1-gold)
15915 maybe-clean-stage1-gold: clean-stage1-gold
15916 clean-stage1: clean-stage1-gold
15917 clean-stage1-gold:
15918 @if [ $(current_stage) = stage1 ]; then \
15919 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15920 else \
15921 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15922 $(MAKE) stage1-start; \
15923 fi; \
15924 cd $(HOST_SUBDIR)/gold && \
15925 $(MAKE) $(EXTRA_HOST_FLAGS) \
15926 clean
15927 @endif gold-bootstrap
15930 .PHONY: all-stage2-gold maybe-all-stage2-gold
15931 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15932 maybe-all-stage2-gold:
15933 maybe-clean-stage2-gold:
15934 @if gold-bootstrap
15935 maybe-all-stage2-gold: all-stage2-gold
15936 all-stage2: all-stage2-gold
15937 TARGET-stage2-gold = $(TARGET-gold)
15938 all-stage2-gold: configure-stage2-gold
15939 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15940 @r=`${PWD_COMMAND}`; export r; \
15941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15942 TFLAGS="$(STAGE2_TFLAGS)"; \
15943 $(HOST_EXPORTS) \
15944 $(POSTSTAGE1_HOST_EXPORTS) \
15945 cd $(HOST_SUBDIR)/gold && \
15946 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15947 CFLAGS="$(STAGE2_CFLAGS)" \
15948 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15949 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15953 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15954 TFLAGS="$(STAGE2_TFLAGS)" \
15955 $(TARGET-stage2-gold)
15957 maybe-clean-stage2-gold: clean-stage2-gold
15958 clean-stage2: clean-stage2-gold
15959 clean-stage2-gold:
15960 @if [ $(current_stage) = stage2 ]; then \
15961 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15962 else \
15963 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15964 $(MAKE) stage2-start; \
15965 fi; \
15966 cd $(HOST_SUBDIR)/gold && \
15967 $(MAKE) $(EXTRA_HOST_FLAGS) \
15968 $(POSTSTAGE1_FLAGS_TO_PASS) \
15969 clean
15970 @endif gold-bootstrap
15973 .PHONY: all-stage3-gold maybe-all-stage3-gold
15974 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15975 maybe-all-stage3-gold:
15976 maybe-clean-stage3-gold:
15977 @if gold-bootstrap
15978 maybe-all-stage3-gold: all-stage3-gold
15979 all-stage3: all-stage3-gold
15980 TARGET-stage3-gold = $(TARGET-gold)
15981 all-stage3-gold: configure-stage3-gold
15982 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15983 @r=`${PWD_COMMAND}`; export r; \
15984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15985 TFLAGS="$(STAGE3_TFLAGS)"; \
15986 $(HOST_EXPORTS) \
15987 $(POSTSTAGE1_HOST_EXPORTS) \
15988 cd $(HOST_SUBDIR)/gold && \
15989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15990 CFLAGS="$(STAGE3_CFLAGS)" \
15991 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15992 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15997 TFLAGS="$(STAGE3_TFLAGS)" \
15998 $(TARGET-stage3-gold)
16000 maybe-clean-stage3-gold: clean-stage3-gold
16001 clean-stage3: clean-stage3-gold
16002 clean-stage3-gold:
16003 @if [ $(current_stage) = stage3 ]; then \
16004 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16005 else \
16006 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
16007 $(MAKE) stage3-start; \
16008 fi; \
16009 cd $(HOST_SUBDIR)/gold && \
16010 $(MAKE) $(EXTRA_HOST_FLAGS) \
16011 $(POSTSTAGE1_FLAGS_TO_PASS) \
16012 clean
16013 @endif gold-bootstrap
16016 .PHONY: all-stage4-gold maybe-all-stage4-gold
16017 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
16018 maybe-all-stage4-gold:
16019 maybe-clean-stage4-gold:
16020 @if gold-bootstrap
16021 maybe-all-stage4-gold: all-stage4-gold
16022 all-stage4: all-stage4-gold
16023 TARGET-stage4-gold = $(TARGET-gold)
16024 all-stage4-gold: configure-stage4-gold
16025 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16026 @r=`${PWD_COMMAND}`; export r; \
16027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16028 TFLAGS="$(STAGE4_TFLAGS)"; \
16029 $(HOST_EXPORTS) \
16030 $(POSTSTAGE1_HOST_EXPORTS) \
16031 cd $(HOST_SUBDIR)/gold && \
16032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16033 CFLAGS="$(STAGE4_CFLAGS)" \
16034 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16035 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16040 TFLAGS="$(STAGE4_TFLAGS)" \
16041 $(TARGET-stage4-gold)
16043 maybe-clean-stage4-gold: clean-stage4-gold
16044 clean-stage4: clean-stage4-gold
16045 clean-stage4-gold:
16046 @if [ $(current_stage) = stage4 ]; then \
16047 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16048 else \
16049 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16050 $(MAKE) stage4-start; \
16051 fi; \
16052 cd $(HOST_SUBDIR)/gold && \
16053 $(MAKE) $(EXTRA_HOST_FLAGS) \
16054 $(POSTSTAGE1_FLAGS_TO_PASS) \
16055 clean
16056 @endif gold-bootstrap
16059 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16060 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16061 maybe-all-stageprofile-gold:
16062 maybe-clean-stageprofile-gold:
16063 @if gold-bootstrap
16064 maybe-all-stageprofile-gold: all-stageprofile-gold
16065 all-stageprofile: all-stageprofile-gold
16066 TARGET-stageprofile-gold = $(TARGET-gold)
16067 all-stageprofile-gold: configure-stageprofile-gold
16068 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16069 @r=`${PWD_COMMAND}`; export r; \
16070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16071 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16072 $(HOST_EXPORTS) \
16073 $(POSTSTAGE1_HOST_EXPORTS) \
16074 cd $(HOST_SUBDIR)/gold && \
16075 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16076 CFLAGS="$(STAGEprofile_CFLAGS)" \
16077 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16078 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16079 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16080 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16081 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16082 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16083 TFLAGS="$(STAGEprofile_TFLAGS)" \
16084 $(TARGET-stageprofile-gold)
16086 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16087 clean-stageprofile: clean-stageprofile-gold
16088 clean-stageprofile-gold:
16089 @if [ $(current_stage) = stageprofile ]; then \
16090 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16091 else \
16092 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16093 $(MAKE) stageprofile-start; \
16094 fi; \
16095 cd $(HOST_SUBDIR)/gold && \
16096 $(MAKE) $(EXTRA_HOST_FLAGS) \
16097 $(POSTSTAGE1_FLAGS_TO_PASS) \
16098 clean
16099 @endif gold-bootstrap
16102 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16103 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16104 maybe-all-stagefeedback-gold:
16105 maybe-clean-stagefeedback-gold:
16106 @if gold-bootstrap
16107 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16108 all-stagefeedback: all-stagefeedback-gold
16109 TARGET-stagefeedback-gold = $(TARGET-gold)
16110 all-stagefeedback-gold: configure-stagefeedback-gold
16111 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16112 @r=`${PWD_COMMAND}`; export r; \
16113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16114 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16115 $(HOST_EXPORTS) \
16116 $(POSTSTAGE1_HOST_EXPORTS) \
16117 cd $(HOST_SUBDIR)/gold && \
16118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16119 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16120 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16121 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16125 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16126 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16127 $(TARGET-stagefeedback-gold)
16129 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16130 clean-stagefeedback: clean-stagefeedback-gold
16131 clean-stagefeedback-gold:
16132 @if [ $(current_stage) = stagefeedback ]; then \
16133 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16134 else \
16135 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16136 $(MAKE) stagefeedback-start; \
16137 fi; \
16138 cd $(HOST_SUBDIR)/gold && \
16139 $(MAKE) $(EXTRA_HOST_FLAGS) \
16140 $(POSTSTAGE1_FLAGS_TO_PASS) \
16141 clean
16142 @endif gold-bootstrap
16148 .PHONY: check-gold maybe-check-gold
16149 maybe-check-gold:
16150 @if gold
16151 maybe-check-gold: check-gold
16153 check-gold:
16154 @: $(MAKE); $(unstage)
16155 @r=`${PWD_COMMAND}`; export r; \
16156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16157 $(HOST_EXPORTS) \
16158 (cd $(HOST_SUBDIR)/gold && \
16159 $(MAKE) $(FLAGS_TO_PASS) check)
16161 @endif gold
16163 .PHONY: install-gold maybe-install-gold
16164 maybe-install-gold:
16165 @if gold
16166 maybe-install-gold: install-gold
16168 install-gold: installdirs
16169 @: $(MAKE); $(unstage)
16170 @r=`${PWD_COMMAND}`; export r; \
16171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16172 $(HOST_EXPORTS) \
16173 (cd $(HOST_SUBDIR)/gold && \
16174 $(MAKE) $(FLAGS_TO_PASS) install)
16176 @endif gold
16178 .PHONY: install-strip-gold maybe-install-strip-gold
16179 maybe-install-strip-gold:
16180 @if gold
16181 maybe-install-strip-gold: install-strip-gold
16183 install-strip-gold: installdirs
16184 @: $(MAKE); $(unstage)
16185 @r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(HOST_EXPORTS) \
16188 (cd $(HOST_SUBDIR)/gold && \
16189 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16191 @endif gold
16193 # Other targets (info, dvi, pdf, etc.)
16195 .PHONY: maybe-info-gold info-gold
16196 maybe-info-gold:
16197 @if gold
16198 maybe-info-gold: info-gold
16200 info-gold: \
16201 configure-gold
16202 @[ -f ./gold/Makefile ] || exit 0; \
16203 r=`${PWD_COMMAND}`; export r; \
16204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16205 $(HOST_EXPORTS) \
16206 for flag in $(EXTRA_HOST_FLAGS) ; do \
16207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16208 done; \
16209 echo "Doing info in gold" ; \
16210 (cd $(HOST_SUBDIR)/gold && \
16211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16213 "RANLIB=$${RANLIB}" \
16214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16215 info) \
16216 || exit 1
16218 @endif gold
16220 .PHONY: maybe-dvi-gold dvi-gold
16221 maybe-dvi-gold:
16222 @if gold
16223 maybe-dvi-gold: dvi-gold
16225 dvi-gold: \
16226 configure-gold
16227 @[ -f ./gold/Makefile ] || exit 0; \
16228 r=`${PWD_COMMAND}`; export r; \
16229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16230 $(HOST_EXPORTS) \
16231 for flag in $(EXTRA_HOST_FLAGS) ; do \
16232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16233 done; \
16234 echo "Doing dvi in gold" ; \
16235 (cd $(HOST_SUBDIR)/gold && \
16236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16238 "RANLIB=$${RANLIB}" \
16239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16240 dvi) \
16241 || exit 1
16243 @endif gold
16245 .PHONY: maybe-pdf-gold pdf-gold
16246 maybe-pdf-gold:
16247 @if gold
16248 maybe-pdf-gold: pdf-gold
16250 pdf-gold: \
16251 configure-gold
16252 @[ -f ./gold/Makefile ] || exit 0; \
16253 r=`${PWD_COMMAND}`; export r; \
16254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16255 $(HOST_EXPORTS) \
16256 for flag in $(EXTRA_HOST_FLAGS) ; do \
16257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16258 done; \
16259 echo "Doing pdf in gold" ; \
16260 (cd $(HOST_SUBDIR)/gold && \
16261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16263 "RANLIB=$${RANLIB}" \
16264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16265 pdf) \
16266 || exit 1
16268 @endif gold
16270 .PHONY: maybe-html-gold html-gold
16271 maybe-html-gold:
16272 @if gold
16273 maybe-html-gold: html-gold
16275 html-gold: \
16276 configure-gold
16277 @[ -f ./gold/Makefile ] || exit 0; \
16278 r=`${PWD_COMMAND}`; export r; \
16279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16280 $(HOST_EXPORTS) \
16281 for flag in $(EXTRA_HOST_FLAGS) ; do \
16282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16283 done; \
16284 echo "Doing html in gold" ; \
16285 (cd $(HOST_SUBDIR)/gold && \
16286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16288 "RANLIB=$${RANLIB}" \
16289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16290 html) \
16291 || exit 1
16293 @endif gold
16295 .PHONY: maybe-TAGS-gold TAGS-gold
16296 maybe-TAGS-gold:
16297 @if gold
16298 maybe-TAGS-gold: TAGS-gold
16300 TAGS-gold: \
16301 configure-gold
16302 @[ -f ./gold/Makefile ] || exit 0; \
16303 r=`${PWD_COMMAND}`; export r; \
16304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16305 $(HOST_EXPORTS) \
16306 for flag in $(EXTRA_HOST_FLAGS) ; do \
16307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16308 done; \
16309 echo "Doing TAGS in gold" ; \
16310 (cd $(HOST_SUBDIR)/gold && \
16311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16313 "RANLIB=$${RANLIB}" \
16314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16315 TAGS) \
16316 || exit 1
16318 @endif gold
16320 .PHONY: maybe-install-info-gold install-info-gold
16321 maybe-install-info-gold:
16322 @if gold
16323 maybe-install-info-gold: install-info-gold
16325 install-info-gold: \
16326 configure-gold \
16327 info-gold
16328 @[ -f ./gold/Makefile ] || exit 0; \
16329 r=`${PWD_COMMAND}`; export r; \
16330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16331 $(HOST_EXPORTS) \
16332 for flag in $(EXTRA_HOST_FLAGS) ; do \
16333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16334 done; \
16335 echo "Doing install-info in gold" ; \
16336 (cd $(HOST_SUBDIR)/gold && \
16337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16339 "RANLIB=$${RANLIB}" \
16340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16341 install-info) \
16342 || exit 1
16344 @endif gold
16346 .PHONY: maybe-install-pdf-gold install-pdf-gold
16347 maybe-install-pdf-gold:
16348 @if gold
16349 maybe-install-pdf-gold: install-pdf-gold
16351 install-pdf-gold: \
16352 configure-gold \
16353 pdf-gold
16354 @[ -f ./gold/Makefile ] || exit 0; \
16355 r=`${PWD_COMMAND}`; export r; \
16356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16357 $(HOST_EXPORTS) \
16358 for flag in $(EXTRA_HOST_FLAGS) ; do \
16359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16360 done; \
16361 echo "Doing install-pdf in gold" ; \
16362 (cd $(HOST_SUBDIR)/gold && \
16363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16365 "RANLIB=$${RANLIB}" \
16366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16367 install-pdf) \
16368 || exit 1
16370 @endif gold
16372 .PHONY: maybe-install-html-gold install-html-gold
16373 maybe-install-html-gold:
16374 @if gold
16375 maybe-install-html-gold: install-html-gold
16377 install-html-gold: \
16378 configure-gold \
16379 html-gold
16380 @[ -f ./gold/Makefile ] || exit 0; \
16381 r=`${PWD_COMMAND}`; export r; \
16382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16383 $(HOST_EXPORTS) \
16384 for flag in $(EXTRA_HOST_FLAGS) ; do \
16385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16386 done; \
16387 echo "Doing install-html in gold" ; \
16388 (cd $(HOST_SUBDIR)/gold && \
16389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16391 "RANLIB=$${RANLIB}" \
16392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16393 install-html) \
16394 || exit 1
16396 @endif gold
16398 .PHONY: maybe-installcheck-gold installcheck-gold
16399 maybe-installcheck-gold:
16400 @if gold
16401 maybe-installcheck-gold: installcheck-gold
16403 installcheck-gold: \
16404 configure-gold
16405 @[ -f ./gold/Makefile ] || exit 0; \
16406 r=`${PWD_COMMAND}`; export r; \
16407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16408 $(HOST_EXPORTS) \
16409 for flag in $(EXTRA_HOST_FLAGS) ; do \
16410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16411 done; \
16412 echo "Doing installcheck in gold" ; \
16413 (cd $(HOST_SUBDIR)/gold && \
16414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16416 "RANLIB=$${RANLIB}" \
16417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16418 installcheck) \
16419 || exit 1
16421 @endif gold
16423 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16424 maybe-mostlyclean-gold:
16425 @if gold
16426 maybe-mostlyclean-gold: mostlyclean-gold
16428 mostlyclean-gold:
16429 @[ -f ./gold/Makefile ] || exit 0; \
16430 r=`${PWD_COMMAND}`; export r; \
16431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16432 $(HOST_EXPORTS) \
16433 for flag in $(EXTRA_HOST_FLAGS) ; do \
16434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16435 done; \
16436 echo "Doing mostlyclean in gold" ; \
16437 (cd $(HOST_SUBDIR)/gold && \
16438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16440 "RANLIB=$${RANLIB}" \
16441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16442 mostlyclean) \
16443 || exit 1
16445 @endif gold
16447 .PHONY: maybe-clean-gold clean-gold
16448 maybe-clean-gold:
16449 @if gold
16450 maybe-clean-gold: clean-gold
16452 clean-gold:
16453 @[ -f ./gold/Makefile ] || exit 0; \
16454 r=`${PWD_COMMAND}`; export r; \
16455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16456 $(HOST_EXPORTS) \
16457 for flag in $(EXTRA_HOST_FLAGS) ; do \
16458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16459 done; \
16460 echo "Doing clean in gold" ; \
16461 (cd $(HOST_SUBDIR)/gold && \
16462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16464 "RANLIB=$${RANLIB}" \
16465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16466 clean) \
16467 || exit 1
16469 @endif gold
16471 .PHONY: maybe-distclean-gold distclean-gold
16472 maybe-distclean-gold:
16473 @if gold
16474 maybe-distclean-gold: distclean-gold
16476 distclean-gold:
16477 @[ -f ./gold/Makefile ] || exit 0; \
16478 r=`${PWD_COMMAND}`; export r; \
16479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16480 $(HOST_EXPORTS) \
16481 for flag in $(EXTRA_HOST_FLAGS) ; do \
16482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16483 done; \
16484 echo "Doing distclean in gold" ; \
16485 (cd $(HOST_SUBDIR)/gold && \
16486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16488 "RANLIB=$${RANLIB}" \
16489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16490 distclean) \
16491 || exit 1
16493 @endif gold
16495 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16496 maybe-maintainer-clean-gold:
16497 @if gold
16498 maybe-maintainer-clean-gold: maintainer-clean-gold
16500 maintainer-clean-gold:
16501 @[ -f ./gold/Makefile ] || exit 0; \
16502 r=`${PWD_COMMAND}`; export r; \
16503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16504 $(HOST_EXPORTS) \
16505 for flag in $(EXTRA_HOST_FLAGS) ; do \
16506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16507 done; \
16508 echo "Doing maintainer-clean in gold" ; \
16509 (cd $(HOST_SUBDIR)/gold && \
16510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16512 "RANLIB=$${RANLIB}" \
16513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16514 maintainer-clean) \
16515 || exit 1
16517 @endif gold
16521 .PHONY: configure-gprof maybe-configure-gprof
16522 maybe-configure-gprof:
16523 @if gcc-bootstrap
16524 configure-gprof: stage_current
16525 @endif gcc-bootstrap
16526 @if gprof
16527 maybe-configure-gprof: configure-gprof
16528 configure-gprof:
16529 @: $(MAKE); $(unstage)
16530 @r=`${PWD_COMMAND}`; export r; \
16531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16534 $(HOST_EXPORTS) \
16535 echo Configuring in $(HOST_SUBDIR)/gprof; \
16536 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16537 case $(srcdir) in \
16538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16539 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16541 esac; \
16542 srcdiroption="--srcdir=$${topdir}/gprof"; \
16543 libsrcdir="$$s/gprof"; \
16544 $(SHELL) $${libsrcdir}/configure \
16545 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16546 --target=${target_alias} $${srcdiroption} \
16547 || exit 1
16548 @endif gprof
16554 .PHONY: all-gprof maybe-all-gprof
16555 maybe-all-gprof:
16556 @if gcc-bootstrap
16557 all-gprof: stage_current
16558 @endif gcc-bootstrap
16559 @if gprof
16560 TARGET-gprof=all
16561 maybe-all-gprof: all-gprof
16562 all-gprof: configure-gprof
16563 @: $(MAKE); $(unstage)
16564 @r=`${PWD_COMMAND}`; export r; \
16565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16566 $(HOST_EXPORTS) \
16567 (cd $(HOST_SUBDIR)/gprof && \
16568 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16569 $(TARGET-gprof))
16570 @endif gprof
16575 .PHONY: check-gprof maybe-check-gprof
16576 maybe-check-gprof:
16577 @if gprof
16578 maybe-check-gprof: check-gprof
16580 check-gprof:
16581 @: $(MAKE); $(unstage)
16582 @r=`${PWD_COMMAND}`; export r; \
16583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16584 $(HOST_EXPORTS) \
16585 (cd $(HOST_SUBDIR)/gprof && \
16586 $(MAKE) $(FLAGS_TO_PASS) check)
16588 @endif gprof
16590 .PHONY: install-gprof maybe-install-gprof
16591 maybe-install-gprof:
16592 @if gprof
16593 maybe-install-gprof: install-gprof
16595 install-gprof: installdirs
16596 @: $(MAKE); $(unstage)
16597 @r=`${PWD_COMMAND}`; export r; \
16598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16599 $(HOST_EXPORTS) \
16600 (cd $(HOST_SUBDIR)/gprof && \
16601 $(MAKE) $(FLAGS_TO_PASS) install)
16603 @endif gprof
16605 .PHONY: install-strip-gprof maybe-install-strip-gprof
16606 maybe-install-strip-gprof:
16607 @if gprof
16608 maybe-install-strip-gprof: install-strip-gprof
16610 install-strip-gprof: installdirs
16611 @: $(MAKE); $(unstage)
16612 @r=`${PWD_COMMAND}`; export r; \
16613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16614 $(HOST_EXPORTS) \
16615 (cd $(HOST_SUBDIR)/gprof && \
16616 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16618 @endif gprof
16620 # Other targets (info, dvi, pdf, etc.)
16622 .PHONY: maybe-info-gprof info-gprof
16623 maybe-info-gprof:
16624 @if gprof
16625 maybe-info-gprof: info-gprof
16627 info-gprof: \
16628 configure-gprof
16629 @: $(MAKE); $(unstage)
16630 @[ -f ./gprof/Makefile ] || exit 0; \
16631 r=`${PWD_COMMAND}`; export r; \
16632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16633 $(HOST_EXPORTS) \
16634 for flag in $(EXTRA_HOST_FLAGS) ; do \
16635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16636 done; \
16637 echo "Doing info in gprof" ; \
16638 (cd $(HOST_SUBDIR)/gprof && \
16639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16641 "RANLIB=$${RANLIB}" \
16642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16643 info) \
16644 || exit 1
16646 @endif gprof
16648 .PHONY: maybe-dvi-gprof dvi-gprof
16649 maybe-dvi-gprof:
16650 @if gprof
16651 maybe-dvi-gprof: dvi-gprof
16653 dvi-gprof: \
16654 configure-gprof
16655 @: $(MAKE); $(unstage)
16656 @[ -f ./gprof/Makefile ] || exit 0; \
16657 r=`${PWD_COMMAND}`; export r; \
16658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16659 $(HOST_EXPORTS) \
16660 for flag in $(EXTRA_HOST_FLAGS) ; do \
16661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16662 done; \
16663 echo "Doing dvi in gprof" ; \
16664 (cd $(HOST_SUBDIR)/gprof && \
16665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16667 "RANLIB=$${RANLIB}" \
16668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16669 dvi) \
16670 || exit 1
16672 @endif gprof
16674 .PHONY: maybe-pdf-gprof pdf-gprof
16675 maybe-pdf-gprof:
16676 @if gprof
16677 maybe-pdf-gprof: pdf-gprof
16679 pdf-gprof: \
16680 configure-gprof
16681 @: $(MAKE); $(unstage)
16682 @[ -f ./gprof/Makefile ] || exit 0; \
16683 r=`${PWD_COMMAND}`; export r; \
16684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16685 $(HOST_EXPORTS) \
16686 for flag in $(EXTRA_HOST_FLAGS) ; do \
16687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16688 done; \
16689 echo "Doing pdf in gprof" ; \
16690 (cd $(HOST_SUBDIR)/gprof && \
16691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16693 "RANLIB=$${RANLIB}" \
16694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16695 pdf) \
16696 || exit 1
16698 @endif gprof
16700 .PHONY: maybe-html-gprof html-gprof
16701 maybe-html-gprof:
16702 @if gprof
16703 maybe-html-gprof: html-gprof
16705 html-gprof: \
16706 configure-gprof
16707 @: $(MAKE); $(unstage)
16708 @[ -f ./gprof/Makefile ] || exit 0; \
16709 r=`${PWD_COMMAND}`; export r; \
16710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16711 $(HOST_EXPORTS) \
16712 for flag in $(EXTRA_HOST_FLAGS) ; do \
16713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16714 done; \
16715 echo "Doing html in gprof" ; \
16716 (cd $(HOST_SUBDIR)/gprof && \
16717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16719 "RANLIB=$${RANLIB}" \
16720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16721 html) \
16722 || exit 1
16724 @endif gprof
16726 .PHONY: maybe-TAGS-gprof TAGS-gprof
16727 maybe-TAGS-gprof:
16728 @if gprof
16729 maybe-TAGS-gprof: TAGS-gprof
16731 TAGS-gprof: \
16732 configure-gprof
16733 @: $(MAKE); $(unstage)
16734 @[ -f ./gprof/Makefile ] || exit 0; \
16735 r=`${PWD_COMMAND}`; export r; \
16736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16737 $(HOST_EXPORTS) \
16738 for flag in $(EXTRA_HOST_FLAGS) ; do \
16739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16740 done; \
16741 echo "Doing TAGS in gprof" ; \
16742 (cd $(HOST_SUBDIR)/gprof && \
16743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16745 "RANLIB=$${RANLIB}" \
16746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16747 TAGS) \
16748 || exit 1
16750 @endif gprof
16752 .PHONY: maybe-install-info-gprof install-info-gprof
16753 maybe-install-info-gprof:
16754 @if gprof
16755 maybe-install-info-gprof: install-info-gprof
16757 install-info-gprof: \
16758 configure-gprof \
16759 info-gprof
16760 @: $(MAKE); $(unstage)
16761 @[ -f ./gprof/Makefile ] || exit 0; \
16762 r=`${PWD_COMMAND}`; export r; \
16763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16764 $(HOST_EXPORTS) \
16765 for flag in $(EXTRA_HOST_FLAGS) ; do \
16766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16767 done; \
16768 echo "Doing install-info in gprof" ; \
16769 (cd $(HOST_SUBDIR)/gprof && \
16770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16772 "RANLIB=$${RANLIB}" \
16773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16774 install-info) \
16775 || exit 1
16777 @endif gprof
16779 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16780 maybe-install-pdf-gprof:
16781 @if gprof
16782 maybe-install-pdf-gprof: install-pdf-gprof
16784 install-pdf-gprof: \
16785 configure-gprof \
16786 pdf-gprof
16787 @: $(MAKE); $(unstage)
16788 @[ -f ./gprof/Makefile ] || exit 0; \
16789 r=`${PWD_COMMAND}`; export r; \
16790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16791 $(HOST_EXPORTS) \
16792 for flag in $(EXTRA_HOST_FLAGS) ; do \
16793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16794 done; \
16795 echo "Doing install-pdf in gprof" ; \
16796 (cd $(HOST_SUBDIR)/gprof && \
16797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16799 "RANLIB=$${RANLIB}" \
16800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16801 install-pdf) \
16802 || exit 1
16804 @endif gprof
16806 .PHONY: maybe-install-html-gprof install-html-gprof
16807 maybe-install-html-gprof:
16808 @if gprof
16809 maybe-install-html-gprof: install-html-gprof
16811 install-html-gprof: \
16812 configure-gprof \
16813 html-gprof
16814 @: $(MAKE); $(unstage)
16815 @[ -f ./gprof/Makefile ] || exit 0; \
16816 r=`${PWD_COMMAND}`; export r; \
16817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16818 $(HOST_EXPORTS) \
16819 for flag in $(EXTRA_HOST_FLAGS) ; do \
16820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16821 done; \
16822 echo "Doing install-html in gprof" ; \
16823 (cd $(HOST_SUBDIR)/gprof && \
16824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16826 "RANLIB=$${RANLIB}" \
16827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16828 install-html) \
16829 || exit 1
16831 @endif gprof
16833 .PHONY: maybe-installcheck-gprof installcheck-gprof
16834 maybe-installcheck-gprof:
16835 @if gprof
16836 maybe-installcheck-gprof: installcheck-gprof
16838 installcheck-gprof: \
16839 configure-gprof
16840 @: $(MAKE); $(unstage)
16841 @[ -f ./gprof/Makefile ] || exit 0; \
16842 r=`${PWD_COMMAND}`; export r; \
16843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16844 $(HOST_EXPORTS) \
16845 for flag in $(EXTRA_HOST_FLAGS) ; do \
16846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16847 done; \
16848 echo "Doing installcheck in gprof" ; \
16849 (cd $(HOST_SUBDIR)/gprof && \
16850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16852 "RANLIB=$${RANLIB}" \
16853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16854 installcheck) \
16855 || exit 1
16857 @endif gprof
16859 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16860 maybe-mostlyclean-gprof:
16861 @if gprof
16862 maybe-mostlyclean-gprof: mostlyclean-gprof
16864 mostlyclean-gprof:
16865 @: $(MAKE); $(unstage)
16866 @[ -f ./gprof/Makefile ] || exit 0; \
16867 r=`${PWD_COMMAND}`; export r; \
16868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16869 $(HOST_EXPORTS) \
16870 for flag in $(EXTRA_HOST_FLAGS) ; do \
16871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16872 done; \
16873 echo "Doing mostlyclean in gprof" ; \
16874 (cd $(HOST_SUBDIR)/gprof && \
16875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16877 "RANLIB=$${RANLIB}" \
16878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16879 mostlyclean) \
16880 || exit 1
16882 @endif gprof
16884 .PHONY: maybe-clean-gprof clean-gprof
16885 maybe-clean-gprof:
16886 @if gprof
16887 maybe-clean-gprof: clean-gprof
16889 clean-gprof:
16890 @: $(MAKE); $(unstage)
16891 @[ -f ./gprof/Makefile ] || exit 0; \
16892 r=`${PWD_COMMAND}`; export r; \
16893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16894 $(HOST_EXPORTS) \
16895 for flag in $(EXTRA_HOST_FLAGS) ; do \
16896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16897 done; \
16898 echo "Doing clean in gprof" ; \
16899 (cd $(HOST_SUBDIR)/gprof && \
16900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16902 "RANLIB=$${RANLIB}" \
16903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16904 clean) \
16905 || exit 1
16907 @endif gprof
16909 .PHONY: maybe-distclean-gprof distclean-gprof
16910 maybe-distclean-gprof:
16911 @if gprof
16912 maybe-distclean-gprof: distclean-gprof
16914 distclean-gprof:
16915 @: $(MAKE); $(unstage)
16916 @[ -f ./gprof/Makefile ] || exit 0; \
16917 r=`${PWD_COMMAND}`; export r; \
16918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16919 $(HOST_EXPORTS) \
16920 for flag in $(EXTRA_HOST_FLAGS) ; do \
16921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16922 done; \
16923 echo "Doing distclean in gprof" ; \
16924 (cd $(HOST_SUBDIR)/gprof && \
16925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16927 "RANLIB=$${RANLIB}" \
16928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16929 distclean) \
16930 || exit 1
16932 @endif gprof
16934 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16935 maybe-maintainer-clean-gprof:
16936 @if gprof
16937 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16939 maintainer-clean-gprof:
16940 @: $(MAKE); $(unstage)
16941 @[ -f ./gprof/Makefile ] || exit 0; \
16942 r=`${PWD_COMMAND}`; export r; \
16943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16944 $(HOST_EXPORTS) \
16945 for flag in $(EXTRA_HOST_FLAGS) ; do \
16946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16947 done; \
16948 echo "Doing maintainer-clean in gprof" ; \
16949 (cd $(HOST_SUBDIR)/gprof && \
16950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16952 "RANLIB=$${RANLIB}" \
16953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16954 maintainer-clean) \
16955 || exit 1
16957 @endif gprof
16961 .PHONY: configure-intl maybe-configure-intl
16962 maybe-configure-intl:
16963 @if gcc-bootstrap
16964 configure-intl: stage_current
16965 @endif gcc-bootstrap
16966 @if intl
16967 maybe-configure-intl: configure-intl
16968 configure-intl:
16969 @r=`${PWD_COMMAND}`; export r; \
16970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16971 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16973 $(HOST_EXPORTS) \
16974 echo Configuring in $(HOST_SUBDIR)/intl; \
16975 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16976 case $(srcdir) in \
16977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16978 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16980 esac; \
16981 srcdiroption="--srcdir=$${topdir}/intl"; \
16982 libsrcdir="$$s/intl"; \
16983 $(SHELL) $${libsrcdir}/configure \
16984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16985 --target=${target_alias} $${srcdiroption} \
16986 || exit 1
16987 @endif intl
16991 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16992 maybe-configure-stage1-intl:
16993 @if intl-bootstrap
16994 maybe-configure-stage1-intl: configure-stage1-intl
16995 configure-stage1-intl:
16996 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16998 @r=`${PWD_COMMAND}`; export r; \
16999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17000 TFLAGS="$(STAGE1_TFLAGS)"; \
17001 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17002 $(HOST_EXPORTS) \
17003 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17004 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17005 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17006 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
17007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17008 cd $(HOST_SUBDIR)/intl || exit 1; \
17009 case $(srcdir) in \
17010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17011 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17013 esac; \
17014 srcdiroption="--srcdir=$${topdir}/intl"; \
17015 libsrcdir="$$s/intl"; \
17016 $(SHELL) $${libsrcdir}/configure \
17017 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17018 --target=${target_alias} $${srcdiroption} \
17019 $(STAGE1_CONFIGURE_FLAGS)
17020 @endif intl-bootstrap
17022 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17023 maybe-configure-stage2-intl:
17024 @if intl-bootstrap
17025 maybe-configure-stage2-intl: configure-stage2-intl
17026 configure-stage2-intl:
17027 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17029 @r=`${PWD_COMMAND}`; export r; \
17030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17031 TFLAGS="$(STAGE2_TFLAGS)"; \
17032 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17033 $(HOST_EXPORTS) \
17034 $(POSTSTAGE1_HOST_EXPORTS) \
17035 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17036 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17037 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17038 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17040 cd $(HOST_SUBDIR)/intl || exit 1; \
17041 case $(srcdir) in \
17042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17043 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17045 esac; \
17046 srcdiroption="--srcdir=$${topdir}/intl"; \
17047 libsrcdir="$$s/intl"; \
17048 $(SHELL) $${libsrcdir}/configure \
17049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17050 --target=${target_alias} $${srcdiroption} \
17051 --with-build-libsubdir=$(HOST_SUBDIR) \
17052 $(STAGE2_CONFIGURE_FLAGS)
17053 @endif intl-bootstrap
17055 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17056 maybe-configure-stage3-intl:
17057 @if intl-bootstrap
17058 maybe-configure-stage3-intl: configure-stage3-intl
17059 configure-stage3-intl:
17060 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17062 @r=`${PWD_COMMAND}`; export r; \
17063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17064 TFLAGS="$(STAGE3_TFLAGS)"; \
17065 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17066 $(HOST_EXPORTS) \
17067 $(POSTSTAGE1_HOST_EXPORTS) \
17068 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17069 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17070 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17071 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17073 cd $(HOST_SUBDIR)/intl || exit 1; \
17074 case $(srcdir) in \
17075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17076 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17078 esac; \
17079 srcdiroption="--srcdir=$${topdir}/intl"; \
17080 libsrcdir="$$s/intl"; \
17081 $(SHELL) $${libsrcdir}/configure \
17082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17083 --target=${target_alias} $${srcdiroption} \
17084 --with-build-libsubdir=$(HOST_SUBDIR) \
17085 $(STAGE3_CONFIGURE_FLAGS)
17086 @endif intl-bootstrap
17088 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17089 maybe-configure-stage4-intl:
17090 @if intl-bootstrap
17091 maybe-configure-stage4-intl: configure-stage4-intl
17092 configure-stage4-intl:
17093 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17095 @r=`${PWD_COMMAND}`; export r; \
17096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17097 TFLAGS="$(STAGE4_TFLAGS)"; \
17098 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17099 $(HOST_EXPORTS) \
17100 $(POSTSTAGE1_HOST_EXPORTS) \
17101 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17102 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17103 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17104 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17106 cd $(HOST_SUBDIR)/intl || exit 1; \
17107 case $(srcdir) in \
17108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17109 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17111 esac; \
17112 srcdiroption="--srcdir=$${topdir}/intl"; \
17113 libsrcdir="$$s/intl"; \
17114 $(SHELL) $${libsrcdir}/configure \
17115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17116 --target=${target_alias} $${srcdiroption} \
17117 --with-build-libsubdir=$(HOST_SUBDIR) \
17118 $(STAGE4_CONFIGURE_FLAGS)
17119 @endif intl-bootstrap
17121 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17122 maybe-configure-stageprofile-intl:
17123 @if intl-bootstrap
17124 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17125 configure-stageprofile-intl:
17126 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17127 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17128 @r=`${PWD_COMMAND}`; export r; \
17129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17130 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17131 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17132 $(HOST_EXPORTS) \
17133 $(POSTSTAGE1_HOST_EXPORTS) \
17134 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17135 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17136 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17137 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17139 cd $(HOST_SUBDIR)/intl || exit 1; \
17140 case $(srcdir) in \
17141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17142 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17144 esac; \
17145 srcdiroption="--srcdir=$${topdir}/intl"; \
17146 libsrcdir="$$s/intl"; \
17147 $(SHELL) $${libsrcdir}/configure \
17148 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17149 --target=${target_alias} $${srcdiroption} \
17150 --with-build-libsubdir=$(HOST_SUBDIR) \
17151 $(STAGEprofile_CONFIGURE_FLAGS)
17152 @endif intl-bootstrap
17154 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17155 maybe-configure-stagefeedback-intl:
17156 @if intl-bootstrap
17157 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17158 configure-stagefeedback-intl:
17159 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17161 @r=`${PWD_COMMAND}`; export r; \
17162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17163 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17164 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17165 $(HOST_EXPORTS) \
17166 $(POSTSTAGE1_HOST_EXPORTS) \
17167 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17168 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17169 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17170 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17172 cd $(HOST_SUBDIR)/intl || exit 1; \
17173 case $(srcdir) in \
17174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17175 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17177 esac; \
17178 srcdiroption="--srcdir=$${topdir}/intl"; \
17179 libsrcdir="$$s/intl"; \
17180 $(SHELL) $${libsrcdir}/configure \
17181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17182 --target=${target_alias} $${srcdiroption} \
17183 --with-build-libsubdir=$(HOST_SUBDIR) \
17184 $(STAGEfeedback_CONFIGURE_FLAGS)
17185 @endif intl-bootstrap
17191 .PHONY: all-intl maybe-all-intl
17192 maybe-all-intl:
17193 @if gcc-bootstrap
17194 all-intl: stage_current
17195 @endif gcc-bootstrap
17196 @if intl
17197 TARGET-intl=all
17198 maybe-all-intl: all-intl
17199 all-intl: configure-intl
17200 @r=`${PWD_COMMAND}`; export r; \
17201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17202 $(HOST_EXPORTS) \
17203 (cd $(HOST_SUBDIR)/intl && \
17204 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17205 $(TARGET-intl))
17206 @endif intl
17210 .PHONY: all-stage1-intl maybe-all-stage1-intl
17211 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17212 maybe-all-stage1-intl:
17213 maybe-clean-stage1-intl:
17214 @if intl-bootstrap
17215 maybe-all-stage1-intl: all-stage1-intl
17216 all-stage1: all-stage1-intl
17217 TARGET-stage1-intl = $(TARGET-intl)
17218 all-stage1-intl: configure-stage1-intl
17219 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17220 @r=`${PWD_COMMAND}`; export r; \
17221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17222 TFLAGS="$(STAGE1_TFLAGS)"; \
17223 $(HOST_EXPORTS) \
17224 cd $(HOST_SUBDIR)/intl && \
17225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17226 CFLAGS="$(STAGE1_CFLAGS)" \
17227 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17228 LIBCFLAGS="$(LIBCFLAGS)" \
17229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17232 $(EXTRA_HOST_FLAGS) \
17233 TFLAGS="$(STAGE1_TFLAGS)" \
17234 $(TARGET-stage1-intl)
17236 maybe-clean-stage1-intl: clean-stage1-intl
17237 clean-stage1: clean-stage1-intl
17238 clean-stage1-intl:
17239 @if [ $(current_stage) = stage1 ]; then \
17240 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17241 else \
17242 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17243 $(MAKE) stage1-start; \
17244 fi; \
17245 cd $(HOST_SUBDIR)/intl && \
17246 $(MAKE) $(EXTRA_HOST_FLAGS) \
17247 clean
17248 @endif intl-bootstrap
17251 .PHONY: all-stage2-intl maybe-all-stage2-intl
17252 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17253 maybe-all-stage2-intl:
17254 maybe-clean-stage2-intl:
17255 @if intl-bootstrap
17256 maybe-all-stage2-intl: all-stage2-intl
17257 all-stage2: all-stage2-intl
17258 TARGET-stage2-intl = $(TARGET-intl)
17259 all-stage2-intl: configure-stage2-intl
17260 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17261 @r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17263 TFLAGS="$(STAGE2_TFLAGS)"; \
17264 $(HOST_EXPORTS) \
17265 $(POSTSTAGE1_HOST_EXPORTS) \
17266 cd $(HOST_SUBDIR)/intl && \
17267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17268 CFLAGS="$(STAGE2_CFLAGS)" \
17269 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17270 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17275 TFLAGS="$(STAGE2_TFLAGS)" \
17276 $(TARGET-stage2-intl)
17278 maybe-clean-stage2-intl: clean-stage2-intl
17279 clean-stage2: clean-stage2-intl
17280 clean-stage2-intl:
17281 @if [ $(current_stage) = stage2 ]; then \
17282 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17283 else \
17284 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17285 $(MAKE) stage2-start; \
17286 fi; \
17287 cd $(HOST_SUBDIR)/intl && \
17288 $(MAKE) $(EXTRA_HOST_FLAGS) \
17289 $(POSTSTAGE1_FLAGS_TO_PASS) \
17290 clean
17291 @endif intl-bootstrap
17294 .PHONY: all-stage3-intl maybe-all-stage3-intl
17295 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17296 maybe-all-stage3-intl:
17297 maybe-clean-stage3-intl:
17298 @if intl-bootstrap
17299 maybe-all-stage3-intl: all-stage3-intl
17300 all-stage3: all-stage3-intl
17301 TARGET-stage3-intl = $(TARGET-intl)
17302 all-stage3-intl: configure-stage3-intl
17303 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17304 @r=`${PWD_COMMAND}`; export r; \
17305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17306 TFLAGS="$(STAGE3_TFLAGS)"; \
17307 $(HOST_EXPORTS) \
17308 $(POSTSTAGE1_HOST_EXPORTS) \
17309 cd $(HOST_SUBDIR)/intl && \
17310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17311 CFLAGS="$(STAGE3_CFLAGS)" \
17312 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17313 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17318 TFLAGS="$(STAGE3_TFLAGS)" \
17319 $(TARGET-stage3-intl)
17321 maybe-clean-stage3-intl: clean-stage3-intl
17322 clean-stage3: clean-stage3-intl
17323 clean-stage3-intl:
17324 @if [ $(current_stage) = stage3 ]; then \
17325 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17326 else \
17327 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17328 $(MAKE) stage3-start; \
17329 fi; \
17330 cd $(HOST_SUBDIR)/intl && \
17331 $(MAKE) $(EXTRA_HOST_FLAGS) \
17332 $(POSTSTAGE1_FLAGS_TO_PASS) \
17333 clean
17334 @endif intl-bootstrap
17337 .PHONY: all-stage4-intl maybe-all-stage4-intl
17338 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17339 maybe-all-stage4-intl:
17340 maybe-clean-stage4-intl:
17341 @if intl-bootstrap
17342 maybe-all-stage4-intl: all-stage4-intl
17343 all-stage4: all-stage4-intl
17344 TARGET-stage4-intl = $(TARGET-intl)
17345 all-stage4-intl: configure-stage4-intl
17346 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17347 @r=`${PWD_COMMAND}`; export r; \
17348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17349 TFLAGS="$(STAGE4_TFLAGS)"; \
17350 $(HOST_EXPORTS) \
17351 $(POSTSTAGE1_HOST_EXPORTS) \
17352 cd $(HOST_SUBDIR)/intl && \
17353 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17354 CFLAGS="$(STAGE4_CFLAGS)" \
17355 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17356 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17357 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17358 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17359 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17360 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17361 TFLAGS="$(STAGE4_TFLAGS)" \
17362 $(TARGET-stage4-intl)
17364 maybe-clean-stage4-intl: clean-stage4-intl
17365 clean-stage4: clean-stage4-intl
17366 clean-stage4-intl:
17367 @if [ $(current_stage) = stage4 ]; then \
17368 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17369 else \
17370 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17371 $(MAKE) stage4-start; \
17372 fi; \
17373 cd $(HOST_SUBDIR)/intl && \
17374 $(MAKE) $(EXTRA_HOST_FLAGS) \
17375 $(POSTSTAGE1_FLAGS_TO_PASS) \
17376 clean
17377 @endif intl-bootstrap
17380 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17381 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17382 maybe-all-stageprofile-intl:
17383 maybe-clean-stageprofile-intl:
17384 @if intl-bootstrap
17385 maybe-all-stageprofile-intl: all-stageprofile-intl
17386 all-stageprofile: all-stageprofile-intl
17387 TARGET-stageprofile-intl = $(TARGET-intl)
17388 all-stageprofile-intl: configure-stageprofile-intl
17389 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17390 @r=`${PWD_COMMAND}`; export r; \
17391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17392 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17393 $(HOST_EXPORTS) \
17394 $(POSTSTAGE1_HOST_EXPORTS) \
17395 cd $(HOST_SUBDIR)/intl && \
17396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17397 CFLAGS="$(STAGEprofile_CFLAGS)" \
17398 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17399 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17403 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17404 TFLAGS="$(STAGEprofile_TFLAGS)" \
17405 $(TARGET-stageprofile-intl)
17407 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17408 clean-stageprofile: clean-stageprofile-intl
17409 clean-stageprofile-intl:
17410 @if [ $(current_stage) = stageprofile ]; then \
17411 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17412 else \
17413 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17414 $(MAKE) stageprofile-start; \
17415 fi; \
17416 cd $(HOST_SUBDIR)/intl && \
17417 $(MAKE) $(EXTRA_HOST_FLAGS) \
17418 $(POSTSTAGE1_FLAGS_TO_PASS) \
17419 clean
17420 @endif intl-bootstrap
17423 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17424 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17425 maybe-all-stagefeedback-intl:
17426 maybe-clean-stagefeedback-intl:
17427 @if intl-bootstrap
17428 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17429 all-stagefeedback: all-stagefeedback-intl
17430 TARGET-stagefeedback-intl = $(TARGET-intl)
17431 all-stagefeedback-intl: configure-stagefeedback-intl
17432 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17433 @r=`${PWD_COMMAND}`; export r; \
17434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17435 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17436 $(HOST_EXPORTS) \
17437 $(POSTSTAGE1_HOST_EXPORTS) \
17438 cd $(HOST_SUBDIR)/intl && \
17439 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17440 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17441 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17442 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17443 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17444 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17445 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17446 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17447 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17448 $(TARGET-stagefeedback-intl)
17450 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17451 clean-stagefeedback: clean-stagefeedback-intl
17452 clean-stagefeedback-intl:
17453 @if [ $(current_stage) = stagefeedback ]; then \
17454 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17455 else \
17456 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17457 $(MAKE) stagefeedback-start; \
17458 fi; \
17459 cd $(HOST_SUBDIR)/intl && \
17460 $(MAKE) $(EXTRA_HOST_FLAGS) \
17461 $(POSTSTAGE1_FLAGS_TO_PASS) \
17462 clean
17463 @endif intl-bootstrap
17469 .PHONY: check-intl maybe-check-intl
17470 maybe-check-intl:
17471 @if intl
17472 maybe-check-intl: check-intl
17474 check-intl:
17475 @: $(MAKE); $(unstage)
17476 @r=`${PWD_COMMAND}`; export r; \
17477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17478 $(HOST_EXPORTS) \
17479 (cd $(HOST_SUBDIR)/intl && \
17480 $(MAKE) $(FLAGS_TO_PASS) check)
17482 @endif intl
17484 .PHONY: install-intl maybe-install-intl
17485 maybe-install-intl:
17486 @if intl
17487 maybe-install-intl: install-intl
17489 install-intl: installdirs
17490 @: $(MAKE); $(unstage)
17491 @r=`${PWD_COMMAND}`; export r; \
17492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17493 $(HOST_EXPORTS) \
17494 (cd $(HOST_SUBDIR)/intl && \
17495 $(MAKE) $(FLAGS_TO_PASS) install)
17497 @endif intl
17499 .PHONY: install-strip-intl maybe-install-strip-intl
17500 maybe-install-strip-intl:
17501 @if intl
17502 maybe-install-strip-intl: install-strip-intl
17504 install-strip-intl: installdirs
17505 @: $(MAKE); $(unstage)
17506 @r=`${PWD_COMMAND}`; export r; \
17507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17508 $(HOST_EXPORTS) \
17509 (cd $(HOST_SUBDIR)/intl && \
17510 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17512 @endif intl
17514 # Other targets (info, dvi, pdf, etc.)
17516 .PHONY: maybe-info-intl info-intl
17517 maybe-info-intl:
17518 @if intl
17519 maybe-info-intl: info-intl
17521 info-intl: \
17522 configure-intl
17523 @[ -f ./intl/Makefile ] || exit 0; \
17524 r=`${PWD_COMMAND}`; export r; \
17525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17526 $(HOST_EXPORTS) \
17527 for flag in $(EXTRA_HOST_FLAGS) ; do \
17528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17529 done; \
17530 echo "Doing info in intl" ; \
17531 (cd $(HOST_SUBDIR)/intl && \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534 "RANLIB=$${RANLIB}" \
17535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17536 info) \
17537 || exit 1
17539 @endif intl
17541 .PHONY: maybe-dvi-intl dvi-intl
17542 maybe-dvi-intl:
17543 @if intl
17544 maybe-dvi-intl: dvi-intl
17546 dvi-intl: \
17547 configure-intl
17548 @[ -f ./intl/Makefile ] || exit 0; \
17549 r=`${PWD_COMMAND}`; export r; \
17550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17551 $(HOST_EXPORTS) \
17552 for flag in $(EXTRA_HOST_FLAGS) ; do \
17553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17554 done; \
17555 echo "Doing dvi in intl" ; \
17556 (cd $(HOST_SUBDIR)/intl && \
17557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17559 "RANLIB=$${RANLIB}" \
17560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17561 dvi) \
17562 || exit 1
17564 @endif intl
17566 .PHONY: maybe-pdf-intl pdf-intl
17567 maybe-pdf-intl:
17568 @if intl
17569 maybe-pdf-intl: pdf-intl
17571 pdf-intl: \
17572 configure-intl
17573 @[ -f ./intl/Makefile ] || exit 0; \
17574 r=`${PWD_COMMAND}`; export r; \
17575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17576 $(HOST_EXPORTS) \
17577 for flag in $(EXTRA_HOST_FLAGS) ; do \
17578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17579 done; \
17580 echo "Doing pdf in intl" ; \
17581 (cd $(HOST_SUBDIR)/intl && \
17582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17584 "RANLIB=$${RANLIB}" \
17585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17586 pdf) \
17587 || exit 1
17589 @endif intl
17591 .PHONY: maybe-html-intl html-intl
17592 maybe-html-intl:
17593 @if intl
17594 maybe-html-intl: html-intl
17596 html-intl: \
17597 configure-intl
17598 @[ -f ./intl/Makefile ] || exit 0; \
17599 r=`${PWD_COMMAND}`; export r; \
17600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17601 $(HOST_EXPORTS) \
17602 for flag in $(EXTRA_HOST_FLAGS) ; do \
17603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17604 done; \
17605 echo "Doing html in intl" ; \
17606 (cd $(HOST_SUBDIR)/intl && \
17607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17609 "RANLIB=$${RANLIB}" \
17610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17611 html) \
17612 || exit 1
17614 @endif intl
17616 .PHONY: maybe-TAGS-intl TAGS-intl
17617 maybe-TAGS-intl:
17618 @if intl
17619 maybe-TAGS-intl: TAGS-intl
17621 TAGS-intl: \
17622 configure-intl
17623 @[ -f ./intl/Makefile ] || exit 0; \
17624 r=`${PWD_COMMAND}`; export r; \
17625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17626 $(HOST_EXPORTS) \
17627 for flag in $(EXTRA_HOST_FLAGS) ; do \
17628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17629 done; \
17630 echo "Doing TAGS in intl" ; \
17631 (cd $(HOST_SUBDIR)/intl && \
17632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17634 "RANLIB=$${RANLIB}" \
17635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17636 TAGS) \
17637 || exit 1
17639 @endif intl
17641 .PHONY: maybe-install-info-intl install-info-intl
17642 maybe-install-info-intl:
17643 @if intl
17644 maybe-install-info-intl: install-info-intl
17646 install-info-intl: \
17647 configure-intl \
17648 info-intl
17649 @[ -f ./intl/Makefile ] || exit 0; \
17650 r=`${PWD_COMMAND}`; export r; \
17651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652 $(HOST_EXPORTS) \
17653 for flag in $(EXTRA_HOST_FLAGS) ; do \
17654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17655 done; \
17656 echo "Doing install-info in intl" ; \
17657 (cd $(HOST_SUBDIR)/intl && \
17658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17660 "RANLIB=$${RANLIB}" \
17661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17662 install-info) \
17663 || exit 1
17665 @endif intl
17667 .PHONY: maybe-install-pdf-intl install-pdf-intl
17668 maybe-install-pdf-intl:
17669 @if intl
17670 maybe-install-pdf-intl: install-pdf-intl
17672 install-pdf-intl: \
17673 configure-intl \
17674 pdf-intl
17675 @[ -f ./intl/Makefile ] || exit 0; \
17676 r=`${PWD_COMMAND}`; export r; \
17677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17678 $(HOST_EXPORTS) \
17679 for flag in $(EXTRA_HOST_FLAGS) ; do \
17680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17681 done; \
17682 echo "Doing install-pdf in intl" ; \
17683 (cd $(HOST_SUBDIR)/intl && \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17686 "RANLIB=$${RANLIB}" \
17687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17688 install-pdf) \
17689 || exit 1
17691 @endif intl
17693 .PHONY: maybe-install-html-intl install-html-intl
17694 maybe-install-html-intl:
17695 @if intl
17696 maybe-install-html-intl: install-html-intl
17698 install-html-intl: \
17699 configure-intl \
17700 html-intl
17701 @[ -f ./intl/Makefile ] || exit 0; \
17702 r=`${PWD_COMMAND}`; export r; \
17703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17704 $(HOST_EXPORTS) \
17705 for flag in $(EXTRA_HOST_FLAGS) ; do \
17706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17707 done; \
17708 echo "Doing install-html in intl" ; \
17709 (cd $(HOST_SUBDIR)/intl && \
17710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17712 "RANLIB=$${RANLIB}" \
17713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17714 install-html) \
17715 || exit 1
17717 @endif intl
17719 .PHONY: maybe-installcheck-intl installcheck-intl
17720 maybe-installcheck-intl:
17721 @if intl
17722 maybe-installcheck-intl: installcheck-intl
17724 installcheck-intl: \
17725 configure-intl
17726 @[ -f ./intl/Makefile ] || exit 0; \
17727 r=`${PWD_COMMAND}`; export r; \
17728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17729 $(HOST_EXPORTS) \
17730 for flag in $(EXTRA_HOST_FLAGS) ; do \
17731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17732 done; \
17733 echo "Doing installcheck in intl" ; \
17734 (cd $(HOST_SUBDIR)/intl && \
17735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17737 "RANLIB=$${RANLIB}" \
17738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17739 installcheck) \
17740 || exit 1
17742 @endif intl
17744 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17745 maybe-mostlyclean-intl:
17746 @if intl
17747 maybe-mostlyclean-intl: mostlyclean-intl
17749 mostlyclean-intl:
17750 @[ -f ./intl/Makefile ] || exit 0; \
17751 r=`${PWD_COMMAND}`; export r; \
17752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17753 $(HOST_EXPORTS) \
17754 for flag in $(EXTRA_HOST_FLAGS) ; do \
17755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17756 done; \
17757 echo "Doing mostlyclean in intl" ; \
17758 (cd $(HOST_SUBDIR)/intl && \
17759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17761 "RANLIB=$${RANLIB}" \
17762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17763 mostlyclean) \
17764 || exit 1
17766 @endif intl
17768 .PHONY: maybe-clean-intl clean-intl
17769 maybe-clean-intl:
17770 @if intl
17771 maybe-clean-intl: clean-intl
17773 clean-intl:
17774 @[ -f ./intl/Makefile ] || exit 0; \
17775 r=`${PWD_COMMAND}`; export r; \
17776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17777 $(HOST_EXPORTS) \
17778 for flag in $(EXTRA_HOST_FLAGS) ; do \
17779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17780 done; \
17781 echo "Doing clean in intl" ; \
17782 (cd $(HOST_SUBDIR)/intl && \
17783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17785 "RANLIB=$${RANLIB}" \
17786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17787 clean) \
17788 || exit 1
17790 @endif intl
17792 .PHONY: maybe-distclean-intl distclean-intl
17793 maybe-distclean-intl:
17794 @if intl
17795 maybe-distclean-intl: distclean-intl
17797 distclean-intl:
17798 @[ -f ./intl/Makefile ] || exit 0; \
17799 r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17801 $(HOST_EXPORTS) \
17802 for flag in $(EXTRA_HOST_FLAGS) ; do \
17803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17804 done; \
17805 echo "Doing distclean in intl" ; \
17806 (cd $(HOST_SUBDIR)/intl && \
17807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17809 "RANLIB=$${RANLIB}" \
17810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17811 distclean) \
17812 || exit 1
17814 @endif intl
17816 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17817 maybe-maintainer-clean-intl:
17818 @if intl
17819 maybe-maintainer-clean-intl: maintainer-clean-intl
17821 maintainer-clean-intl:
17822 @[ -f ./intl/Makefile ] || exit 0; \
17823 r=`${PWD_COMMAND}`; export r; \
17824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17825 $(HOST_EXPORTS) \
17826 for flag in $(EXTRA_HOST_FLAGS) ; do \
17827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17828 done; \
17829 echo "Doing maintainer-clean in intl" ; \
17830 (cd $(HOST_SUBDIR)/intl && \
17831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17833 "RANLIB=$${RANLIB}" \
17834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17835 maintainer-clean) \
17836 || exit 1
17838 @endif intl
17842 .PHONY: configure-tcl maybe-configure-tcl
17843 maybe-configure-tcl:
17844 @if gcc-bootstrap
17845 configure-tcl: stage_current
17846 @endif gcc-bootstrap
17847 @if tcl
17848 maybe-configure-tcl: configure-tcl
17849 configure-tcl:
17850 @: $(MAKE); $(unstage)
17851 @r=`${PWD_COMMAND}`; export r; \
17852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17853 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17855 $(HOST_EXPORTS) \
17856 echo Configuring in $(HOST_SUBDIR)/tcl; \
17857 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17858 case $(srcdir) in \
17859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17860 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17862 esac; \
17863 srcdiroption="--srcdir=$${topdir}/tcl"; \
17864 libsrcdir="$$s/tcl"; \
17865 $(SHELL) $${libsrcdir}/configure \
17866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17867 --target=${target_alias} $${srcdiroption} \
17868 || exit 1
17869 @endif tcl
17875 .PHONY: all-tcl maybe-all-tcl
17876 maybe-all-tcl:
17877 @if gcc-bootstrap
17878 all-tcl: stage_current
17879 @endif gcc-bootstrap
17880 @if tcl
17881 TARGET-tcl=all
17882 maybe-all-tcl: all-tcl
17883 all-tcl: configure-tcl
17884 @: $(MAKE); $(unstage)
17885 @r=`${PWD_COMMAND}`; export r; \
17886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17887 $(HOST_EXPORTS) \
17888 (cd $(HOST_SUBDIR)/tcl && \
17889 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17890 $(TARGET-tcl))
17891 @endif tcl
17896 .PHONY: check-tcl maybe-check-tcl
17897 maybe-check-tcl:
17898 @if tcl
17899 maybe-check-tcl: check-tcl
17901 check-tcl:
17902 @: $(MAKE); $(unstage)
17903 @r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17905 $(HOST_EXPORTS) \
17906 (cd $(HOST_SUBDIR)/tcl && \
17907 $(MAKE) $(FLAGS_TO_PASS) check)
17909 @endif tcl
17911 .PHONY: install-tcl maybe-install-tcl
17912 maybe-install-tcl:
17913 @if tcl
17914 maybe-install-tcl: install-tcl
17916 install-tcl: installdirs
17917 @: $(MAKE); $(unstage)
17918 @r=`${PWD_COMMAND}`; export r; \
17919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17920 $(HOST_EXPORTS) \
17921 (cd $(HOST_SUBDIR)/tcl && \
17922 $(MAKE) $(FLAGS_TO_PASS) install)
17924 @endif tcl
17926 .PHONY: install-strip-tcl maybe-install-strip-tcl
17927 maybe-install-strip-tcl:
17928 @if tcl
17929 maybe-install-strip-tcl: install-strip-tcl
17931 install-strip-tcl: installdirs
17932 @: $(MAKE); $(unstage)
17933 @r=`${PWD_COMMAND}`; export r; \
17934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17935 $(HOST_EXPORTS) \
17936 (cd $(HOST_SUBDIR)/tcl && \
17937 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17939 @endif tcl
17941 # Other targets (info, dvi, pdf, etc.)
17943 .PHONY: maybe-info-tcl info-tcl
17944 maybe-info-tcl:
17945 @if tcl
17946 maybe-info-tcl: info-tcl
17948 info-tcl: \
17949 configure-tcl
17950 @: $(MAKE); $(unstage)
17951 @[ -f ./tcl/Makefile ] || exit 0; \
17952 r=`${PWD_COMMAND}`; export r; \
17953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954 $(HOST_EXPORTS) \
17955 for flag in $(EXTRA_HOST_FLAGS) ; do \
17956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17957 done; \
17958 echo "Doing info in tcl" ; \
17959 (cd $(HOST_SUBDIR)/tcl && \
17960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17962 "RANLIB=$${RANLIB}" \
17963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17964 info) \
17965 || exit 1
17967 @endif tcl
17969 .PHONY: maybe-dvi-tcl dvi-tcl
17970 maybe-dvi-tcl:
17971 @if tcl
17972 maybe-dvi-tcl: dvi-tcl
17974 dvi-tcl: \
17975 configure-tcl
17976 @: $(MAKE); $(unstage)
17977 @[ -f ./tcl/Makefile ] || exit 0; \
17978 r=`${PWD_COMMAND}`; export r; \
17979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17980 $(HOST_EXPORTS) \
17981 for flag in $(EXTRA_HOST_FLAGS) ; do \
17982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17983 done; \
17984 echo "Doing dvi in tcl" ; \
17985 (cd $(HOST_SUBDIR)/tcl && \
17986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17988 "RANLIB=$${RANLIB}" \
17989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17990 dvi) \
17991 || exit 1
17993 @endif tcl
17995 .PHONY: maybe-pdf-tcl pdf-tcl
17996 maybe-pdf-tcl:
17997 @if tcl
17998 maybe-pdf-tcl: pdf-tcl
18000 pdf-tcl: \
18001 configure-tcl
18002 @: $(MAKE); $(unstage)
18003 @[ -f ./tcl/Makefile ] || exit 0; \
18004 r=`${PWD_COMMAND}`; export r; \
18005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18006 $(HOST_EXPORTS) \
18007 for flag in $(EXTRA_HOST_FLAGS) ; do \
18008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18009 done; \
18010 echo "Doing pdf in tcl" ; \
18011 (cd $(HOST_SUBDIR)/tcl && \
18012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18014 "RANLIB=$${RANLIB}" \
18015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18016 pdf) \
18017 || exit 1
18019 @endif tcl
18021 .PHONY: maybe-html-tcl html-tcl
18022 maybe-html-tcl:
18023 @if tcl
18024 maybe-html-tcl: html-tcl
18026 html-tcl: \
18027 configure-tcl
18028 @: $(MAKE); $(unstage)
18029 @[ -f ./tcl/Makefile ] || exit 0; \
18030 r=`${PWD_COMMAND}`; export r; \
18031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18032 $(HOST_EXPORTS) \
18033 for flag in $(EXTRA_HOST_FLAGS) ; do \
18034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18035 done; \
18036 echo "Doing html in tcl" ; \
18037 (cd $(HOST_SUBDIR)/tcl && \
18038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18040 "RANLIB=$${RANLIB}" \
18041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18042 html) \
18043 || exit 1
18045 @endif tcl
18047 .PHONY: maybe-TAGS-tcl TAGS-tcl
18048 maybe-TAGS-tcl:
18049 @if tcl
18050 maybe-TAGS-tcl: TAGS-tcl
18052 TAGS-tcl: \
18053 configure-tcl
18054 @: $(MAKE); $(unstage)
18055 @[ -f ./tcl/Makefile ] || exit 0; \
18056 r=`${PWD_COMMAND}`; export r; \
18057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18058 $(HOST_EXPORTS) \
18059 for flag in $(EXTRA_HOST_FLAGS) ; do \
18060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18061 done; \
18062 echo "Doing TAGS in tcl" ; \
18063 (cd $(HOST_SUBDIR)/tcl && \
18064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18066 "RANLIB=$${RANLIB}" \
18067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18068 TAGS) \
18069 || exit 1
18071 @endif tcl
18073 .PHONY: maybe-install-info-tcl install-info-tcl
18074 maybe-install-info-tcl:
18075 @if tcl
18076 maybe-install-info-tcl: install-info-tcl
18078 install-info-tcl: \
18079 configure-tcl \
18080 info-tcl
18081 @: $(MAKE); $(unstage)
18082 @[ -f ./tcl/Makefile ] || exit 0; \
18083 r=`${PWD_COMMAND}`; export r; \
18084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18085 $(HOST_EXPORTS) \
18086 for flag in $(EXTRA_HOST_FLAGS) ; do \
18087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18088 done; \
18089 echo "Doing install-info in tcl" ; \
18090 (cd $(HOST_SUBDIR)/tcl && \
18091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18093 "RANLIB=$${RANLIB}" \
18094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18095 install-info) \
18096 || exit 1
18098 @endif tcl
18100 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18101 maybe-install-pdf-tcl:
18102 @if tcl
18103 maybe-install-pdf-tcl: install-pdf-tcl
18105 install-pdf-tcl: \
18106 configure-tcl \
18107 pdf-tcl
18108 @: $(MAKE); $(unstage)
18109 @[ -f ./tcl/Makefile ] || exit 0; \
18110 r=`${PWD_COMMAND}`; export r; \
18111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18112 $(HOST_EXPORTS) \
18113 for flag in $(EXTRA_HOST_FLAGS) ; do \
18114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18115 done; \
18116 echo "Doing install-pdf in tcl" ; \
18117 (cd $(HOST_SUBDIR)/tcl && \
18118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18120 "RANLIB=$${RANLIB}" \
18121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18122 install-pdf) \
18123 || exit 1
18125 @endif tcl
18127 .PHONY: maybe-install-html-tcl install-html-tcl
18128 maybe-install-html-tcl:
18129 @if tcl
18130 maybe-install-html-tcl: install-html-tcl
18132 install-html-tcl: \
18133 configure-tcl \
18134 html-tcl
18135 @: $(MAKE); $(unstage)
18136 @[ -f ./tcl/Makefile ] || exit 0; \
18137 r=`${PWD_COMMAND}`; export r; \
18138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18139 $(HOST_EXPORTS) \
18140 for flag in $(EXTRA_HOST_FLAGS) ; do \
18141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18142 done; \
18143 echo "Doing install-html in tcl" ; \
18144 (cd $(HOST_SUBDIR)/tcl && \
18145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18147 "RANLIB=$${RANLIB}" \
18148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18149 install-html) \
18150 || exit 1
18152 @endif tcl
18154 .PHONY: maybe-installcheck-tcl installcheck-tcl
18155 maybe-installcheck-tcl:
18156 @if tcl
18157 maybe-installcheck-tcl: installcheck-tcl
18159 installcheck-tcl: \
18160 configure-tcl
18161 @: $(MAKE); $(unstage)
18162 @[ -f ./tcl/Makefile ] || exit 0; \
18163 r=`${PWD_COMMAND}`; export r; \
18164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18165 $(HOST_EXPORTS) \
18166 for flag in $(EXTRA_HOST_FLAGS) ; do \
18167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18168 done; \
18169 echo "Doing installcheck in tcl" ; \
18170 (cd $(HOST_SUBDIR)/tcl && \
18171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18173 "RANLIB=$${RANLIB}" \
18174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18175 installcheck) \
18176 || exit 1
18178 @endif tcl
18180 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18181 maybe-mostlyclean-tcl:
18182 @if tcl
18183 maybe-mostlyclean-tcl: mostlyclean-tcl
18185 # tcl doesn't support mostlyclean.
18186 mostlyclean-tcl:
18188 @endif tcl
18190 .PHONY: maybe-clean-tcl clean-tcl
18191 maybe-clean-tcl:
18192 @if tcl
18193 maybe-clean-tcl: clean-tcl
18195 clean-tcl:
18196 @: $(MAKE); $(unstage)
18197 @[ -f ./tcl/Makefile ] || exit 0; \
18198 r=`${PWD_COMMAND}`; export r; \
18199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18200 $(HOST_EXPORTS) \
18201 for flag in $(EXTRA_HOST_FLAGS) ; do \
18202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18203 done; \
18204 echo "Doing clean in tcl" ; \
18205 (cd $(HOST_SUBDIR)/tcl && \
18206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18208 "RANLIB=$${RANLIB}" \
18209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18210 clean) \
18211 || exit 1
18213 @endif tcl
18215 .PHONY: maybe-distclean-tcl distclean-tcl
18216 maybe-distclean-tcl:
18217 @if tcl
18218 maybe-distclean-tcl: distclean-tcl
18220 distclean-tcl:
18221 @: $(MAKE); $(unstage)
18222 @[ -f ./tcl/Makefile ] || exit 0; \
18223 r=`${PWD_COMMAND}`; export r; \
18224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18225 $(HOST_EXPORTS) \
18226 for flag in $(EXTRA_HOST_FLAGS) ; do \
18227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18228 done; \
18229 echo "Doing distclean in tcl" ; \
18230 (cd $(HOST_SUBDIR)/tcl && \
18231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18233 "RANLIB=$${RANLIB}" \
18234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18235 distclean) \
18236 || exit 1
18238 @endif tcl
18240 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18241 maybe-maintainer-clean-tcl:
18242 @if tcl
18243 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18245 maintainer-clean-tcl:
18246 @: $(MAKE); $(unstage)
18247 @[ -f ./tcl/Makefile ] || exit 0; \
18248 r=`${PWD_COMMAND}`; export r; \
18249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18250 $(HOST_EXPORTS) \
18251 for flag in $(EXTRA_HOST_FLAGS) ; do \
18252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18253 done; \
18254 echo "Doing maintainer-clean in tcl" ; \
18255 (cd $(HOST_SUBDIR)/tcl && \
18256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18258 "RANLIB=$${RANLIB}" \
18259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18260 maintainer-clean) \
18261 || exit 1
18263 @endif tcl
18267 .PHONY: configure-itcl maybe-configure-itcl
18268 maybe-configure-itcl:
18269 @if gcc-bootstrap
18270 configure-itcl: stage_current
18271 @endif gcc-bootstrap
18272 @if itcl
18273 maybe-configure-itcl: configure-itcl
18274 configure-itcl:
18275 @: $(MAKE); $(unstage)
18276 @r=`${PWD_COMMAND}`; export r; \
18277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18278 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18280 $(HOST_EXPORTS) \
18281 echo Configuring in $(HOST_SUBDIR)/itcl; \
18282 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18283 case $(srcdir) in \
18284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18285 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18287 esac; \
18288 srcdiroption="--srcdir=$${topdir}/itcl"; \
18289 libsrcdir="$$s/itcl"; \
18290 $(SHELL) $${libsrcdir}/configure \
18291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18292 --target=${target_alias} $${srcdiroption} \
18293 || exit 1
18294 @endif itcl
18300 .PHONY: all-itcl maybe-all-itcl
18301 maybe-all-itcl:
18302 @if gcc-bootstrap
18303 all-itcl: stage_current
18304 @endif gcc-bootstrap
18305 @if itcl
18306 TARGET-itcl=all
18307 maybe-all-itcl: all-itcl
18308 all-itcl: configure-itcl
18309 @: $(MAKE); $(unstage)
18310 @r=`${PWD_COMMAND}`; export r; \
18311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18312 $(HOST_EXPORTS) \
18313 (cd $(HOST_SUBDIR)/itcl && \
18314 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18315 $(TARGET-itcl))
18316 @endif itcl
18321 .PHONY: check-itcl maybe-check-itcl
18322 maybe-check-itcl:
18323 @if itcl
18324 maybe-check-itcl: check-itcl
18326 check-itcl:
18327 @: $(MAKE); $(unstage)
18328 @r=`${PWD_COMMAND}`; export r; \
18329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18330 $(HOST_EXPORTS) \
18331 (cd $(HOST_SUBDIR)/itcl && \
18332 $(MAKE) $(FLAGS_TO_PASS) check)
18334 @endif itcl
18336 .PHONY: install-itcl maybe-install-itcl
18337 maybe-install-itcl:
18338 @if itcl
18339 maybe-install-itcl: install-itcl
18341 install-itcl: installdirs
18342 @: $(MAKE); $(unstage)
18343 @r=`${PWD_COMMAND}`; export r; \
18344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18345 $(HOST_EXPORTS) \
18346 (cd $(HOST_SUBDIR)/itcl && \
18347 $(MAKE) $(FLAGS_TO_PASS) install)
18349 @endif itcl
18351 .PHONY: install-strip-itcl maybe-install-strip-itcl
18352 maybe-install-strip-itcl:
18353 @if itcl
18354 maybe-install-strip-itcl: install-strip-itcl
18356 install-strip-itcl: installdirs
18357 @: $(MAKE); $(unstage)
18358 @r=`${PWD_COMMAND}`; export r; \
18359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18360 $(HOST_EXPORTS) \
18361 (cd $(HOST_SUBDIR)/itcl && \
18362 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18364 @endif itcl
18366 # Other targets (info, dvi, pdf, etc.)
18368 .PHONY: maybe-info-itcl info-itcl
18369 maybe-info-itcl:
18370 @if itcl
18371 maybe-info-itcl: info-itcl
18373 info-itcl: \
18374 configure-itcl
18375 @: $(MAKE); $(unstage)
18376 @[ -f ./itcl/Makefile ] || exit 0; \
18377 r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379 $(HOST_EXPORTS) \
18380 for flag in $(EXTRA_HOST_FLAGS) ; do \
18381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18382 done; \
18383 echo "Doing info in itcl" ; \
18384 (cd $(HOST_SUBDIR)/itcl && \
18385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18387 "RANLIB=$${RANLIB}" \
18388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18389 info) \
18390 || exit 1
18392 @endif itcl
18394 .PHONY: maybe-dvi-itcl dvi-itcl
18395 maybe-dvi-itcl:
18396 @if itcl
18397 maybe-dvi-itcl: dvi-itcl
18399 dvi-itcl: \
18400 configure-itcl
18401 @: $(MAKE); $(unstage)
18402 @[ -f ./itcl/Makefile ] || exit 0; \
18403 r=`${PWD_COMMAND}`; export r; \
18404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18405 $(HOST_EXPORTS) \
18406 for flag in $(EXTRA_HOST_FLAGS) ; do \
18407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18408 done; \
18409 echo "Doing dvi in itcl" ; \
18410 (cd $(HOST_SUBDIR)/itcl && \
18411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18413 "RANLIB=$${RANLIB}" \
18414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18415 dvi) \
18416 || exit 1
18418 @endif itcl
18420 .PHONY: maybe-pdf-itcl pdf-itcl
18421 maybe-pdf-itcl:
18422 @if itcl
18423 maybe-pdf-itcl: pdf-itcl
18425 pdf-itcl: \
18426 configure-itcl
18427 @: $(MAKE); $(unstage)
18428 @[ -f ./itcl/Makefile ] || exit 0; \
18429 r=`${PWD_COMMAND}`; export r; \
18430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18431 $(HOST_EXPORTS) \
18432 for flag in $(EXTRA_HOST_FLAGS) ; do \
18433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18434 done; \
18435 echo "Doing pdf in itcl" ; \
18436 (cd $(HOST_SUBDIR)/itcl && \
18437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18439 "RANLIB=$${RANLIB}" \
18440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18441 pdf) \
18442 || exit 1
18444 @endif itcl
18446 .PHONY: maybe-html-itcl html-itcl
18447 maybe-html-itcl:
18448 @if itcl
18449 maybe-html-itcl: html-itcl
18451 html-itcl: \
18452 configure-itcl
18453 @: $(MAKE); $(unstage)
18454 @[ -f ./itcl/Makefile ] || exit 0; \
18455 r=`${PWD_COMMAND}`; export r; \
18456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18457 $(HOST_EXPORTS) \
18458 for flag in $(EXTRA_HOST_FLAGS) ; do \
18459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18460 done; \
18461 echo "Doing html in itcl" ; \
18462 (cd $(HOST_SUBDIR)/itcl && \
18463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18465 "RANLIB=$${RANLIB}" \
18466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18467 html) \
18468 || exit 1
18470 @endif itcl
18472 .PHONY: maybe-TAGS-itcl TAGS-itcl
18473 maybe-TAGS-itcl:
18474 @if itcl
18475 maybe-TAGS-itcl: TAGS-itcl
18477 TAGS-itcl: \
18478 configure-itcl
18479 @: $(MAKE); $(unstage)
18480 @[ -f ./itcl/Makefile ] || exit 0; \
18481 r=`${PWD_COMMAND}`; export r; \
18482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18483 $(HOST_EXPORTS) \
18484 for flag in $(EXTRA_HOST_FLAGS) ; do \
18485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18486 done; \
18487 echo "Doing TAGS in itcl" ; \
18488 (cd $(HOST_SUBDIR)/itcl && \
18489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18491 "RANLIB=$${RANLIB}" \
18492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18493 TAGS) \
18494 || exit 1
18496 @endif itcl
18498 .PHONY: maybe-install-info-itcl install-info-itcl
18499 maybe-install-info-itcl:
18500 @if itcl
18501 maybe-install-info-itcl: install-info-itcl
18503 install-info-itcl: \
18504 configure-itcl \
18505 info-itcl
18506 @: $(MAKE); $(unstage)
18507 @[ -f ./itcl/Makefile ] || exit 0; \
18508 r=`${PWD_COMMAND}`; export r; \
18509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18510 $(HOST_EXPORTS) \
18511 for flag in $(EXTRA_HOST_FLAGS) ; do \
18512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18513 done; \
18514 echo "Doing install-info in itcl" ; \
18515 (cd $(HOST_SUBDIR)/itcl && \
18516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18518 "RANLIB=$${RANLIB}" \
18519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18520 install-info) \
18521 || exit 1
18523 @endif itcl
18525 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18526 maybe-install-pdf-itcl:
18527 @if itcl
18528 maybe-install-pdf-itcl: install-pdf-itcl
18530 install-pdf-itcl: \
18531 configure-itcl \
18532 pdf-itcl
18533 @: $(MAKE); $(unstage)
18534 @[ -f ./itcl/Makefile ] || exit 0; \
18535 r=`${PWD_COMMAND}`; export r; \
18536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18537 $(HOST_EXPORTS) \
18538 for flag in $(EXTRA_HOST_FLAGS) ; do \
18539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18540 done; \
18541 echo "Doing install-pdf in itcl" ; \
18542 (cd $(HOST_SUBDIR)/itcl && \
18543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18545 "RANLIB=$${RANLIB}" \
18546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18547 install-pdf) \
18548 || exit 1
18550 @endif itcl
18552 .PHONY: maybe-install-html-itcl install-html-itcl
18553 maybe-install-html-itcl:
18554 @if itcl
18555 maybe-install-html-itcl: install-html-itcl
18557 install-html-itcl: \
18558 configure-itcl \
18559 html-itcl
18560 @: $(MAKE); $(unstage)
18561 @[ -f ./itcl/Makefile ] || exit 0; \
18562 r=`${PWD_COMMAND}`; export r; \
18563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18564 $(HOST_EXPORTS) \
18565 for flag in $(EXTRA_HOST_FLAGS) ; do \
18566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18567 done; \
18568 echo "Doing install-html in itcl" ; \
18569 (cd $(HOST_SUBDIR)/itcl && \
18570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18572 "RANLIB=$${RANLIB}" \
18573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18574 install-html) \
18575 || exit 1
18577 @endif itcl
18579 .PHONY: maybe-installcheck-itcl installcheck-itcl
18580 maybe-installcheck-itcl:
18581 @if itcl
18582 maybe-installcheck-itcl: installcheck-itcl
18584 installcheck-itcl: \
18585 configure-itcl
18586 @: $(MAKE); $(unstage)
18587 @[ -f ./itcl/Makefile ] || exit 0; \
18588 r=`${PWD_COMMAND}`; export r; \
18589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18590 $(HOST_EXPORTS) \
18591 for flag in $(EXTRA_HOST_FLAGS) ; do \
18592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18593 done; \
18594 echo "Doing installcheck in itcl" ; \
18595 (cd $(HOST_SUBDIR)/itcl && \
18596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18598 "RANLIB=$${RANLIB}" \
18599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18600 installcheck) \
18601 || exit 1
18603 @endif itcl
18605 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18606 maybe-mostlyclean-itcl:
18607 @if itcl
18608 maybe-mostlyclean-itcl: mostlyclean-itcl
18610 mostlyclean-itcl:
18611 @: $(MAKE); $(unstage)
18612 @[ -f ./itcl/Makefile ] || exit 0; \
18613 r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18615 $(HOST_EXPORTS) \
18616 for flag in $(EXTRA_HOST_FLAGS) ; do \
18617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18618 done; \
18619 echo "Doing mostlyclean in itcl" ; \
18620 (cd $(HOST_SUBDIR)/itcl && \
18621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18623 "RANLIB=$${RANLIB}" \
18624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18625 mostlyclean) \
18626 || exit 1
18628 @endif itcl
18630 .PHONY: maybe-clean-itcl clean-itcl
18631 maybe-clean-itcl:
18632 @if itcl
18633 maybe-clean-itcl: clean-itcl
18635 clean-itcl:
18636 @: $(MAKE); $(unstage)
18637 @[ -f ./itcl/Makefile ] || exit 0; \
18638 r=`${PWD_COMMAND}`; export r; \
18639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18640 $(HOST_EXPORTS) \
18641 for flag in $(EXTRA_HOST_FLAGS) ; do \
18642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18643 done; \
18644 echo "Doing clean in itcl" ; \
18645 (cd $(HOST_SUBDIR)/itcl && \
18646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18648 "RANLIB=$${RANLIB}" \
18649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18650 clean) \
18651 || exit 1
18653 @endif itcl
18655 .PHONY: maybe-distclean-itcl distclean-itcl
18656 maybe-distclean-itcl:
18657 @if itcl
18658 maybe-distclean-itcl: distclean-itcl
18660 distclean-itcl:
18661 @: $(MAKE); $(unstage)
18662 @[ -f ./itcl/Makefile ] || exit 0; \
18663 r=`${PWD_COMMAND}`; export r; \
18664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18665 $(HOST_EXPORTS) \
18666 for flag in $(EXTRA_HOST_FLAGS) ; do \
18667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18668 done; \
18669 echo "Doing distclean in itcl" ; \
18670 (cd $(HOST_SUBDIR)/itcl && \
18671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18673 "RANLIB=$${RANLIB}" \
18674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18675 distclean) \
18676 || exit 1
18678 @endif itcl
18680 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18681 maybe-maintainer-clean-itcl:
18682 @if itcl
18683 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18685 maintainer-clean-itcl:
18686 @: $(MAKE); $(unstage)
18687 @[ -f ./itcl/Makefile ] || exit 0; \
18688 r=`${PWD_COMMAND}`; export r; \
18689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18690 $(HOST_EXPORTS) \
18691 for flag in $(EXTRA_HOST_FLAGS) ; do \
18692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18693 done; \
18694 echo "Doing maintainer-clean in itcl" ; \
18695 (cd $(HOST_SUBDIR)/itcl && \
18696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18698 "RANLIB=$${RANLIB}" \
18699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18700 maintainer-clean) \
18701 || exit 1
18703 @endif itcl
18707 .PHONY: configure-ld maybe-configure-ld
18708 maybe-configure-ld:
18709 @if gcc-bootstrap
18710 configure-ld: stage_current
18711 @endif gcc-bootstrap
18712 @if ld
18713 maybe-configure-ld: configure-ld
18714 configure-ld:
18715 @r=`${PWD_COMMAND}`; export r; \
18716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18717 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18719 $(HOST_EXPORTS) \
18720 echo Configuring in $(HOST_SUBDIR)/ld; \
18721 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18722 case $(srcdir) in \
18723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18724 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18726 esac; \
18727 srcdiroption="--srcdir=$${topdir}/ld"; \
18728 libsrcdir="$$s/ld"; \
18729 $(SHELL) $${libsrcdir}/configure \
18730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18731 --target=${target_alias} $${srcdiroption} \
18732 || exit 1
18733 @endif ld
18737 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18738 maybe-configure-stage1-ld:
18739 @if ld-bootstrap
18740 maybe-configure-stage1-ld: configure-stage1-ld
18741 configure-stage1-ld:
18742 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18743 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18744 @r=`${PWD_COMMAND}`; export r; \
18745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18746 TFLAGS="$(STAGE1_TFLAGS)"; \
18747 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18748 $(HOST_EXPORTS) \
18749 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18750 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18751 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18752 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18754 cd $(HOST_SUBDIR)/ld || exit 1; \
18755 case $(srcdir) in \
18756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18757 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18759 esac; \
18760 srcdiroption="--srcdir=$${topdir}/ld"; \
18761 libsrcdir="$$s/ld"; \
18762 $(SHELL) $${libsrcdir}/configure \
18763 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18764 --target=${target_alias} $${srcdiroption} \
18765 $(STAGE1_CONFIGURE_FLAGS)
18766 @endif ld-bootstrap
18768 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18769 maybe-configure-stage2-ld:
18770 @if ld-bootstrap
18771 maybe-configure-stage2-ld: configure-stage2-ld
18772 configure-stage2-ld:
18773 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18775 @r=`${PWD_COMMAND}`; export r; \
18776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18777 TFLAGS="$(STAGE2_TFLAGS)"; \
18778 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18779 $(HOST_EXPORTS) \
18780 $(POSTSTAGE1_HOST_EXPORTS) \
18781 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18782 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18783 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18784 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18786 cd $(HOST_SUBDIR)/ld || exit 1; \
18787 case $(srcdir) in \
18788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18789 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18791 esac; \
18792 srcdiroption="--srcdir=$${topdir}/ld"; \
18793 libsrcdir="$$s/ld"; \
18794 $(SHELL) $${libsrcdir}/configure \
18795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18796 --target=${target_alias} $${srcdiroption} \
18797 --with-build-libsubdir=$(HOST_SUBDIR) \
18798 $(STAGE2_CONFIGURE_FLAGS)
18799 @endif ld-bootstrap
18801 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18802 maybe-configure-stage3-ld:
18803 @if ld-bootstrap
18804 maybe-configure-stage3-ld: configure-stage3-ld
18805 configure-stage3-ld:
18806 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18808 @r=`${PWD_COMMAND}`; export r; \
18809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18810 TFLAGS="$(STAGE3_TFLAGS)"; \
18811 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18812 $(HOST_EXPORTS) \
18813 $(POSTSTAGE1_HOST_EXPORTS) \
18814 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18815 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18816 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18817 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18819 cd $(HOST_SUBDIR)/ld || exit 1; \
18820 case $(srcdir) in \
18821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18822 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18824 esac; \
18825 srcdiroption="--srcdir=$${topdir}/ld"; \
18826 libsrcdir="$$s/ld"; \
18827 $(SHELL) $${libsrcdir}/configure \
18828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18829 --target=${target_alias} $${srcdiroption} \
18830 --with-build-libsubdir=$(HOST_SUBDIR) \
18831 $(STAGE3_CONFIGURE_FLAGS)
18832 @endif ld-bootstrap
18834 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18835 maybe-configure-stage4-ld:
18836 @if ld-bootstrap
18837 maybe-configure-stage4-ld: configure-stage4-ld
18838 configure-stage4-ld:
18839 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18841 @r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18843 TFLAGS="$(STAGE4_TFLAGS)"; \
18844 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18845 $(HOST_EXPORTS) \
18846 $(POSTSTAGE1_HOST_EXPORTS) \
18847 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18848 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18849 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18850 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18852 cd $(HOST_SUBDIR)/ld || exit 1; \
18853 case $(srcdir) in \
18854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18855 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18857 esac; \
18858 srcdiroption="--srcdir=$${topdir}/ld"; \
18859 libsrcdir="$$s/ld"; \
18860 $(SHELL) $${libsrcdir}/configure \
18861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18862 --target=${target_alias} $${srcdiroption} \
18863 --with-build-libsubdir=$(HOST_SUBDIR) \
18864 $(STAGE4_CONFIGURE_FLAGS)
18865 @endif ld-bootstrap
18867 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18868 maybe-configure-stageprofile-ld:
18869 @if ld-bootstrap
18870 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18871 configure-stageprofile-ld:
18872 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18874 @r=`${PWD_COMMAND}`; export r; \
18875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18876 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18877 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18878 $(HOST_EXPORTS) \
18879 $(POSTSTAGE1_HOST_EXPORTS) \
18880 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18881 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18882 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18883 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18885 cd $(HOST_SUBDIR)/ld || exit 1; \
18886 case $(srcdir) in \
18887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18888 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18890 esac; \
18891 srcdiroption="--srcdir=$${topdir}/ld"; \
18892 libsrcdir="$$s/ld"; \
18893 $(SHELL) $${libsrcdir}/configure \
18894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18895 --target=${target_alias} $${srcdiroption} \
18896 --with-build-libsubdir=$(HOST_SUBDIR) \
18897 $(STAGEprofile_CONFIGURE_FLAGS)
18898 @endif ld-bootstrap
18900 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18901 maybe-configure-stagefeedback-ld:
18902 @if ld-bootstrap
18903 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18904 configure-stagefeedback-ld:
18905 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18907 @r=`${PWD_COMMAND}`; export r; \
18908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18909 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18910 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18911 $(HOST_EXPORTS) \
18912 $(POSTSTAGE1_HOST_EXPORTS) \
18913 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18914 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18915 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18916 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18918 cd $(HOST_SUBDIR)/ld || exit 1; \
18919 case $(srcdir) in \
18920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18921 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18923 esac; \
18924 srcdiroption="--srcdir=$${topdir}/ld"; \
18925 libsrcdir="$$s/ld"; \
18926 $(SHELL) $${libsrcdir}/configure \
18927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18928 --target=${target_alias} $${srcdiroption} \
18929 --with-build-libsubdir=$(HOST_SUBDIR) \
18930 $(STAGEfeedback_CONFIGURE_FLAGS)
18931 @endif ld-bootstrap
18937 .PHONY: all-ld maybe-all-ld
18938 maybe-all-ld:
18939 @if gcc-bootstrap
18940 all-ld: stage_current
18941 @endif gcc-bootstrap
18942 @if ld
18943 TARGET-ld=all
18944 maybe-all-ld: all-ld
18945 all-ld: configure-ld
18946 @r=`${PWD_COMMAND}`; export r; \
18947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18948 $(HOST_EXPORTS) \
18949 (cd $(HOST_SUBDIR)/ld && \
18950 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18951 $(TARGET-ld))
18952 @endif ld
18956 .PHONY: all-stage1-ld maybe-all-stage1-ld
18957 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18958 maybe-all-stage1-ld:
18959 maybe-clean-stage1-ld:
18960 @if ld-bootstrap
18961 maybe-all-stage1-ld: all-stage1-ld
18962 all-stage1: all-stage1-ld
18963 TARGET-stage1-ld = $(TARGET-ld)
18964 all-stage1-ld: configure-stage1-ld
18965 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18966 @r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968 TFLAGS="$(STAGE1_TFLAGS)"; \
18969 $(HOST_EXPORTS) \
18970 cd $(HOST_SUBDIR)/ld && \
18971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18972 CFLAGS="$(STAGE1_CFLAGS)" \
18973 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18974 LIBCFLAGS="$(LIBCFLAGS)" \
18975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18978 $(EXTRA_HOST_FLAGS) \
18979 TFLAGS="$(STAGE1_TFLAGS)" \
18980 $(TARGET-stage1-ld)
18982 maybe-clean-stage1-ld: clean-stage1-ld
18983 clean-stage1: clean-stage1-ld
18984 clean-stage1-ld:
18985 @if [ $(current_stage) = stage1 ]; then \
18986 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18987 else \
18988 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18989 $(MAKE) stage1-start; \
18990 fi; \
18991 cd $(HOST_SUBDIR)/ld && \
18992 $(MAKE) $(EXTRA_HOST_FLAGS) \
18993 clean
18994 @endif ld-bootstrap
18997 .PHONY: all-stage2-ld maybe-all-stage2-ld
18998 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18999 maybe-all-stage2-ld:
19000 maybe-clean-stage2-ld:
19001 @if ld-bootstrap
19002 maybe-all-stage2-ld: all-stage2-ld
19003 all-stage2: all-stage2-ld
19004 TARGET-stage2-ld = $(TARGET-ld)
19005 all-stage2-ld: configure-stage2-ld
19006 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19007 @r=`${PWD_COMMAND}`; export r; \
19008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19009 TFLAGS="$(STAGE2_TFLAGS)"; \
19010 $(HOST_EXPORTS) \
19011 $(POSTSTAGE1_HOST_EXPORTS) \
19012 cd $(HOST_SUBDIR)/ld && \
19013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19014 CFLAGS="$(STAGE2_CFLAGS)" \
19015 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19016 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19020 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19021 TFLAGS="$(STAGE2_TFLAGS)" \
19022 $(TARGET-stage2-ld)
19024 maybe-clean-stage2-ld: clean-stage2-ld
19025 clean-stage2: clean-stage2-ld
19026 clean-stage2-ld:
19027 @if [ $(current_stage) = stage2 ]; then \
19028 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19029 else \
19030 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19031 $(MAKE) stage2-start; \
19032 fi; \
19033 cd $(HOST_SUBDIR)/ld && \
19034 $(MAKE) $(EXTRA_HOST_FLAGS) \
19035 $(POSTSTAGE1_FLAGS_TO_PASS) \
19036 clean
19037 @endif ld-bootstrap
19040 .PHONY: all-stage3-ld maybe-all-stage3-ld
19041 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19042 maybe-all-stage3-ld:
19043 maybe-clean-stage3-ld:
19044 @if ld-bootstrap
19045 maybe-all-stage3-ld: all-stage3-ld
19046 all-stage3: all-stage3-ld
19047 TARGET-stage3-ld = $(TARGET-ld)
19048 all-stage3-ld: configure-stage3-ld
19049 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19050 @r=`${PWD_COMMAND}`; export r; \
19051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19052 TFLAGS="$(STAGE3_TFLAGS)"; \
19053 $(HOST_EXPORTS) \
19054 $(POSTSTAGE1_HOST_EXPORTS) \
19055 cd $(HOST_SUBDIR)/ld && \
19056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19057 CFLAGS="$(STAGE3_CFLAGS)" \
19058 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19059 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19064 TFLAGS="$(STAGE3_TFLAGS)" \
19065 $(TARGET-stage3-ld)
19067 maybe-clean-stage3-ld: clean-stage3-ld
19068 clean-stage3: clean-stage3-ld
19069 clean-stage3-ld:
19070 @if [ $(current_stage) = stage3 ]; then \
19071 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19072 else \
19073 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19074 $(MAKE) stage3-start; \
19075 fi; \
19076 cd $(HOST_SUBDIR)/ld && \
19077 $(MAKE) $(EXTRA_HOST_FLAGS) \
19078 $(POSTSTAGE1_FLAGS_TO_PASS) \
19079 clean
19080 @endif ld-bootstrap
19083 .PHONY: all-stage4-ld maybe-all-stage4-ld
19084 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19085 maybe-all-stage4-ld:
19086 maybe-clean-stage4-ld:
19087 @if ld-bootstrap
19088 maybe-all-stage4-ld: all-stage4-ld
19089 all-stage4: all-stage4-ld
19090 TARGET-stage4-ld = $(TARGET-ld)
19091 all-stage4-ld: configure-stage4-ld
19092 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19093 @r=`${PWD_COMMAND}`; export r; \
19094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19095 TFLAGS="$(STAGE4_TFLAGS)"; \
19096 $(HOST_EXPORTS) \
19097 $(POSTSTAGE1_HOST_EXPORTS) \
19098 cd $(HOST_SUBDIR)/ld && \
19099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19100 CFLAGS="$(STAGE4_CFLAGS)" \
19101 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19102 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19107 TFLAGS="$(STAGE4_TFLAGS)" \
19108 $(TARGET-stage4-ld)
19110 maybe-clean-stage4-ld: clean-stage4-ld
19111 clean-stage4: clean-stage4-ld
19112 clean-stage4-ld:
19113 @if [ $(current_stage) = stage4 ]; then \
19114 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19115 else \
19116 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19117 $(MAKE) stage4-start; \
19118 fi; \
19119 cd $(HOST_SUBDIR)/ld && \
19120 $(MAKE) $(EXTRA_HOST_FLAGS) \
19121 $(POSTSTAGE1_FLAGS_TO_PASS) \
19122 clean
19123 @endif ld-bootstrap
19126 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19127 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19128 maybe-all-stageprofile-ld:
19129 maybe-clean-stageprofile-ld:
19130 @if ld-bootstrap
19131 maybe-all-stageprofile-ld: all-stageprofile-ld
19132 all-stageprofile: all-stageprofile-ld
19133 TARGET-stageprofile-ld = $(TARGET-ld)
19134 all-stageprofile-ld: configure-stageprofile-ld
19135 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19136 @r=`${PWD_COMMAND}`; export r; \
19137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19138 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19139 $(HOST_EXPORTS) \
19140 $(POSTSTAGE1_HOST_EXPORTS) \
19141 cd $(HOST_SUBDIR)/ld && \
19142 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19143 CFLAGS="$(STAGEprofile_CFLAGS)" \
19144 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19145 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19149 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19150 TFLAGS="$(STAGEprofile_TFLAGS)" \
19151 $(TARGET-stageprofile-ld)
19153 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19154 clean-stageprofile: clean-stageprofile-ld
19155 clean-stageprofile-ld:
19156 @if [ $(current_stage) = stageprofile ]; then \
19157 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19158 else \
19159 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19160 $(MAKE) stageprofile-start; \
19161 fi; \
19162 cd $(HOST_SUBDIR)/ld && \
19163 $(MAKE) $(EXTRA_HOST_FLAGS) \
19164 $(POSTSTAGE1_FLAGS_TO_PASS) \
19165 clean
19166 @endif ld-bootstrap
19169 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19170 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19171 maybe-all-stagefeedback-ld:
19172 maybe-clean-stagefeedback-ld:
19173 @if ld-bootstrap
19174 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19175 all-stagefeedback: all-stagefeedback-ld
19176 TARGET-stagefeedback-ld = $(TARGET-ld)
19177 all-stagefeedback-ld: configure-stagefeedback-ld
19178 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19179 @r=`${PWD_COMMAND}`; export r; \
19180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19181 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19182 $(HOST_EXPORTS) \
19183 $(POSTSTAGE1_HOST_EXPORTS) \
19184 cd $(HOST_SUBDIR)/ld && \
19185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19186 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19187 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19188 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19193 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19194 $(TARGET-stagefeedback-ld)
19196 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19197 clean-stagefeedback: clean-stagefeedback-ld
19198 clean-stagefeedback-ld:
19199 @if [ $(current_stage) = stagefeedback ]; then \
19200 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19201 else \
19202 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19203 $(MAKE) stagefeedback-start; \
19204 fi; \
19205 cd $(HOST_SUBDIR)/ld && \
19206 $(MAKE) $(EXTRA_HOST_FLAGS) \
19207 $(POSTSTAGE1_FLAGS_TO_PASS) \
19208 clean
19209 @endif ld-bootstrap
19215 .PHONY: check-ld maybe-check-ld
19216 maybe-check-ld:
19217 @if ld
19218 maybe-check-ld: check-ld
19220 check-ld:
19221 @: $(MAKE); $(unstage)
19222 @r=`${PWD_COMMAND}`; export r; \
19223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19224 $(HOST_EXPORTS) \
19225 (cd $(HOST_SUBDIR)/ld && \
19226 $(MAKE) $(FLAGS_TO_PASS) check)
19228 @endif ld
19230 .PHONY: install-ld maybe-install-ld
19231 maybe-install-ld:
19232 @if ld
19233 maybe-install-ld: install-ld
19235 install-ld: installdirs
19236 @: $(MAKE); $(unstage)
19237 @r=`${PWD_COMMAND}`; export r; \
19238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19239 $(HOST_EXPORTS) \
19240 (cd $(HOST_SUBDIR)/ld && \
19241 $(MAKE) $(FLAGS_TO_PASS) install)
19243 @endif ld
19245 .PHONY: install-strip-ld maybe-install-strip-ld
19246 maybe-install-strip-ld:
19247 @if ld
19248 maybe-install-strip-ld: install-strip-ld
19250 install-strip-ld: installdirs
19251 @: $(MAKE); $(unstage)
19252 @r=`${PWD_COMMAND}`; export r; \
19253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19254 $(HOST_EXPORTS) \
19255 (cd $(HOST_SUBDIR)/ld && \
19256 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19258 @endif ld
19260 # Other targets (info, dvi, pdf, etc.)
19262 .PHONY: maybe-info-ld info-ld
19263 maybe-info-ld:
19264 @if ld
19265 maybe-info-ld: info-ld
19267 info-ld: \
19268 configure-ld
19269 @[ -f ./ld/Makefile ] || exit 0; \
19270 r=`${PWD_COMMAND}`; export r; \
19271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19272 $(HOST_EXPORTS) \
19273 for flag in $(EXTRA_HOST_FLAGS) ; do \
19274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19275 done; \
19276 echo "Doing info in ld" ; \
19277 (cd $(HOST_SUBDIR)/ld && \
19278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19280 "RANLIB=$${RANLIB}" \
19281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19282 info) \
19283 || exit 1
19285 @endif ld
19287 .PHONY: maybe-dvi-ld dvi-ld
19288 maybe-dvi-ld:
19289 @if ld
19290 maybe-dvi-ld: dvi-ld
19292 dvi-ld: \
19293 configure-ld
19294 @[ -f ./ld/Makefile ] || exit 0; \
19295 r=`${PWD_COMMAND}`; export r; \
19296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19297 $(HOST_EXPORTS) \
19298 for flag in $(EXTRA_HOST_FLAGS) ; do \
19299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19300 done; \
19301 echo "Doing dvi in ld" ; \
19302 (cd $(HOST_SUBDIR)/ld && \
19303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19305 "RANLIB=$${RANLIB}" \
19306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19307 dvi) \
19308 || exit 1
19310 @endif ld
19312 .PHONY: maybe-pdf-ld pdf-ld
19313 maybe-pdf-ld:
19314 @if ld
19315 maybe-pdf-ld: pdf-ld
19317 pdf-ld: \
19318 configure-ld
19319 @[ -f ./ld/Makefile ] || exit 0; \
19320 r=`${PWD_COMMAND}`; export r; \
19321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19322 $(HOST_EXPORTS) \
19323 for flag in $(EXTRA_HOST_FLAGS) ; do \
19324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19325 done; \
19326 echo "Doing pdf in ld" ; \
19327 (cd $(HOST_SUBDIR)/ld && \
19328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19330 "RANLIB=$${RANLIB}" \
19331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19332 pdf) \
19333 || exit 1
19335 @endif ld
19337 .PHONY: maybe-html-ld html-ld
19338 maybe-html-ld:
19339 @if ld
19340 maybe-html-ld: html-ld
19342 html-ld: \
19343 configure-ld
19344 @[ -f ./ld/Makefile ] || exit 0; \
19345 r=`${PWD_COMMAND}`; export r; \
19346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19347 $(HOST_EXPORTS) \
19348 for flag in $(EXTRA_HOST_FLAGS) ; do \
19349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19350 done; \
19351 echo "Doing html in ld" ; \
19352 (cd $(HOST_SUBDIR)/ld && \
19353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19355 "RANLIB=$${RANLIB}" \
19356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19357 html) \
19358 || exit 1
19360 @endif ld
19362 .PHONY: maybe-TAGS-ld TAGS-ld
19363 maybe-TAGS-ld:
19364 @if ld
19365 maybe-TAGS-ld: TAGS-ld
19367 TAGS-ld: \
19368 configure-ld
19369 @[ -f ./ld/Makefile ] || exit 0; \
19370 r=`${PWD_COMMAND}`; export r; \
19371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19372 $(HOST_EXPORTS) \
19373 for flag in $(EXTRA_HOST_FLAGS) ; do \
19374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19375 done; \
19376 echo "Doing TAGS in ld" ; \
19377 (cd $(HOST_SUBDIR)/ld && \
19378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19380 "RANLIB=$${RANLIB}" \
19381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19382 TAGS) \
19383 || exit 1
19385 @endif ld
19387 .PHONY: maybe-install-info-ld install-info-ld
19388 maybe-install-info-ld:
19389 @if ld
19390 maybe-install-info-ld: install-info-ld
19392 install-info-ld: \
19393 configure-ld \
19394 info-ld
19395 @[ -f ./ld/Makefile ] || exit 0; \
19396 r=`${PWD_COMMAND}`; export r; \
19397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19398 $(HOST_EXPORTS) \
19399 for flag in $(EXTRA_HOST_FLAGS) ; do \
19400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19401 done; \
19402 echo "Doing install-info in ld" ; \
19403 (cd $(HOST_SUBDIR)/ld && \
19404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19406 "RANLIB=$${RANLIB}" \
19407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19408 install-info) \
19409 || exit 1
19411 @endif ld
19413 .PHONY: maybe-install-pdf-ld install-pdf-ld
19414 maybe-install-pdf-ld:
19415 @if ld
19416 maybe-install-pdf-ld: install-pdf-ld
19418 install-pdf-ld: \
19419 configure-ld \
19420 pdf-ld
19421 @[ -f ./ld/Makefile ] || exit 0; \
19422 r=`${PWD_COMMAND}`; export r; \
19423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19424 $(HOST_EXPORTS) \
19425 for flag in $(EXTRA_HOST_FLAGS) ; do \
19426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19427 done; \
19428 echo "Doing install-pdf in ld" ; \
19429 (cd $(HOST_SUBDIR)/ld && \
19430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19432 "RANLIB=$${RANLIB}" \
19433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19434 install-pdf) \
19435 || exit 1
19437 @endif ld
19439 .PHONY: maybe-install-html-ld install-html-ld
19440 maybe-install-html-ld:
19441 @if ld
19442 maybe-install-html-ld: install-html-ld
19444 install-html-ld: \
19445 configure-ld \
19446 html-ld
19447 @[ -f ./ld/Makefile ] || exit 0; \
19448 r=`${PWD_COMMAND}`; export r; \
19449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19450 $(HOST_EXPORTS) \
19451 for flag in $(EXTRA_HOST_FLAGS) ; do \
19452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19453 done; \
19454 echo "Doing install-html in ld" ; \
19455 (cd $(HOST_SUBDIR)/ld && \
19456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19458 "RANLIB=$${RANLIB}" \
19459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19460 install-html) \
19461 || exit 1
19463 @endif ld
19465 .PHONY: maybe-installcheck-ld installcheck-ld
19466 maybe-installcheck-ld:
19467 @if ld
19468 maybe-installcheck-ld: installcheck-ld
19470 installcheck-ld: \
19471 configure-ld
19472 @[ -f ./ld/Makefile ] || exit 0; \
19473 r=`${PWD_COMMAND}`; export r; \
19474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19475 $(HOST_EXPORTS) \
19476 for flag in $(EXTRA_HOST_FLAGS) ; do \
19477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19478 done; \
19479 echo "Doing installcheck in ld" ; \
19480 (cd $(HOST_SUBDIR)/ld && \
19481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19483 "RANLIB=$${RANLIB}" \
19484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19485 installcheck) \
19486 || exit 1
19488 @endif ld
19490 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19491 maybe-mostlyclean-ld:
19492 @if ld
19493 maybe-mostlyclean-ld: mostlyclean-ld
19495 mostlyclean-ld:
19496 @[ -f ./ld/Makefile ] || exit 0; \
19497 r=`${PWD_COMMAND}`; export r; \
19498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19499 $(HOST_EXPORTS) \
19500 for flag in $(EXTRA_HOST_FLAGS) ; do \
19501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19502 done; \
19503 echo "Doing mostlyclean in ld" ; \
19504 (cd $(HOST_SUBDIR)/ld && \
19505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19507 "RANLIB=$${RANLIB}" \
19508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19509 mostlyclean) \
19510 || exit 1
19512 @endif ld
19514 .PHONY: maybe-clean-ld clean-ld
19515 maybe-clean-ld:
19516 @if ld
19517 maybe-clean-ld: clean-ld
19519 clean-ld:
19520 @[ -f ./ld/Makefile ] || exit 0; \
19521 r=`${PWD_COMMAND}`; export r; \
19522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19523 $(HOST_EXPORTS) \
19524 for flag in $(EXTRA_HOST_FLAGS) ; do \
19525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19526 done; \
19527 echo "Doing clean in ld" ; \
19528 (cd $(HOST_SUBDIR)/ld && \
19529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19531 "RANLIB=$${RANLIB}" \
19532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19533 clean) \
19534 || exit 1
19536 @endif ld
19538 .PHONY: maybe-distclean-ld distclean-ld
19539 maybe-distclean-ld:
19540 @if ld
19541 maybe-distclean-ld: distclean-ld
19543 distclean-ld:
19544 @[ -f ./ld/Makefile ] || exit 0; \
19545 r=`${PWD_COMMAND}`; export r; \
19546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19547 $(HOST_EXPORTS) \
19548 for flag in $(EXTRA_HOST_FLAGS) ; do \
19549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19550 done; \
19551 echo "Doing distclean in ld" ; \
19552 (cd $(HOST_SUBDIR)/ld && \
19553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19555 "RANLIB=$${RANLIB}" \
19556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19557 distclean) \
19558 || exit 1
19560 @endif ld
19562 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19563 maybe-maintainer-clean-ld:
19564 @if ld
19565 maybe-maintainer-clean-ld: maintainer-clean-ld
19567 maintainer-clean-ld:
19568 @[ -f ./ld/Makefile ] || exit 0; \
19569 r=`${PWD_COMMAND}`; export r; \
19570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19571 $(HOST_EXPORTS) \
19572 for flag in $(EXTRA_HOST_FLAGS) ; do \
19573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19574 done; \
19575 echo "Doing maintainer-clean in ld" ; \
19576 (cd $(HOST_SUBDIR)/ld && \
19577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19579 "RANLIB=$${RANLIB}" \
19580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19581 maintainer-clean) \
19582 || exit 1
19584 @endif ld
19588 .PHONY: configure-libcpp maybe-configure-libcpp
19589 maybe-configure-libcpp:
19590 @if gcc-bootstrap
19591 configure-libcpp: stage_current
19592 @endif gcc-bootstrap
19593 @if libcpp
19594 maybe-configure-libcpp: configure-libcpp
19595 configure-libcpp:
19596 @r=`${PWD_COMMAND}`; export r; \
19597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19598 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19600 $(HOST_EXPORTS) \
19601 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19602 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19603 case $(srcdir) in \
19604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19605 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19607 esac; \
19608 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19609 libsrcdir="$$s/libcpp"; \
19610 $(SHELL) $${libsrcdir}/configure \
19611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19612 --target=${target_alias} $${srcdiroption} \
19613 || exit 1
19614 @endif libcpp
19618 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19619 maybe-configure-stage1-libcpp:
19620 @if libcpp-bootstrap
19621 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19622 configure-stage1-libcpp:
19623 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19625 @r=`${PWD_COMMAND}`; export r; \
19626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19627 TFLAGS="$(STAGE1_TFLAGS)"; \
19628 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19629 $(HOST_EXPORTS) \
19630 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19631 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19632 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19633 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19635 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19636 case $(srcdir) in \
19637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19638 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19640 esac; \
19641 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19642 libsrcdir="$$s/libcpp"; \
19643 $(SHELL) $${libsrcdir}/configure \
19644 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19645 --target=${target_alias} $${srcdiroption} \
19646 $(STAGE1_CONFIGURE_FLAGS)
19647 @endif libcpp-bootstrap
19649 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19650 maybe-configure-stage2-libcpp:
19651 @if libcpp-bootstrap
19652 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19653 configure-stage2-libcpp:
19654 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19656 @r=`${PWD_COMMAND}`; export r; \
19657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19658 TFLAGS="$(STAGE2_TFLAGS)"; \
19659 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19660 $(HOST_EXPORTS) \
19661 $(POSTSTAGE1_HOST_EXPORTS) \
19662 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19663 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19664 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19665 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19667 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19668 case $(srcdir) in \
19669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19670 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19672 esac; \
19673 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19674 libsrcdir="$$s/libcpp"; \
19675 $(SHELL) $${libsrcdir}/configure \
19676 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19677 --target=${target_alias} $${srcdiroption} \
19678 --with-build-libsubdir=$(HOST_SUBDIR) \
19679 $(STAGE2_CONFIGURE_FLAGS)
19680 @endif libcpp-bootstrap
19682 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19683 maybe-configure-stage3-libcpp:
19684 @if libcpp-bootstrap
19685 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19686 configure-stage3-libcpp:
19687 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19688 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19689 @r=`${PWD_COMMAND}`; export r; \
19690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19691 TFLAGS="$(STAGE3_TFLAGS)"; \
19692 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19693 $(HOST_EXPORTS) \
19694 $(POSTSTAGE1_HOST_EXPORTS) \
19695 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19696 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19697 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19698 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19700 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19701 case $(srcdir) in \
19702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19703 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19705 esac; \
19706 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19707 libsrcdir="$$s/libcpp"; \
19708 $(SHELL) $${libsrcdir}/configure \
19709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19710 --target=${target_alias} $${srcdiroption} \
19711 --with-build-libsubdir=$(HOST_SUBDIR) \
19712 $(STAGE3_CONFIGURE_FLAGS)
19713 @endif libcpp-bootstrap
19715 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19716 maybe-configure-stage4-libcpp:
19717 @if libcpp-bootstrap
19718 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19719 configure-stage4-libcpp:
19720 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19721 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19722 @r=`${PWD_COMMAND}`; export r; \
19723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19724 TFLAGS="$(STAGE4_TFLAGS)"; \
19725 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19726 $(HOST_EXPORTS) \
19727 $(POSTSTAGE1_HOST_EXPORTS) \
19728 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19729 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19730 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19731 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19733 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19734 case $(srcdir) in \
19735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19736 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19738 esac; \
19739 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19740 libsrcdir="$$s/libcpp"; \
19741 $(SHELL) $${libsrcdir}/configure \
19742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19743 --target=${target_alias} $${srcdiroption} \
19744 --with-build-libsubdir=$(HOST_SUBDIR) \
19745 $(STAGE4_CONFIGURE_FLAGS)
19746 @endif libcpp-bootstrap
19748 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19749 maybe-configure-stageprofile-libcpp:
19750 @if libcpp-bootstrap
19751 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19752 configure-stageprofile-libcpp:
19753 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19755 @r=`${PWD_COMMAND}`; export r; \
19756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19757 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19758 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19759 $(HOST_EXPORTS) \
19760 $(POSTSTAGE1_HOST_EXPORTS) \
19761 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19762 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19763 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19764 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19766 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19767 case $(srcdir) in \
19768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19769 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19771 esac; \
19772 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19773 libsrcdir="$$s/libcpp"; \
19774 $(SHELL) $${libsrcdir}/configure \
19775 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19776 --target=${target_alias} $${srcdiroption} \
19777 --with-build-libsubdir=$(HOST_SUBDIR) \
19778 $(STAGEprofile_CONFIGURE_FLAGS)
19779 @endif libcpp-bootstrap
19781 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19782 maybe-configure-stagefeedback-libcpp:
19783 @if libcpp-bootstrap
19784 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19785 configure-stagefeedback-libcpp:
19786 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19787 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19788 @r=`${PWD_COMMAND}`; export r; \
19789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19790 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19791 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19792 $(HOST_EXPORTS) \
19793 $(POSTSTAGE1_HOST_EXPORTS) \
19794 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19795 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19796 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19797 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19799 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19800 case $(srcdir) in \
19801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19802 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19804 esac; \
19805 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19806 libsrcdir="$$s/libcpp"; \
19807 $(SHELL) $${libsrcdir}/configure \
19808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19809 --target=${target_alias} $${srcdiroption} \
19810 --with-build-libsubdir=$(HOST_SUBDIR) \
19811 $(STAGEfeedback_CONFIGURE_FLAGS)
19812 @endif libcpp-bootstrap
19818 .PHONY: all-libcpp maybe-all-libcpp
19819 maybe-all-libcpp:
19820 @if gcc-bootstrap
19821 all-libcpp: stage_current
19822 @endif gcc-bootstrap
19823 @if libcpp
19824 TARGET-libcpp=all
19825 maybe-all-libcpp: all-libcpp
19826 all-libcpp: configure-libcpp
19827 @r=`${PWD_COMMAND}`; export r; \
19828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 $(HOST_EXPORTS) \
19830 (cd $(HOST_SUBDIR)/libcpp && \
19831 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19832 $(TARGET-libcpp))
19833 @endif libcpp
19837 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19838 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19839 maybe-all-stage1-libcpp:
19840 maybe-clean-stage1-libcpp:
19841 @if libcpp-bootstrap
19842 maybe-all-stage1-libcpp: all-stage1-libcpp
19843 all-stage1: all-stage1-libcpp
19844 TARGET-stage1-libcpp = $(TARGET-libcpp)
19845 all-stage1-libcpp: configure-stage1-libcpp
19846 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19847 @r=`${PWD_COMMAND}`; export r; \
19848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19849 TFLAGS="$(STAGE1_TFLAGS)"; \
19850 $(HOST_EXPORTS) \
19851 cd $(HOST_SUBDIR)/libcpp && \
19852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19853 CFLAGS="$(STAGE1_CFLAGS)" \
19854 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19855 LIBCFLAGS="$(LIBCFLAGS)" \
19856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19859 $(EXTRA_HOST_FLAGS) \
19860 TFLAGS="$(STAGE1_TFLAGS)" \
19861 $(TARGET-stage1-libcpp)
19863 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19864 clean-stage1: clean-stage1-libcpp
19865 clean-stage1-libcpp:
19866 @if [ $(current_stage) = stage1 ]; then \
19867 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19868 else \
19869 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19870 $(MAKE) stage1-start; \
19871 fi; \
19872 cd $(HOST_SUBDIR)/libcpp && \
19873 $(MAKE) $(EXTRA_HOST_FLAGS) \
19874 clean
19875 @endif libcpp-bootstrap
19878 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19879 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19880 maybe-all-stage2-libcpp:
19881 maybe-clean-stage2-libcpp:
19882 @if libcpp-bootstrap
19883 maybe-all-stage2-libcpp: all-stage2-libcpp
19884 all-stage2: all-stage2-libcpp
19885 TARGET-stage2-libcpp = $(TARGET-libcpp)
19886 all-stage2-libcpp: configure-stage2-libcpp
19887 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19888 @r=`${PWD_COMMAND}`; export r; \
19889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19890 TFLAGS="$(STAGE2_TFLAGS)"; \
19891 $(HOST_EXPORTS) \
19892 $(POSTSTAGE1_HOST_EXPORTS) \
19893 cd $(HOST_SUBDIR)/libcpp && \
19894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19895 CFLAGS="$(STAGE2_CFLAGS)" \
19896 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19897 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19901 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19902 TFLAGS="$(STAGE2_TFLAGS)" \
19903 $(TARGET-stage2-libcpp)
19905 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19906 clean-stage2: clean-stage2-libcpp
19907 clean-stage2-libcpp:
19908 @if [ $(current_stage) = stage2 ]; then \
19909 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19910 else \
19911 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19912 $(MAKE) stage2-start; \
19913 fi; \
19914 cd $(HOST_SUBDIR)/libcpp && \
19915 $(MAKE) $(EXTRA_HOST_FLAGS) \
19916 $(POSTSTAGE1_FLAGS_TO_PASS) \
19917 clean
19918 @endif libcpp-bootstrap
19921 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19922 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19923 maybe-all-stage3-libcpp:
19924 maybe-clean-stage3-libcpp:
19925 @if libcpp-bootstrap
19926 maybe-all-stage3-libcpp: all-stage3-libcpp
19927 all-stage3: all-stage3-libcpp
19928 TARGET-stage3-libcpp = $(TARGET-libcpp)
19929 all-stage3-libcpp: configure-stage3-libcpp
19930 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19931 @r=`${PWD_COMMAND}`; export r; \
19932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19933 TFLAGS="$(STAGE3_TFLAGS)"; \
19934 $(HOST_EXPORTS) \
19935 $(POSTSTAGE1_HOST_EXPORTS) \
19936 cd $(HOST_SUBDIR)/libcpp && \
19937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19938 CFLAGS="$(STAGE3_CFLAGS)" \
19939 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19940 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19945 TFLAGS="$(STAGE3_TFLAGS)" \
19946 $(TARGET-stage3-libcpp)
19948 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19949 clean-stage3: clean-stage3-libcpp
19950 clean-stage3-libcpp:
19951 @if [ $(current_stage) = stage3 ]; then \
19952 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19953 else \
19954 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19955 $(MAKE) stage3-start; \
19956 fi; \
19957 cd $(HOST_SUBDIR)/libcpp && \
19958 $(MAKE) $(EXTRA_HOST_FLAGS) \
19959 $(POSTSTAGE1_FLAGS_TO_PASS) \
19960 clean
19961 @endif libcpp-bootstrap
19964 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19965 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19966 maybe-all-stage4-libcpp:
19967 maybe-clean-stage4-libcpp:
19968 @if libcpp-bootstrap
19969 maybe-all-stage4-libcpp: all-stage4-libcpp
19970 all-stage4: all-stage4-libcpp
19971 TARGET-stage4-libcpp = $(TARGET-libcpp)
19972 all-stage4-libcpp: configure-stage4-libcpp
19973 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19974 @r=`${PWD_COMMAND}`; export r; \
19975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19976 TFLAGS="$(STAGE4_TFLAGS)"; \
19977 $(HOST_EXPORTS) \
19978 $(POSTSTAGE1_HOST_EXPORTS) \
19979 cd $(HOST_SUBDIR)/libcpp && \
19980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19981 CFLAGS="$(STAGE4_CFLAGS)" \
19982 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19983 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19988 TFLAGS="$(STAGE4_TFLAGS)" \
19989 $(TARGET-stage4-libcpp)
19991 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19992 clean-stage4: clean-stage4-libcpp
19993 clean-stage4-libcpp:
19994 @if [ $(current_stage) = stage4 ]; then \
19995 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19996 else \
19997 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
19998 $(MAKE) stage4-start; \
19999 fi; \
20000 cd $(HOST_SUBDIR)/libcpp && \
20001 $(MAKE) $(EXTRA_HOST_FLAGS) \
20002 $(POSTSTAGE1_FLAGS_TO_PASS) \
20003 clean
20004 @endif libcpp-bootstrap
20007 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20008 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20009 maybe-all-stageprofile-libcpp:
20010 maybe-clean-stageprofile-libcpp:
20011 @if libcpp-bootstrap
20012 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20013 all-stageprofile: all-stageprofile-libcpp
20014 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20015 all-stageprofile-libcpp: configure-stageprofile-libcpp
20016 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20017 @r=`${PWD_COMMAND}`; export r; \
20018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20019 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20020 $(HOST_EXPORTS) \
20021 $(POSTSTAGE1_HOST_EXPORTS) \
20022 cd $(HOST_SUBDIR)/libcpp && \
20023 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20024 CFLAGS="$(STAGEprofile_CFLAGS)" \
20025 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20026 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20027 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20028 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20029 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20030 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20031 TFLAGS="$(STAGEprofile_TFLAGS)" \
20032 $(TARGET-stageprofile-libcpp)
20034 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20035 clean-stageprofile: clean-stageprofile-libcpp
20036 clean-stageprofile-libcpp:
20037 @if [ $(current_stage) = stageprofile ]; then \
20038 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20039 else \
20040 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20041 $(MAKE) stageprofile-start; \
20042 fi; \
20043 cd $(HOST_SUBDIR)/libcpp && \
20044 $(MAKE) $(EXTRA_HOST_FLAGS) \
20045 $(POSTSTAGE1_FLAGS_TO_PASS) \
20046 clean
20047 @endif libcpp-bootstrap
20050 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20051 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20052 maybe-all-stagefeedback-libcpp:
20053 maybe-clean-stagefeedback-libcpp:
20054 @if libcpp-bootstrap
20055 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20056 all-stagefeedback: all-stagefeedback-libcpp
20057 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20058 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20059 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20060 @r=`${PWD_COMMAND}`; export r; \
20061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20062 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20063 $(HOST_EXPORTS) \
20064 $(POSTSTAGE1_HOST_EXPORTS) \
20065 cd $(HOST_SUBDIR)/libcpp && \
20066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20067 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20068 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20069 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20073 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20074 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20075 $(TARGET-stagefeedback-libcpp)
20077 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20078 clean-stagefeedback: clean-stagefeedback-libcpp
20079 clean-stagefeedback-libcpp:
20080 @if [ $(current_stage) = stagefeedback ]; then \
20081 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20082 else \
20083 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20084 $(MAKE) stagefeedback-start; \
20085 fi; \
20086 cd $(HOST_SUBDIR)/libcpp && \
20087 $(MAKE) $(EXTRA_HOST_FLAGS) \
20088 $(POSTSTAGE1_FLAGS_TO_PASS) \
20089 clean
20090 @endif libcpp-bootstrap
20096 .PHONY: check-libcpp maybe-check-libcpp
20097 maybe-check-libcpp:
20098 @if libcpp
20099 maybe-check-libcpp: check-libcpp
20101 check-libcpp:
20102 @: $(MAKE); $(unstage)
20103 @r=`${PWD_COMMAND}`; export r; \
20104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20105 $(HOST_EXPORTS) \
20106 (cd $(HOST_SUBDIR)/libcpp && \
20107 $(MAKE) $(FLAGS_TO_PASS) check)
20109 @endif libcpp
20111 .PHONY: install-libcpp maybe-install-libcpp
20112 maybe-install-libcpp:
20113 @if libcpp
20114 maybe-install-libcpp: install-libcpp
20116 install-libcpp: installdirs
20117 @: $(MAKE); $(unstage)
20118 @r=`${PWD_COMMAND}`; export r; \
20119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20120 $(HOST_EXPORTS) \
20121 (cd $(HOST_SUBDIR)/libcpp && \
20122 $(MAKE) $(FLAGS_TO_PASS) install)
20124 @endif libcpp
20126 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20127 maybe-install-strip-libcpp:
20128 @if libcpp
20129 maybe-install-strip-libcpp: install-strip-libcpp
20131 install-strip-libcpp: installdirs
20132 @: $(MAKE); $(unstage)
20133 @r=`${PWD_COMMAND}`; export r; \
20134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20135 $(HOST_EXPORTS) \
20136 (cd $(HOST_SUBDIR)/libcpp && \
20137 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20139 @endif libcpp
20141 # Other targets (info, dvi, pdf, etc.)
20143 .PHONY: maybe-info-libcpp info-libcpp
20144 maybe-info-libcpp:
20145 @if libcpp
20146 maybe-info-libcpp: info-libcpp
20148 info-libcpp: \
20149 configure-libcpp
20150 @[ -f ./libcpp/Makefile ] || exit 0; \
20151 r=`${PWD_COMMAND}`; export r; \
20152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20153 $(HOST_EXPORTS) \
20154 for flag in $(EXTRA_HOST_FLAGS) ; do \
20155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20156 done; \
20157 echo "Doing info in libcpp" ; \
20158 (cd $(HOST_SUBDIR)/libcpp && \
20159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20161 "RANLIB=$${RANLIB}" \
20162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20163 info) \
20164 || exit 1
20166 @endif libcpp
20168 .PHONY: maybe-dvi-libcpp dvi-libcpp
20169 maybe-dvi-libcpp:
20170 @if libcpp
20171 maybe-dvi-libcpp: dvi-libcpp
20173 dvi-libcpp: \
20174 configure-libcpp
20175 @[ -f ./libcpp/Makefile ] || exit 0; \
20176 r=`${PWD_COMMAND}`; export r; \
20177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20178 $(HOST_EXPORTS) \
20179 for flag in $(EXTRA_HOST_FLAGS) ; do \
20180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20181 done; \
20182 echo "Doing dvi in libcpp" ; \
20183 (cd $(HOST_SUBDIR)/libcpp && \
20184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20186 "RANLIB=$${RANLIB}" \
20187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20188 dvi) \
20189 || exit 1
20191 @endif libcpp
20193 .PHONY: maybe-pdf-libcpp pdf-libcpp
20194 maybe-pdf-libcpp:
20195 @if libcpp
20196 maybe-pdf-libcpp: pdf-libcpp
20198 pdf-libcpp: \
20199 configure-libcpp
20200 @[ -f ./libcpp/Makefile ] || exit 0; \
20201 r=`${PWD_COMMAND}`; export r; \
20202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20203 $(HOST_EXPORTS) \
20204 for flag in $(EXTRA_HOST_FLAGS) ; do \
20205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20206 done; \
20207 echo "Doing pdf in libcpp" ; \
20208 (cd $(HOST_SUBDIR)/libcpp && \
20209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20211 "RANLIB=$${RANLIB}" \
20212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20213 pdf) \
20214 || exit 1
20216 @endif libcpp
20218 .PHONY: maybe-html-libcpp html-libcpp
20219 maybe-html-libcpp:
20220 @if libcpp
20221 maybe-html-libcpp: html-libcpp
20223 html-libcpp: \
20224 configure-libcpp
20225 @[ -f ./libcpp/Makefile ] || exit 0; \
20226 r=`${PWD_COMMAND}`; export r; \
20227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20228 $(HOST_EXPORTS) \
20229 for flag in $(EXTRA_HOST_FLAGS) ; do \
20230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20231 done; \
20232 echo "Doing html in libcpp" ; \
20233 (cd $(HOST_SUBDIR)/libcpp && \
20234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20236 "RANLIB=$${RANLIB}" \
20237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20238 html) \
20239 || exit 1
20241 @endif libcpp
20243 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20244 maybe-TAGS-libcpp:
20245 @if libcpp
20246 maybe-TAGS-libcpp: TAGS-libcpp
20248 TAGS-libcpp: \
20249 configure-libcpp
20250 @[ -f ./libcpp/Makefile ] || exit 0; \
20251 r=`${PWD_COMMAND}`; export r; \
20252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253 $(HOST_EXPORTS) \
20254 for flag in $(EXTRA_HOST_FLAGS) ; do \
20255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20256 done; \
20257 echo "Doing TAGS in libcpp" ; \
20258 (cd $(HOST_SUBDIR)/libcpp && \
20259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20261 "RANLIB=$${RANLIB}" \
20262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20263 TAGS) \
20264 || exit 1
20266 @endif libcpp
20268 .PHONY: maybe-install-info-libcpp install-info-libcpp
20269 maybe-install-info-libcpp:
20270 @if libcpp
20271 maybe-install-info-libcpp: install-info-libcpp
20273 install-info-libcpp: \
20274 configure-libcpp \
20275 info-libcpp
20276 @[ -f ./libcpp/Makefile ] || exit 0; \
20277 r=`${PWD_COMMAND}`; export r; \
20278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20279 $(HOST_EXPORTS) \
20280 for flag in $(EXTRA_HOST_FLAGS) ; do \
20281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20282 done; \
20283 echo "Doing install-info in libcpp" ; \
20284 (cd $(HOST_SUBDIR)/libcpp && \
20285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20287 "RANLIB=$${RANLIB}" \
20288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20289 install-info) \
20290 || exit 1
20292 @endif libcpp
20294 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20295 maybe-install-pdf-libcpp:
20296 @if libcpp
20297 maybe-install-pdf-libcpp: install-pdf-libcpp
20299 install-pdf-libcpp: \
20300 configure-libcpp \
20301 pdf-libcpp
20302 @[ -f ./libcpp/Makefile ] || exit 0; \
20303 r=`${PWD_COMMAND}`; export r; \
20304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20305 $(HOST_EXPORTS) \
20306 for flag in $(EXTRA_HOST_FLAGS) ; do \
20307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20308 done; \
20309 echo "Doing install-pdf in libcpp" ; \
20310 (cd $(HOST_SUBDIR)/libcpp && \
20311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20313 "RANLIB=$${RANLIB}" \
20314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20315 install-pdf) \
20316 || exit 1
20318 @endif libcpp
20320 .PHONY: maybe-install-html-libcpp install-html-libcpp
20321 maybe-install-html-libcpp:
20322 @if libcpp
20323 maybe-install-html-libcpp: install-html-libcpp
20325 install-html-libcpp: \
20326 configure-libcpp \
20327 html-libcpp
20328 @[ -f ./libcpp/Makefile ] || exit 0; \
20329 r=`${PWD_COMMAND}`; export r; \
20330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20331 $(HOST_EXPORTS) \
20332 for flag in $(EXTRA_HOST_FLAGS) ; do \
20333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20334 done; \
20335 echo "Doing install-html in libcpp" ; \
20336 (cd $(HOST_SUBDIR)/libcpp && \
20337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20339 "RANLIB=$${RANLIB}" \
20340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20341 install-html) \
20342 || exit 1
20344 @endif libcpp
20346 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20347 maybe-installcheck-libcpp:
20348 @if libcpp
20349 maybe-installcheck-libcpp: installcheck-libcpp
20351 installcheck-libcpp: \
20352 configure-libcpp
20353 @[ -f ./libcpp/Makefile ] || exit 0; \
20354 r=`${PWD_COMMAND}`; export r; \
20355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20356 $(HOST_EXPORTS) \
20357 for flag in $(EXTRA_HOST_FLAGS) ; do \
20358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20359 done; \
20360 echo "Doing installcheck in libcpp" ; \
20361 (cd $(HOST_SUBDIR)/libcpp && \
20362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20364 "RANLIB=$${RANLIB}" \
20365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20366 installcheck) \
20367 || exit 1
20369 @endif libcpp
20371 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20372 maybe-mostlyclean-libcpp:
20373 @if libcpp
20374 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20376 mostlyclean-libcpp:
20377 @[ -f ./libcpp/Makefile ] || exit 0; \
20378 r=`${PWD_COMMAND}`; export r; \
20379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20380 $(HOST_EXPORTS) \
20381 for flag in $(EXTRA_HOST_FLAGS) ; do \
20382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20383 done; \
20384 echo "Doing mostlyclean in libcpp" ; \
20385 (cd $(HOST_SUBDIR)/libcpp && \
20386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20388 "RANLIB=$${RANLIB}" \
20389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20390 mostlyclean) \
20391 || exit 1
20393 @endif libcpp
20395 .PHONY: maybe-clean-libcpp clean-libcpp
20396 maybe-clean-libcpp:
20397 @if libcpp
20398 maybe-clean-libcpp: clean-libcpp
20400 clean-libcpp:
20401 @[ -f ./libcpp/Makefile ] || exit 0; \
20402 r=`${PWD_COMMAND}`; export r; \
20403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20404 $(HOST_EXPORTS) \
20405 for flag in $(EXTRA_HOST_FLAGS) ; do \
20406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20407 done; \
20408 echo "Doing clean in libcpp" ; \
20409 (cd $(HOST_SUBDIR)/libcpp && \
20410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20412 "RANLIB=$${RANLIB}" \
20413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20414 clean) \
20415 || exit 1
20417 @endif libcpp
20419 .PHONY: maybe-distclean-libcpp distclean-libcpp
20420 maybe-distclean-libcpp:
20421 @if libcpp
20422 maybe-distclean-libcpp: distclean-libcpp
20424 distclean-libcpp:
20425 @[ -f ./libcpp/Makefile ] || exit 0; \
20426 r=`${PWD_COMMAND}`; export r; \
20427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20428 $(HOST_EXPORTS) \
20429 for flag in $(EXTRA_HOST_FLAGS) ; do \
20430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20431 done; \
20432 echo "Doing distclean in libcpp" ; \
20433 (cd $(HOST_SUBDIR)/libcpp && \
20434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20436 "RANLIB=$${RANLIB}" \
20437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20438 distclean) \
20439 || exit 1
20441 @endif libcpp
20443 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20444 maybe-maintainer-clean-libcpp:
20445 @if libcpp
20446 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20448 maintainer-clean-libcpp:
20449 @[ -f ./libcpp/Makefile ] || exit 0; \
20450 r=`${PWD_COMMAND}`; export r; \
20451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20452 $(HOST_EXPORTS) \
20453 for flag in $(EXTRA_HOST_FLAGS) ; do \
20454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20455 done; \
20456 echo "Doing maintainer-clean in libcpp" ; \
20457 (cd $(HOST_SUBDIR)/libcpp && \
20458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20460 "RANLIB=$${RANLIB}" \
20461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20462 maintainer-clean) \
20463 || exit 1
20465 @endif libcpp
20469 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20470 maybe-configure-libdecnumber:
20471 @if gcc-bootstrap
20472 configure-libdecnumber: stage_current
20473 @endif gcc-bootstrap
20474 @if libdecnumber
20475 maybe-configure-libdecnumber: configure-libdecnumber
20476 configure-libdecnumber:
20477 @r=`${PWD_COMMAND}`; export r; \
20478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20479 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20481 $(HOST_EXPORTS) \
20482 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20483 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20484 case $(srcdir) in \
20485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20486 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20488 esac; \
20489 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20490 libsrcdir="$$s/libdecnumber"; \
20491 $(SHELL) $${libsrcdir}/configure \
20492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20493 --target=${target_alias} $${srcdiroption} \
20494 || exit 1
20495 @endif libdecnumber
20499 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20500 maybe-configure-stage1-libdecnumber:
20501 @if libdecnumber-bootstrap
20502 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20503 configure-stage1-libdecnumber:
20504 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20505 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20506 @r=`${PWD_COMMAND}`; export r; \
20507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20508 TFLAGS="$(STAGE1_TFLAGS)"; \
20509 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20510 $(HOST_EXPORTS) \
20511 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20512 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20513 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20514 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20516 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20517 case $(srcdir) in \
20518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20519 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20521 esac; \
20522 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20523 libsrcdir="$$s/libdecnumber"; \
20524 $(SHELL) $${libsrcdir}/configure \
20525 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20526 --target=${target_alias} $${srcdiroption} \
20527 $(STAGE1_CONFIGURE_FLAGS)
20528 @endif libdecnumber-bootstrap
20530 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20531 maybe-configure-stage2-libdecnumber:
20532 @if libdecnumber-bootstrap
20533 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20534 configure-stage2-libdecnumber:
20535 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20536 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20537 @r=`${PWD_COMMAND}`; export r; \
20538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20539 TFLAGS="$(STAGE2_TFLAGS)"; \
20540 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20541 $(HOST_EXPORTS) \
20542 $(POSTSTAGE1_HOST_EXPORTS) \
20543 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20544 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20545 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20546 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20548 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20549 case $(srcdir) in \
20550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20551 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20553 esac; \
20554 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20555 libsrcdir="$$s/libdecnumber"; \
20556 $(SHELL) $${libsrcdir}/configure \
20557 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20558 --target=${target_alias} $${srcdiroption} \
20559 --with-build-libsubdir=$(HOST_SUBDIR) \
20560 $(STAGE2_CONFIGURE_FLAGS)
20561 @endif libdecnumber-bootstrap
20563 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20564 maybe-configure-stage3-libdecnumber:
20565 @if libdecnumber-bootstrap
20566 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20567 configure-stage3-libdecnumber:
20568 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20570 @r=`${PWD_COMMAND}`; export r; \
20571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20572 TFLAGS="$(STAGE3_TFLAGS)"; \
20573 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20574 $(HOST_EXPORTS) \
20575 $(POSTSTAGE1_HOST_EXPORTS) \
20576 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20577 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20578 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20579 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20581 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20582 case $(srcdir) in \
20583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20584 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20586 esac; \
20587 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20588 libsrcdir="$$s/libdecnumber"; \
20589 $(SHELL) $${libsrcdir}/configure \
20590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20591 --target=${target_alias} $${srcdiroption} \
20592 --with-build-libsubdir=$(HOST_SUBDIR) \
20593 $(STAGE3_CONFIGURE_FLAGS)
20594 @endif libdecnumber-bootstrap
20596 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20597 maybe-configure-stage4-libdecnumber:
20598 @if libdecnumber-bootstrap
20599 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20600 configure-stage4-libdecnumber:
20601 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20603 @r=`${PWD_COMMAND}`; export r; \
20604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20605 TFLAGS="$(STAGE4_TFLAGS)"; \
20606 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20607 $(HOST_EXPORTS) \
20608 $(POSTSTAGE1_HOST_EXPORTS) \
20609 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20610 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20611 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20612 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20614 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20615 case $(srcdir) in \
20616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20617 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20619 esac; \
20620 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20621 libsrcdir="$$s/libdecnumber"; \
20622 $(SHELL) $${libsrcdir}/configure \
20623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20624 --target=${target_alias} $${srcdiroption} \
20625 --with-build-libsubdir=$(HOST_SUBDIR) \
20626 $(STAGE4_CONFIGURE_FLAGS)
20627 @endif libdecnumber-bootstrap
20629 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20630 maybe-configure-stageprofile-libdecnumber:
20631 @if libdecnumber-bootstrap
20632 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20633 configure-stageprofile-libdecnumber:
20634 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20636 @r=`${PWD_COMMAND}`; export r; \
20637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20638 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20639 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20640 $(HOST_EXPORTS) \
20641 $(POSTSTAGE1_HOST_EXPORTS) \
20642 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20643 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20644 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20645 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20647 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20648 case $(srcdir) in \
20649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20650 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20652 esac; \
20653 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20654 libsrcdir="$$s/libdecnumber"; \
20655 $(SHELL) $${libsrcdir}/configure \
20656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20657 --target=${target_alias} $${srcdiroption} \
20658 --with-build-libsubdir=$(HOST_SUBDIR) \
20659 $(STAGEprofile_CONFIGURE_FLAGS)
20660 @endif libdecnumber-bootstrap
20662 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20663 maybe-configure-stagefeedback-libdecnumber:
20664 @if libdecnumber-bootstrap
20665 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20666 configure-stagefeedback-libdecnumber:
20667 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20669 @r=`${PWD_COMMAND}`; export r; \
20670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20671 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20672 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20673 $(HOST_EXPORTS) \
20674 $(POSTSTAGE1_HOST_EXPORTS) \
20675 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20676 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20677 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20678 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20680 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20681 case $(srcdir) in \
20682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20683 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20685 esac; \
20686 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20687 libsrcdir="$$s/libdecnumber"; \
20688 $(SHELL) $${libsrcdir}/configure \
20689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20690 --target=${target_alias} $${srcdiroption} \
20691 --with-build-libsubdir=$(HOST_SUBDIR) \
20692 $(STAGEfeedback_CONFIGURE_FLAGS)
20693 @endif libdecnumber-bootstrap
20699 .PHONY: all-libdecnumber maybe-all-libdecnumber
20700 maybe-all-libdecnumber:
20701 @if gcc-bootstrap
20702 all-libdecnumber: stage_current
20703 @endif gcc-bootstrap
20704 @if libdecnumber
20705 TARGET-libdecnumber=all
20706 maybe-all-libdecnumber: all-libdecnumber
20707 all-libdecnumber: configure-libdecnumber
20708 @r=`${PWD_COMMAND}`; export r; \
20709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20710 $(HOST_EXPORTS) \
20711 (cd $(HOST_SUBDIR)/libdecnumber && \
20712 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20713 $(TARGET-libdecnumber))
20714 @endif libdecnumber
20718 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20719 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20720 maybe-all-stage1-libdecnumber:
20721 maybe-clean-stage1-libdecnumber:
20722 @if libdecnumber-bootstrap
20723 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20724 all-stage1: all-stage1-libdecnumber
20725 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20726 all-stage1-libdecnumber: configure-stage1-libdecnumber
20727 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20728 @r=`${PWD_COMMAND}`; export r; \
20729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20730 TFLAGS="$(STAGE1_TFLAGS)"; \
20731 $(HOST_EXPORTS) \
20732 cd $(HOST_SUBDIR)/libdecnumber && \
20733 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20734 CFLAGS="$(STAGE1_CFLAGS)" \
20735 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20736 LIBCFLAGS="$(LIBCFLAGS)" \
20737 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20738 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20739 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20740 $(EXTRA_HOST_FLAGS) \
20741 TFLAGS="$(STAGE1_TFLAGS)" \
20742 $(TARGET-stage1-libdecnumber)
20744 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20745 clean-stage1: clean-stage1-libdecnumber
20746 clean-stage1-libdecnumber:
20747 @if [ $(current_stage) = stage1 ]; then \
20748 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20749 else \
20750 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20751 $(MAKE) stage1-start; \
20752 fi; \
20753 cd $(HOST_SUBDIR)/libdecnumber && \
20754 $(MAKE) $(EXTRA_HOST_FLAGS) \
20755 clean
20756 @endif libdecnumber-bootstrap
20759 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20760 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20761 maybe-all-stage2-libdecnumber:
20762 maybe-clean-stage2-libdecnumber:
20763 @if libdecnumber-bootstrap
20764 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20765 all-stage2: all-stage2-libdecnumber
20766 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20767 all-stage2-libdecnumber: configure-stage2-libdecnumber
20768 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20769 @r=`${PWD_COMMAND}`; export r; \
20770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20771 TFLAGS="$(STAGE2_TFLAGS)"; \
20772 $(HOST_EXPORTS) \
20773 $(POSTSTAGE1_HOST_EXPORTS) \
20774 cd $(HOST_SUBDIR)/libdecnumber && \
20775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20776 CFLAGS="$(STAGE2_CFLAGS)" \
20777 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20778 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20783 TFLAGS="$(STAGE2_TFLAGS)" \
20784 $(TARGET-stage2-libdecnumber)
20786 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20787 clean-stage2: clean-stage2-libdecnumber
20788 clean-stage2-libdecnumber:
20789 @if [ $(current_stage) = stage2 ]; then \
20790 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20791 else \
20792 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20793 $(MAKE) stage2-start; \
20794 fi; \
20795 cd $(HOST_SUBDIR)/libdecnumber && \
20796 $(MAKE) $(EXTRA_HOST_FLAGS) \
20797 $(POSTSTAGE1_FLAGS_TO_PASS) \
20798 clean
20799 @endif libdecnumber-bootstrap
20802 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20803 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20804 maybe-all-stage3-libdecnumber:
20805 maybe-clean-stage3-libdecnumber:
20806 @if libdecnumber-bootstrap
20807 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20808 all-stage3: all-stage3-libdecnumber
20809 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20810 all-stage3-libdecnumber: configure-stage3-libdecnumber
20811 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20812 @r=`${PWD_COMMAND}`; export r; \
20813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20814 TFLAGS="$(STAGE3_TFLAGS)"; \
20815 $(HOST_EXPORTS) \
20816 $(POSTSTAGE1_HOST_EXPORTS) \
20817 cd $(HOST_SUBDIR)/libdecnumber && \
20818 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20819 CFLAGS="$(STAGE3_CFLAGS)" \
20820 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20821 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20822 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20823 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20824 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20825 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20826 TFLAGS="$(STAGE3_TFLAGS)" \
20827 $(TARGET-stage3-libdecnumber)
20829 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20830 clean-stage3: clean-stage3-libdecnumber
20831 clean-stage3-libdecnumber:
20832 @if [ $(current_stage) = stage3 ]; then \
20833 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20834 else \
20835 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20836 $(MAKE) stage3-start; \
20837 fi; \
20838 cd $(HOST_SUBDIR)/libdecnumber && \
20839 $(MAKE) $(EXTRA_HOST_FLAGS) \
20840 $(POSTSTAGE1_FLAGS_TO_PASS) \
20841 clean
20842 @endif libdecnumber-bootstrap
20845 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20846 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20847 maybe-all-stage4-libdecnumber:
20848 maybe-clean-stage4-libdecnumber:
20849 @if libdecnumber-bootstrap
20850 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20851 all-stage4: all-stage4-libdecnumber
20852 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20853 all-stage4-libdecnumber: configure-stage4-libdecnumber
20854 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20855 @r=`${PWD_COMMAND}`; export r; \
20856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20857 TFLAGS="$(STAGE4_TFLAGS)"; \
20858 $(HOST_EXPORTS) \
20859 $(POSTSTAGE1_HOST_EXPORTS) \
20860 cd $(HOST_SUBDIR)/libdecnumber && \
20861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20862 CFLAGS="$(STAGE4_CFLAGS)" \
20863 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20864 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20868 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20869 TFLAGS="$(STAGE4_TFLAGS)" \
20870 $(TARGET-stage4-libdecnumber)
20872 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20873 clean-stage4: clean-stage4-libdecnumber
20874 clean-stage4-libdecnumber:
20875 @if [ $(current_stage) = stage4 ]; then \
20876 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20877 else \
20878 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20879 $(MAKE) stage4-start; \
20880 fi; \
20881 cd $(HOST_SUBDIR)/libdecnumber && \
20882 $(MAKE) $(EXTRA_HOST_FLAGS) \
20883 $(POSTSTAGE1_FLAGS_TO_PASS) \
20884 clean
20885 @endif libdecnumber-bootstrap
20888 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20889 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20890 maybe-all-stageprofile-libdecnumber:
20891 maybe-clean-stageprofile-libdecnumber:
20892 @if libdecnumber-bootstrap
20893 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20894 all-stageprofile: all-stageprofile-libdecnumber
20895 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20896 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20897 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20898 @r=`${PWD_COMMAND}`; export r; \
20899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20900 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20901 $(HOST_EXPORTS) \
20902 $(POSTSTAGE1_HOST_EXPORTS) \
20903 cd $(HOST_SUBDIR)/libdecnumber && \
20904 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20905 CFLAGS="$(STAGEprofile_CFLAGS)" \
20906 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20907 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20908 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20909 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20910 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20911 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20912 TFLAGS="$(STAGEprofile_TFLAGS)" \
20913 $(TARGET-stageprofile-libdecnumber)
20915 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20916 clean-stageprofile: clean-stageprofile-libdecnumber
20917 clean-stageprofile-libdecnumber:
20918 @if [ $(current_stage) = stageprofile ]; then \
20919 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20920 else \
20921 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20922 $(MAKE) stageprofile-start; \
20923 fi; \
20924 cd $(HOST_SUBDIR)/libdecnumber && \
20925 $(MAKE) $(EXTRA_HOST_FLAGS) \
20926 $(POSTSTAGE1_FLAGS_TO_PASS) \
20927 clean
20928 @endif libdecnumber-bootstrap
20931 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20932 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20933 maybe-all-stagefeedback-libdecnumber:
20934 maybe-clean-stagefeedback-libdecnumber:
20935 @if libdecnumber-bootstrap
20936 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20937 all-stagefeedback: all-stagefeedback-libdecnumber
20938 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20939 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20940 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20941 @r=`${PWD_COMMAND}`; export r; \
20942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20943 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20944 $(HOST_EXPORTS) \
20945 $(POSTSTAGE1_HOST_EXPORTS) \
20946 cd $(HOST_SUBDIR)/libdecnumber && \
20947 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20948 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20949 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20950 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20951 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20952 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20953 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20954 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20955 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20956 $(TARGET-stagefeedback-libdecnumber)
20958 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20959 clean-stagefeedback: clean-stagefeedback-libdecnumber
20960 clean-stagefeedback-libdecnumber:
20961 @if [ $(current_stage) = stagefeedback ]; then \
20962 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20963 else \
20964 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20965 $(MAKE) stagefeedback-start; \
20966 fi; \
20967 cd $(HOST_SUBDIR)/libdecnumber && \
20968 $(MAKE) $(EXTRA_HOST_FLAGS) \
20969 $(POSTSTAGE1_FLAGS_TO_PASS) \
20970 clean
20971 @endif libdecnumber-bootstrap
20977 .PHONY: check-libdecnumber maybe-check-libdecnumber
20978 maybe-check-libdecnumber:
20979 @if libdecnumber
20980 maybe-check-libdecnumber: check-libdecnumber
20982 check-libdecnumber:
20983 @: $(MAKE); $(unstage)
20984 @r=`${PWD_COMMAND}`; export r; \
20985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20986 $(HOST_EXPORTS) \
20987 (cd $(HOST_SUBDIR)/libdecnumber && \
20988 $(MAKE) $(FLAGS_TO_PASS) check)
20990 @endif libdecnumber
20992 .PHONY: install-libdecnumber maybe-install-libdecnumber
20993 maybe-install-libdecnumber:
20994 @if libdecnumber
20995 maybe-install-libdecnumber: install-libdecnumber
20997 install-libdecnumber: installdirs
20998 @: $(MAKE); $(unstage)
20999 @r=`${PWD_COMMAND}`; export r; \
21000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21001 $(HOST_EXPORTS) \
21002 (cd $(HOST_SUBDIR)/libdecnumber && \
21003 $(MAKE) $(FLAGS_TO_PASS) install)
21005 @endif libdecnumber
21007 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21008 maybe-install-strip-libdecnumber:
21009 @if libdecnumber
21010 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21012 install-strip-libdecnumber: installdirs
21013 @: $(MAKE); $(unstage)
21014 @r=`${PWD_COMMAND}`; export r; \
21015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21016 $(HOST_EXPORTS) \
21017 (cd $(HOST_SUBDIR)/libdecnumber && \
21018 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21020 @endif libdecnumber
21022 # Other targets (info, dvi, pdf, etc.)
21024 .PHONY: maybe-info-libdecnumber info-libdecnumber
21025 maybe-info-libdecnumber:
21026 @if libdecnumber
21027 maybe-info-libdecnumber: info-libdecnumber
21029 info-libdecnumber: \
21030 configure-libdecnumber
21031 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21032 r=`${PWD_COMMAND}`; export r; \
21033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21034 $(HOST_EXPORTS) \
21035 for flag in $(EXTRA_HOST_FLAGS) ; do \
21036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21037 done; \
21038 echo "Doing info in libdecnumber" ; \
21039 (cd $(HOST_SUBDIR)/libdecnumber && \
21040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21042 "RANLIB=$${RANLIB}" \
21043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21044 info) \
21045 || exit 1
21047 @endif libdecnumber
21049 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21050 maybe-dvi-libdecnumber:
21051 @if libdecnumber
21052 maybe-dvi-libdecnumber: dvi-libdecnumber
21054 dvi-libdecnumber: \
21055 configure-libdecnumber
21056 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21057 r=`${PWD_COMMAND}`; export r; \
21058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21059 $(HOST_EXPORTS) \
21060 for flag in $(EXTRA_HOST_FLAGS) ; do \
21061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21062 done; \
21063 echo "Doing dvi in libdecnumber" ; \
21064 (cd $(HOST_SUBDIR)/libdecnumber && \
21065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21067 "RANLIB=$${RANLIB}" \
21068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21069 dvi) \
21070 || exit 1
21072 @endif libdecnumber
21074 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21075 maybe-pdf-libdecnumber:
21076 @if libdecnumber
21077 maybe-pdf-libdecnumber: pdf-libdecnumber
21079 pdf-libdecnumber: \
21080 configure-libdecnumber
21081 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21082 r=`${PWD_COMMAND}`; export r; \
21083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21084 $(HOST_EXPORTS) \
21085 for flag in $(EXTRA_HOST_FLAGS) ; do \
21086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21087 done; \
21088 echo "Doing pdf in libdecnumber" ; \
21089 (cd $(HOST_SUBDIR)/libdecnumber && \
21090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21092 "RANLIB=$${RANLIB}" \
21093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21094 pdf) \
21095 || exit 1
21097 @endif libdecnumber
21099 .PHONY: maybe-html-libdecnumber html-libdecnumber
21100 maybe-html-libdecnumber:
21101 @if libdecnumber
21102 maybe-html-libdecnumber: html-libdecnumber
21104 html-libdecnumber: \
21105 configure-libdecnumber
21106 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21107 r=`${PWD_COMMAND}`; export r; \
21108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21109 $(HOST_EXPORTS) \
21110 for flag in $(EXTRA_HOST_FLAGS) ; do \
21111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21112 done; \
21113 echo "Doing html in libdecnumber" ; \
21114 (cd $(HOST_SUBDIR)/libdecnumber && \
21115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21117 "RANLIB=$${RANLIB}" \
21118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21119 html) \
21120 || exit 1
21122 @endif libdecnumber
21124 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21125 maybe-TAGS-libdecnumber:
21126 @if libdecnumber
21127 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21129 TAGS-libdecnumber: \
21130 configure-libdecnumber
21131 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21132 r=`${PWD_COMMAND}`; export r; \
21133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21134 $(HOST_EXPORTS) \
21135 for flag in $(EXTRA_HOST_FLAGS) ; do \
21136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21137 done; \
21138 echo "Doing TAGS in libdecnumber" ; \
21139 (cd $(HOST_SUBDIR)/libdecnumber && \
21140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21142 "RANLIB=$${RANLIB}" \
21143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21144 TAGS) \
21145 || exit 1
21147 @endif libdecnumber
21149 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21150 maybe-install-info-libdecnumber:
21151 @if libdecnumber
21152 maybe-install-info-libdecnumber: install-info-libdecnumber
21154 install-info-libdecnumber: \
21155 configure-libdecnumber \
21156 info-libdecnumber
21157 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21158 r=`${PWD_COMMAND}`; export r; \
21159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21160 $(HOST_EXPORTS) \
21161 for flag in $(EXTRA_HOST_FLAGS) ; do \
21162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21163 done; \
21164 echo "Doing install-info in libdecnumber" ; \
21165 (cd $(HOST_SUBDIR)/libdecnumber && \
21166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21168 "RANLIB=$${RANLIB}" \
21169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21170 install-info) \
21171 || exit 1
21173 @endif libdecnumber
21175 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21176 maybe-install-pdf-libdecnumber:
21177 @if libdecnumber
21178 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21180 install-pdf-libdecnumber: \
21181 configure-libdecnumber \
21182 pdf-libdecnumber
21183 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21184 r=`${PWD_COMMAND}`; export r; \
21185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21186 $(HOST_EXPORTS) \
21187 for flag in $(EXTRA_HOST_FLAGS) ; do \
21188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21189 done; \
21190 echo "Doing install-pdf in libdecnumber" ; \
21191 (cd $(HOST_SUBDIR)/libdecnumber && \
21192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21194 "RANLIB=$${RANLIB}" \
21195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21196 install-pdf) \
21197 || exit 1
21199 @endif libdecnumber
21201 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21202 maybe-install-html-libdecnumber:
21203 @if libdecnumber
21204 maybe-install-html-libdecnumber: install-html-libdecnumber
21206 install-html-libdecnumber: \
21207 configure-libdecnumber \
21208 html-libdecnumber
21209 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21210 r=`${PWD_COMMAND}`; export r; \
21211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21212 $(HOST_EXPORTS) \
21213 for flag in $(EXTRA_HOST_FLAGS) ; do \
21214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21215 done; \
21216 echo "Doing install-html in libdecnumber" ; \
21217 (cd $(HOST_SUBDIR)/libdecnumber && \
21218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21220 "RANLIB=$${RANLIB}" \
21221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21222 install-html) \
21223 || exit 1
21225 @endif libdecnumber
21227 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21228 maybe-installcheck-libdecnumber:
21229 @if libdecnumber
21230 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21232 installcheck-libdecnumber: \
21233 configure-libdecnumber
21234 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21235 r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21237 $(HOST_EXPORTS) \
21238 for flag in $(EXTRA_HOST_FLAGS) ; do \
21239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21240 done; \
21241 echo "Doing installcheck in libdecnumber" ; \
21242 (cd $(HOST_SUBDIR)/libdecnumber && \
21243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21245 "RANLIB=$${RANLIB}" \
21246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21247 installcheck) \
21248 || exit 1
21250 @endif libdecnumber
21252 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21253 maybe-mostlyclean-libdecnumber:
21254 @if libdecnumber
21255 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21257 mostlyclean-libdecnumber:
21258 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21259 r=`${PWD_COMMAND}`; export r; \
21260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21261 $(HOST_EXPORTS) \
21262 for flag in $(EXTRA_HOST_FLAGS) ; do \
21263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21264 done; \
21265 echo "Doing mostlyclean in libdecnumber" ; \
21266 (cd $(HOST_SUBDIR)/libdecnumber && \
21267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21269 "RANLIB=$${RANLIB}" \
21270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21271 mostlyclean) \
21272 || exit 1
21274 @endif libdecnumber
21276 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21277 maybe-clean-libdecnumber:
21278 @if libdecnumber
21279 maybe-clean-libdecnumber: clean-libdecnumber
21281 clean-libdecnumber:
21282 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21283 r=`${PWD_COMMAND}`; export r; \
21284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21285 $(HOST_EXPORTS) \
21286 for flag in $(EXTRA_HOST_FLAGS) ; do \
21287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21288 done; \
21289 echo "Doing clean in libdecnumber" ; \
21290 (cd $(HOST_SUBDIR)/libdecnumber && \
21291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21293 "RANLIB=$${RANLIB}" \
21294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21295 clean) \
21296 || exit 1
21298 @endif libdecnumber
21300 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21301 maybe-distclean-libdecnumber:
21302 @if libdecnumber
21303 maybe-distclean-libdecnumber: distclean-libdecnumber
21305 distclean-libdecnumber:
21306 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21307 r=`${PWD_COMMAND}`; export r; \
21308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21309 $(HOST_EXPORTS) \
21310 for flag in $(EXTRA_HOST_FLAGS) ; do \
21311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21312 done; \
21313 echo "Doing distclean in libdecnumber" ; \
21314 (cd $(HOST_SUBDIR)/libdecnumber && \
21315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21317 "RANLIB=$${RANLIB}" \
21318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21319 distclean) \
21320 || exit 1
21322 @endif libdecnumber
21324 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21325 maybe-maintainer-clean-libdecnumber:
21326 @if libdecnumber
21327 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21329 maintainer-clean-libdecnumber:
21330 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21331 r=`${PWD_COMMAND}`; export r; \
21332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21333 $(HOST_EXPORTS) \
21334 for flag in $(EXTRA_HOST_FLAGS) ; do \
21335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21336 done; \
21337 echo "Doing maintainer-clean in libdecnumber" ; \
21338 (cd $(HOST_SUBDIR)/libdecnumber && \
21339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21341 "RANLIB=$${RANLIB}" \
21342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21343 maintainer-clean) \
21344 || exit 1
21346 @endif libdecnumber
21350 .PHONY: configure-libgui maybe-configure-libgui
21351 maybe-configure-libgui:
21352 @if gcc-bootstrap
21353 configure-libgui: stage_current
21354 @endif gcc-bootstrap
21355 @if libgui
21356 maybe-configure-libgui: configure-libgui
21357 configure-libgui:
21358 @: $(MAKE); $(unstage)
21359 @r=`${PWD_COMMAND}`; export r; \
21360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21361 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21363 $(HOST_EXPORTS) \
21364 echo Configuring in $(HOST_SUBDIR)/libgui; \
21365 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21366 case $(srcdir) in \
21367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21368 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21370 esac; \
21371 srcdiroption="--srcdir=$${topdir}/libgui"; \
21372 libsrcdir="$$s/libgui"; \
21373 $(SHELL) $${libsrcdir}/configure \
21374 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21375 --target=${target_alias} $${srcdiroption} \
21376 || exit 1
21377 @endif libgui
21383 .PHONY: all-libgui maybe-all-libgui
21384 maybe-all-libgui:
21385 @if gcc-bootstrap
21386 all-libgui: stage_current
21387 @endif gcc-bootstrap
21388 @if libgui
21389 TARGET-libgui=all
21390 maybe-all-libgui: all-libgui
21391 all-libgui: configure-libgui
21392 @: $(MAKE); $(unstage)
21393 @r=`${PWD_COMMAND}`; export r; \
21394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21395 $(HOST_EXPORTS) \
21396 (cd $(HOST_SUBDIR)/libgui && \
21397 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21398 $(TARGET-libgui))
21399 @endif libgui
21404 .PHONY: check-libgui maybe-check-libgui
21405 maybe-check-libgui:
21406 @if libgui
21407 maybe-check-libgui: check-libgui
21409 check-libgui:
21410 @: $(MAKE); $(unstage)
21411 @r=`${PWD_COMMAND}`; export r; \
21412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21413 $(HOST_EXPORTS) \
21414 (cd $(HOST_SUBDIR)/libgui && \
21415 $(MAKE) $(FLAGS_TO_PASS) check)
21417 @endif libgui
21419 .PHONY: install-libgui maybe-install-libgui
21420 maybe-install-libgui:
21421 @if libgui
21422 maybe-install-libgui: install-libgui
21424 install-libgui: installdirs
21425 @: $(MAKE); $(unstage)
21426 @r=`${PWD_COMMAND}`; export r; \
21427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21428 $(HOST_EXPORTS) \
21429 (cd $(HOST_SUBDIR)/libgui && \
21430 $(MAKE) $(FLAGS_TO_PASS) install)
21432 @endif libgui
21434 .PHONY: install-strip-libgui maybe-install-strip-libgui
21435 maybe-install-strip-libgui:
21436 @if libgui
21437 maybe-install-strip-libgui: install-strip-libgui
21439 install-strip-libgui: installdirs
21440 @: $(MAKE); $(unstage)
21441 @r=`${PWD_COMMAND}`; export r; \
21442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21443 $(HOST_EXPORTS) \
21444 (cd $(HOST_SUBDIR)/libgui && \
21445 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21447 @endif libgui
21449 # Other targets (info, dvi, pdf, etc.)
21451 .PHONY: maybe-info-libgui info-libgui
21452 maybe-info-libgui:
21453 @if libgui
21454 maybe-info-libgui: info-libgui
21456 info-libgui: \
21457 configure-libgui
21458 @: $(MAKE); $(unstage)
21459 @[ -f ./libgui/Makefile ] || exit 0; \
21460 r=`${PWD_COMMAND}`; export r; \
21461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21462 $(HOST_EXPORTS) \
21463 for flag in $(EXTRA_HOST_FLAGS) ; do \
21464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21465 done; \
21466 echo "Doing info in libgui" ; \
21467 (cd $(HOST_SUBDIR)/libgui && \
21468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21470 "RANLIB=$${RANLIB}" \
21471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21472 info) \
21473 || exit 1
21475 @endif libgui
21477 .PHONY: maybe-dvi-libgui dvi-libgui
21478 maybe-dvi-libgui:
21479 @if libgui
21480 maybe-dvi-libgui: dvi-libgui
21482 dvi-libgui: \
21483 configure-libgui
21484 @: $(MAKE); $(unstage)
21485 @[ -f ./libgui/Makefile ] || exit 0; \
21486 r=`${PWD_COMMAND}`; export r; \
21487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21488 $(HOST_EXPORTS) \
21489 for flag in $(EXTRA_HOST_FLAGS) ; do \
21490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21491 done; \
21492 echo "Doing dvi in libgui" ; \
21493 (cd $(HOST_SUBDIR)/libgui && \
21494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21496 "RANLIB=$${RANLIB}" \
21497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21498 dvi) \
21499 || exit 1
21501 @endif libgui
21503 .PHONY: maybe-pdf-libgui pdf-libgui
21504 maybe-pdf-libgui:
21505 @if libgui
21506 maybe-pdf-libgui: pdf-libgui
21508 pdf-libgui: \
21509 configure-libgui
21510 @: $(MAKE); $(unstage)
21511 @[ -f ./libgui/Makefile ] || exit 0; \
21512 r=`${PWD_COMMAND}`; export r; \
21513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21514 $(HOST_EXPORTS) \
21515 for flag in $(EXTRA_HOST_FLAGS) ; do \
21516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21517 done; \
21518 echo "Doing pdf in libgui" ; \
21519 (cd $(HOST_SUBDIR)/libgui && \
21520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21522 "RANLIB=$${RANLIB}" \
21523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21524 pdf) \
21525 || exit 1
21527 @endif libgui
21529 .PHONY: maybe-html-libgui html-libgui
21530 maybe-html-libgui:
21531 @if libgui
21532 maybe-html-libgui: html-libgui
21534 html-libgui: \
21535 configure-libgui
21536 @: $(MAKE); $(unstage)
21537 @[ -f ./libgui/Makefile ] || exit 0; \
21538 r=`${PWD_COMMAND}`; export r; \
21539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21540 $(HOST_EXPORTS) \
21541 for flag in $(EXTRA_HOST_FLAGS) ; do \
21542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21543 done; \
21544 echo "Doing html in libgui" ; \
21545 (cd $(HOST_SUBDIR)/libgui && \
21546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21548 "RANLIB=$${RANLIB}" \
21549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21550 html) \
21551 || exit 1
21553 @endif libgui
21555 .PHONY: maybe-TAGS-libgui TAGS-libgui
21556 maybe-TAGS-libgui:
21557 @if libgui
21558 maybe-TAGS-libgui: TAGS-libgui
21560 TAGS-libgui: \
21561 configure-libgui
21562 @: $(MAKE); $(unstage)
21563 @[ -f ./libgui/Makefile ] || exit 0; \
21564 r=`${PWD_COMMAND}`; export r; \
21565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21566 $(HOST_EXPORTS) \
21567 for flag in $(EXTRA_HOST_FLAGS) ; do \
21568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21569 done; \
21570 echo "Doing TAGS in libgui" ; \
21571 (cd $(HOST_SUBDIR)/libgui && \
21572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21574 "RANLIB=$${RANLIB}" \
21575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21576 TAGS) \
21577 || exit 1
21579 @endif libgui
21581 .PHONY: maybe-install-info-libgui install-info-libgui
21582 maybe-install-info-libgui:
21583 @if libgui
21584 maybe-install-info-libgui: install-info-libgui
21586 install-info-libgui: \
21587 configure-libgui \
21588 info-libgui
21589 @: $(MAKE); $(unstage)
21590 @[ -f ./libgui/Makefile ] || exit 0; \
21591 r=`${PWD_COMMAND}`; export r; \
21592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21593 $(HOST_EXPORTS) \
21594 for flag in $(EXTRA_HOST_FLAGS) ; do \
21595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21596 done; \
21597 echo "Doing install-info in libgui" ; \
21598 (cd $(HOST_SUBDIR)/libgui && \
21599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21601 "RANLIB=$${RANLIB}" \
21602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21603 install-info) \
21604 || exit 1
21606 @endif libgui
21608 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21609 maybe-install-pdf-libgui:
21610 @if libgui
21611 maybe-install-pdf-libgui: install-pdf-libgui
21613 install-pdf-libgui: \
21614 configure-libgui \
21615 pdf-libgui
21616 @: $(MAKE); $(unstage)
21617 @[ -f ./libgui/Makefile ] || exit 0; \
21618 r=`${PWD_COMMAND}`; export r; \
21619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21620 $(HOST_EXPORTS) \
21621 for flag in $(EXTRA_HOST_FLAGS) ; do \
21622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21623 done; \
21624 echo "Doing install-pdf in libgui" ; \
21625 (cd $(HOST_SUBDIR)/libgui && \
21626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21628 "RANLIB=$${RANLIB}" \
21629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21630 install-pdf) \
21631 || exit 1
21633 @endif libgui
21635 .PHONY: maybe-install-html-libgui install-html-libgui
21636 maybe-install-html-libgui:
21637 @if libgui
21638 maybe-install-html-libgui: install-html-libgui
21640 install-html-libgui: \
21641 configure-libgui \
21642 html-libgui
21643 @: $(MAKE); $(unstage)
21644 @[ -f ./libgui/Makefile ] || exit 0; \
21645 r=`${PWD_COMMAND}`; export r; \
21646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21647 $(HOST_EXPORTS) \
21648 for flag in $(EXTRA_HOST_FLAGS) ; do \
21649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21650 done; \
21651 echo "Doing install-html in libgui" ; \
21652 (cd $(HOST_SUBDIR)/libgui && \
21653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21655 "RANLIB=$${RANLIB}" \
21656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21657 install-html) \
21658 || exit 1
21660 @endif libgui
21662 .PHONY: maybe-installcheck-libgui installcheck-libgui
21663 maybe-installcheck-libgui:
21664 @if libgui
21665 maybe-installcheck-libgui: installcheck-libgui
21667 installcheck-libgui: \
21668 configure-libgui
21669 @: $(MAKE); $(unstage)
21670 @[ -f ./libgui/Makefile ] || exit 0; \
21671 r=`${PWD_COMMAND}`; export r; \
21672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21673 $(HOST_EXPORTS) \
21674 for flag in $(EXTRA_HOST_FLAGS) ; do \
21675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21676 done; \
21677 echo "Doing installcheck in libgui" ; \
21678 (cd $(HOST_SUBDIR)/libgui && \
21679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21681 "RANLIB=$${RANLIB}" \
21682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21683 installcheck) \
21684 || exit 1
21686 @endif libgui
21688 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21689 maybe-mostlyclean-libgui:
21690 @if libgui
21691 maybe-mostlyclean-libgui: mostlyclean-libgui
21693 mostlyclean-libgui:
21694 @: $(MAKE); $(unstage)
21695 @[ -f ./libgui/Makefile ] || exit 0; \
21696 r=`${PWD_COMMAND}`; export r; \
21697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21698 $(HOST_EXPORTS) \
21699 for flag in $(EXTRA_HOST_FLAGS) ; do \
21700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21701 done; \
21702 echo "Doing mostlyclean in libgui" ; \
21703 (cd $(HOST_SUBDIR)/libgui && \
21704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21706 "RANLIB=$${RANLIB}" \
21707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21708 mostlyclean) \
21709 || exit 1
21711 @endif libgui
21713 .PHONY: maybe-clean-libgui clean-libgui
21714 maybe-clean-libgui:
21715 @if libgui
21716 maybe-clean-libgui: clean-libgui
21718 clean-libgui:
21719 @: $(MAKE); $(unstage)
21720 @[ -f ./libgui/Makefile ] || exit 0; \
21721 r=`${PWD_COMMAND}`; export r; \
21722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21723 $(HOST_EXPORTS) \
21724 for flag in $(EXTRA_HOST_FLAGS) ; do \
21725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21726 done; \
21727 echo "Doing clean in libgui" ; \
21728 (cd $(HOST_SUBDIR)/libgui && \
21729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21731 "RANLIB=$${RANLIB}" \
21732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21733 clean) \
21734 || exit 1
21736 @endif libgui
21738 .PHONY: maybe-distclean-libgui distclean-libgui
21739 maybe-distclean-libgui:
21740 @if libgui
21741 maybe-distclean-libgui: distclean-libgui
21743 distclean-libgui:
21744 @: $(MAKE); $(unstage)
21745 @[ -f ./libgui/Makefile ] || exit 0; \
21746 r=`${PWD_COMMAND}`; export r; \
21747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21748 $(HOST_EXPORTS) \
21749 for flag in $(EXTRA_HOST_FLAGS) ; do \
21750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21751 done; \
21752 echo "Doing distclean in libgui" ; \
21753 (cd $(HOST_SUBDIR)/libgui && \
21754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21756 "RANLIB=$${RANLIB}" \
21757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21758 distclean) \
21759 || exit 1
21761 @endif libgui
21763 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21764 maybe-maintainer-clean-libgui:
21765 @if libgui
21766 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21768 maintainer-clean-libgui:
21769 @: $(MAKE); $(unstage)
21770 @[ -f ./libgui/Makefile ] || exit 0; \
21771 r=`${PWD_COMMAND}`; export r; \
21772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21773 $(HOST_EXPORTS) \
21774 for flag in $(EXTRA_HOST_FLAGS) ; do \
21775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21776 done; \
21777 echo "Doing maintainer-clean in libgui" ; \
21778 (cd $(HOST_SUBDIR)/libgui && \
21779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21781 "RANLIB=$${RANLIB}" \
21782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21783 maintainer-clean) \
21784 || exit 1
21786 @endif libgui
21790 .PHONY: configure-libiberty maybe-configure-libiberty
21791 maybe-configure-libiberty:
21792 @if gcc-bootstrap
21793 configure-libiberty: stage_current
21794 @endif gcc-bootstrap
21795 @if libiberty
21796 maybe-configure-libiberty: configure-libiberty
21797 configure-libiberty:
21798 @r=`${PWD_COMMAND}`; export r; \
21799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21800 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21802 $(HOST_EXPORTS) \
21803 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21804 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21805 case $(srcdir) in \
21806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21807 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21809 esac; \
21810 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21811 libsrcdir="$$s/libiberty"; \
21812 $(SHELL) $${libsrcdir}/configure \
21813 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21814 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21815 || exit 1
21816 @endif libiberty
21820 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21821 maybe-configure-stage1-libiberty:
21822 @if libiberty-bootstrap
21823 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21824 configure-stage1-libiberty:
21825 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21826 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21827 @r=`${PWD_COMMAND}`; export r; \
21828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829 TFLAGS="$(STAGE1_TFLAGS)"; \
21830 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21831 $(HOST_EXPORTS) \
21832 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21833 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21834 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21835 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21837 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21838 case $(srcdir) in \
21839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21840 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21842 esac; \
21843 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21844 libsrcdir="$$s/libiberty"; \
21845 $(SHELL) $${libsrcdir}/configure \
21846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21847 --target=${target_alias} $${srcdiroption} \
21848 $(STAGE1_CONFIGURE_FLAGS) \
21849 @extra_host_libiberty_configure_flags@
21850 @endif libiberty-bootstrap
21852 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21853 maybe-configure-stage2-libiberty:
21854 @if libiberty-bootstrap
21855 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21856 configure-stage2-libiberty:
21857 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21858 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21859 @r=`${PWD_COMMAND}`; export r; \
21860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21861 TFLAGS="$(STAGE2_TFLAGS)"; \
21862 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21863 $(HOST_EXPORTS) \
21864 $(POSTSTAGE1_HOST_EXPORTS) \
21865 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21866 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21867 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21868 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21870 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21871 case $(srcdir) in \
21872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21873 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21875 esac; \
21876 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21877 libsrcdir="$$s/libiberty"; \
21878 $(SHELL) $${libsrcdir}/configure \
21879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21880 --target=${target_alias} $${srcdiroption} \
21881 --with-build-libsubdir=$(HOST_SUBDIR) \
21882 $(STAGE2_CONFIGURE_FLAGS) \
21883 @extra_host_libiberty_configure_flags@
21884 @endif libiberty-bootstrap
21886 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21887 maybe-configure-stage3-libiberty:
21888 @if libiberty-bootstrap
21889 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21890 configure-stage3-libiberty:
21891 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21893 @r=`${PWD_COMMAND}`; export r; \
21894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21895 TFLAGS="$(STAGE3_TFLAGS)"; \
21896 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21897 $(HOST_EXPORTS) \
21898 $(POSTSTAGE1_HOST_EXPORTS) \
21899 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21900 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21901 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21902 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21904 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21905 case $(srcdir) in \
21906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21907 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21909 esac; \
21910 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21911 libsrcdir="$$s/libiberty"; \
21912 $(SHELL) $${libsrcdir}/configure \
21913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21914 --target=${target_alias} $${srcdiroption} \
21915 --with-build-libsubdir=$(HOST_SUBDIR) \
21916 $(STAGE3_CONFIGURE_FLAGS) \
21917 @extra_host_libiberty_configure_flags@
21918 @endif libiberty-bootstrap
21920 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21921 maybe-configure-stage4-libiberty:
21922 @if libiberty-bootstrap
21923 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21924 configure-stage4-libiberty:
21925 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21927 @r=`${PWD_COMMAND}`; export r; \
21928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21929 TFLAGS="$(STAGE4_TFLAGS)"; \
21930 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21931 $(HOST_EXPORTS) \
21932 $(POSTSTAGE1_HOST_EXPORTS) \
21933 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21934 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21935 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21936 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21938 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21939 case $(srcdir) in \
21940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21941 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21943 esac; \
21944 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21945 libsrcdir="$$s/libiberty"; \
21946 $(SHELL) $${libsrcdir}/configure \
21947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21948 --target=${target_alias} $${srcdiroption} \
21949 --with-build-libsubdir=$(HOST_SUBDIR) \
21950 $(STAGE4_CONFIGURE_FLAGS) \
21951 @extra_host_libiberty_configure_flags@
21952 @endif libiberty-bootstrap
21954 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21955 maybe-configure-stageprofile-libiberty:
21956 @if libiberty-bootstrap
21957 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21958 configure-stageprofile-libiberty:
21959 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21961 @r=`${PWD_COMMAND}`; export r; \
21962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21963 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21964 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21965 $(HOST_EXPORTS) \
21966 $(POSTSTAGE1_HOST_EXPORTS) \
21967 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21968 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21969 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21970 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21972 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21973 case $(srcdir) in \
21974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21975 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21977 esac; \
21978 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21979 libsrcdir="$$s/libiberty"; \
21980 $(SHELL) $${libsrcdir}/configure \
21981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21982 --target=${target_alias} $${srcdiroption} \
21983 --with-build-libsubdir=$(HOST_SUBDIR) \
21984 $(STAGEprofile_CONFIGURE_FLAGS) \
21985 @extra_host_libiberty_configure_flags@
21986 @endif libiberty-bootstrap
21988 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21989 maybe-configure-stagefeedback-libiberty:
21990 @if libiberty-bootstrap
21991 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21992 configure-stagefeedback-libiberty:
21993 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21994 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21995 @r=`${PWD_COMMAND}`; export r; \
21996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21997 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21998 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21999 $(HOST_EXPORTS) \
22000 $(POSTSTAGE1_HOST_EXPORTS) \
22001 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22002 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22003 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22004 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22006 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22007 case $(srcdir) in \
22008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22009 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22011 esac; \
22012 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22013 libsrcdir="$$s/libiberty"; \
22014 $(SHELL) $${libsrcdir}/configure \
22015 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22016 --target=${target_alias} $${srcdiroption} \
22017 --with-build-libsubdir=$(HOST_SUBDIR) \
22018 $(STAGEfeedback_CONFIGURE_FLAGS) \
22019 @extra_host_libiberty_configure_flags@
22020 @endif libiberty-bootstrap
22026 .PHONY: all-libiberty maybe-all-libiberty
22027 maybe-all-libiberty:
22028 @if gcc-bootstrap
22029 all-libiberty: stage_current
22030 @endif gcc-bootstrap
22031 @if libiberty
22032 TARGET-libiberty=all
22033 maybe-all-libiberty: all-libiberty
22034 all-libiberty: configure-libiberty
22035 @r=`${PWD_COMMAND}`; export r; \
22036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22037 $(HOST_EXPORTS) \
22038 (cd $(HOST_SUBDIR)/libiberty && \
22039 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22040 $(TARGET-libiberty))
22041 @endif libiberty
22045 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22046 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22047 maybe-all-stage1-libiberty:
22048 maybe-clean-stage1-libiberty:
22049 @if libiberty-bootstrap
22050 maybe-all-stage1-libiberty: all-stage1-libiberty
22051 all-stage1: all-stage1-libiberty
22052 TARGET-stage1-libiberty = $(TARGET-libiberty)
22053 all-stage1-libiberty: configure-stage1-libiberty
22054 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22055 @r=`${PWD_COMMAND}`; export r; \
22056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22057 TFLAGS="$(STAGE1_TFLAGS)"; \
22058 $(HOST_EXPORTS) \
22059 cd $(HOST_SUBDIR)/libiberty && \
22060 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22061 CFLAGS="$(STAGE1_CFLAGS)" \
22062 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22063 LIBCFLAGS="$(LIBCFLAGS)" \
22064 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22065 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22066 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22067 $(EXTRA_HOST_FLAGS) \
22068 TFLAGS="$(STAGE1_TFLAGS)" \
22069 $(TARGET-stage1-libiberty)
22071 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22072 clean-stage1: clean-stage1-libiberty
22073 clean-stage1-libiberty:
22074 @if [ $(current_stage) = stage1 ]; then \
22075 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22076 else \
22077 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22078 $(MAKE) stage1-start; \
22079 fi; \
22080 cd $(HOST_SUBDIR)/libiberty && \
22081 $(MAKE) $(EXTRA_HOST_FLAGS) \
22082 clean
22083 @endif libiberty-bootstrap
22086 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22087 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22088 maybe-all-stage2-libiberty:
22089 maybe-clean-stage2-libiberty:
22090 @if libiberty-bootstrap
22091 maybe-all-stage2-libiberty: all-stage2-libiberty
22092 all-stage2: all-stage2-libiberty
22093 TARGET-stage2-libiberty = $(TARGET-libiberty)
22094 all-stage2-libiberty: configure-stage2-libiberty
22095 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22096 @r=`${PWD_COMMAND}`; export r; \
22097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22098 TFLAGS="$(STAGE2_TFLAGS)"; \
22099 $(HOST_EXPORTS) \
22100 $(POSTSTAGE1_HOST_EXPORTS) \
22101 cd $(HOST_SUBDIR)/libiberty && \
22102 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22103 CFLAGS="$(STAGE2_CFLAGS)" \
22104 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22105 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22106 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22107 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22108 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22109 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22110 TFLAGS="$(STAGE2_TFLAGS)" \
22111 $(TARGET-stage2-libiberty)
22113 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22114 clean-stage2: clean-stage2-libiberty
22115 clean-stage2-libiberty:
22116 @if [ $(current_stage) = stage2 ]; then \
22117 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22118 else \
22119 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22120 $(MAKE) stage2-start; \
22121 fi; \
22122 cd $(HOST_SUBDIR)/libiberty && \
22123 $(MAKE) $(EXTRA_HOST_FLAGS) \
22124 $(POSTSTAGE1_FLAGS_TO_PASS) \
22125 clean
22126 @endif libiberty-bootstrap
22129 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22130 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22131 maybe-all-stage3-libiberty:
22132 maybe-clean-stage3-libiberty:
22133 @if libiberty-bootstrap
22134 maybe-all-stage3-libiberty: all-stage3-libiberty
22135 all-stage3: all-stage3-libiberty
22136 TARGET-stage3-libiberty = $(TARGET-libiberty)
22137 all-stage3-libiberty: configure-stage3-libiberty
22138 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22139 @r=`${PWD_COMMAND}`; export r; \
22140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22141 TFLAGS="$(STAGE3_TFLAGS)"; \
22142 $(HOST_EXPORTS) \
22143 $(POSTSTAGE1_HOST_EXPORTS) \
22144 cd $(HOST_SUBDIR)/libiberty && \
22145 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22146 CFLAGS="$(STAGE3_CFLAGS)" \
22147 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22148 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22149 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22150 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22151 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22152 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22153 TFLAGS="$(STAGE3_TFLAGS)" \
22154 $(TARGET-stage3-libiberty)
22156 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22157 clean-stage3: clean-stage3-libiberty
22158 clean-stage3-libiberty:
22159 @if [ $(current_stage) = stage3 ]; then \
22160 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22161 else \
22162 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22163 $(MAKE) stage3-start; \
22164 fi; \
22165 cd $(HOST_SUBDIR)/libiberty && \
22166 $(MAKE) $(EXTRA_HOST_FLAGS) \
22167 $(POSTSTAGE1_FLAGS_TO_PASS) \
22168 clean
22169 @endif libiberty-bootstrap
22172 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22173 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22174 maybe-all-stage4-libiberty:
22175 maybe-clean-stage4-libiberty:
22176 @if libiberty-bootstrap
22177 maybe-all-stage4-libiberty: all-stage4-libiberty
22178 all-stage4: all-stage4-libiberty
22179 TARGET-stage4-libiberty = $(TARGET-libiberty)
22180 all-stage4-libiberty: configure-stage4-libiberty
22181 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22182 @r=`${PWD_COMMAND}`; export r; \
22183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22184 TFLAGS="$(STAGE4_TFLAGS)"; \
22185 $(HOST_EXPORTS) \
22186 $(POSTSTAGE1_HOST_EXPORTS) \
22187 cd $(HOST_SUBDIR)/libiberty && \
22188 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22189 CFLAGS="$(STAGE4_CFLAGS)" \
22190 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22191 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22192 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22193 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22194 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22195 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22196 TFLAGS="$(STAGE4_TFLAGS)" \
22197 $(TARGET-stage4-libiberty)
22199 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22200 clean-stage4: clean-stage4-libiberty
22201 clean-stage4-libiberty:
22202 @if [ $(current_stage) = stage4 ]; then \
22203 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22204 else \
22205 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22206 $(MAKE) stage4-start; \
22207 fi; \
22208 cd $(HOST_SUBDIR)/libiberty && \
22209 $(MAKE) $(EXTRA_HOST_FLAGS) \
22210 $(POSTSTAGE1_FLAGS_TO_PASS) \
22211 clean
22212 @endif libiberty-bootstrap
22215 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22216 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22217 maybe-all-stageprofile-libiberty:
22218 maybe-clean-stageprofile-libiberty:
22219 @if libiberty-bootstrap
22220 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22221 all-stageprofile: all-stageprofile-libiberty
22222 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22223 all-stageprofile-libiberty: configure-stageprofile-libiberty
22224 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22225 @r=`${PWD_COMMAND}`; export r; \
22226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22227 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22228 $(HOST_EXPORTS) \
22229 $(POSTSTAGE1_HOST_EXPORTS) \
22230 cd $(HOST_SUBDIR)/libiberty && \
22231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22232 CFLAGS="$(STAGEprofile_CFLAGS)" \
22233 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22234 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22238 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22239 TFLAGS="$(STAGEprofile_TFLAGS)" \
22240 $(TARGET-stageprofile-libiberty)
22242 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22243 clean-stageprofile: clean-stageprofile-libiberty
22244 clean-stageprofile-libiberty:
22245 @if [ $(current_stage) = stageprofile ]; then \
22246 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22247 else \
22248 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22249 $(MAKE) stageprofile-start; \
22250 fi; \
22251 cd $(HOST_SUBDIR)/libiberty && \
22252 $(MAKE) $(EXTRA_HOST_FLAGS) \
22253 $(POSTSTAGE1_FLAGS_TO_PASS) \
22254 clean
22255 @endif libiberty-bootstrap
22258 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22259 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22260 maybe-all-stagefeedback-libiberty:
22261 maybe-clean-stagefeedback-libiberty:
22262 @if libiberty-bootstrap
22263 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22264 all-stagefeedback: all-stagefeedback-libiberty
22265 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22266 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22267 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22268 @r=`${PWD_COMMAND}`; export r; \
22269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22270 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22271 $(HOST_EXPORTS) \
22272 $(POSTSTAGE1_HOST_EXPORTS) \
22273 cd $(HOST_SUBDIR)/libiberty && \
22274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22275 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22276 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22277 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22278 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22279 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22280 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22281 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22282 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22283 $(TARGET-stagefeedback-libiberty)
22285 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22286 clean-stagefeedback: clean-stagefeedback-libiberty
22287 clean-stagefeedback-libiberty:
22288 @if [ $(current_stage) = stagefeedback ]; then \
22289 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22290 else \
22291 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22292 $(MAKE) stagefeedback-start; \
22293 fi; \
22294 cd $(HOST_SUBDIR)/libiberty && \
22295 $(MAKE) $(EXTRA_HOST_FLAGS) \
22296 $(POSTSTAGE1_FLAGS_TO_PASS) \
22297 clean
22298 @endif libiberty-bootstrap
22304 .PHONY: check-libiberty maybe-check-libiberty
22305 maybe-check-libiberty:
22306 @if libiberty
22307 maybe-check-libiberty: check-libiberty
22309 check-libiberty:
22310 @: $(MAKE); $(unstage)
22311 @r=`${PWD_COMMAND}`; export r; \
22312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22313 $(HOST_EXPORTS) \
22314 (cd $(HOST_SUBDIR)/libiberty && \
22315 $(MAKE) $(FLAGS_TO_PASS) check)
22317 @endif libiberty
22319 .PHONY: install-libiberty maybe-install-libiberty
22320 maybe-install-libiberty:
22321 @if libiberty
22322 maybe-install-libiberty: install-libiberty
22324 install-libiberty: installdirs
22325 @: $(MAKE); $(unstage)
22326 @r=`${PWD_COMMAND}`; export r; \
22327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22328 $(HOST_EXPORTS) \
22329 (cd $(HOST_SUBDIR)/libiberty && \
22330 $(MAKE) $(FLAGS_TO_PASS) install)
22332 @endif libiberty
22334 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22335 maybe-install-strip-libiberty:
22336 @if libiberty
22337 maybe-install-strip-libiberty: install-strip-libiberty
22339 install-strip-libiberty: installdirs
22340 @: $(MAKE); $(unstage)
22341 @r=`${PWD_COMMAND}`; export r; \
22342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22343 $(HOST_EXPORTS) \
22344 (cd $(HOST_SUBDIR)/libiberty && \
22345 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22347 @endif libiberty
22349 # Other targets (info, dvi, pdf, etc.)
22351 .PHONY: maybe-info-libiberty info-libiberty
22352 maybe-info-libiberty:
22353 @if libiberty
22354 maybe-info-libiberty: info-libiberty
22356 info-libiberty: \
22357 configure-libiberty
22358 @[ -f ./libiberty/Makefile ] || exit 0; \
22359 r=`${PWD_COMMAND}`; export r; \
22360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22361 $(HOST_EXPORTS) \
22362 for flag in $(EXTRA_HOST_FLAGS) ; do \
22363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22364 done; \
22365 echo "Doing info in libiberty" ; \
22366 (cd $(HOST_SUBDIR)/libiberty && \
22367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22369 "RANLIB=$${RANLIB}" \
22370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22371 info) \
22372 || exit 1
22374 @endif libiberty
22376 .PHONY: maybe-dvi-libiberty dvi-libiberty
22377 maybe-dvi-libiberty:
22378 @if libiberty
22379 maybe-dvi-libiberty: dvi-libiberty
22381 dvi-libiberty: \
22382 configure-libiberty
22383 @[ -f ./libiberty/Makefile ] || exit 0; \
22384 r=`${PWD_COMMAND}`; export r; \
22385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22386 $(HOST_EXPORTS) \
22387 for flag in $(EXTRA_HOST_FLAGS) ; do \
22388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22389 done; \
22390 echo "Doing dvi in libiberty" ; \
22391 (cd $(HOST_SUBDIR)/libiberty && \
22392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22394 "RANLIB=$${RANLIB}" \
22395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22396 dvi) \
22397 || exit 1
22399 @endif libiberty
22401 .PHONY: maybe-pdf-libiberty pdf-libiberty
22402 maybe-pdf-libiberty:
22403 @if libiberty
22404 maybe-pdf-libiberty: pdf-libiberty
22406 pdf-libiberty: \
22407 configure-libiberty
22408 @[ -f ./libiberty/Makefile ] || exit 0; \
22409 r=`${PWD_COMMAND}`; export r; \
22410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22411 $(HOST_EXPORTS) \
22412 for flag in $(EXTRA_HOST_FLAGS) ; do \
22413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22414 done; \
22415 echo "Doing pdf in libiberty" ; \
22416 (cd $(HOST_SUBDIR)/libiberty && \
22417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22419 "RANLIB=$${RANLIB}" \
22420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22421 pdf) \
22422 || exit 1
22424 @endif libiberty
22426 .PHONY: maybe-html-libiberty html-libiberty
22427 maybe-html-libiberty:
22428 @if libiberty
22429 maybe-html-libiberty: html-libiberty
22431 html-libiberty: \
22432 configure-libiberty
22433 @[ -f ./libiberty/Makefile ] || exit 0; \
22434 r=`${PWD_COMMAND}`; export r; \
22435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22436 $(HOST_EXPORTS) \
22437 for flag in $(EXTRA_HOST_FLAGS) ; do \
22438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22439 done; \
22440 echo "Doing html in libiberty" ; \
22441 (cd $(HOST_SUBDIR)/libiberty && \
22442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22444 "RANLIB=$${RANLIB}" \
22445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22446 html) \
22447 || exit 1
22449 @endif libiberty
22451 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22452 maybe-TAGS-libiberty:
22453 @if libiberty
22454 maybe-TAGS-libiberty: TAGS-libiberty
22456 TAGS-libiberty: \
22457 configure-libiberty
22458 @[ -f ./libiberty/Makefile ] || exit 0; \
22459 r=`${PWD_COMMAND}`; export r; \
22460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22461 $(HOST_EXPORTS) \
22462 for flag in $(EXTRA_HOST_FLAGS) ; do \
22463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22464 done; \
22465 echo "Doing TAGS in libiberty" ; \
22466 (cd $(HOST_SUBDIR)/libiberty && \
22467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22469 "RANLIB=$${RANLIB}" \
22470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22471 TAGS) \
22472 || exit 1
22474 @endif libiberty
22476 .PHONY: maybe-install-info-libiberty install-info-libiberty
22477 maybe-install-info-libiberty:
22478 @if libiberty
22479 maybe-install-info-libiberty: install-info-libiberty
22481 install-info-libiberty: \
22482 configure-libiberty \
22483 info-libiberty
22484 @[ -f ./libiberty/Makefile ] || exit 0; \
22485 r=`${PWD_COMMAND}`; export r; \
22486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22487 $(HOST_EXPORTS) \
22488 for flag in $(EXTRA_HOST_FLAGS) ; do \
22489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22490 done; \
22491 echo "Doing install-info in libiberty" ; \
22492 (cd $(HOST_SUBDIR)/libiberty && \
22493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22495 "RANLIB=$${RANLIB}" \
22496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22497 install-info) \
22498 || exit 1
22500 @endif libiberty
22502 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22503 maybe-install-pdf-libiberty:
22504 @if libiberty
22505 maybe-install-pdf-libiberty: install-pdf-libiberty
22507 install-pdf-libiberty: \
22508 configure-libiberty \
22509 pdf-libiberty
22510 @[ -f ./libiberty/Makefile ] || exit 0; \
22511 r=`${PWD_COMMAND}`; export r; \
22512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22513 $(HOST_EXPORTS) \
22514 for flag in $(EXTRA_HOST_FLAGS) ; do \
22515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22516 done; \
22517 echo "Doing install-pdf in libiberty" ; \
22518 (cd $(HOST_SUBDIR)/libiberty && \
22519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22521 "RANLIB=$${RANLIB}" \
22522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22523 install-pdf) \
22524 || exit 1
22526 @endif libiberty
22528 .PHONY: maybe-install-html-libiberty install-html-libiberty
22529 maybe-install-html-libiberty:
22530 @if libiberty
22531 maybe-install-html-libiberty: install-html-libiberty
22533 install-html-libiberty: \
22534 configure-libiberty \
22535 html-libiberty
22536 @[ -f ./libiberty/Makefile ] || exit 0; \
22537 r=`${PWD_COMMAND}`; export r; \
22538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22539 $(HOST_EXPORTS) \
22540 for flag in $(EXTRA_HOST_FLAGS) ; do \
22541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22542 done; \
22543 echo "Doing install-html in libiberty" ; \
22544 (cd $(HOST_SUBDIR)/libiberty && \
22545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22547 "RANLIB=$${RANLIB}" \
22548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22549 install-html) \
22550 || exit 1
22552 @endif libiberty
22554 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22555 maybe-installcheck-libiberty:
22556 @if libiberty
22557 maybe-installcheck-libiberty: installcheck-libiberty
22559 installcheck-libiberty: \
22560 configure-libiberty
22561 @[ -f ./libiberty/Makefile ] || exit 0; \
22562 r=`${PWD_COMMAND}`; export r; \
22563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22564 $(HOST_EXPORTS) \
22565 for flag in $(EXTRA_HOST_FLAGS) ; do \
22566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22567 done; \
22568 echo "Doing installcheck in libiberty" ; \
22569 (cd $(HOST_SUBDIR)/libiberty && \
22570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22572 "RANLIB=$${RANLIB}" \
22573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22574 installcheck) \
22575 || exit 1
22577 @endif libiberty
22579 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22580 maybe-mostlyclean-libiberty:
22581 @if libiberty
22582 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22584 mostlyclean-libiberty:
22585 @[ -f ./libiberty/Makefile ] || exit 0; \
22586 r=`${PWD_COMMAND}`; export r; \
22587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22588 $(HOST_EXPORTS) \
22589 for flag in $(EXTRA_HOST_FLAGS) ; do \
22590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22591 done; \
22592 echo "Doing mostlyclean in libiberty" ; \
22593 (cd $(HOST_SUBDIR)/libiberty && \
22594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22596 "RANLIB=$${RANLIB}" \
22597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22598 mostlyclean) \
22599 || exit 1
22601 @endif libiberty
22603 .PHONY: maybe-clean-libiberty clean-libiberty
22604 maybe-clean-libiberty:
22605 @if libiberty
22606 maybe-clean-libiberty: clean-libiberty
22608 clean-libiberty:
22609 @[ -f ./libiberty/Makefile ] || exit 0; \
22610 r=`${PWD_COMMAND}`; export r; \
22611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22612 $(HOST_EXPORTS) \
22613 for flag in $(EXTRA_HOST_FLAGS) ; do \
22614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22615 done; \
22616 echo "Doing clean in libiberty" ; \
22617 (cd $(HOST_SUBDIR)/libiberty && \
22618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22620 "RANLIB=$${RANLIB}" \
22621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22622 clean) \
22623 || exit 1
22625 @endif libiberty
22627 .PHONY: maybe-distclean-libiberty distclean-libiberty
22628 maybe-distclean-libiberty:
22629 @if libiberty
22630 maybe-distclean-libiberty: distclean-libiberty
22632 distclean-libiberty:
22633 @[ -f ./libiberty/Makefile ] || exit 0; \
22634 r=`${PWD_COMMAND}`; export r; \
22635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22636 $(HOST_EXPORTS) \
22637 for flag in $(EXTRA_HOST_FLAGS) ; do \
22638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22639 done; \
22640 echo "Doing distclean in libiberty" ; \
22641 (cd $(HOST_SUBDIR)/libiberty && \
22642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22644 "RANLIB=$${RANLIB}" \
22645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22646 distclean) \
22647 || exit 1
22649 @endif libiberty
22651 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22652 maybe-maintainer-clean-libiberty:
22653 @if libiberty
22654 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22656 maintainer-clean-libiberty:
22657 @[ -f ./libiberty/Makefile ] || exit 0; \
22658 r=`${PWD_COMMAND}`; export r; \
22659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22660 $(HOST_EXPORTS) \
22661 for flag in $(EXTRA_HOST_FLAGS) ; do \
22662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22663 done; \
22664 echo "Doing maintainer-clean in libiberty" ; \
22665 (cd $(HOST_SUBDIR)/libiberty && \
22666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22668 "RANLIB=$${RANLIB}" \
22669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22670 maintainer-clean) \
22671 || exit 1
22673 @endif libiberty
22677 .PHONY: configure-libiconv maybe-configure-libiconv
22678 maybe-configure-libiconv:
22679 @if gcc-bootstrap
22680 configure-libiconv: stage_current
22681 @endif gcc-bootstrap
22682 @if libiconv
22683 maybe-configure-libiconv: configure-libiconv
22684 configure-libiconv:
22685 @: $(MAKE); $(unstage)
22686 @r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22690 $(HOST_EXPORTS) \
22691 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22692 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22693 case $(srcdir) in \
22694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22695 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22697 esac; \
22698 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22699 libsrcdir="$$s/libiconv"; \
22700 $(SHELL) $${libsrcdir}/configure \
22701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22702 --target=${target_alias} $${srcdiroption} --disable-shared \
22703 || exit 1
22704 @endif libiconv
22710 .PHONY: all-libiconv maybe-all-libiconv
22711 maybe-all-libiconv:
22712 @if gcc-bootstrap
22713 all-libiconv: stage_current
22714 @endif gcc-bootstrap
22715 @if libiconv
22716 TARGET-libiconv=all
22717 maybe-all-libiconv: all-libiconv
22718 all-libiconv: configure-libiconv
22719 @: $(MAKE); $(unstage)
22720 @r=`${PWD_COMMAND}`; export r; \
22721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22722 $(HOST_EXPORTS) \
22723 (cd $(HOST_SUBDIR)/libiconv && \
22724 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22725 $(TARGET-libiconv))
22726 @endif libiconv
22731 .PHONY: check-libiconv maybe-check-libiconv
22732 maybe-check-libiconv:
22733 @if libiconv
22734 maybe-check-libiconv: check-libiconv
22736 check-libiconv:
22737 @: $(MAKE); $(unstage)
22738 @r=`${PWD_COMMAND}`; export r; \
22739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22740 $(HOST_EXPORTS) \
22741 (cd $(HOST_SUBDIR)/libiconv && \
22742 $(MAKE) $(FLAGS_TO_PASS) check)
22744 @endif libiconv
22746 .PHONY: install-libiconv maybe-install-libiconv
22747 maybe-install-libiconv:
22748 @if libiconv
22749 maybe-install-libiconv: install-libiconv
22751 install-libiconv:
22753 @endif libiconv
22755 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22756 maybe-install-strip-libiconv:
22757 @if libiconv
22758 maybe-install-strip-libiconv: install-strip-libiconv
22760 install-strip-libiconv:
22762 @endif libiconv
22764 # Other targets (info, dvi, pdf, etc.)
22766 .PHONY: maybe-info-libiconv info-libiconv
22767 maybe-info-libiconv:
22768 @if libiconv
22769 maybe-info-libiconv: info-libiconv
22771 info-libiconv: \
22772 configure-libiconv
22773 @: $(MAKE); $(unstage)
22774 @[ -f ./libiconv/Makefile ] || exit 0; \
22775 r=`${PWD_COMMAND}`; export r; \
22776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22777 $(HOST_EXPORTS) \
22778 for flag in $(EXTRA_HOST_FLAGS) ; do \
22779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22780 done; \
22781 echo "Doing info in libiconv" ; \
22782 (cd $(HOST_SUBDIR)/libiconv && \
22783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22785 "RANLIB=$${RANLIB}" \
22786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22787 info) \
22788 || exit 1
22790 @endif libiconv
22792 .PHONY: maybe-dvi-libiconv dvi-libiconv
22793 maybe-dvi-libiconv:
22794 @if libiconv
22795 maybe-dvi-libiconv: dvi-libiconv
22797 dvi-libiconv: \
22798 configure-libiconv
22799 @: $(MAKE); $(unstage)
22800 @[ -f ./libiconv/Makefile ] || exit 0; \
22801 r=`${PWD_COMMAND}`; export r; \
22802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22803 $(HOST_EXPORTS) \
22804 for flag in $(EXTRA_HOST_FLAGS) ; do \
22805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22806 done; \
22807 echo "Doing dvi in libiconv" ; \
22808 (cd $(HOST_SUBDIR)/libiconv && \
22809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22811 "RANLIB=$${RANLIB}" \
22812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22813 dvi) \
22814 || exit 1
22816 @endif libiconv
22818 .PHONY: maybe-pdf-libiconv pdf-libiconv
22819 maybe-pdf-libiconv:
22820 @if libiconv
22821 maybe-pdf-libiconv: pdf-libiconv
22823 pdf-libiconv: \
22824 configure-libiconv
22825 @: $(MAKE); $(unstage)
22826 @[ -f ./libiconv/Makefile ] || exit 0; \
22827 r=`${PWD_COMMAND}`; export r; \
22828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22829 $(HOST_EXPORTS) \
22830 for flag in $(EXTRA_HOST_FLAGS) ; do \
22831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22832 done; \
22833 echo "Doing pdf in libiconv" ; \
22834 (cd $(HOST_SUBDIR)/libiconv && \
22835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22837 "RANLIB=$${RANLIB}" \
22838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22839 pdf) \
22840 || exit 1
22842 @endif libiconv
22844 .PHONY: maybe-html-libiconv html-libiconv
22845 maybe-html-libiconv:
22846 @if libiconv
22847 maybe-html-libiconv: html-libiconv
22849 html-libiconv: \
22850 configure-libiconv
22851 @: $(MAKE); $(unstage)
22852 @[ -f ./libiconv/Makefile ] || exit 0; \
22853 r=`${PWD_COMMAND}`; export r; \
22854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22855 $(HOST_EXPORTS) \
22856 for flag in $(EXTRA_HOST_FLAGS) ; do \
22857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22858 done; \
22859 echo "Doing html in libiconv" ; \
22860 (cd $(HOST_SUBDIR)/libiconv && \
22861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22863 "RANLIB=$${RANLIB}" \
22864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22865 html) \
22866 || exit 1
22868 @endif libiconv
22870 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22871 maybe-TAGS-libiconv:
22872 @if libiconv
22873 maybe-TAGS-libiconv: TAGS-libiconv
22875 TAGS-libiconv: \
22876 configure-libiconv
22877 @: $(MAKE); $(unstage)
22878 @[ -f ./libiconv/Makefile ] || exit 0; \
22879 r=`${PWD_COMMAND}`; export r; \
22880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22881 $(HOST_EXPORTS) \
22882 for flag in $(EXTRA_HOST_FLAGS) ; do \
22883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22884 done; \
22885 echo "Doing TAGS in libiconv" ; \
22886 (cd $(HOST_SUBDIR)/libiconv && \
22887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22889 "RANLIB=$${RANLIB}" \
22890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22891 TAGS) \
22892 || exit 1
22894 @endif libiconv
22896 .PHONY: maybe-install-info-libiconv install-info-libiconv
22897 maybe-install-info-libiconv:
22898 @if libiconv
22899 maybe-install-info-libiconv: install-info-libiconv
22901 # libiconv doesn't support install-info.
22902 install-info-libiconv:
22904 @endif libiconv
22906 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22907 maybe-install-pdf-libiconv:
22908 @if libiconv
22909 maybe-install-pdf-libiconv: install-pdf-libiconv
22911 # libiconv doesn't support install-pdf.
22912 install-pdf-libiconv:
22914 @endif libiconv
22916 .PHONY: maybe-install-html-libiconv install-html-libiconv
22917 maybe-install-html-libiconv:
22918 @if libiconv
22919 maybe-install-html-libiconv: install-html-libiconv
22921 # libiconv doesn't support install-html.
22922 install-html-libiconv:
22924 @endif libiconv
22926 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22927 maybe-installcheck-libiconv:
22928 @if libiconv
22929 maybe-installcheck-libiconv: installcheck-libiconv
22931 installcheck-libiconv: \
22932 configure-libiconv
22933 @: $(MAKE); $(unstage)
22934 @[ -f ./libiconv/Makefile ] || exit 0; \
22935 r=`${PWD_COMMAND}`; export r; \
22936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22937 $(HOST_EXPORTS) \
22938 for flag in $(EXTRA_HOST_FLAGS) ; do \
22939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22940 done; \
22941 echo "Doing installcheck in libiconv" ; \
22942 (cd $(HOST_SUBDIR)/libiconv && \
22943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22945 "RANLIB=$${RANLIB}" \
22946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22947 installcheck) \
22948 || exit 1
22950 @endif libiconv
22952 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22953 maybe-mostlyclean-libiconv:
22954 @if libiconv
22955 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22957 mostlyclean-libiconv:
22958 @: $(MAKE); $(unstage)
22959 @[ -f ./libiconv/Makefile ] || exit 0; \
22960 r=`${PWD_COMMAND}`; export r; \
22961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22962 $(HOST_EXPORTS) \
22963 for flag in $(EXTRA_HOST_FLAGS) ; do \
22964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22965 done; \
22966 echo "Doing mostlyclean in libiconv" ; \
22967 (cd $(HOST_SUBDIR)/libiconv && \
22968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22970 "RANLIB=$${RANLIB}" \
22971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22972 mostlyclean) \
22973 || exit 1
22975 @endif libiconv
22977 .PHONY: maybe-clean-libiconv clean-libiconv
22978 maybe-clean-libiconv:
22979 @if libiconv
22980 maybe-clean-libiconv: clean-libiconv
22982 clean-libiconv:
22983 @: $(MAKE); $(unstage)
22984 @[ -f ./libiconv/Makefile ] || exit 0; \
22985 r=`${PWD_COMMAND}`; export r; \
22986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22987 $(HOST_EXPORTS) \
22988 for flag in $(EXTRA_HOST_FLAGS) ; do \
22989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22990 done; \
22991 echo "Doing clean in libiconv" ; \
22992 (cd $(HOST_SUBDIR)/libiconv && \
22993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22995 "RANLIB=$${RANLIB}" \
22996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22997 clean) \
22998 || exit 1
23000 @endif libiconv
23002 .PHONY: maybe-distclean-libiconv distclean-libiconv
23003 maybe-distclean-libiconv:
23004 @if libiconv
23005 maybe-distclean-libiconv: distclean-libiconv
23007 distclean-libiconv:
23008 @: $(MAKE); $(unstage)
23009 @[ -f ./libiconv/Makefile ] || exit 0; \
23010 r=`${PWD_COMMAND}`; export r; \
23011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23012 $(HOST_EXPORTS) \
23013 for flag in $(EXTRA_HOST_FLAGS) ; do \
23014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23015 done; \
23016 echo "Doing distclean in libiconv" ; \
23017 (cd $(HOST_SUBDIR)/libiconv && \
23018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23020 "RANLIB=$${RANLIB}" \
23021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23022 distclean) \
23023 || exit 1
23025 @endif libiconv
23027 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23028 maybe-maintainer-clean-libiconv:
23029 @if libiconv
23030 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23032 maintainer-clean-libiconv:
23033 @: $(MAKE); $(unstage)
23034 @[ -f ./libiconv/Makefile ] || exit 0; \
23035 r=`${PWD_COMMAND}`; export r; \
23036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23037 $(HOST_EXPORTS) \
23038 for flag in $(EXTRA_HOST_FLAGS) ; do \
23039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23040 done; \
23041 echo "Doing maintainer-clean in libiconv" ; \
23042 (cd $(HOST_SUBDIR)/libiconv && \
23043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23045 "RANLIB=$${RANLIB}" \
23046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23047 maintainer-clean) \
23048 || exit 1
23050 @endif libiconv
23054 .PHONY: configure-m4 maybe-configure-m4
23055 maybe-configure-m4:
23056 @if gcc-bootstrap
23057 configure-m4: stage_current
23058 @endif gcc-bootstrap
23059 @if m4
23060 maybe-configure-m4: configure-m4
23061 configure-m4:
23062 @: $(MAKE); $(unstage)
23063 @r=`${PWD_COMMAND}`; export r; \
23064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23065 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23067 $(HOST_EXPORTS) \
23068 echo Configuring in $(HOST_SUBDIR)/m4; \
23069 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23070 case $(srcdir) in \
23071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23072 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23074 esac; \
23075 srcdiroption="--srcdir=$${topdir}/m4"; \
23076 libsrcdir="$$s/m4"; \
23077 $(SHELL) $${libsrcdir}/configure \
23078 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23079 --target=${target_alias} $${srcdiroption} \
23080 || exit 1
23081 @endif m4
23087 .PHONY: all-m4 maybe-all-m4
23088 maybe-all-m4:
23089 @if gcc-bootstrap
23090 all-m4: stage_current
23091 @endif gcc-bootstrap
23092 @if m4
23093 TARGET-m4=all
23094 maybe-all-m4: all-m4
23095 all-m4: configure-m4
23096 @: $(MAKE); $(unstage)
23097 @r=`${PWD_COMMAND}`; export r; \
23098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23099 $(HOST_EXPORTS) \
23100 (cd $(HOST_SUBDIR)/m4 && \
23101 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23102 $(TARGET-m4))
23103 @endif m4
23108 .PHONY: check-m4 maybe-check-m4
23109 maybe-check-m4:
23110 @if m4
23111 maybe-check-m4: check-m4
23113 check-m4:
23114 @: $(MAKE); $(unstage)
23115 @r=`${PWD_COMMAND}`; export r; \
23116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23117 $(HOST_EXPORTS) \
23118 (cd $(HOST_SUBDIR)/m4 && \
23119 $(MAKE) $(FLAGS_TO_PASS) check)
23121 @endif m4
23123 .PHONY: install-m4 maybe-install-m4
23124 maybe-install-m4:
23125 @if m4
23126 maybe-install-m4: install-m4
23128 install-m4: installdirs
23129 @: $(MAKE); $(unstage)
23130 @r=`${PWD_COMMAND}`; export r; \
23131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23132 $(HOST_EXPORTS) \
23133 (cd $(HOST_SUBDIR)/m4 && \
23134 $(MAKE) $(FLAGS_TO_PASS) install)
23136 @endif m4
23138 .PHONY: install-strip-m4 maybe-install-strip-m4
23139 maybe-install-strip-m4:
23140 @if m4
23141 maybe-install-strip-m4: install-strip-m4
23143 install-strip-m4: installdirs
23144 @: $(MAKE); $(unstage)
23145 @r=`${PWD_COMMAND}`; export r; \
23146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23147 $(HOST_EXPORTS) \
23148 (cd $(HOST_SUBDIR)/m4 && \
23149 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23151 @endif m4
23153 # Other targets (info, dvi, pdf, etc.)
23155 .PHONY: maybe-info-m4 info-m4
23156 maybe-info-m4:
23157 @if m4
23158 maybe-info-m4: info-m4
23160 info-m4: \
23161 configure-m4
23162 @: $(MAKE); $(unstage)
23163 @[ -f ./m4/Makefile ] || exit 0; \
23164 r=`${PWD_COMMAND}`; export r; \
23165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23166 $(HOST_EXPORTS) \
23167 for flag in $(EXTRA_HOST_FLAGS) ; do \
23168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23169 done; \
23170 echo "Doing info in m4" ; \
23171 (cd $(HOST_SUBDIR)/m4 && \
23172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23174 "RANLIB=$${RANLIB}" \
23175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23176 info) \
23177 || exit 1
23179 @endif m4
23181 .PHONY: maybe-dvi-m4 dvi-m4
23182 maybe-dvi-m4:
23183 @if m4
23184 maybe-dvi-m4: dvi-m4
23186 dvi-m4: \
23187 configure-m4
23188 @: $(MAKE); $(unstage)
23189 @[ -f ./m4/Makefile ] || exit 0; \
23190 r=`${PWD_COMMAND}`; export r; \
23191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23192 $(HOST_EXPORTS) \
23193 for flag in $(EXTRA_HOST_FLAGS) ; do \
23194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23195 done; \
23196 echo "Doing dvi in m4" ; \
23197 (cd $(HOST_SUBDIR)/m4 && \
23198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23200 "RANLIB=$${RANLIB}" \
23201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23202 dvi) \
23203 || exit 1
23205 @endif m4
23207 .PHONY: maybe-pdf-m4 pdf-m4
23208 maybe-pdf-m4:
23209 @if m4
23210 maybe-pdf-m4: pdf-m4
23212 pdf-m4: \
23213 configure-m4
23214 @: $(MAKE); $(unstage)
23215 @[ -f ./m4/Makefile ] || exit 0; \
23216 r=`${PWD_COMMAND}`; export r; \
23217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23218 $(HOST_EXPORTS) \
23219 for flag in $(EXTRA_HOST_FLAGS) ; do \
23220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23221 done; \
23222 echo "Doing pdf in m4" ; \
23223 (cd $(HOST_SUBDIR)/m4 && \
23224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23226 "RANLIB=$${RANLIB}" \
23227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23228 pdf) \
23229 || exit 1
23231 @endif m4
23233 .PHONY: maybe-html-m4 html-m4
23234 maybe-html-m4:
23235 @if m4
23236 maybe-html-m4: html-m4
23238 html-m4: \
23239 configure-m4
23240 @: $(MAKE); $(unstage)
23241 @[ -f ./m4/Makefile ] || exit 0; \
23242 r=`${PWD_COMMAND}`; export r; \
23243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23244 $(HOST_EXPORTS) \
23245 for flag in $(EXTRA_HOST_FLAGS) ; do \
23246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23247 done; \
23248 echo "Doing html in m4" ; \
23249 (cd $(HOST_SUBDIR)/m4 && \
23250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23252 "RANLIB=$${RANLIB}" \
23253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23254 html) \
23255 || exit 1
23257 @endif m4
23259 .PHONY: maybe-TAGS-m4 TAGS-m4
23260 maybe-TAGS-m4:
23261 @if m4
23262 maybe-TAGS-m4: TAGS-m4
23264 TAGS-m4: \
23265 configure-m4
23266 @: $(MAKE); $(unstage)
23267 @[ -f ./m4/Makefile ] || exit 0; \
23268 r=`${PWD_COMMAND}`; export r; \
23269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23270 $(HOST_EXPORTS) \
23271 for flag in $(EXTRA_HOST_FLAGS) ; do \
23272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23273 done; \
23274 echo "Doing TAGS in m4" ; \
23275 (cd $(HOST_SUBDIR)/m4 && \
23276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23278 "RANLIB=$${RANLIB}" \
23279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23280 TAGS) \
23281 || exit 1
23283 @endif m4
23285 .PHONY: maybe-install-info-m4 install-info-m4
23286 maybe-install-info-m4:
23287 @if m4
23288 maybe-install-info-m4: install-info-m4
23290 install-info-m4: \
23291 configure-m4 \
23292 info-m4
23293 @: $(MAKE); $(unstage)
23294 @[ -f ./m4/Makefile ] || exit 0; \
23295 r=`${PWD_COMMAND}`; export r; \
23296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23297 $(HOST_EXPORTS) \
23298 for flag in $(EXTRA_HOST_FLAGS) ; do \
23299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23300 done; \
23301 echo "Doing install-info in m4" ; \
23302 (cd $(HOST_SUBDIR)/m4 && \
23303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23305 "RANLIB=$${RANLIB}" \
23306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23307 install-info) \
23308 || exit 1
23310 @endif m4
23312 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23313 maybe-install-pdf-m4:
23314 @if m4
23315 maybe-install-pdf-m4: install-pdf-m4
23317 install-pdf-m4: \
23318 configure-m4 \
23319 pdf-m4
23320 @: $(MAKE); $(unstage)
23321 @[ -f ./m4/Makefile ] || exit 0; \
23322 r=`${PWD_COMMAND}`; export r; \
23323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23324 $(HOST_EXPORTS) \
23325 for flag in $(EXTRA_HOST_FLAGS) ; do \
23326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23327 done; \
23328 echo "Doing install-pdf in m4" ; \
23329 (cd $(HOST_SUBDIR)/m4 && \
23330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23332 "RANLIB=$${RANLIB}" \
23333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23334 install-pdf) \
23335 || exit 1
23337 @endif m4
23339 .PHONY: maybe-install-html-m4 install-html-m4
23340 maybe-install-html-m4:
23341 @if m4
23342 maybe-install-html-m4: install-html-m4
23344 install-html-m4: \
23345 configure-m4 \
23346 html-m4
23347 @: $(MAKE); $(unstage)
23348 @[ -f ./m4/Makefile ] || exit 0; \
23349 r=`${PWD_COMMAND}`; export r; \
23350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23351 $(HOST_EXPORTS) \
23352 for flag in $(EXTRA_HOST_FLAGS) ; do \
23353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23354 done; \
23355 echo "Doing install-html in m4" ; \
23356 (cd $(HOST_SUBDIR)/m4 && \
23357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23359 "RANLIB=$${RANLIB}" \
23360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23361 install-html) \
23362 || exit 1
23364 @endif m4
23366 .PHONY: maybe-installcheck-m4 installcheck-m4
23367 maybe-installcheck-m4:
23368 @if m4
23369 maybe-installcheck-m4: installcheck-m4
23371 installcheck-m4: \
23372 configure-m4
23373 @: $(MAKE); $(unstage)
23374 @[ -f ./m4/Makefile ] || exit 0; \
23375 r=`${PWD_COMMAND}`; export r; \
23376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23377 $(HOST_EXPORTS) \
23378 for flag in $(EXTRA_HOST_FLAGS) ; do \
23379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23380 done; \
23381 echo "Doing installcheck in m4" ; \
23382 (cd $(HOST_SUBDIR)/m4 && \
23383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23385 "RANLIB=$${RANLIB}" \
23386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23387 installcheck) \
23388 || exit 1
23390 @endif m4
23392 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23393 maybe-mostlyclean-m4:
23394 @if m4
23395 maybe-mostlyclean-m4: mostlyclean-m4
23397 mostlyclean-m4:
23398 @: $(MAKE); $(unstage)
23399 @[ -f ./m4/Makefile ] || exit 0; \
23400 r=`${PWD_COMMAND}`; export r; \
23401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23402 $(HOST_EXPORTS) \
23403 for flag in $(EXTRA_HOST_FLAGS) ; do \
23404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23405 done; \
23406 echo "Doing mostlyclean in m4" ; \
23407 (cd $(HOST_SUBDIR)/m4 && \
23408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23410 "RANLIB=$${RANLIB}" \
23411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23412 mostlyclean) \
23413 || exit 1
23415 @endif m4
23417 .PHONY: maybe-clean-m4 clean-m4
23418 maybe-clean-m4:
23419 @if m4
23420 maybe-clean-m4: clean-m4
23422 clean-m4:
23423 @: $(MAKE); $(unstage)
23424 @[ -f ./m4/Makefile ] || exit 0; \
23425 r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23427 $(HOST_EXPORTS) \
23428 for flag in $(EXTRA_HOST_FLAGS) ; do \
23429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23430 done; \
23431 echo "Doing clean in m4" ; \
23432 (cd $(HOST_SUBDIR)/m4 && \
23433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23435 "RANLIB=$${RANLIB}" \
23436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23437 clean) \
23438 || exit 1
23440 @endif m4
23442 .PHONY: maybe-distclean-m4 distclean-m4
23443 maybe-distclean-m4:
23444 @if m4
23445 maybe-distclean-m4: distclean-m4
23447 distclean-m4:
23448 @: $(MAKE); $(unstage)
23449 @[ -f ./m4/Makefile ] || exit 0; \
23450 r=`${PWD_COMMAND}`; export r; \
23451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23452 $(HOST_EXPORTS) \
23453 for flag in $(EXTRA_HOST_FLAGS) ; do \
23454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23455 done; \
23456 echo "Doing distclean in m4" ; \
23457 (cd $(HOST_SUBDIR)/m4 && \
23458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23460 "RANLIB=$${RANLIB}" \
23461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23462 distclean) \
23463 || exit 1
23465 @endif m4
23467 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23468 maybe-maintainer-clean-m4:
23469 @if m4
23470 maybe-maintainer-clean-m4: maintainer-clean-m4
23472 maintainer-clean-m4:
23473 @: $(MAKE); $(unstage)
23474 @[ -f ./m4/Makefile ] || exit 0; \
23475 r=`${PWD_COMMAND}`; export r; \
23476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23477 $(HOST_EXPORTS) \
23478 for flag in $(EXTRA_HOST_FLAGS) ; do \
23479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23480 done; \
23481 echo "Doing maintainer-clean in m4" ; \
23482 (cd $(HOST_SUBDIR)/m4 && \
23483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23485 "RANLIB=$${RANLIB}" \
23486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23487 maintainer-clean) \
23488 || exit 1
23490 @endif m4
23494 .PHONY: configure-readline maybe-configure-readline
23495 maybe-configure-readline:
23496 @if gcc-bootstrap
23497 configure-readline: stage_current
23498 @endif gcc-bootstrap
23499 @if readline
23500 maybe-configure-readline: configure-readline
23501 configure-readline:
23502 @: $(MAKE); $(unstage)
23503 @r=`${PWD_COMMAND}`; export r; \
23504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23505 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23507 $(HOST_EXPORTS) \
23508 echo Configuring in $(HOST_SUBDIR)/readline; \
23509 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23510 case $(srcdir) in \
23511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23512 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23514 esac; \
23515 srcdiroption="--srcdir=$${topdir}/readline"; \
23516 libsrcdir="$$s/readline"; \
23517 $(SHELL) $${libsrcdir}/configure \
23518 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23519 --target=${target_alias} $${srcdiroption} \
23520 || exit 1
23521 @endif readline
23527 .PHONY: all-readline maybe-all-readline
23528 maybe-all-readline:
23529 @if gcc-bootstrap
23530 all-readline: stage_current
23531 @endif gcc-bootstrap
23532 @if readline
23533 TARGET-readline=all
23534 maybe-all-readline: all-readline
23535 all-readline: configure-readline
23536 @: $(MAKE); $(unstage)
23537 @r=`${PWD_COMMAND}`; export r; \
23538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23539 $(HOST_EXPORTS) \
23540 (cd $(HOST_SUBDIR)/readline && \
23541 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23542 $(TARGET-readline))
23543 @endif readline
23548 .PHONY: check-readline maybe-check-readline
23549 maybe-check-readline:
23550 @if readline
23551 maybe-check-readline: check-readline
23553 check-readline:
23554 @: $(MAKE); $(unstage)
23555 @r=`${PWD_COMMAND}`; export r; \
23556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23557 $(HOST_EXPORTS) \
23558 (cd $(HOST_SUBDIR)/readline && \
23559 $(MAKE) $(FLAGS_TO_PASS) check)
23561 @endif readline
23563 .PHONY: install-readline maybe-install-readline
23564 maybe-install-readline:
23565 @if readline
23566 maybe-install-readline: install-readline
23568 install-readline: installdirs
23569 @: $(MAKE); $(unstage)
23570 @r=`${PWD_COMMAND}`; export r; \
23571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23572 $(HOST_EXPORTS) \
23573 (cd $(HOST_SUBDIR)/readline && \
23574 $(MAKE) $(FLAGS_TO_PASS) install)
23576 @endif readline
23578 .PHONY: install-strip-readline maybe-install-strip-readline
23579 maybe-install-strip-readline:
23580 @if readline
23581 maybe-install-strip-readline: install-strip-readline
23583 install-strip-readline: installdirs
23584 @: $(MAKE); $(unstage)
23585 @r=`${PWD_COMMAND}`; export r; \
23586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23587 $(HOST_EXPORTS) \
23588 (cd $(HOST_SUBDIR)/readline && \
23589 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23591 @endif readline
23593 # Other targets (info, dvi, pdf, etc.)
23595 .PHONY: maybe-info-readline info-readline
23596 maybe-info-readline:
23597 @if readline
23598 maybe-info-readline: info-readline
23600 info-readline: \
23601 configure-readline
23602 @: $(MAKE); $(unstage)
23603 @[ -f ./readline/Makefile ] || exit 0; \
23604 r=`${PWD_COMMAND}`; export r; \
23605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23606 $(HOST_EXPORTS) \
23607 for flag in $(EXTRA_HOST_FLAGS) ; do \
23608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23609 done; \
23610 echo "Doing info in readline" ; \
23611 (cd $(HOST_SUBDIR)/readline && \
23612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23614 "RANLIB=$${RANLIB}" \
23615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23616 info) \
23617 || exit 1
23619 @endif readline
23621 .PHONY: maybe-dvi-readline dvi-readline
23622 maybe-dvi-readline:
23623 @if readline
23624 maybe-dvi-readline: dvi-readline
23626 dvi-readline: \
23627 configure-readline
23628 @: $(MAKE); $(unstage)
23629 @[ -f ./readline/Makefile ] || exit 0; \
23630 r=`${PWD_COMMAND}`; export r; \
23631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23632 $(HOST_EXPORTS) \
23633 for flag in $(EXTRA_HOST_FLAGS) ; do \
23634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23635 done; \
23636 echo "Doing dvi in readline" ; \
23637 (cd $(HOST_SUBDIR)/readline && \
23638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23640 "RANLIB=$${RANLIB}" \
23641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23642 dvi) \
23643 || exit 1
23645 @endif readline
23647 .PHONY: maybe-pdf-readline pdf-readline
23648 maybe-pdf-readline:
23649 @if readline
23650 maybe-pdf-readline: pdf-readline
23652 pdf-readline: \
23653 configure-readline
23654 @: $(MAKE); $(unstage)
23655 @[ -f ./readline/Makefile ] || exit 0; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 $(HOST_EXPORTS) \
23659 for flag in $(EXTRA_HOST_FLAGS) ; do \
23660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23661 done; \
23662 echo "Doing pdf in readline" ; \
23663 (cd $(HOST_SUBDIR)/readline && \
23664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23666 "RANLIB=$${RANLIB}" \
23667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23668 pdf) \
23669 || exit 1
23671 @endif readline
23673 .PHONY: maybe-html-readline html-readline
23674 maybe-html-readline:
23675 @if readline
23676 maybe-html-readline: html-readline
23678 html-readline: \
23679 configure-readline
23680 @: $(MAKE); $(unstage)
23681 @[ -f ./readline/Makefile ] || exit 0; \
23682 r=`${PWD_COMMAND}`; export r; \
23683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23684 $(HOST_EXPORTS) \
23685 for flag in $(EXTRA_HOST_FLAGS) ; do \
23686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23687 done; \
23688 echo "Doing html in readline" ; \
23689 (cd $(HOST_SUBDIR)/readline && \
23690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23692 "RANLIB=$${RANLIB}" \
23693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23694 html) \
23695 || exit 1
23697 @endif readline
23699 .PHONY: maybe-TAGS-readline TAGS-readline
23700 maybe-TAGS-readline:
23701 @if readline
23702 maybe-TAGS-readline: TAGS-readline
23704 TAGS-readline: \
23705 configure-readline
23706 @: $(MAKE); $(unstage)
23707 @[ -f ./readline/Makefile ] || exit 0; \
23708 r=`${PWD_COMMAND}`; export r; \
23709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23710 $(HOST_EXPORTS) \
23711 for flag in $(EXTRA_HOST_FLAGS) ; do \
23712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23713 done; \
23714 echo "Doing TAGS in readline" ; \
23715 (cd $(HOST_SUBDIR)/readline && \
23716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23718 "RANLIB=$${RANLIB}" \
23719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23720 TAGS) \
23721 || exit 1
23723 @endif readline
23725 .PHONY: maybe-install-info-readline install-info-readline
23726 maybe-install-info-readline:
23727 @if readline
23728 maybe-install-info-readline: install-info-readline
23730 install-info-readline: \
23731 configure-readline \
23732 info-readline
23733 @: $(MAKE); $(unstage)
23734 @[ -f ./readline/Makefile ] || exit 0; \
23735 r=`${PWD_COMMAND}`; export r; \
23736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23737 $(HOST_EXPORTS) \
23738 for flag in $(EXTRA_HOST_FLAGS) ; do \
23739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23740 done; \
23741 echo "Doing install-info in readline" ; \
23742 (cd $(HOST_SUBDIR)/readline && \
23743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23745 "RANLIB=$${RANLIB}" \
23746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23747 install-info) \
23748 || exit 1
23750 @endif readline
23752 .PHONY: maybe-install-pdf-readline install-pdf-readline
23753 maybe-install-pdf-readline:
23754 @if readline
23755 maybe-install-pdf-readline: install-pdf-readline
23757 install-pdf-readline: \
23758 configure-readline \
23759 pdf-readline
23760 @: $(MAKE); $(unstage)
23761 @[ -f ./readline/Makefile ] || exit 0; \
23762 r=`${PWD_COMMAND}`; export r; \
23763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23764 $(HOST_EXPORTS) \
23765 for flag in $(EXTRA_HOST_FLAGS) ; do \
23766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23767 done; \
23768 echo "Doing install-pdf in readline" ; \
23769 (cd $(HOST_SUBDIR)/readline && \
23770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23772 "RANLIB=$${RANLIB}" \
23773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23774 install-pdf) \
23775 || exit 1
23777 @endif readline
23779 .PHONY: maybe-install-html-readline install-html-readline
23780 maybe-install-html-readline:
23781 @if readline
23782 maybe-install-html-readline: install-html-readline
23784 install-html-readline: \
23785 configure-readline \
23786 html-readline
23787 @: $(MAKE); $(unstage)
23788 @[ -f ./readline/Makefile ] || exit 0; \
23789 r=`${PWD_COMMAND}`; export r; \
23790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23791 $(HOST_EXPORTS) \
23792 for flag in $(EXTRA_HOST_FLAGS) ; do \
23793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23794 done; \
23795 echo "Doing install-html in readline" ; \
23796 (cd $(HOST_SUBDIR)/readline && \
23797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23799 "RANLIB=$${RANLIB}" \
23800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23801 install-html) \
23802 || exit 1
23804 @endif readline
23806 .PHONY: maybe-installcheck-readline installcheck-readline
23807 maybe-installcheck-readline:
23808 @if readline
23809 maybe-installcheck-readline: installcheck-readline
23811 installcheck-readline: \
23812 configure-readline
23813 @: $(MAKE); $(unstage)
23814 @[ -f ./readline/Makefile ] || exit 0; \
23815 r=`${PWD_COMMAND}`; export r; \
23816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23817 $(HOST_EXPORTS) \
23818 for flag in $(EXTRA_HOST_FLAGS) ; do \
23819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23820 done; \
23821 echo "Doing installcheck in readline" ; \
23822 (cd $(HOST_SUBDIR)/readline && \
23823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23825 "RANLIB=$${RANLIB}" \
23826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23827 installcheck) \
23828 || exit 1
23830 @endif readline
23832 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23833 maybe-mostlyclean-readline:
23834 @if readline
23835 maybe-mostlyclean-readline: mostlyclean-readline
23837 mostlyclean-readline:
23838 @: $(MAKE); $(unstage)
23839 @[ -f ./readline/Makefile ] || exit 0; \
23840 r=`${PWD_COMMAND}`; export r; \
23841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23842 $(HOST_EXPORTS) \
23843 for flag in $(EXTRA_HOST_FLAGS) ; do \
23844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23845 done; \
23846 echo "Doing mostlyclean in readline" ; \
23847 (cd $(HOST_SUBDIR)/readline && \
23848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23850 "RANLIB=$${RANLIB}" \
23851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23852 mostlyclean) \
23853 || exit 1
23855 @endif readline
23857 .PHONY: maybe-clean-readline clean-readline
23858 maybe-clean-readline:
23859 @if readline
23860 maybe-clean-readline: clean-readline
23862 clean-readline:
23863 @: $(MAKE); $(unstage)
23864 @[ -f ./readline/Makefile ] || exit 0; \
23865 r=`${PWD_COMMAND}`; export r; \
23866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23867 $(HOST_EXPORTS) \
23868 for flag in $(EXTRA_HOST_FLAGS) ; do \
23869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23870 done; \
23871 echo "Doing clean in readline" ; \
23872 (cd $(HOST_SUBDIR)/readline && \
23873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23875 "RANLIB=$${RANLIB}" \
23876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23877 clean) \
23878 || exit 1
23880 @endif readline
23882 .PHONY: maybe-distclean-readline distclean-readline
23883 maybe-distclean-readline:
23884 @if readline
23885 maybe-distclean-readline: distclean-readline
23887 distclean-readline:
23888 @: $(MAKE); $(unstage)
23889 @[ -f ./readline/Makefile ] || exit 0; \
23890 r=`${PWD_COMMAND}`; export r; \
23891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23892 $(HOST_EXPORTS) \
23893 for flag in $(EXTRA_HOST_FLAGS) ; do \
23894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23895 done; \
23896 echo "Doing distclean in readline" ; \
23897 (cd $(HOST_SUBDIR)/readline && \
23898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23900 "RANLIB=$${RANLIB}" \
23901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23902 distclean) \
23903 || exit 1
23905 @endif readline
23907 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23908 maybe-maintainer-clean-readline:
23909 @if readline
23910 maybe-maintainer-clean-readline: maintainer-clean-readline
23912 maintainer-clean-readline:
23913 @: $(MAKE); $(unstage)
23914 @[ -f ./readline/Makefile ] || exit 0; \
23915 r=`${PWD_COMMAND}`; export r; \
23916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23917 $(HOST_EXPORTS) \
23918 for flag in $(EXTRA_HOST_FLAGS) ; do \
23919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23920 done; \
23921 echo "Doing maintainer-clean in readline" ; \
23922 (cd $(HOST_SUBDIR)/readline && \
23923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23925 "RANLIB=$${RANLIB}" \
23926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23927 maintainer-clean) \
23928 || exit 1
23930 @endif readline
23934 .PHONY: configure-sid maybe-configure-sid
23935 maybe-configure-sid:
23936 @if gcc-bootstrap
23937 configure-sid: stage_current
23938 @endif gcc-bootstrap
23939 @if sid
23940 maybe-configure-sid: configure-sid
23941 configure-sid:
23942 @: $(MAKE); $(unstage)
23943 @r=`${PWD_COMMAND}`; export r; \
23944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23945 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23947 $(HOST_EXPORTS) \
23948 echo Configuring in $(HOST_SUBDIR)/sid; \
23949 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23950 case $(srcdir) in \
23951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23952 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23954 esac; \
23955 srcdiroption="--srcdir=$${topdir}/sid"; \
23956 libsrcdir="$$s/sid"; \
23957 $(SHELL) $${libsrcdir}/configure \
23958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23959 --target=${target_alias} $${srcdiroption} \
23960 || exit 1
23961 @endif sid
23967 .PHONY: all-sid maybe-all-sid
23968 maybe-all-sid:
23969 @if gcc-bootstrap
23970 all-sid: stage_current
23971 @endif gcc-bootstrap
23972 @if sid
23973 TARGET-sid=all
23974 maybe-all-sid: all-sid
23975 all-sid: configure-sid
23976 @: $(MAKE); $(unstage)
23977 @r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 $(HOST_EXPORTS) \
23980 (cd $(HOST_SUBDIR)/sid && \
23981 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23982 $(TARGET-sid))
23983 @endif sid
23988 .PHONY: check-sid maybe-check-sid
23989 maybe-check-sid:
23990 @if sid
23991 maybe-check-sid: check-sid
23993 check-sid:
23994 @: $(MAKE); $(unstage)
23995 @r=`${PWD_COMMAND}`; export r; \
23996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23997 $(HOST_EXPORTS) \
23998 (cd $(HOST_SUBDIR)/sid && \
23999 $(MAKE) $(FLAGS_TO_PASS) check)
24001 @endif sid
24003 .PHONY: install-sid maybe-install-sid
24004 maybe-install-sid:
24005 @if sid
24006 maybe-install-sid: install-sid
24008 install-sid: installdirs
24009 @: $(MAKE); $(unstage)
24010 @r=`${PWD_COMMAND}`; export r; \
24011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24012 $(HOST_EXPORTS) \
24013 (cd $(HOST_SUBDIR)/sid && \
24014 $(MAKE) $(FLAGS_TO_PASS) install)
24016 @endif sid
24018 .PHONY: install-strip-sid maybe-install-strip-sid
24019 maybe-install-strip-sid:
24020 @if sid
24021 maybe-install-strip-sid: install-strip-sid
24023 install-strip-sid: installdirs
24024 @: $(MAKE); $(unstage)
24025 @r=`${PWD_COMMAND}`; export r; \
24026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24027 $(HOST_EXPORTS) \
24028 (cd $(HOST_SUBDIR)/sid && \
24029 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24031 @endif sid
24033 # Other targets (info, dvi, pdf, etc.)
24035 .PHONY: maybe-info-sid info-sid
24036 maybe-info-sid:
24037 @if sid
24038 maybe-info-sid: info-sid
24040 info-sid: \
24041 configure-sid
24042 @: $(MAKE); $(unstage)
24043 @[ -f ./sid/Makefile ] || exit 0; \
24044 r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 $(HOST_EXPORTS) \
24047 for flag in $(EXTRA_HOST_FLAGS) ; do \
24048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24049 done; \
24050 echo "Doing info in sid" ; \
24051 (cd $(HOST_SUBDIR)/sid && \
24052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24054 "RANLIB=$${RANLIB}" \
24055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24056 info) \
24057 || exit 1
24059 @endif sid
24061 .PHONY: maybe-dvi-sid dvi-sid
24062 maybe-dvi-sid:
24063 @if sid
24064 maybe-dvi-sid: dvi-sid
24066 dvi-sid: \
24067 configure-sid
24068 @: $(MAKE); $(unstage)
24069 @[ -f ./sid/Makefile ] || exit 0; \
24070 r=`${PWD_COMMAND}`; export r; \
24071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24072 $(HOST_EXPORTS) \
24073 for flag in $(EXTRA_HOST_FLAGS) ; do \
24074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24075 done; \
24076 echo "Doing dvi in sid" ; \
24077 (cd $(HOST_SUBDIR)/sid && \
24078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24080 "RANLIB=$${RANLIB}" \
24081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24082 dvi) \
24083 || exit 1
24085 @endif sid
24087 .PHONY: maybe-pdf-sid pdf-sid
24088 maybe-pdf-sid:
24089 @if sid
24090 maybe-pdf-sid: pdf-sid
24092 pdf-sid: \
24093 configure-sid
24094 @: $(MAKE); $(unstage)
24095 @[ -f ./sid/Makefile ] || exit 0; \
24096 r=`${PWD_COMMAND}`; export r; \
24097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24098 $(HOST_EXPORTS) \
24099 for flag in $(EXTRA_HOST_FLAGS) ; do \
24100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24101 done; \
24102 echo "Doing pdf in sid" ; \
24103 (cd $(HOST_SUBDIR)/sid && \
24104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24106 "RANLIB=$${RANLIB}" \
24107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24108 pdf) \
24109 || exit 1
24111 @endif sid
24113 .PHONY: maybe-html-sid html-sid
24114 maybe-html-sid:
24115 @if sid
24116 maybe-html-sid: html-sid
24118 html-sid: \
24119 configure-sid
24120 @: $(MAKE); $(unstage)
24121 @[ -f ./sid/Makefile ] || exit 0; \
24122 r=`${PWD_COMMAND}`; export r; \
24123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24124 $(HOST_EXPORTS) \
24125 for flag in $(EXTRA_HOST_FLAGS) ; do \
24126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24127 done; \
24128 echo "Doing html in sid" ; \
24129 (cd $(HOST_SUBDIR)/sid && \
24130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24132 "RANLIB=$${RANLIB}" \
24133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24134 html) \
24135 || exit 1
24137 @endif sid
24139 .PHONY: maybe-TAGS-sid TAGS-sid
24140 maybe-TAGS-sid:
24141 @if sid
24142 maybe-TAGS-sid: TAGS-sid
24144 TAGS-sid: \
24145 configure-sid
24146 @: $(MAKE); $(unstage)
24147 @[ -f ./sid/Makefile ] || exit 0; \
24148 r=`${PWD_COMMAND}`; export r; \
24149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24150 $(HOST_EXPORTS) \
24151 for flag in $(EXTRA_HOST_FLAGS) ; do \
24152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24153 done; \
24154 echo "Doing TAGS in sid" ; \
24155 (cd $(HOST_SUBDIR)/sid && \
24156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24158 "RANLIB=$${RANLIB}" \
24159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24160 TAGS) \
24161 || exit 1
24163 @endif sid
24165 .PHONY: maybe-install-info-sid install-info-sid
24166 maybe-install-info-sid:
24167 @if sid
24168 maybe-install-info-sid: install-info-sid
24170 install-info-sid: \
24171 configure-sid \
24172 info-sid
24173 @: $(MAKE); $(unstage)
24174 @[ -f ./sid/Makefile ] || exit 0; \
24175 r=`${PWD_COMMAND}`; export r; \
24176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24177 $(HOST_EXPORTS) \
24178 for flag in $(EXTRA_HOST_FLAGS) ; do \
24179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24180 done; \
24181 echo "Doing install-info in sid" ; \
24182 (cd $(HOST_SUBDIR)/sid && \
24183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24185 "RANLIB=$${RANLIB}" \
24186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24187 install-info) \
24188 || exit 1
24190 @endif sid
24192 .PHONY: maybe-install-pdf-sid install-pdf-sid
24193 maybe-install-pdf-sid:
24194 @if sid
24195 maybe-install-pdf-sid: install-pdf-sid
24197 install-pdf-sid: \
24198 configure-sid \
24199 pdf-sid
24200 @: $(MAKE); $(unstage)
24201 @[ -f ./sid/Makefile ] || exit 0; \
24202 r=`${PWD_COMMAND}`; export r; \
24203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24204 $(HOST_EXPORTS) \
24205 for flag in $(EXTRA_HOST_FLAGS) ; do \
24206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24207 done; \
24208 echo "Doing install-pdf in sid" ; \
24209 (cd $(HOST_SUBDIR)/sid && \
24210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24212 "RANLIB=$${RANLIB}" \
24213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24214 install-pdf) \
24215 || exit 1
24217 @endif sid
24219 .PHONY: maybe-install-html-sid install-html-sid
24220 maybe-install-html-sid:
24221 @if sid
24222 maybe-install-html-sid: install-html-sid
24224 install-html-sid: \
24225 configure-sid \
24226 html-sid
24227 @: $(MAKE); $(unstage)
24228 @[ -f ./sid/Makefile ] || exit 0; \
24229 r=`${PWD_COMMAND}`; export r; \
24230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24231 $(HOST_EXPORTS) \
24232 for flag in $(EXTRA_HOST_FLAGS) ; do \
24233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24234 done; \
24235 echo "Doing install-html in sid" ; \
24236 (cd $(HOST_SUBDIR)/sid && \
24237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24239 "RANLIB=$${RANLIB}" \
24240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24241 install-html) \
24242 || exit 1
24244 @endif sid
24246 .PHONY: maybe-installcheck-sid installcheck-sid
24247 maybe-installcheck-sid:
24248 @if sid
24249 maybe-installcheck-sid: installcheck-sid
24251 installcheck-sid: \
24252 configure-sid
24253 @: $(MAKE); $(unstage)
24254 @[ -f ./sid/Makefile ] || exit 0; \
24255 r=`${PWD_COMMAND}`; export r; \
24256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24257 $(HOST_EXPORTS) \
24258 for flag in $(EXTRA_HOST_FLAGS) ; do \
24259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24260 done; \
24261 echo "Doing installcheck in sid" ; \
24262 (cd $(HOST_SUBDIR)/sid && \
24263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24265 "RANLIB=$${RANLIB}" \
24266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24267 installcheck) \
24268 || exit 1
24270 @endif sid
24272 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24273 maybe-mostlyclean-sid:
24274 @if sid
24275 maybe-mostlyclean-sid: mostlyclean-sid
24277 mostlyclean-sid:
24278 @: $(MAKE); $(unstage)
24279 @[ -f ./sid/Makefile ] || exit 0; \
24280 r=`${PWD_COMMAND}`; export r; \
24281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24282 $(HOST_EXPORTS) \
24283 for flag in $(EXTRA_HOST_FLAGS) ; do \
24284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24285 done; \
24286 echo "Doing mostlyclean in sid" ; \
24287 (cd $(HOST_SUBDIR)/sid && \
24288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24290 "RANLIB=$${RANLIB}" \
24291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24292 mostlyclean) \
24293 || exit 1
24295 @endif sid
24297 .PHONY: maybe-clean-sid clean-sid
24298 maybe-clean-sid:
24299 @if sid
24300 maybe-clean-sid: clean-sid
24302 clean-sid:
24303 @: $(MAKE); $(unstage)
24304 @[ -f ./sid/Makefile ] || exit 0; \
24305 r=`${PWD_COMMAND}`; export r; \
24306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24307 $(HOST_EXPORTS) \
24308 for flag in $(EXTRA_HOST_FLAGS) ; do \
24309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24310 done; \
24311 echo "Doing clean in sid" ; \
24312 (cd $(HOST_SUBDIR)/sid && \
24313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24315 "RANLIB=$${RANLIB}" \
24316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24317 clean) \
24318 || exit 1
24320 @endif sid
24322 .PHONY: maybe-distclean-sid distclean-sid
24323 maybe-distclean-sid:
24324 @if sid
24325 maybe-distclean-sid: distclean-sid
24327 distclean-sid:
24328 @: $(MAKE); $(unstage)
24329 @[ -f ./sid/Makefile ] || exit 0; \
24330 r=`${PWD_COMMAND}`; export r; \
24331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24332 $(HOST_EXPORTS) \
24333 for flag in $(EXTRA_HOST_FLAGS) ; do \
24334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24335 done; \
24336 echo "Doing distclean in sid" ; \
24337 (cd $(HOST_SUBDIR)/sid && \
24338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24340 "RANLIB=$${RANLIB}" \
24341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24342 distclean) \
24343 || exit 1
24345 @endif sid
24347 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24348 maybe-maintainer-clean-sid:
24349 @if sid
24350 maybe-maintainer-clean-sid: maintainer-clean-sid
24352 maintainer-clean-sid:
24353 @: $(MAKE); $(unstage)
24354 @[ -f ./sid/Makefile ] || exit 0; \
24355 r=`${PWD_COMMAND}`; export r; \
24356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24357 $(HOST_EXPORTS) \
24358 for flag in $(EXTRA_HOST_FLAGS) ; do \
24359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24360 done; \
24361 echo "Doing maintainer-clean in sid" ; \
24362 (cd $(HOST_SUBDIR)/sid && \
24363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24365 "RANLIB=$${RANLIB}" \
24366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24367 maintainer-clean) \
24368 || exit 1
24370 @endif sid
24374 .PHONY: configure-sim maybe-configure-sim
24375 maybe-configure-sim:
24376 @if gcc-bootstrap
24377 configure-sim: stage_current
24378 @endif gcc-bootstrap
24379 @if sim
24380 maybe-configure-sim: configure-sim
24381 configure-sim:
24382 @: $(MAKE); $(unstage)
24383 @r=`${PWD_COMMAND}`; export r; \
24384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24385 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24387 $(HOST_EXPORTS) \
24388 echo Configuring in $(HOST_SUBDIR)/sim; \
24389 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24390 case $(srcdir) in \
24391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24392 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24394 esac; \
24395 srcdiroption="--srcdir=$${topdir}/sim"; \
24396 libsrcdir="$$s/sim"; \
24397 $(SHELL) $${libsrcdir}/configure \
24398 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24399 --target=${target_alias} $${srcdiroption} \
24400 || exit 1
24401 @endif sim
24407 .PHONY: all-sim maybe-all-sim
24408 maybe-all-sim:
24409 @if gcc-bootstrap
24410 all-sim: stage_current
24411 @endif gcc-bootstrap
24412 @if sim
24413 TARGET-sim=all
24414 maybe-all-sim: all-sim
24415 all-sim: configure-sim
24416 @: $(MAKE); $(unstage)
24417 @r=`${PWD_COMMAND}`; export r; \
24418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24419 $(HOST_EXPORTS) \
24420 (cd $(HOST_SUBDIR)/sim && \
24421 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24422 $(TARGET-sim))
24423 @endif sim
24428 .PHONY: check-sim maybe-check-sim
24429 maybe-check-sim:
24430 @if sim
24431 maybe-check-sim: check-sim
24433 check-sim:
24434 @: $(MAKE); $(unstage)
24435 @r=`${PWD_COMMAND}`; export r; \
24436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24437 $(HOST_EXPORTS) \
24438 (cd $(HOST_SUBDIR)/sim && \
24439 $(MAKE) $(FLAGS_TO_PASS) check)
24441 @endif sim
24443 .PHONY: install-sim maybe-install-sim
24444 maybe-install-sim:
24445 @if sim
24446 maybe-install-sim: install-sim
24448 install-sim: installdirs
24449 @: $(MAKE); $(unstage)
24450 @r=`${PWD_COMMAND}`; export r; \
24451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24452 $(HOST_EXPORTS) \
24453 (cd $(HOST_SUBDIR)/sim && \
24454 $(MAKE) $(FLAGS_TO_PASS) install)
24456 @endif sim
24458 .PHONY: install-strip-sim maybe-install-strip-sim
24459 maybe-install-strip-sim:
24460 @if sim
24461 maybe-install-strip-sim: install-strip-sim
24463 install-strip-sim: installdirs
24464 @: $(MAKE); $(unstage)
24465 @r=`${PWD_COMMAND}`; export r; \
24466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24467 $(HOST_EXPORTS) \
24468 (cd $(HOST_SUBDIR)/sim && \
24469 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24471 @endif sim
24473 # Other targets (info, dvi, pdf, etc.)
24475 .PHONY: maybe-info-sim info-sim
24476 maybe-info-sim:
24477 @if sim
24478 maybe-info-sim: info-sim
24480 info-sim: \
24481 configure-sim
24482 @: $(MAKE); $(unstage)
24483 @[ -f ./sim/Makefile ] || exit 0; \
24484 r=`${PWD_COMMAND}`; export r; \
24485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24486 $(HOST_EXPORTS) \
24487 for flag in $(EXTRA_HOST_FLAGS) ; do \
24488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24489 done; \
24490 echo "Doing info in sim" ; \
24491 (cd $(HOST_SUBDIR)/sim && \
24492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24494 "RANLIB=$${RANLIB}" \
24495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24496 info) \
24497 || exit 1
24499 @endif sim
24501 .PHONY: maybe-dvi-sim dvi-sim
24502 maybe-dvi-sim:
24503 @if sim
24504 maybe-dvi-sim: dvi-sim
24506 dvi-sim: \
24507 configure-sim
24508 @: $(MAKE); $(unstage)
24509 @[ -f ./sim/Makefile ] || exit 0; \
24510 r=`${PWD_COMMAND}`; export r; \
24511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24512 $(HOST_EXPORTS) \
24513 for flag in $(EXTRA_HOST_FLAGS) ; do \
24514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24515 done; \
24516 echo "Doing dvi in sim" ; \
24517 (cd $(HOST_SUBDIR)/sim && \
24518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24520 "RANLIB=$${RANLIB}" \
24521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24522 dvi) \
24523 || exit 1
24525 @endif sim
24527 .PHONY: maybe-pdf-sim pdf-sim
24528 maybe-pdf-sim:
24529 @if sim
24530 maybe-pdf-sim: pdf-sim
24532 pdf-sim: \
24533 configure-sim
24534 @: $(MAKE); $(unstage)
24535 @[ -f ./sim/Makefile ] || exit 0; \
24536 r=`${PWD_COMMAND}`; export r; \
24537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24538 $(HOST_EXPORTS) \
24539 for flag in $(EXTRA_HOST_FLAGS) ; do \
24540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24541 done; \
24542 echo "Doing pdf in sim" ; \
24543 (cd $(HOST_SUBDIR)/sim && \
24544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24546 "RANLIB=$${RANLIB}" \
24547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24548 pdf) \
24549 || exit 1
24551 @endif sim
24553 .PHONY: maybe-html-sim html-sim
24554 maybe-html-sim:
24555 @if sim
24556 maybe-html-sim: html-sim
24558 html-sim: \
24559 configure-sim
24560 @: $(MAKE); $(unstage)
24561 @[ -f ./sim/Makefile ] || exit 0; \
24562 r=`${PWD_COMMAND}`; export r; \
24563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24564 $(HOST_EXPORTS) \
24565 for flag in $(EXTRA_HOST_FLAGS) ; do \
24566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24567 done; \
24568 echo "Doing html in sim" ; \
24569 (cd $(HOST_SUBDIR)/sim && \
24570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24572 "RANLIB=$${RANLIB}" \
24573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24574 html) \
24575 || exit 1
24577 @endif sim
24579 .PHONY: maybe-TAGS-sim TAGS-sim
24580 maybe-TAGS-sim:
24581 @if sim
24582 maybe-TAGS-sim: TAGS-sim
24584 TAGS-sim: \
24585 configure-sim
24586 @: $(MAKE); $(unstage)
24587 @[ -f ./sim/Makefile ] || exit 0; \
24588 r=`${PWD_COMMAND}`; export r; \
24589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24590 $(HOST_EXPORTS) \
24591 for flag in $(EXTRA_HOST_FLAGS) ; do \
24592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24593 done; \
24594 echo "Doing TAGS in sim" ; \
24595 (cd $(HOST_SUBDIR)/sim && \
24596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24598 "RANLIB=$${RANLIB}" \
24599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24600 TAGS) \
24601 || exit 1
24603 @endif sim
24605 .PHONY: maybe-install-info-sim install-info-sim
24606 maybe-install-info-sim:
24607 @if sim
24608 maybe-install-info-sim: install-info-sim
24610 install-info-sim: \
24611 configure-sim \
24612 info-sim
24613 @: $(MAKE); $(unstage)
24614 @[ -f ./sim/Makefile ] || exit 0; \
24615 r=`${PWD_COMMAND}`; export r; \
24616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24617 $(HOST_EXPORTS) \
24618 for flag in $(EXTRA_HOST_FLAGS) ; do \
24619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24620 done; \
24621 echo "Doing install-info in sim" ; \
24622 (cd $(HOST_SUBDIR)/sim && \
24623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24625 "RANLIB=$${RANLIB}" \
24626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24627 install-info) \
24628 || exit 1
24630 @endif sim
24632 .PHONY: maybe-install-pdf-sim install-pdf-sim
24633 maybe-install-pdf-sim:
24634 @if sim
24635 maybe-install-pdf-sim: install-pdf-sim
24637 install-pdf-sim: \
24638 configure-sim \
24639 pdf-sim
24640 @: $(MAKE); $(unstage)
24641 @[ -f ./sim/Makefile ] || exit 0; \
24642 r=`${PWD_COMMAND}`; export r; \
24643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24644 $(HOST_EXPORTS) \
24645 for flag in $(EXTRA_HOST_FLAGS) ; do \
24646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24647 done; \
24648 echo "Doing install-pdf in sim" ; \
24649 (cd $(HOST_SUBDIR)/sim && \
24650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24652 "RANLIB=$${RANLIB}" \
24653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24654 install-pdf) \
24655 || exit 1
24657 @endif sim
24659 .PHONY: maybe-install-html-sim install-html-sim
24660 maybe-install-html-sim:
24661 @if sim
24662 maybe-install-html-sim: install-html-sim
24664 install-html-sim: \
24665 configure-sim \
24666 html-sim
24667 @: $(MAKE); $(unstage)
24668 @[ -f ./sim/Makefile ] || exit 0; \
24669 r=`${PWD_COMMAND}`; export r; \
24670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24671 $(HOST_EXPORTS) \
24672 for flag in $(EXTRA_HOST_FLAGS) ; do \
24673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24674 done; \
24675 echo "Doing install-html in sim" ; \
24676 (cd $(HOST_SUBDIR)/sim && \
24677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24679 "RANLIB=$${RANLIB}" \
24680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24681 install-html) \
24682 || exit 1
24684 @endif sim
24686 .PHONY: maybe-installcheck-sim installcheck-sim
24687 maybe-installcheck-sim:
24688 @if sim
24689 maybe-installcheck-sim: installcheck-sim
24691 installcheck-sim: \
24692 configure-sim
24693 @: $(MAKE); $(unstage)
24694 @[ -f ./sim/Makefile ] || exit 0; \
24695 r=`${PWD_COMMAND}`; export r; \
24696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24697 $(HOST_EXPORTS) \
24698 for flag in $(EXTRA_HOST_FLAGS) ; do \
24699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24700 done; \
24701 echo "Doing installcheck in sim" ; \
24702 (cd $(HOST_SUBDIR)/sim && \
24703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24705 "RANLIB=$${RANLIB}" \
24706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24707 installcheck) \
24708 || exit 1
24710 @endif sim
24712 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24713 maybe-mostlyclean-sim:
24714 @if sim
24715 maybe-mostlyclean-sim: mostlyclean-sim
24717 mostlyclean-sim:
24718 @: $(MAKE); $(unstage)
24719 @[ -f ./sim/Makefile ] || exit 0; \
24720 r=`${PWD_COMMAND}`; export r; \
24721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24722 $(HOST_EXPORTS) \
24723 for flag in $(EXTRA_HOST_FLAGS) ; do \
24724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24725 done; \
24726 echo "Doing mostlyclean in sim" ; \
24727 (cd $(HOST_SUBDIR)/sim && \
24728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24730 "RANLIB=$${RANLIB}" \
24731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24732 mostlyclean) \
24733 || exit 1
24735 @endif sim
24737 .PHONY: maybe-clean-sim clean-sim
24738 maybe-clean-sim:
24739 @if sim
24740 maybe-clean-sim: clean-sim
24742 clean-sim:
24743 @: $(MAKE); $(unstage)
24744 @[ -f ./sim/Makefile ] || exit 0; \
24745 r=`${PWD_COMMAND}`; export r; \
24746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24747 $(HOST_EXPORTS) \
24748 for flag in $(EXTRA_HOST_FLAGS) ; do \
24749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24750 done; \
24751 echo "Doing clean in sim" ; \
24752 (cd $(HOST_SUBDIR)/sim && \
24753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24755 "RANLIB=$${RANLIB}" \
24756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24757 clean) \
24758 || exit 1
24760 @endif sim
24762 .PHONY: maybe-distclean-sim distclean-sim
24763 maybe-distclean-sim:
24764 @if sim
24765 maybe-distclean-sim: distclean-sim
24767 distclean-sim:
24768 @: $(MAKE); $(unstage)
24769 @[ -f ./sim/Makefile ] || exit 0; \
24770 r=`${PWD_COMMAND}`; export r; \
24771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24772 $(HOST_EXPORTS) \
24773 for flag in $(EXTRA_HOST_FLAGS) ; do \
24774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24775 done; \
24776 echo "Doing distclean in sim" ; \
24777 (cd $(HOST_SUBDIR)/sim && \
24778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24780 "RANLIB=$${RANLIB}" \
24781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24782 distclean) \
24783 || exit 1
24785 @endif sim
24787 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24788 maybe-maintainer-clean-sim:
24789 @if sim
24790 maybe-maintainer-clean-sim: maintainer-clean-sim
24792 maintainer-clean-sim:
24793 @: $(MAKE); $(unstage)
24794 @[ -f ./sim/Makefile ] || exit 0; \
24795 r=`${PWD_COMMAND}`; export r; \
24796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24797 $(HOST_EXPORTS) \
24798 for flag in $(EXTRA_HOST_FLAGS) ; do \
24799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24800 done; \
24801 echo "Doing maintainer-clean in sim" ; \
24802 (cd $(HOST_SUBDIR)/sim && \
24803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24805 "RANLIB=$${RANLIB}" \
24806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24807 maintainer-clean) \
24808 || exit 1
24810 @endif sim
24814 .PHONY: configure-texinfo maybe-configure-texinfo
24815 maybe-configure-texinfo:
24816 @if gcc-bootstrap
24817 configure-texinfo: stage_current
24818 @endif gcc-bootstrap
24819 @if texinfo
24820 maybe-configure-texinfo: configure-texinfo
24821 configure-texinfo:
24822 @: $(MAKE); $(unstage)
24823 @r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24825 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24827 $(HOST_EXPORTS) \
24828 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24829 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24830 case $(srcdir) in \
24831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24832 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24834 esac; \
24835 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24836 libsrcdir="$$s/texinfo"; \
24837 $(SHELL) $${libsrcdir}/configure \
24838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24839 --target=${target_alias} $${srcdiroption} \
24840 || exit 1
24841 @endif texinfo
24847 .PHONY: all-texinfo maybe-all-texinfo
24848 maybe-all-texinfo:
24849 @if gcc-bootstrap
24850 all-texinfo: stage_current
24851 @endif gcc-bootstrap
24852 @if texinfo
24853 TARGET-texinfo=all
24854 maybe-all-texinfo: all-texinfo
24855 all-texinfo: configure-texinfo
24856 @: $(MAKE); $(unstage)
24857 @r=`${PWD_COMMAND}`; export r; \
24858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24859 $(HOST_EXPORTS) \
24860 (cd $(HOST_SUBDIR)/texinfo && \
24861 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24862 $(TARGET-texinfo))
24863 @endif texinfo
24868 .PHONY: check-texinfo maybe-check-texinfo
24869 maybe-check-texinfo:
24870 @if texinfo
24871 maybe-check-texinfo: check-texinfo
24873 check-texinfo:
24874 @: $(MAKE); $(unstage)
24875 @r=`${PWD_COMMAND}`; export r; \
24876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24877 $(HOST_EXPORTS) \
24878 (cd $(HOST_SUBDIR)/texinfo && \
24879 $(MAKE) $(FLAGS_TO_PASS) check)
24881 @endif texinfo
24883 .PHONY: install-texinfo maybe-install-texinfo
24884 maybe-install-texinfo:
24885 @if texinfo
24886 maybe-install-texinfo: install-texinfo
24888 install-texinfo:
24890 @endif texinfo
24892 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24893 maybe-install-strip-texinfo:
24894 @if texinfo
24895 maybe-install-strip-texinfo: install-strip-texinfo
24897 install-strip-texinfo:
24899 @endif texinfo
24901 # Other targets (info, dvi, pdf, etc.)
24903 .PHONY: maybe-info-texinfo info-texinfo
24904 maybe-info-texinfo:
24905 @if texinfo
24906 maybe-info-texinfo: info-texinfo
24908 info-texinfo: \
24909 configure-texinfo
24910 @: $(MAKE); $(unstage)
24911 @[ -f ./texinfo/Makefile ] || exit 0; \
24912 r=`${PWD_COMMAND}`; export r; \
24913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24914 $(HOST_EXPORTS) \
24915 for flag in $(EXTRA_HOST_FLAGS) ; do \
24916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24917 done; \
24918 echo "Doing info in texinfo" ; \
24919 (cd $(HOST_SUBDIR)/texinfo && \
24920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24922 "RANLIB=$${RANLIB}" \
24923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24924 info) \
24925 || exit 1
24927 @endif texinfo
24929 .PHONY: maybe-dvi-texinfo dvi-texinfo
24930 maybe-dvi-texinfo:
24931 @if texinfo
24932 maybe-dvi-texinfo: dvi-texinfo
24934 dvi-texinfo: \
24935 configure-texinfo
24936 @: $(MAKE); $(unstage)
24937 @[ -f ./texinfo/Makefile ] || exit 0; \
24938 r=`${PWD_COMMAND}`; export r; \
24939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24940 $(HOST_EXPORTS) \
24941 for flag in $(EXTRA_HOST_FLAGS) ; do \
24942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24943 done; \
24944 echo "Doing dvi in texinfo" ; \
24945 (cd $(HOST_SUBDIR)/texinfo && \
24946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24948 "RANLIB=$${RANLIB}" \
24949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24950 dvi) \
24951 || exit 1
24953 @endif texinfo
24955 .PHONY: maybe-pdf-texinfo pdf-texinfo
24956 maybe-pdf-texinfo:
24957 @if texinfo
24958 maybe-pdf-texinfo: pdf-texinfo
24960 pdf-texinfo: \
24961 configure-texinfo
24962 @: $(MAKE); $(unstage)
24963 @[ -f ./texinfo/Makefile ] || exit 0; \
24964 r=`${PWD_COMMAND}`; export r; \
24965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24966 $(HOST_EXPORTS) \
24967 for flag in $(EXTRA_HOST_FLAGS) ; do \
24968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24969 done; \
24970 echo "Doing pdf in texinfo" ; \
24971 (cd $(HOST_SUBDIR)/texinfo && \
24972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24974 "RANLIB=$${RANLIB}" \
24975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24976 pdf) \
24977 || exit 1
24979 @endif texinfo
24981 .PHONY: maybe-html-texinfo html-texinfo
24982 maybe-html-texinfo:
24983 @if texinfo
24984 maybe-html-texinfo: html-texinfo
24986 html-texinfo: \
24987 configure-texinfo
24988 @: $(MAKE); $(unstage)
24989 @[ -f ./texinfo/Makefile ] || exit 0; \
24990 r=`${PWD_COMMAND}`; export r; \
24991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24992 $(HOST_EXPORTS) \
24993 for flag in $(EXTRA_HOST_FLAGS) ; do \
24994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24995 done; \
24996 echo "Doing html in texinfo" ; \
24997 (cd $(HOST_SUBDIR)/texinfo && \
24998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25000 "RANLIB=$${RANLIB}" \
25001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25002 html) \
25003 || exit 1
25005 @endif texinfo
25007 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25008 maybe-TAGS-texinfo:
25009 @if texinfo
25010 maybe-TAGS-texinfo: TAGS-texinfo
25012 TAGS-texinfo: \
25013 configure-texinfo
25014 @: $(MAKE); $(unstage)
25015 @[ -f ./texinfo/Makefile ] || exit 0; \
25016 r=`${PWD_COMMAND}`; export r; \
25017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25018 $(HOST_EXPORTS) \
25019 for flag in $(EXTRA_HOST_FLAGS) ; do \
25020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25021 done; \
25022 echo "Doing TAGS in texinfo" ; \
25023 (cd $(HOST_SUBDIR)/texinfo && \
25024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25026 "RANLIB=$${RANLIB}" \
25027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25028 TAGS) \
25029 || exit 1
25031 @endif texinfo
25033 .PHONY: maybe-install-info-texinfo install-info-texinfo
25034 maybe-install-info-texinfo:
25035 @if texinfo
25036 maybe-install-info-texinfo: install-info-texinfo
25038 install-info-texinfo: \
25039 configure-texinfo \
25040 info-texinfo
25041 @: $(MAKE); $(unstage)
25042 @[ -f ./texinfo/Makefile ] || exit 0; \
25043 r=`${PWD_COMMAND}`; export r; \
25044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25045 $(HOST_EXPORTS) \
25046 for flag in $(EXTRA_HOST_FLAGS) ; do \
25047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25048 done; \
25049 echo "Doing install-info in texinfo" ; \
25050 (cd $(HOST_SUBDIR)/texinfo && \
25051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25053 "RANLIB=$${RANLIB}" \
25054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25055 install-info) \
25056 || exit 1
25058 @endif texinfo
25060 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25061 maybe-install-pdf-texinfo:
25062 @if texinfo
25063 maybe-install-pdf-texinfo: install-pdf-texinfo
25065 install-pdf-texinfo: \
25066 configure-texinfo \
25067 pdf-texinfo
25068 @: $(MAKE); $(unstage)
25069 @[ -f ./texinfo/Makefile ] || exit 0; \
25070 r=`${PWD_COMMAND}`; export r; \
25071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25072 $(HOST_EXPORTS) \
25073 for flag in $(EXTRA_HOST_FLAGS) ; do \
25074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25075 done; \
25076 echo "Doing install-pdf in texinfo" ; \
25077 (cd $(HOST_SUBDIR)/texinfo && \
25078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25080 "RANLIB=$${RANLIB}" \
25081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25082 install-pdf) \
25083 || exit 1
25085 @endif texinfo
25087 .PHONY: maybe-install-html-texinfo install-html-texinfo
25088 maybe-install-html-texinfo:
25089 @if texinfo
25090 maybe-install-html-texinfo: install-html-texinfo
25092 install-html-texinfo: \
25093 configure-texinfo \
25094 html-texinfo
25095 @: $(MAKE); $(unstage)
25096 @[ -f ./texinfo/Makefile ] || exit 0; \
25097 r=`${PWD_COMMAND}`; export r; \
25098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25099 $(HOST_EXPORTS) \
25100 for flag in $(EXTRA_HOST_FLAGS) ; do \
25101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25102 done; \
25103 echo "Doing install-html in texinfo" ; \
25104 (cd $(HOST_SUBDIR)/texinfo && \
25105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25107 "RANLIB=$${RANLIB}" \
25108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25109 install-html) \
25110 || exit 1
25112 @endif texinfo
25114 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25115 maybe-installcheck-texinfo:
25116 @if texinfo
25117 maybe-installcheck-texinfo: installcheck-texinfo
25119 installcheck-texinfo: \
25120 configure-texinfo
25121 @: $(MAKE); $(unstage)
25122 @[ -f ./texinfo/Makefile ] || exit 0; \
25123 r=`${PWD_COMMAND}`; export r; \
25124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25125 $(HOST_EXPORTS) \
25126 for flag in $(EXTRA_HOST_FLAGS) ; do \
25127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25128 done; \
25129 echo "Doing installcheck in texinfo" ; \
25130 (cd $(HOST_SUBDIR)/texinfo && \
25131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25133 "RANLIB=$${RANLIB}" \
25134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25135 installcheck) \
25136 || exit 1
25138 @endif texinfo
25140 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25141 maybe-mostlyclean-texinfo:
25142 @if texinfo
25143 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25145 mostlyclean-texinfo:
25146 @: $(MAKE); $(unstage)
25147 @[ -f ./texinfo/Makefile ] || exit 0; \
25148 r=`${PWD_COMMAND}`; export r; \
25149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25150 $(HOST_EXPORTS) \
25151 for flag in $(EXTRA_HOST_FLAGS) ; do \
25152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25153 done; \
25154 echo "Doing mostlyclean in texinfo" ; \
25155 (cd $(HOST_SUBDIR)/texinfo && \
25156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25158 "RANLIB=$${RANLIB}" \
25159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25160 mostlyclean) \
25161 || exit 1
25163 @endif texinfo
25165 .PHONY: maybe-clean-texinfo clean-texinfo
25166 maybe-clean-texinfo:
25167 @if texinfo
25168 maybe-clean-texinfo: clean-texinfo
25170 clean-texinfo:
25171 @: $(MAKE); $(unstage)
25172 @[ -f ./texinfo/Makefile ] || exit 0; \
25173 r=`${PWD_COMMAND}`; export r; \
25174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25175 $(HOST_EXPORTS) \
25176 for flag in $(EXTRA_HOST_FLAGS) ; do \
25177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25178 done; \
25179 echo "Doing clean in texinfo" ; \
25180 (cd $(HOST_SUBDIR)/texinfo && \
25181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25183 "RANLIB=$${RANLIB}" \
25184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25185 clean) \
25186 || exit 1
25188 @endif texinfo
25190 .PHONY: maybe-distclean-texinfo distclean-texinfo
25191 maybe-distclean-texinfo:
25192 @if texinfo
25193 maybe-distclean-texinfo: distclean-texinfo
25195 distclean-texinfo:
25196 @: $(MAKE); $(unstage)
25197 @[ -f ./texinfo/Makefile ] || exit 0; \
25198 r=`${PWD_COMMAND}`; export r; \
25199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25200 $(HOST_EXPORTS) \
25201 for flag in $(EXTRA_HOST_FLAGS) ; do \
25202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25203 done; \
25204 echo "Doing distclean in texinfo" ; \
25205 (cd $(HOST_SUBDIR)/texinfo && \
25206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25208 "RANLIB=$${RANLIB}" \
25209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25210 distclean) \
25211 || exit 1
25213 @endif texinfo
25215 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25216 maybe-maintainer-clean-texinfo:
25217 @if texinfo
25218 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25220 maintainer-clean-texinfo:
25221 @: $(MAKE); $(unstage)
25222 @[ -f ./texinfo/Makefile ] || exit 0; \
25223 r=`${PWD_COMMAND}`; export r; \
25224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25225 $(HOST_EXPORTS) \
25226 for flag in $(EXTRA_HOST_FLAGS) ; do \
25227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25228 done; \
25229 echo "Doing maintainer-clean in texinfo" ; \
25230 (cd $(HOST_SUBDIR)/texinfo && \
25231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25233 "RANLIB=$${RANLIB}" \
25234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25235 maintainer-clean) \
25236 || exit 1
25238 @endif texinfo
25242 .PHONY: configure-zlib maybe-configure-zlib
25243 maybe-configure-zlib:
25244 @if gcc-bootstrap
25245 configure-zlib: stage_current
25246 @endif gcc-bootstrap
25247 @if zlib
25248 maybe-configure-zlib: configure-zlib
25249 configure-zlib:
25250 @r=`${PWD_COMMAND}`; export r; \
25251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25252 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25254 $(HOST_EXPORTS) \
25255 echo Configuring in $(HOST_SUBDIR)/zlib; \
25256 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25257 case $(srcdir) in \
25258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25259 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25261 esac; \
25262 srcdiroption="--srcdir=$${topdir}/zlib"; \
25263 libsrcdir="$$s/zlib"; \
25264 $(SHELL) $${libsrcdir}/configure \
25265 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25266 --target=${target_alias} $${srcdiroption} \
25267 || exit 1
25268 @endif zlib
25272 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25273 maybe-configure-stage1-zlib:
25274 @if zlib-bootstrap
25275 maybe-configure-stage1-zlib: configure-stage1-zlib
25276 configure-stage1-zlib:
25277 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25278 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25279 @r=`${PWD_COMMAND}`; export r; \
25280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25281 TFLAGS="$(STAGE1_TFLAGS)"; \
25282 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25283 $(HOST_EXPORTS) \
25284 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25285 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25286 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25287 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25289 cd $(HOST_SUBDIR)/zlib || exit 1; \
25290 case $(srcdir) in \
25291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25292 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25294 esac; \
25295 srcdiroption="--srcdir=$${topdir}/zlib"; \
25296 libsrcdir="$$s/zlib"; \
25297 $(SHELL) $${libsrcdir}/configure \
25298 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25299 --target=${target_alias} $${srcdiroption} \
25300 $(STAGE1_CONFIGURE_FLAGS)
25301 @endif zlib-bootstrap
25303 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25304 maybe-configure-stage2-zlib:
25305 @if zlib-bootstrap
25306 maybe-configure-stage2-zlib: configure-stage2-zlib
25307 configure-stage2-zlib:
25308 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25309 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25310 @r=`${PWD_COMMAND}`; export r; \
25311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25312 TFLAGS="$(STAGE2_TFLAGS)"; \
25313 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25314 $(HOST_EXPORTS) \
25315 $(POSTSTAGE1_HOST_EXPORTS) \
25316 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25317 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25318 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25319 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25320 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25321 cd $(HOST_SUBDIR)/zlib || exit 1; \
25322 case $(srcdir) in \
25323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25324 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25326 esac; \
25327 srcdiroption="--srcdir=$${topdir}/zlib"; \
25328 libsrcdir="$$s/zlib"; \
25329 $(SHELL) $${libsrcdir}/configure \
25330 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25331 --target=${target_alias} $${srcdiroption} \
25332 --with-build-libsubdir=$(HOST_SUBDIR) \
25333 $(STAGE2_CONFIGURE_FLAGS)
25334 @endif zlib-bootstrap
25336 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25337 maybe-configure-stage3-zlib:
25338 @if zlib-bootstrap
25339 maybe-configure-stage3-zlib: configure-stage3-zlib
25340 configure-stage3-zlib:
25341 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25342 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25343 @r=`${PWD_COMMAND}`; export r; \
25344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25345 TFLAGS="$(STAGE3_TFLAGS)"; \
25346 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25347 $(HOST_EXPORTS) \
25348 $(POSTSTAGE1_HOST_EXPORTS) \
25349 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25350 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25351 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25352 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25353 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25354 cd $(HOST_SUBDIR)/zlib || exit 1; \
25355 case $(srcdir) in \
25356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25357 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25359 esac; \
25360 srcdiroption="--srcdir=$${topdir}/zlib"; \
25361 libsrcdir="$$s/zlib"; \
25362 $(SHELL) $${libsrcdir}/configure \
25363 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25364 --target=${target_alias} $${srcdiroption} \
25365 --with-build-libsubdir=$(HOST_SUBDIR) \
25366 $(STAGE3_CONFIGURE_FLAGS)
25367 @endif zlib-bootstrap
25369 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25370 maybe-configure-stage4-zlib:
25371 @if zlib-bootstrap
25372 maybe-configure-stage4-zlib: configure-stage4-zlib
25373 configure-stage4-zlib:
25374 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25375 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25376 @r=`${PWD_COMMAND}`; export r; \
25377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25378 TFLAGS="$(STAGE4_TFLAGS)"; \
25379 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25380 $(HOST_EXPORTS) \
25381 $(POSTSTAGE1_HOST_EXPORTS) \
25382 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25383 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25384 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25385 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25387 cd $(HOST_SUBDIR)/zlib || exit 1; \
25388 case $(srcdir) in \
25389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25390 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25392 esac; \
25393 srcdiroption="--srcdir=$${topdir}/zlib"; \
25394 libsrcdir="$$s/zlib"; \
25395 $(SHELL) $${libsrcdir}/configure \
25396 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25397 --target=${target_alias} $${srcdiroption} \
25398 --with-build-libsubdir=$(HOST_SUBDIR) \
25399 $(STAGE4_CONFIGURE_FLAGS)
25400 @endif zlib-bootstrap
25402 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25403 maybe-configure-stageprofile-zlib:
25404 @if zlib-bootstrap
25405 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25406 configure-stageprofile-zlib:
25407 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25408 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25409 @r=`${PWD_COMMAND}`; export r; \
25410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25411 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25412 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25413 $(HOST_EXPORTS) \
25414 $(POSTSTAGE1_HOST_EXPORTS) \
25415 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25416 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25417 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25418 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25420 cd $(HOST_SUBDIR)/zlib || exit 1; \
25421 case $(srcdir) in \
25422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25423 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25425 esac; \
25426 srcdiroption="--srcdir=$${topdir}/zlib"; \
25427 libsrcdir="$$s/zlib"; \
25428 $(SHELL) $${libsrcdir}/configure \
25429 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25430 --target=${target_alias} $${srcdiroption} \
25431 --with-build-libsubdir=$(HOST_SUBDIR) \
25432 $(STAGEprofile_CONFIGURE_FLAGS)
25433 @endif zlib-bootstrap
25435 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25436 maybe-configure-stagefeedback-zlib:
25437 @if zlib-bootstrap
25438 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25439 configure-stagefeedback-zlib:
25440 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25442 @r=`${PWD_COMMAND}`; export r; \
25443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25445 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25446 $(HOST_EXPORTS) \
25447 $(POSTSTAGE1_HOST_EXPORTS) \
25448 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25449 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25450 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25451 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25453 cd $(HOST_SUBDIR)/zlib || exit 1; \
25454 case $(srcdir) in \
25455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25456 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25458 esac; \
25459 srcdiroption="--srcdir=$${topdir}/zlib"; \
25460 libsrcdir="$$s/zlib"; \
25461 $(SHELL) $${libsrcdir}/configure \
25462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25463 --target=${target_alias} $${srcdiroption} \
25464 --with-build-libsubdir=$(HOST_SUBDIR) \
25465 $(STAGEfeedback_CONFIGURE_FLAGS)
25466 @endif zlib-bootstrap
25472 .PHONY: all-zlib maybe-all-zlib
25473 maybe-all-zlib:
25474 @if gcc-bootstrap
25475 all-zlib: stage_current
25476 @endif gcc-bootstrap
25477 @if zlib
25478 TARGET-zlib=all
25479 maybe-all-zlib: all-zlib
25480 all-zlib: configure-zlib
25481 @r=`${PWD_COMMAND}`; export r; \
25482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25483 $(HOST_EXPORTS) \
25484 (cd $(HOST_SUBDIR)/zlib && \
25485 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25486 $(TARGET-zlib))
25487 @endif zlib
25491 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25492 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25493 maybe-all-stage1-zlib:
25494 maybe-clean-stage1-zlib:
25495 @if zlib-bootstrap
25496 maybe-all-stage1-zlib: all-stage1-zlib
25497 all-stage1: all-stage1-zlib
25498 TARGET-stage1-zlib = $(TARGET-zlib)
25499 all-stage1-zlib: configure-stage1-zlib
25500 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25501 @r=`${PWD_COMMAND}`; export r; \
25502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25503 TFLAGS="$(STAGE1_TFLAGS)"; \
25504 $(HOST_EXPORTS) \
25505 cd $(HOST_SUBDIR)/zlib && \
25506 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25507 CFLAGS="$(STAGE1_CFLAGS)" \
25508 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25509 LIBCFLAGS="$(LIBCFLAGS)" \
25510 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25511 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25512 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25513 $(EXTRA_HOST_FLAGS) \
25514 TFLAGS="$(STAGE1_TFLAGS)" \
25515 $(TARGET-stage1-zlib)
25517 maybe-clean-stage1-zlib: clean-stage1-zlib
25518 clean-stage1: clean-stage1-zlib
25519 clean-stage1-zlib:
25520 @if [ $(current_stage) = stage1 ]; then \
25521 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25522 else \
25523 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25524 $(MAKE) stage1-start; \
25525 fi; \
25526 cd $(HOST_SUBDIR)/zlib && \
25527 $(MAKE) $(EXTRA_HOST_FLAGS) \
25528 clean
25529 @endif zlib-bootstrap
25532 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25533 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25534 maybe-all-stage2-zlib:
25535 maybe-clean-stage2-zlib:
25536 @if zlib-bootstrap
25537 maybe-all-stage2-zlib: all-stage2-zlib
25538 all-stage2: all-stage2-zlib
25539 TARGET-stage2-zlib = $(TARGET-zlib)
25540 all-stage2-zlib: configure-stage2-zlib
25541 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25542 @r=`${PWD_COMMAND}`; export r; \
25543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25544 TFLAGS="$(STAGE2_TFLAGS)"; \
25545 $(HOST_EXPORTS) \
25546 $(POSTSTAGE1_HOST_EXPORTS) \
25547 cd $(HOST_SUBDIR)/zlib && \
25548 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25549 CFLAGS="$(STAGE2_CFLAGS)" \
25550 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25551 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25552 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25553 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25554 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25555 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25556 TFLAGS="$(STAGE2_TFLAGS)" \
25557 $(TARGET-stage2-zlib)
25559 maybe-clean-stage2-zlib: clean-stage2-zlib
25560 clean-stage2: clean-stage2-zlib
25561 clean-stage2-zlib:
25562 @if [ $(current_stage) = stage2 ]; then \
25563 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25564 else \
25565 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25566 $(MAKE) stage2-start; \
25567 fi; \
25568 cd $(HOST_SUBDIR)/zlib && \
25569 $(MAKE) $(EXTRA_HOST_FLAGS) \
25570 $(POSTSTAGE1_FLAGS_TO_PASS) \
25571 clean
25572 @endif zlib-bootstrap
25575 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25576 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25577 maybe-all-stage3-zlib:
25578 maybe-clean-stage3-zlib:
25579 @if zlib-bootstrap
25580 maybe-all-stage3-zlib: all-stage3-zlib
25581 all-stage3: all-stage3-zlib
25582 TARGET-stage3-zlib = $(TARGET-zlib)
25583 all-stage3-zlib: configure-stage3-zlib
25584 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25585 @r=`${PWD_COMMAND}`; export r; \
25586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25587 TFLAGS="$(STAGE3_TFLAGS)"; \
25588 $(HOST_EXPORTS) \
25589 $(POSTSTAGE1_HOST_EXPORTS) \
25590 cd $(HOST_SUBDIR)/zlib && \
25591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25592 CFLAGS="$(STAGE3_CFLAGS)" \
25593 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25594 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25598 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25599 TFLAGS="$(STAGE3_TFLAGS)" \
25600 $(TARGET-stage3-zlib)
25602 maybe-clean-stage3-zlib: clean-stage3-zlib
25603 clean-stage3: clean-stage3-zlib
25604 clean-stage3-zlib:
25605 @if [ $(current_stage) = stage3 ]; then \
25606 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25607 else \
25608 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25609 $(MAKE) stage3-start; \
25610 fi; \
25611 cd $(HOST_SUBDIR)/zlib && \
25612 $(MAKE) $(EXTRA_HOST_FLAGS) \
25613 $(POSTSTAGE1_FLAGS_TO_PASS) \
25614 clean
25615 @endif zlib-bootstrap
25618 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25619 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25620 maybe-all-stage4-zlib:
25621 maybe-clean-stage4-zlib:
25622 @if zlib-bootstrap
25623 maybe-all-stage4-zlib: all-stage4-zlib
25624 all-stage4: all-stage4-zlib
25625 TARGET-stage4-zlib = $(TARGET-zlib)
25626 all-stage4-zlib: configure-stage4-zlib
25627 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25628 @r=`${PWD_COMMAND}`; export r; \
25629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25630 TFLAGS="$(STAGE4_TFLAGS)"; \
25631 $(HOST_EXPORTS) \
25632 $(POSTSTAGE1_HOST_EXPORTS) \
25633 cd $(HOST_SUBDIR)/zlib && \
25634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25635 CFLAGS="$(STAGE4_CFLAGS)" \
25636 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25637 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25641 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25642 TFLAGS="$(STAGE4_TFLAGS)" \
25643 $(TARGET-stage4-zlib)
25645 maybe-clean-stage4-zlib: clean-stage4-zlib
25646 clean-stage4: clean-stage4-zlib
25647 clean-stage4-zlib:
25648 @if [ $(current_stage) = stage4 ]; then \
25649 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25650 else \
25651 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25652 $(MAKE) stage4-start; \
25653 fi; \
25654 cd $(HOST_SUBDIR)/zlib && \
25655 $(MAKE) $(EXTRA_HOST_FLAGS) \
25656 $(POSTSTAGE1_FLAGS_TO_PASS) \
25657 clean
25658 @endif zlib-bootstrap
25661 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25662 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25663 maybe-all-stageprofile-zlib:
25664 maybe-clean-stageprofile-zlib:
25665 @if zlib-bootstrap
25666 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25667 all-stageprofile: all-stageprofile-zlib
25668 TARGET-stageprofile-zlib = $(TARGET-zlib)
25669 all-stageprofile-zlib: configure-stageprofile-zlib
25670 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25671 @r=`${PWD_COMMAND}`; export r; \
25672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25674 $(HOST_EXPORTS) \
25675 $(POSTSTAGE1_HOST_EXPORTS) \
25676 cd $(HOST_SUBDIR)/zlib && \
25677 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25678 CFLAGS="$(STAGEprofile_CFLAGS)" \
25679 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25680 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25681 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25682 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25683 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25684 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25685 TFLAGS="$(STAGEprofile_TFLAGS)" \
25686 $(TARGET-stageprofile-zlib)
25688 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25689 clean-stageprofile: clean-stageprofile-zlib
25690 clean-stageprofile-zlib:
25691 @if [ $(current_stage) = stageprofile ]; then \
25692 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25693 else \
25694 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25695 $(MAKE) stageprofile-start; \
25696 fi; \
25697 cd $(HOST_SUBDIR)/zlib && \
25698 $(MAKE) $(EXTRA_HOST_FLAGS) \
25699 $(POSTSTAGE1_FLAGS_TO_PASS) \
25700 clean
25701 @endif zlib-bootstrap
25704 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25705 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25706 maybe-all-stagefeedback-zlib:
25707 maybe-clean-stagefeedback-zlib:
25708 @if zlib-bootstrap
25709 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25710 all-stagefeedback: all-stagefeedback-zlib
25711 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25712 all-stagefeedback-zlib: configure-stagefeedback-zlib
25713 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25714 @r=`${PWD_COMMAND}`; export r; \
25715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25716 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25717 $(HOST_EXPORTS) \
25718 $(POSTSTAGE1_HOST_EXPORTS) \
25719 cd $(HOST_SUBDIR)/zlib && \
25720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25721 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25722 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25723 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25727 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25728 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25729 $(TARGET-stagefeedback-zlib)
25731 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25732 clean-stagefeedback: clean-stagefeedback-zlib
25733 clean-stagefeedback-zlib:
25734 @if [ $(current_stage) = stagefeedback ]; then \
25735 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25736 else \
25737 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25738 $(MAKE) stagefeedback-start; \
25739 fi; \
25740 cd $(HOST_SUBDIR)/zlib && \
25741 $(MAKE) $(EXTRA_HOST_FLAGS) \
25742 $(POSTSTAGE1_FLAGS_TO_PASS) \
25743 clean
25744 @endif zlib-bootstrap
25750 .PHONY: check-zlib maybe-check-zlib
25751 maybe-check-zlib:
25752 @if zlib
25753 maybe-check-zlib: check-zlib
25755 check-zlib:
25757 @endif zlib
25759 .PHONY: install-zlib maybe-install-zlib
25760 maybe-install-zlib:
25761 @if zlib
25762 maybe-install-zlib: install-zlib
25764 install-zlib:
25766 @endif zlib
25768 .PHONY: install-strip-zlib maybe-install-strip-zlib
25769 maybe-install-strip-zlib:
25770 @if zlib
25771 maybe-install-strip-zlib: install-strip-zlib
25773 install-strip-zlib:
25775 @endif zlib
25777 # Other targets (info, dvi, pdf, etc.)
25779 .PHONY: maybe-info-zlib info-zlib
25780 maybe-info-zlib:
25781 @if zlib
25782 maybe-info-zlib: info-zlib
25784 info-zlib: \
25785 configure-zlib
25786 @[ -f ./zlib/Makefile ] || exit 0; \
25787 r=`${PWD_COMMAND}`; export r; \
25788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25789 $(HOST_EXPORTS) \
25790 for flag in $(EXTRA_HOST_FLAGS) ; do \
25791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25792 done; \
25793 echo "Doing info in zlib" ; \
25794 (cd $(HOST_SUBDIR)/zlib && \
25795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25797 "RANLIB=$${RANLIB}" \
25798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25799 info) \
25800 || exit 1
25802 @endif zlib
25804 .PHONY: maybe-dvi-zlib dvi-zlib
25805 maybe-dvi-zlib:
25806 @if zlib
25807 maybe-dvi-zlib: dvi-zlib
25809 dvi-zlib: \
25810 configure-zlib
25811 @[ -f ./zlib/Makefile ] || exit 0; \
25812 r=`${PWD_COMMAND}`; export r; \
25813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25814 $(HOST_EXPORTS) \
25815 for flag in $(EXTRA_HOST_FLAGS) ; do \
25816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25817 done; \
25818 echo "Doing dvi in zlib" ; \
25819 (cd $(HOST_SUBDIR)/zlib && \
25820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25822 "RANLIB=$${RANLIB}" \
25823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25824 dvi) \
25825 || exit 1
25827 @endif zlib
25829 .PHONY: maybe-pdf-zlib pdf-zlib
25830 maybe-pdf-zlib:
25831 @if zlib
25832 maybe-pdf-zlib: pdf-zlib
25834 pdf-zlib: \
25835 configure-zlib
25836 @[ -f ./zlib/Makefile ] || exit 0; \
25837 r=`${PWD_COMMAND}`; export r; \
25838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25839 $(HOST_EXPORTS) \
25840 for flag in $(EXTRA_HOST_FLAGS) ; do \
25841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25842 done; \
25843 echo "Doing pdf in zlib" ; \
25844 (cd $(HOST_SUBDIR)/zlib && \
25845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25847 "RANLIB=$${RANLIB}" \
25848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25849 pdf) \
25850 || exit 1
25852 @endif zlib
25854 .PHONY: maybe-html-zlib html-zlib
25855 maybe-html-zlib:
25856 @if zlib
25857 maybe-html-zlib: html-zlib
25859 html-zlib: \
25860 configure-zlib
25861 @[ -f ./zlib/Makefile ] || exit 0; \
25862 r=`${PWD_COMMAND}`; export r; \
25863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25864 $(HOST_EXPORTS) \
25865 for flag in $(EXTRA_HOST_FLAGS) ; do \
25866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25867 done; \
25868 echo "Doing html in zlib" ; \
25869 (cd $(HOST_SUBDIR)/zlib && \
25870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25872 "RANLIB=$${RANLIB}" \
25873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25874 html) \
25875 || exit 1
25877 @endif zlib
25879 .PHONY: maybe-TAGS-zlib TAGS-zlib
25880 maybe-TAGS-zlib:
25881 @if zlib
25882 maybe-TAGS-zlib: TAGS-zlib
25884 TAGS-zlib: \
25885 configure-zlib
25886 @[ -f ./zlib/Makefile ] || exit 0; \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25889 $(HOST_EXPORTS) \
25890 for flag in $(EXTRA_HOST_FLAGS) ; do \
25891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25892 done; \
25893 echo "Doing TAGS in zlib" ; \
25894 (cd $(HOST_SUBDIR)/zlib && \
25895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25897 "RANLIB=$${RANLIB}" \
25898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25899 TAGS) \
25900 || exit 1
25902 @endif zlib
25904 .PHONY: maybe-install-info-zlib install-info-zlib
25905 maybe-install-info-zlib:
25906 @if zlib
25907 maybe-install-info-zlib: install-info-zlib
25909 install-info-zlib: \
25910 configure-zlib \
25911 info-zlib
25912 @[ -f ./zlib/Makefile ] || exit 0; \
25913 r=`${PWD_COMMAND}`; export r; \
25914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25915 $(HOST_EXPORTS) \
25916 for flag in $(EXTRA_HOST_FLAGS) ; do \
25917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25918 done; \
25919 echo "Doing install-info in zlib" ; \
25920 (cd $(HOST_SUBDIR)/zlib && \
25921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25923 "RANLIB=$${RANLIB}" \
25924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25925 install-info) \
25926 || exit 1
25928 @endif zlib
25930 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25931 maybe-install-pdf-zlib:
25932 @if zlib
25933 maybe-install-pdf-zlib: install-pdf-zlib
25935 install-pdf-zlib: \
25936 configure-zlib \
25937 pdf-zlib
25938 @[ -f ./zlib/Makefile ] || exit 0; \
25939 r=`${PWD_COMMAND}`; export r; \
25940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25941 $(HOST_EXPORTS) \
25942 for flag in $(EXTRA_HOST_FLAGS) ; do \
25943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25944 done; \
25945 echo "Doing install-pdf in zlib" ; \
25946 (cd $(HOST_SUBDIR)/zlib && \
25947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25949 "RANLIB=$${RANLIB}" \
25950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25951 install-pdf) \
25952 || exit 1
25954 @endif zlib
25956 .PHONY: maybe-install-html-zlib install-html-zlib
25957 maybe-install-html-zlib:
25958 @if zlib
25959 maybe-install-html-zlib: install-html-zlib
25961 install-html-zlib: \
25962 configure-zlib \
25963 html-zlib
25964 @[ -f ./zlib/Makefile ] || exit 0; \
25965 r=`${PWD_COMMAND}`; export r; \
25966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25967 $(HOST_EXPORTS) \
25968 for flag in $(EXTRA_HOST_FLAGS) ; do \
25969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25970 done; \
25971 echo "Doing install-html in zlib" ; \
25972 (cd $(HOST_SUBDIR)/zlib && \
25973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25975 "RANLIB=$${RANLIB}" \
25976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25977 install-html) \
25978 || exit 1
25980 @endif zlib
25982 .PHONY: maybe-installcheck-zlib installcheck-zlib
25983 maybe-installcheck-zlib:
25984 @if zlib
25985 maybe-installcheck-zlib: installcheck-zlib
25987 installcheck-zlib: \
25988 configure-zlib
25989 @[ -f ./zlib/Makefile ] || exit 0; \
25990 r=`${PWD_COMMAND}`; export r; \
25991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25992 $(HOST_EXPORTS) \
25993 for flag in $(EXTRA_HOST_FLAGS) ; do \
25994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25995 done; \
25996 echo "Doing installcheck in zlib" ; \
25997 (cd $(HOST_SUBDIR)/zlib && \
25998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26000 "RANLIB=$${RANLIB}" \
26001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26002 installcheck) \
26003 || exit 1
26005 @endif zlib
26007 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26008 maybe-mostlyclean-zlib:
26009 @if zlib
26010 maybe-mostlyclean-zlib: mostlyclean-zlib
26012 mostlyclean-zlib:
26013 @[ -f ./zlib/Makefile ] || exit 0; \
26014 r=`${PWD_COMMAND}`; export r; \
26015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26016 $(HOST_EXPORTS) \
26017 for flag in $(EXTRA_HOST_FLAGS) ; do \
26018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26019 done; \
26020 echo "Doing mostlyclean in zlib" ; \
26021 (cd $(HOST_SUBDIR)/zlib && \
26022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26024 "RANLIB=$${RANLIB}" \
26025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26026 mostlyclean) \
26027 || exit 1
26029 @endif zlib
26031 .PHONY: maybe-clean-zlib clean-zlib
26032 maybe-clean-zlib:
26033 @if zlib
26034 maybe-clean-zlib: clean-zlib
26036 clean-zlib:
26037 @[ -f ./zlib/Makefile ] || exit 0; \
26038 r=`${PWD_COMMAND}`; export r; \
26039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26040 $(HOST_EXPORTS) \
26041 for flag in $(EXTRA_HOST_FLAGS) ; do \
26042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26043 done; \
26044 echo "Doing clean in zlib" ; \
26045 (cd $(HOST_SUBDIR)/zlib && \
26046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26048 "RANLIB=$${RANLIB}" \
26049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26050 clean) \
26051 || exit 1
26053 @endif zlib
26055 .PHONY: maybe-distclean-zlib distclean-zlib
26056 maybe-distclean-zlib:
26057 @if zlib
26058 maybe-distclean-zlib: distclean-zlib
26060 distclean-zlib:
26061 @[ -f ./zlib/Makefile ] || exit 0; \
26062 r=`${PWD_COMMAND}`; export r; \
26063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26064 $(HOST_EXPORTS) \
26065 for flag in $(EXTRA_HOST_FLAGS) ; do \
26066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26067 done; \
26068 echo "Doing distclean in zlib" ; \
26069 (cd $(HOST_SUBDIR)/zlib && \
26070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26072 "RANLIB=$${RANLIB}" \
26073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26074 distclean) \
26075 || exit 1
26077 @endif zlib
26079 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26080 maybe-maintainer-clean-zlib:
26081 @if zlib
26082 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26084 maintainer-clean-zlib:
26085 @[ -f ./zlib/Makefile ] || exit 0; \
26086 r=`${PWD_COMMAND}`; export r; \
26087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26088 $(HOST_EXPORTS) \
26089 for flag in $(EXTRA_HOST_FLAGS) ; do \
26090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26091 done; \
26092 echo "Doing maintainer-clean in zlib" ; \
26093 (cd $(HOST_SUBDIR)/zlib && \
26094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26096 "RANLIB=$${RANLIB}" \
26097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26098 maintainer-clean) \
26099 || exit 1
26101 @endif zlib
26105 .PHONY: configure-gdb maybe-configure-gdb
26106 maybe-configure-gdb:
26107 @if gcc-bootstrap
26108 configure-gdb: stage_current
26109 @endif gcc-bootstrap
26110 @if gdb
26111 maybe-configure-gdb: configure-gdb
26112 configure-gdb:
26113 @: $(MAKE); $(unstage)
26114 @r=`${PWD_COMMAND}`; export r; \
26115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26116 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26118 $(HOST_EXPORTS) \
26119 echo Configuring in $(HOST_SUBDIR)/gdb; \
26120 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26121 case $(srcdir) in \
26122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26123 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26125 esac; \
26126 srcdiroption="--srcdir=$${topdir}/gdb"; \
26127 libsrcdir="$$s/gdb"; \
26128 $(SHELL) $${libsrcdir}/configure \
26129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26130 --target=${target_alias} $${srcdiroption} \
26131 || exit 1
26132 @endif gdb
26138 .PHONY: all-gdb maybe-all-gdb
26139 maybe-all-gdb:
26140 @if gcc-bootstrap
26141 all-gdb: stage_current
26142 @endif gcc-bootstrap
26143 @if gdb
26144 TARGET-gdb=all
26145 maybe-all-gdb: all-gdb
26146 all-gdb: configure-gdb
26147 @: $(MAKE); $(unstage)
26148 @r=`${PWD_COMMAND}`; export r; \
26149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26150 $(HOST_EXPORTS) \
26151 (cd $(HOST_SUBDIR)/gdb && \
26152 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26153 $(TARGET-gdb))
26154 @endif gdb
26159 .PHONY: check-gdb maybe-check-gdb
26160 maybe-check-gdb:
26161 @if gdb
26162 maybe-check-gdb: check-gdb
26164 check-gdb:
26165 @: $(MAKE); $(unstage)
26166 @r=`${PWD_COMMAND}`; export r; \
26167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26168 $(HOST_EXPORTS) \
26169 (cd $(HOST_SUBDIR)/gdb && \
26170 $(MAKE) $(FLAGS_TO_PASS) check)
26172 @endif gdb
26174 .PHONY: install-gdb maybe-install-gdb
26175 maybe-install-gdb:
26176 @if gdb
26177 maybe-install-gdb: install-gdb
26179 install-gdb: installdirs
26180 @: $(MAKE); $(unstage)
26181 @r=`${PWD_COMMAND}`; export r; \
26182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26183 $(HOST_EXPORTS) \
26184 (cd $(HOST_SUBDIR)/gdb && \
26185 $(MAKE) $(FLAGS_TO_PASS) install)
26187 @endif gdb
26189 .PHONY: install-strip-gdb maybe-install-strip-gdb
26190 maybe-install-strip-gdb:
26191 @if gdb
26192 maybe-install-strip-gdb: install-strip-gdb
26194 install-strip-gdb: installdirs
26195 @: $(MAKE); $(unstage)
26196 @r=`${PWD_COMMAND}`; export r; \
26197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26198 $(HOST_EXPORTS) \
26199 (cd $(HOST_SUBDIR)/gdb && \
26200 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26202 @endif gdb
26204 # Other targets (info, dvi, pdf, etc.)
26206 .PHONY: maybe-info-gdb info-gdb
26207 maybe-info-gdb:
26208 @if gdb
26209 maybe-info-gdb: info-gdb
26211 info-gdb: \
26212 configure-gdb
26213 @: $(MAKE); $(unstage)
26214 @[ -f ./gdb/Makefile ] || exit 0; \
26215 r=`${PWD_COMMAND}`; export r; \
26216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26217 $(HOST_EXPORTS) \
26218 for flag in $(EXTRA_HOST_FLAGS) ; do \
26219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26220 done; \
26221 echo "Doing info in gdb" ; \
26222 (cd $(HOST_SUBDIR)/gdb && \
26223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26225 "RANLIB=$${RANLIB}" \
26226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26227 info) \
26228 || exit 1
26230 @endif gdb
26232 .PHONY: maybe-dvi-gdb dvi-gdb
26233 maybe-dvi-gdb:
26234 @if gdb
26235 maybe-dvi-gdb: dvi-gdb
26237 dvi-gdb: \
26238 configure-gdb
26239 @: $(MAKE); $(unstage)
26240 @[ -f ./gdb/Makefile ] || exit 0; \
26241 r=`${PWD_COMMAND}`; export r; \
26242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26243 $(HOST_EXPORTS) \
26244 for flag in $(EXTRA_HOST_FLAGS) ; do \
26245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26246 done; \
26247 echo "Doing dvi in gdb" ; \
26248 (cd $(HOST_SUBDIR)/gdb && \
26249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26251 "RANLIB=$${RANLIB}" \
26252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26253 dvi) \
26254 || exit 1
26256 @endif gdb
26258 .PHONY: maybe-pdf-gdb pdf-gdb
26259 maybe-pdf-gdb:
26260 @if gdb
26261 maybe-pdf-gdb: pdf-gdb
26263 pdf-gdb: \
26264 configure-gdb
26265 @: $(MAKE); $(unstage)
26266 @[ -f ./gdb/Makefile ] || exit 0; \
26267 r=`${PWD_COMMAND}`; export r; \
26268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26269 $(HOST_EXPORTS) \
26270 for flag in $(EXTRA_HOST_FLAGS) ; do \
26271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26272 done; \
26273 echo "Doing pdf in gdb" ; \
26274 (cd $(HOST_SUBDIR)/gdb && \
26275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26277 "RANLIB=$${RANLIB}" \
26278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26279 pdf) \
26280 || exit 1
26282 @endif gdb
26284 .PHONY: maybe-html-gdb html-gdb
26285 maybe-html-gdb:
26286 @if gdb
26287 maybe-html-gdb: html-gdb
26289 html-gdb: \
26290 configure-gdb
26291 @: $(MAKE); $(unstage)
26292 @[ -f ./gdb/Makefile ] || exit 0; \
26293 r=`${PWD_COMMAND}`; export r; \
26294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26295 $(HOST_EXPORTS) \
26296 for flag in $(EXTRA_HOST_FLAGS) ; do \
26297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26298 done; \
26299 echo "Doing html in gdb" ; \
26300 (cd $(HOST_SUBDIR)/gdb && \
26301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26303 "RANLIB=$${RANLIB}" \
26304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26305 html) \
26306 || exit 1
26308 @endif gdb
26310 .PHONY: maybe-TAGS-gdb TAGS-gdb
26311 maybe-TAGS-gdb:
26312 @if gdb
26313 maybe-TAGS-gdb: TAGS-gdb
26315 TAGS-gdb: \
26316 configure-gdb
26317 @: $(MAKE); $(unstage)
26318 @[ -f ./gdb/Makefile ] || exit 0; \
26319 r=`${PWD_COMMAND}`; export r; \
26320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26321 $(HOST_EXPORTS) \
26322 for flag in $(EXTRA_HOST_FLAGS) ; do \
26323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26324 done; \
26325 echo "Doing TAGS in gdb" ; \
26326 (cd $(HOST_SUBDIR)/gdb && \
26327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26329 "RANLIB=$${RANLIB}" \
26330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26331 TAGS) \
26332 || exit 1
26334 @endif gdb
26336 .PHONY: maybe-install-info-gdb install-info-gdb
26337 maybe-install-info-gdb:
26338 @if gdb
26339 maybe-install-info-gdb: install-info-gdb
26341 install-info-gdb: \
26342 configure-gdb \
26343 info-gdb
26344 @: $(MAKE); $(unstage)
26345 @[ -f ./gdb/Makefile ] || exit 0; \
26346 r=`${PWD_COMMAND}`; export r; \
26347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26348 $(HOST_EXPORTS) \
26349 for flag in $(EXTRA_HOST_FLAGS) ; do \
26350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26351 done; \
26352 echo "Doing install-info in gdb" ; \
26353 (cd $(HOST_SUBDIR)/gdb && \
26354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26356 "RANLIB=$${RANLIB}" \
26357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26358 install-info) \
26359 || exit 1
26361 @endif gdb
26363 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26364 maybe-install-pdf-gdb:
26365 @if gdb
26366 maybe-install-pdf-gdb: install-pdf-gdb
26368 install-pdf-gdb: \
26369 configure-gdb \
26370 pdf-gdb
26371 @: $(MAKE); $(unstage)
26372 @[ -f ./gdb/Makefile ] || exit 0; \
26373 r=`${PWD_COMMAND}`; export r; \
26374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26375 $(HOST_EXPORTS) \
26376 for flag in $(EXTRA_HOST_FLAGS) ; do \
26377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26378 done; \
26379 echo "Doing install-pdf in gdb" ; \
26380 (cd $(HOST_SUBDIR)/gdb && \
26381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26383 "RANLIB=$${RANLIB}" \
26384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26385 install-pdf) \
26386 || exit 1
26388 @endif gdb
26390 .PHONY: maybe-install-html-gdb install-html-gdb
26391 maybe-install-html-gdb:
26392 @if gdb
26393 maybe-install-html-gdb: install-html-gdb
26395 install-html-gdb: \
26396 configure-gdb \
26397 html-gdb
26398 @: $(MAKE); $(unstage)
26399 @[ -f ./gdb/Makefile ] || exit 0; \
26400 r=`${PWD_COMMAND}`; export r; \
26401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26402 $(HOST_EXPORTS) \
26403 for flag in $(EXTRA_HOST_FLAGS) ; do \
26404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26405 done; \
26406 echo "Doing install-html in gdb" ; \
26407 (cd $(HOST_SUBDIR)/gdb && \
26408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26410 "RANLIB=$${RANLIB}" \
26411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26412 install-html) \
26413 || exit 1
26415 @endif gdb
26417 .PHONY: maybe-installcheck-gdb installcheck-gdb
26418 maybe-installcheck-gdb:
26419 @if gdb
26420 maybe-installcheck-gdb: installcheck-gdb
26422 installcheck-gdb: \
26423 configure-gdb
26424 @: $(MAKE); $(unstage)
26425 @[ -f ./gdb/Makefile ] || exit 0; \
26426 r=`${PWD_COMMAND}`; export r; \
26427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26428 $(HOST_EXPORTS) \
26429 for flag in $(EXTRA_HOST_FLAGS) ; do \
26430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26431 done; \
26432 echo "Doing installcheck in gdb" ; \
26433 (cd $(HOST_SUBDIR)/gdb && \
26434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26436 "RANLIB=$${RANLIB}" \
26437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26438 installcheck) \
26439 || exit 1
26441 @endif gdb
26443 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26444 maybe-mostlyclean-gdb:
26445 @if gdb
26446 maybe-mostlyclean-gdb: mostlyclean-gdb
26448 mostlyclean-gdb:
26449 @: $(MAKE); $(unstage)
26450 @[ -f ./gdb/Makefile ] || exit 0; \
26451 r=`${PWD_COMMAND}`; export r; \
26452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26453 $(HOST_EXPORTS) \
26454 for flag in $(EXTRA_HOST_FLAGS) ; do \
26455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26456 done; \
26457 echo "Doing mostlyclean in gdb" ; \
26458 (cd $(HOST_SUBDIR)/gdb && \
26459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26461 "RANLIB=$${RANLIB}" \
26462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26463 mostlyclean) \
26464 || exit 1
26466 @endif gdb
26468 .PHONY: maybe-clean-gdb clean-gdb
26469 maybe-clean-gdb:
26470 @if gdb
26471 maybe-clean-gdb: clean-gdb
26473 clean-gdb:
26474 @: $(MAKE); $(unstage)
26475 @[ -f ./gdb/Makefile ] || exit 0; \
26476 r=`${PWD_COMMAND}`; export r; \
26477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26478 $(HOST_EXPORTS) \
26479 for flag in $(EXTRA_HOST_FLAGS) ; do \
26480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26481 done; \
26482 echo "Doing clean in gdb" ; \
26483 (cd $(HOST_SUBDIR)/gdb && \
26484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26486 "RANLIB=$${RANLIB}" \
26487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26488 clean) \
26489 || exit 1
26491 @endif gdb
26493 .PHONY: maybe-distclean-gdb distclean-gdb
26494 maybe-distclean-gdb:
26495 @if gdb
26496 maybe-distclean-gdb: distclean-gdb
26498 distclean-gdb:
26499 @: $(MAKE); $(unstage)
26500 @[ -f ./gdb/Makefile ] || exit 0; \
26501 r=`${PWD_COMMAND}`; export r; \
26502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26503 $(HOST_EXPORTS) \
26504 for flag in $(EXTRA_HOST_FLAGS) ; do \
26505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26506 done; \
26507 echo "Doing distclean in gdb" ; \
26508 (cd $(HOST_SUBDIR)/gdb && \
26509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26511 "RANLIB=$${RANLIB}" \
26512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26513 distclean) \
26514 || exit 1
26516 @endif gdb
26518 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26519 maybe-maintainer-clean-gdb:
26520 @if gdb
26521 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26523 maintainer-clean-gdb:
26524 @: $(MAKE); $(unstage)
26525 @[ -f ./gdb/Makefile ] || exit 0; \
26526 r=`${PWD_COMMAND}`; export r; \
26527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26528 $(HOST_EXPORTS) \
26529 for flag in $(EXTRA_HOST_FLAGS) ; do \
26530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26531 done; \
26532 echo "Doing maintainer-clean in gdb" ; \
26533 (cd $(HOST_SUBDIR)/gdb && \
26534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26536 "RANLIB=$${RANLIB}" \
26537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26538 maintainer-clean) \
26539 || exit 1
26541 @endif gdb
26545 .PHONY: configure-expect maybe-configure-expect
26546 maybe-configure-expect:
26547 @if gcc-bootstrap
26548 configure-expect: stage_current
26549 @endif gcc-bootstrap
26550 @if expect
26551 maybe-configure-expect: configure-expect
26552 configure-expect:
26553 @: $(MAKE); $(unstage)
26554 @r=`${PWD_COMMAND}`; export r; \
26555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26556 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26558 $(HOST_EXPORTS) \
26559 echo Configuring in $(HOST_SUBDIR)/expect; \
26560 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26561 case $(srcdir) in \
26562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26563 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26565 esac; \
26566 srcdiroption="--srcdir=$${topdir}/expect"; \
26567 libsrcdir="$$s/expect"; \
26568 $(SHELL) $${libsrcdir}/configure \
26569 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26570 --target=${target_alias} $${srcdiroption} \
26571 || exit 1
26572 @endif expect
26578 .PHONY: all-expect maybe-all-expect
26579 maybe-all-expect:
26580 @if gcc-bootstrap
26581 all-expect: stage_current
26582 @endif gcc-bootstrap
26583 @if expect
26584 TARGET-expect=all
26585 maybe-all-expect: all-expect
26586 all-expect: configure-expect
26587 @: $(MAKE); $(unstage)
26588 @r=`${PWD_COMMAND}`; export r; \
26589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26590 $(HOST_EXPORTS) \
26591 (cd $(HOST_SUBDIR)/expect && \
26592 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26593 $(TARGET-expect))
26594 @endif expect
26599 .PHONY: check-expect maybe-check-expect
26600 maybe-check-expect:
26601 @if expect
26602 maybe-check-expect: check-expect
26604 check-expect:
26605 @: $(MAKE); $(unstage)
26606 @r=`${PWD_COMMAND}`; export r; \
26607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26608 $(HOST_EXPORTS) \
26609 (cd $(HOST_SUBDIR)/expect && \
26610 $(MAKE) $(FLAGS_TO_PASS) check)
26612 @endif expect
26614 .PHONY: install-expect maybe-install-expect
26615 maybe-install-expect:
26616 @if expect
26617 maybe-install-expect: install-expect
26619 install-expect: installdirs
26620 @: $(MAKE); $(unstage)
26621 @r=`${PWD_COMMAND}`; export r; \
26622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26623 $(HOST_EXPORTS) \
26624 (cd $(HOST_SUBDIR)/expect && \
26625 $(MAKE) $(FLAGS_TO_PASS) install)
26627 @endif expect
26629 .PHONY: install-strip-expect maybe-install-strip-expect
26630 maybe-install-strip-expect:
26631 @if expect
26632 maybe-install-strip-expect: install-strip-expect
26634 install-strip-expect: installdirs
26635 @: $(MAKE); $(unstage)
26636 @r=`${PWD_COMMAND}`; export r; \
26637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26638 $(HOST_EXPORTS) \
26639 (cd $(HOST_SUBDIR)/expect && \
26640 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26642 @endif expect
26644 # Other targets (info, dvi, pdf, etc.)
26646 .PHONY: maybe-info-expect info-expect
26647 maybe-info-expect:
26648 @if expect
26649 maybe-info-expect: info-expect
26651 info-expect: \
26652 configure-expect
26653 @: $(MAKE); $(unstage)
26654 @[ -f ./expect/Makefile ] || exit 0; \
26655 r=`${PWD_COMMAND}`; export r; \
26656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26657 $(HOST_EXPORTS) \
26658 for flag in $(EXTRA_HOST_FLAGS) ; do \
26659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26660 done; \
26661 echo "Doing info in expect" ; \
26662 (cd $(HOST_SUBDIR)/expect && \
26663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26665 "RANLIB=$${RANLIB}" \
26666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26667 info) \
26668 || exit 1
26670 @endif expect
26672 .PHONY: maybe-dvi-expect dvi-expect
26673 maybe-dvi-expect:
26674 @if expect
26675 maybe-dvi-expect: dvi-expect
26677 dvi-expect: \
26678 configure-expect
26679 @: $(MAKE); $(unstage)
26680 @[ -f ./expect/Makefile ] || exit 0; \
26681 r=`${PWD_COMMAND}`; export r; \
26682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26683 $(HOST_EXPORTS) \
26684 for flag in $(EXTRA_HOST_FLAGS) ; do \
26685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26686 done; \
26687 echo "Doing dvi in expect" ; \
26688 (cd $(HOST_SUBDIR)/expect && \
26689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26691 "RANLIB=$${RANLIB}" \
26692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26693 dvi) \
26694 || exit 1
26696 @endif expect
26698 .PHONY: maybe-pdf-expect pdf-expect
26699 maybe-pdf-expect:
26700 @if expect
26701 maybe-pdf-expect: pdf-expect
26703 pdf-expect: \
26704 configure-expect
26705 @: $(MAKE); $(unstage)
26706 @[ -f ./expect/Makefile ] || exit 0; \
26707 r=`${PWD_COMMAND}`; export r; \
26708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26709 $(HOST_EXPORTS) \
26710 for flag in $(EXTRA_HOST_FLAGS) ; do \
26711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26712 done; \
26713 echo "Doing pdf in expect" ; \
26714 (cd $(HOST_SUBDIR)/expect && \
26715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26717 "RANLIB=$${RANLIB}" \
26718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26719 pdf) \
26720 || exit 1
26722 @endif expect
26724 .PHONY: maybe-html-expect html-expect
26725 maybe-html-expect:
26726 @if expect
26727 maybe-html-expect: html-expect
26729 html-expect: \
26730 configure-expect
26731 @: $(MAKE); $(unstage)
26732 @[ -f ./expect/Makefile ] || exit 0; \
26733 r=`${PWD_COMMAND}`; export r; \
26734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26735 $(HOST_EXPORTS) \
26736 for flag in $(EXTRA_HOST_FLAGS) ; do \
26737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26738 done; \
26739 echo "Doing html in expect" ; \
26740 (cd $(HOST_SUBDIR)/expect && \
26741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26743 "RANLIB=$${RANLIB}" \
26744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26745 html) \
26746 || exit 1
26748 @endif expect
26750 .PHONY: maybe-TAGS-expect TAGS-expect
26751 maybe-TAGS-expect:
26752 @if expect
26753 maybe-TAGS-expect: TAGS-expect
26755 TAGS-expect: \
26756 configure-expect
26757 @: $(MAKE); $(unstage)
26758 @[ -f ./expect/Makefile ] || exit 0; \
26759 r=`${PWD_COMMAND}`; export r; \
26760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26761 $(HOST_EXPORTS) \
26762 for flag in $(EXTRA_HOST_FLAGS) ; do \
26763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26764 done; \
26765 echo "Doing TAGS in expect" ; \
26766 (cd $(HOST_SUBDIR)/expect && \
26767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26769 "RANLIB=$${RANLIB}" \
26770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26771 TAGS) \
26772 || exit 1
26774 @endif expect
26776 .PHONY: maybe-install-info-expect install-info-expect
26777 maybe-install-info-expect:
26778 @if expect
26779 maybe-install-info-expect: install-info-expect
26781 install-info-expect: \
26782 configure-expect \
26783 info-expect
26784 @: $(MAKE); $(unstage)
26785 @[ -f ./expect/Makefile ] || exit 0; \
26786 r=`${PWD_COMMAND}`; export r; \
26787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26788 $(HOST_EXPORTS) \
26789 for flag in $(EXTRA_HOST_FLAGS) ; do \
26790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26791 done; \
26792 echo "Doing install-info in expect" ; \
26793 (cd $(HOST_SUBDIR)/expect && \
26794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26796 "RANLIB=$${RANLIB}" \
26797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26798 install-info) \
26799 || exit 1
26801 @endif expect
26803 .PHONY: maybe-install-pdf-expect install-pdf-expect
26804 maybe-install-pdf-expect:
26805 @if expect
26806 maybe-install-pdf-expect: install-pdf-expect
26808 install-pdf-expect: \
26809 configure-expect \
26810 pdf-expect
26811 @: $(MAKE); $(unstage)
26812 @[ -f ./expect/Makefile ] || exit 0; \
26813 r=`${PWD_COMMAND}`; export r; \
26814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26815 $(HOST_EXPORTS) \
26816 for flag in $(EXTRA_HOST_FLAGS) ; do \
26817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26818 done; \
26819 echo "Doing install-pdf in expect" ; \
26820 (cd $(HOST_SUBDIR)/expect && \
26821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26823 "RANLIB=$${RANLIB}" \
26824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26825 install-pdf) \
26826 || exit 1
26828 @endif expect
26830 .PHONY: maybe-install-html-expect install-html-expect
26831 maybe-install-html-expect:
26832 @if expect
26833 maybe-install-html-expect: install-html-expect
26835 install-html-expect: \
26836 configure-expect \
26837 html-expect
26838 @: $(MAKE); $(unstage)
26839 @[ -f ./expect/Makefile ] || exit 0; \
26840 r=`${PWD_COMMAND}`; export r; \
26841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26842 $(HOST_EXPORTS) \
26843 for flag in $(EXTRA_HOST_FLAGS) ; do \
26844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26845 done; \
26846 echo "Doing install-html in expect" ; \
26847 (cd $(HOST_SUBDIR)/expect && \
26848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26850 "RANLIB=$${RANLIB}" \
26851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26852 install-html) \
26853 || exit 1
26855 @endif expect
26857 .PHONY: maybe-installcheck-expect installcheck-expect
26858 maybe-installcheck-expect:
26859 @if expect
26860 maybe-installcheck-expect: installcheck-expect
26862 installcheck-expect: \
26863 configure-expect
26864 @: $(MAKE); $(unstage)
26865 @[ -f ./expect/Makefile ] || exit 0; \
26866 r=`${PWD_COMMAND}`; export r; \
26867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26868 $(HOST_EXPORTS) \
26869 for flag in $(EXTRA_HOST_FLAGS) ; do \
26870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26871 done; \
26872 echo "Doing installcheck in expect" ; \
26873 (cd $(HOST_SUBDIR)/expect && \
26874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26876 "RANLIB=$${RANLIB}" \
26877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26878 installcheck) \
26879 || exit 1
26881 @endif expect
26883 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26884 maybe-mostlyclean-expect:
26885 @if expect
26886 maybe-mostlyclean-expect: mostlyclean-expect
26888 mostlyclean-expect:
26889 @: $(MAKE); $(unstage)
26890 @[ -f ./expect/Makefile ] || exit 0; \
26891 r=`${PWD_COMMAND}`; export r; \
26892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26893 $(HOST_EXPORTS) \
26894 for flag in $(EXTRA_HOST_FLAGS) ; do \
26895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26896 done; \
26897 echo "Doing mostlyclean in expect" ; \
26898 (cd $(HOST_SUBDIR)/expect && \
26899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26901 "RANLIB=$${RANLIB}" \
26902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26903 mostlyclean) \
26904 || exit 1
26906 @endif expect
26908 .PHONY: maybe-clean-expect clean-expect
26909 maybe-clean-expect:
26910 @if expect
26911 maybe-clean-expect: clean-expect
26913 clean-expect:
26914 @: $(MAKE); $(unstage)
26915 @[ -f ./expect/Makefile ] || exit 0; \
26916 r=`${PWD_COMMAND}`; export r; \
26917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26918 $(HOST_EXPORTS) \
26919 for flag in $(EXTRA_HOST_FLAGS) ; do \
26920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26921 done; \
26922 echo "Doing clean in expect" ; \
26923 (cd $(HOST_SUBDIR)/expect && \
26924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26926 "RANLIB=$${RANLIB}" \
26927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26928 clean) \
26929 || exit 1
26931 @endif expect
26933 .PHONY: maybe-distclean-expect distclean-expect
26934 maybe-distclean-expect:
26935 @if expect
26936 maybe-distclean-expect: distclean-expect
26938 distclean-expect:
26939 @: $(MAKE); $(unstage)
26940 @[ -f ./expect/Makefile ] || exit 0; \
26941 r=`${PWD_COMMAND}`; export r; \
26942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26943 $(HOST_EXPORTS) \
26944 for flag in $(EXTRA_HOST_FLAGS) ; do \
26945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26946 done; \
26947 echo "Doing distclean in expect" ; \
26948 (cd $(HOST_SUBDIR)/expect && \
26949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26951 "RANLIB=$${RANLIB}" \
26952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26953 distclean) \
26954 || exit 1
26956 @endif expect
26958 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26959 maybe-maintainer-clean-expect:
26960 @if expect
26961 maybe-maintainer-clean-expect: maintainer-clean-expect
26963 maintainer-clean-expect:
26964 @: $(MAKE); $(unstage)
26965 @[ -f ./expect/Makefile ] || exit 0; \
26966 r=`${PWD_COMMAND}`; export r; \
26967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26968 $(HOST_EXPORTS) \
26969 for flag in $(EXTRA_HOST_FLAGS) ; do \
26970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26971 done; \
26972 echo "Doing maintainer-clean in expect" ; \
26973 (cd $(HOST_SUBDIR)/expect && \
26974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26976 "RANLIB=$${RANLIB}" \
26977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26978 maintainer-clean) \
26979 || exit 1
26981 @endif expect
26985 .PHONY: configure-guile maybe-configure-guile
26986 maybe-configure-guile:
26987 @if gcc-bootstrap
26988 configure-guile: stage_current
26989 @endif gcc-bootstrap
26990 @if guile
26991 maybe-configure-guile: configure-guile
26992 configure-guile:
26993 @: $(MAKE); $(unstage)
26994 @r=`${PWD_COMMAND}`; export r; \
26995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26996 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26998 $(HOST_EXPORTS) \
26999 echo Configuring in $(HOST_SUBDIR)/guile; \
27000 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27001 case $(srcdir) in \
27002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27003 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27005 esac; \
27006 srcdiroption="--srcdir=$${topdir}/guile"; \
27007 libsrcdir="$$s/guile"; \
27008 $(SHELL) $${libsrcdir}/configure \
27009 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27010 --target=${target_alias} $${srcdiroption} \
27011 || exit 1
27012 @endif guile
27018 .PHONY: all-guile maybe-all-guile
27019 maybe-all-guile:
27020 @if gcc-bootstrap
27021 all-guile: stage_current
27022 @endif gcc-bootstrap
27023 @if guile
27024 TARGET-guile=all
27025 maybe-all-guile: all-guile
27026 all-guile: configure-guile
27027 @: $(MAKE); $(unstage)
27028 @r=`${PWD_COMMAND}`; export r; \
27029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27030 $(HOST_EXPORTS) \
27031 (cd $(HOST_SUBDIR)/guile && \
27032 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27033 $(TARGET-guile))
27034 @endif guile
27039 .PHONY: check-guile maybe-check-guile
27040 maybe-check-guile:
27041 @if guile
27042 maybe-check-guile: check-guile
27044 check-guile:
27045 @: $(MAKE); $(unstage)
27046 @r=`${PWD_COMMAND}`; export r; \
27047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27048 $(HOST_EXPORTS) \
27049 (cd $(HOST_SUBDIR)/guile && \
27050 $(MAKE) $(FLAGS_TO_PASS) check)
27052 @endif guile
27054 .PHONY: install-guile maybe-install-guile
27055 maybe-install-guile:
27056 @if guile
27057 maybe-install-guile: install-guile
27059 install-guile: installdirs
27060 @: $(MAKE); $(unstage)
27061 @r=`${PWD_COMMAND}`; export r; \
27062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27063 $(HOST_EXPORTS) \
27064 (cd $(HOST_SUBDIR)/guile && \
27065 $(MAKE) $(FLAGS_TO_PASS) install)
27067 @endif guile
27069 .PHONY: install-strip-guile maybe-install-strip-guile
27070 maybe-install-strip-guile:
27071 @if guile
27072 maybe-install-strip-guile: install-strip-guile
27074 install-strip-guile: installdirs
27075 @: $(MAKE); $(unstage)
27076 @r=`${PWD_COMMAND}`; export r; \
27077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27078 $(HOST_EXPORTS) \
27079 (cd $(HOST_SUBDIR)/guile && \
27080 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27082 @endif guile
27084 # Other targets (info, dvi, pdf, etc.)
27086 .PHONY: maybe-info-guile info-guile
27087 maybe-info-guile:
27088 @if guile
27089 maybe-info-guile: info-guile
27091 info-guile: \
27092 configure-guile
27093 @: $(MAKE); $(unstage)
27094 @[ -f ./guile/Makefile ] || exit 0; \
27095 r=`${PWD_COMMAND}`; export r; \
27096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27097 $(HOST_EXPORTS) \
27098 for flag in $(EXTRA_HOST_FLAGS) ; do \
27099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27100 done; \
27101 echo "Doing info in guile" ; \
27102 (cd $(HOST_SUBDIR)/guile && \
27103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27105 "RANLIB=$${RANLIB}" \
27106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27107 info) \
27108 || exit 1
27110 @endif guile
27112 .PHONY: maybe-dvi-guile dvi-guile
27113 maybe-dvi-guile:
27114 @if guile
27115 maybe-dvi-guile: dvi-guile
27117 dvi-guile: \
27118 configure-guile
27119 @: $(MAKE); $(unstage)
27120 @[ -f ./guile/Makefile ] || exit 0; \
27121 r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123 $(HOST_EXPORTS) \
27124 for flag in $(EXTRA_HOST_FLAGS) ; do \
27125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27126 done; \
27127 echo "Doing dvi in guile" ; \
27128 (cd $(HOST_SUBDIR)/guile && \
27129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27131 "RANLIB=$${RANLIB}" \
27132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27133 dvi) \
27134 || exit 1
27136 @endif guile
27138 .PHONY: maybe-pdf-guile pdf-guile
27139 maybe-pdf-guile:
27140 @if guile
27141 maybe-pdf-guile: pdf-guile
27143 pdf-guile: \
27144 configure-guile
27145 @: $(MAKE); $(unstage)
27146 @[ -f ./guile/Makefile ] || exit 0; \
27147 r=`${PWD_COMMAND}`; export r; \
27148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27149 $(HOST_EXPORTS) \
27150 for flag in $(EXTRA_HOST_FLAGS) ; do \
27151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27152 done; \
27153 echo "Doing pdf in guile" ; \
27154 (cd $(HOST_SUBDIR)/guile && \
27155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27157 "RANLIB=$${RANLIB}" \
27158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27159 pdf) \
27160 || exit 1
27162 @endif guile
27164 .PHONY: maybe-html-guile html-guile
27165 maybe-html-guile:
27166 @if guile
27167 maybe-html-guile: html-guile
27169 html-guile: \
27170 configure-guile
27171 @: $(MAKE); $(unstage)
27172 @[ -f ./guile/Makefile ] || exit 0; \
27173 r=`${PWD_COMMAND}`; export r; \
27174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27175 $(HOST_EXPORTS) \
27176 for flag in $(EXTRA_HOST_FLAGS) ; do \
27177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27178 done; \
27179 echo "Doing html in guile" ; \
27180 (cd $(HOST_SUBDIR)/guile && \
27181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27183 "RANLIB=$${RANLIB}" \
27184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27185 html) \
27186 || exit 1
27188 @endif guile
27190 .PHONY: maybe-TAGS-guile TAGS-guile
27191 maybe-TAGS-guile:
27192 @if guile
27193 maybe-TAGS-guile: TAGS-guile
27195 TAGS-guile: \
27196 configure-guile
27197 @: $(MAKE); $(unstage)
27198 @[ -f ./guile/Makefile ] || exit 0; \
27199 r=`${PWD_COMMAND}`; export r; \
27200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27201 $(HOST_EXPORTS) \
27202 for flag in $(EXTRA_HOST_FLAGS) ; do \
27203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27204 done; \
27205 echo "Doing TAGS in guile" ; \
27206 (cd $(HOST_SUBDIR)/guile && \
27207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27209 "RANLIB=$${RANLIB}" \
27210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27211 TAGS) \
27212 || exit 1
27214 @endif guile
27216 .PHONY: maybe-install-info-guile install-info-guile
27217 maybe-install-info-guile:
27218 @if guile
27219 maybe-install-info-guile: install-info-guile
27221 install-info-guile: \
27222 configure-guile \
27223 info-guile
27224 @: $(MAKE); $(unstage)
27225 @[ -f ./guile/Makefile ] || exit 0; \
27226 r=`${PWD_COMMAND}`; export r; \
27227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27228 $(HOST_EXPORTS) \
27229 for flag in $(EXTRA_HOST_FLAGS) ; do \
27230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27231 done; \
27232 echo "Doing install-info in guile" ; \
27233 (cd $(HOST_SUBDIR)/guile && \
27234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27236 "RANLIB=$${RANLIB}" \
27237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27238 install-info) \
27239 || exit 1
27241 @endif guile
27243 .PHONY: maybe-install-pdf-guile install-pdf-guile
27244 maybe-install-pdf-guile:
27245 @if guile
27246 maybe-install-pdf-guile: install-pdf-guile
27248 install-pdf-guile: \
27249 configure-guile \
27250 pdf-guile
27251 @: $(MAKE); $(unstage)
27252 @[ -f ./guile/Makefile ] || exit 0; \
27253 r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 $(HOST_EXPORTS) \
27256 for flag in $(EXTRA_HOST_FLAGS) ; do \
27257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27258 done; \
27259 echo "Doing install-pdf in guile" ; \
27260 (cd $(HOST_SUBDIR)/guile && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263 "RANLIB=$${RANLIB}" \
27264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27265 install-pdf) \
27266 || exit 1
27268 @endif guile
27270 .PHONY: maybe-install-html-guile install-html-guile
27271 maybe-install-html-guile:
27272 @if guile
27273 maybe-install-html-guile: install-html-guile
27275 install-html-guile: \
27276 configure-guile \
27277 html-guile
27278 @: $(MAKE); $(unstage)
27279 @[ -f ./guile/Makefile ] || exit 0; \
27280 r=`${PWD_COMMAND}`; export r; \
27281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27282 $(HOST_EXPORTS) \
27283 for flag in $(EXTRA_HOST_FLAGS) ; do \
27284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27285 done; \
27286 echo "Doing install-html in guile" ; \
27287 (cd $(HOST_SUBDIR)/guile && \
27288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27290 "RANLIB=$${RANLIB}" \
27291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27292 install-html) \
27293 || exit 1
27295 @endif guile
27297 .PHONY: maybe-installcheck-guile installcheck-guile
27298 maybe-installcheck-guile:
27299 @if guile
27300 maybe-installcheck-guile: installcheck-guile
27302 installcheck-guile: \
27303 configure-guile
27304 @: $(MAKE); $(unstage)
27305 @[ -f ./guile/Makefile ] || exit 0; \
27306 r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 $(HOST_EXPORTS) \
27309 for flag in $(EXTRA_HOST_FLAGS) ; do \
27310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27311 done; \
27312 echo "Doing installcheck in guile" ; \
27313 (cd $(HOST_SUBDIR)/guile && \
27314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27316 "RANLIB=$${RANLIB}" \
27317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27318 installcheck) \
27319 || exit 1
27321 @endif guile
27323 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27324 maybe-mostlyclean-guile:
27325 @if guile
27326 maybe-mostlyclean-guile: mostlyclean-guile
27328 mostlyclean-guile:
27329 @: $(MAKE); $(unstage)
27330 @[ -f ./guile/Makefile ] || exit 0; \
27331 r=`${PWD_COMMAND}`; export r; \
27332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27333 $(HOST_EXPORTS) \
27334 for flag in $(EXTRA_HOST_FLAGS) ; do \
27335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27336 done; \
27337 echo "Doing mostlyclean in guile" ; \
27338 (cd $(HOST_SUBDIR)/guile && \
27339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27341 "RANLIB=$${RANLIB}" \
27342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27343 mostlyclean) \
27344 || exit 1
27346 @endif guile
27348 .PHONY: maybe-clean-guile clean-guile
27349 maybe-clean-guile:
27350 @if guile
27351 maybe-clean-guile: clean-guile
27353 clean-guile:
27354 @: $(MAKE); $(unstage)
27355 @[ -f ./guile/Makefile ] || exit 0; \
27356 r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 for flag in $(EXTRA_HOST_FLAGS) ; do \
27360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27361 done; \
27362 echo "Doing clean in guile" ; \
27363 (cd $(HOST_SUBDIR)/guile && \
27364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27366 "RANLIB=$${RANLIB}" \
27367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27368 clean) \
27369 || exit 1
27371 @endif guile
27373 .PHONY: maybe-distclean-guile distclean-guile
27374 maybe-distclean-guile:
27375 @if guile
27376 maybe-distclean-guile: distclean-guile
27378 distclean-guile:
27379 @: $(MAKE); $(unstage)
27380 @[ -f ./guile/Makefile ] || exit 0; \
27381 r=`${PWD_COMMAND}`; export r; \
27382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27383 $(HOST_EXPORTS) \
27384 for flag in $(EXTRA_HOST_FLAGS) ; do \
27385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27386 done; \
27387 echo "Doing distclean in guile" ; \
27388 (cd $(HOST_SUBDIR)/guile && \
27389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27391 "RANLIB=$${RANLIB}" \
27392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27393 distclean) \
27394 || exit 1
27396 @endif guile
27398 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27399 maybe-maintainer-clean-guile:
27400 @if guile
27401 maybe-maintainer-clean-guile: maintainer-clean-guile
27403 maintainer-clean-guile:
27404 @: $(MAKE); $(unstage)
27405 @[ -f ./guile/Makefile ] || exit 0; \
27406 r=`${PWD_COMMAND}`; export r; \
27407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27408 $(HOST_EXPORTS) \
27409 for flag in $(EXTRA_HOST_FLAGS) ; do \
27410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27411 done; \
27412 echo "Doing maintainer-clean in guile" ; \
27413 (cd $(HOST_SUBDIR)/guile && \
27414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27416 "RANLIB=$${RANLIB}" \
27417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27418 maintainer-clean) \
27419 || exit 1
27421 @endif guile
27425 .PHONY: configure-tk maybe-configure-tk
27426 maybe-configure-tk:
27427 @if gcc-bootstrap
27428 configure-tk: stage_current
27429 @endif gcc-bootstrap
27430 @if tk
27431 maybe-configure-tk: configure-tk
27432 configure-tk:
27433 @: $(MAKE); $(unstage)
27434 @r=`${PWD_COMMAND}`; export r; \
27435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27436 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27438 $(HOST_EXPORTS) \
27439 echo Configuring in $(HOST_SUBDIR)/tk; \
27440 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27441 case $(srcdir) in \
27442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27443 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27445 esac; \
27446 srcdiroption="--srcdir=$${topdir}/tk"; \
27447 libsrcdir="$$s/tk"; \
27448 $(SHELL) $${libsrcdir}/configure \
27449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27450 --target=${target_alias} $${srcdiroption} \
27451 || exit 1
27452 @endif tk
27458 .PHONY: all-tk maybe-all-tk
27459 maybe-all-tk:
27460 @if gcc-bootstrap
27461 all-tk: stage_current
27462 @endif gcc-bootstrap
27463 @if tk
27464 TARGET-tk=all
27465 maybe-all-tk: all-tk
27466 all-tk: configure-tk
27467 @: $(MAKE); $(unstage)
27468 @r=`${PWD_COMMAND}`; export r; \
27469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27470 $(HOST_EXPORTS) \
27471 (cd $(HOST_SUBDIR)/tk && \
27472 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27473 $(TARGET-tk))
27474 @endif tk
27479 .PHONY: check-tk maybe-check-tk
27480 maybe-check-tk:
27481 @if tk
27482 maybe-check-tk: check-tk
27484 check-tk:
27485 @: $(MAKE); $(unstage)
27486 @r=`${PWD_COMMAND}`; export r; \
27487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27488 $(HOST_EXPORTS) \
27489 (cd $(HOST_SUBDIR)/tk && \
27490 $(MAKE) $(FLAGS_TO_PASS) check)
27492 @endif tk
27494 .PHONY: install-tk maybe-install-tk
27495 maybe-install-tk:
27496 @if tk
27497 maybe-install-tk: install-tk
27499 install-tk: installdirs
27500 @: $(MAKE); $(unstage)
27501 @r=`${PWD_COMMAND}`; export r; \
27502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27503 $(HOST_EXPORTS) \
27504 (cd $(HOST_SUBDIR)/tk && \
27505 $(MAKE) $(FLAGS_TO_PASS) install)
27507 @endif tk
27509 .PHONY: install-strip-tk maybe-install-strip-tk
27510 maybe-install-strip-tk:
27511 @if tk
27512 maybe-install-strip-tk: install-strip-tk
27514 install-strip-tk: installdirs
27515 @: $(MAKE); $(unstage)
27516 @r=`${PWD_COMMAND}`; export r; \
27517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27518 $(HOST_EXPORTS) \
27519 (cd $(HOST_SUBDIR)/tk && \
27520 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27522 @endif tk
27524 # Other targets (info, dvi, pdf, etc.)
27526 .PHONY: maybe-info-tk info-tk
27527 maybe-info-tk:
27528 @if tk
27529 maybe-info-tk: info-tk
27531 info-tk: \
27532 configure-tk
27533 @: $(MAKE); $(unstage)
27534 @[ -f ./tk/Makefile ] || exit 0; \
27535 r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 $(HOST_EXPORTS) \
27538 for flag in $(EXTRA_HOST_FLAGS) ; do \
27539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27540 done; \
27541 echo "Doing info in tk" ; \
27542 (cd $(HOST_SUBDIR)/tk && \
27543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27545 "RANLIB=$${RANLIB}" \
27546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27547 info) \
27548 || exit 1
27550 @endif tk
27552 .PHONY: maybe-dvi-tk dvi-tk
27553 maybe-dvi-tk:
27554 @if tk
27555 maybe-dvi-tk: dvi-tk
27557 dvi-tk: \
27558 configure-tk
27559 @: $(MAKE); $(unstage)
27560 @[ -f ./tk/Makefile ] || exit 0; \
27561 r=`${PWD_COMMAND}`; export r; \
27562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27563 $(HOST_EXPORTS) \
27564 for flag in $(EXTRA_HOST_FLAGS) ; do \
27565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27566 done; \
27567 echo "Doing dvi in tk" ; \
27568 (cd $(HOST_SUBDIR)/tk && \
27569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27571 "RANLIB=$${RANLIB}" \
27572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27573 dvi) \
27574 || exit 1
27576 @endif tk
27578 .PHONY: maybe-pdf-tk pdf-tk
27579 maybe-pdf-tk:
27580 @if tk
27581 maybe-pdf-tk: pdf-tk
27583 pdf-tk: \
27584 configure-tk
27585 @: $(MAKE); $(unstage)
27586 @[ -f ./tk/Makefile ] || exit 0; \
27587 r=`${PWD_COMMAND}`; export r; \
27588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27589 $(HOST_EXPORTS) \
27590 for flag in $(EXTRA_HOST_FLAGS) ; do \
27591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27592 done; \
27593 echo "Doing pdf in tk" ; \
27594 (cd $(HOST_SUBDIR)/tk && \
27595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27597 "RANLIB=$${RANLIB}" \
27598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27599 pdf) \
27600 || exit 1
27602 @endif tk
27604 .PHONY: maybe-html-tk html-tk
27605 maybe-html-tk:
27606 @if tk
27607 maybe-html-tk: html-tk
27609 html-tk: \
27610 configure-tk
27611 @: $(MAKE); $(unstage)
27612 @[ -f ./tk/Makefile ] || exit 0; \
27613 r=`${PWD_COMMAND}`; export r; \
27614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27615 $(HOST_EXPORTS) \
27616 for flag in $(EXTRA_HOST_FLAGS) ; do \
27617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27618 done; \
27619 echo "Doing html in tk" ; \
27620 (cd $(HOST_SUBDIR)/tk && \
27621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27623 "RANLIB=$${RANLIB}" \
27624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27625 html) \
27626 || exit 1
27628 @endif tk
27630 .PHONY: maybe-TAGS-tk TAGS-tk
27631 maybe-TAGS-tk:
27632 @if tk
27633 maybe-TAGS-tk: TAGS-tk
27635 TAGS-tk: \
27636 configure-tk
27637 @: $(MAKE); $(unstage)
27638 @[ -f ./tk/Makefile ] || exit 0; \
27639 r=`${PWD_COMMAND}`; export r; \
27640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27641 $(HOST_EXPORTS) \
27642 for flag in $(EXTRA_HOST_FLAGS) ; do \
27643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27644 done; \
27645 echo "Doing TAGS in tk" ; \
27646 (cd $(HOST_SUBDIR)/tk && \
27647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27649 "RANLIB=$${RANLIB}" \
27650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27651 TAGS) \
27652 || exit 1
27654 @endif tk
27656 .PHONY: maybe-install-info-tk install-info-tk
27657 maybe-install-info-tk:
27658 @if tk
27659 maybe-install-info-tk: install-info-tk
27661 install-info-tk: \
27662 configure-tk \
27663 info-tk
27664 @: $(MAKE); $(unstage)
27665 @[ -f ./tk/Makefile ] || exit 0; \
27666 r=`${PWD_COMMAND}`; export r; \
27667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27668 $(HOST_EXPORTS) \
27669 for flag in $(EXTRA_HOST_FLAGS) ; do \
27670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27671 done; \
27672 echo "Doing install-info in tk" ; \
27673 (cd $(HOST_SUBDIR)/tk && \
27674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27676 "RANLIB=$${RANLIB}" \
27677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27678 install-info) \
27679 || exit 1
27681 @endif tk
27683 .PHONY: maybe-install-pdf-tk install-pdf-tk
27684 maybe-install-pdf-tk:
27685 @if tk
27686 maybe-install-pdf-tk: install-pdf-tk
27688 install-pdf-tk: \
27689 configure-tk \
27690 pdf-tk
27691 @: $(MAKE); $(unstage)
27692 @[ -f ./tk/Makefile ] || exit 0; \
27693 r=`${PWD_COMMAND}`; export r; \
27694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27695 $(HOST_EXPORTS) \
27696 for flag in $(EXTRA_HOST_FLAGS) ; do \
27697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27698 done; \
27699 echo "Doing install-pdf in tk" ; \
27700 (cd $(HOST_SUBDIR)/tk && \
27701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27703 "RANLIB=$${RANLIB}" \
27704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27705 install-pdf) \
27706 || exit 1
27708 @endif tk
27710 .PHONY: maybe-install-html-tk install-html-tk
27711 maybe-install-html-tk:
27712 @if tk
27713 maybe-install-html-tk: install-html-tk
27715 install-html-tk: \
27716 configure-tk \
27717 html-tk
27718 @: $(MAKE); $(unstage)
27719 @[ -f ./tk/Makefile ] || exit 0; \
27720 r=`${PWD_COMMAND}`; export r; \
27721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27722 $(HOST_EXPORTS) \
27723 for flag in $(EXTRA_HOST_FLAGS) ; do \
27724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27725 done; \
27726 echo "Doing install-html in tk" ; \
27727 (cd $(HOST_SUBDIR)/tk && \
27728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27730 "RANLIB=$${RANLIB}" \
27731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27732 install-html) \
27733 || exit 1
27735 @endif tk
27737 .PHONY: maybe-installcheck-tk installcheck-tk
27738 maybe-installcheck-tk:
27739 @if tk
27740 maybe-installcheck-tk: installcheck-tk
27742 installcheck-tk: \
27743 configure-tk
27744 @: $(MAKE); $(unstage)
27745 @[ -f ./tk/Makefile ] || exit 0; \
27746 r=`${PWD_COMMAND}`; export r; \
27747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27748 $(HOST_EXPORTS) \
27749 for flag in $(EXTRA_HOST_FLAGS) ; do \
27750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27751 done; \
27752 echo "Doing installcheck in tk" ; \
27753 (cd $(HOST_SUBDIR)/tk && \
27754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27756 "RANLIB=$${RANLIB}" \
27757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27758 installcheck) \
27759 || exit 1
27761 @endif tk
27763 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27764 maybe-mostlyclean-tk:
27765 @if tk
27766 maybe-mostlyclean-tk: mostlyclean-tk
27768 mostlyclean-tk:
27769 @: $(MAKE); $(unstage)
27770 @[ -f ./tk/Makefile ] || exit 0; \
27771 r=`${PWD_COMMAND}`; export r; \
27772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27773 $(HOST_EXPORTS) \
27774 for flag in $(EXTRA_HOST_FLAGS) ; do \
27775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27776 done; \
27777 echo "Doing mostlyclean in tk" ; \
27778 (cd $(HOST_SUBDIR)/tk && \
27779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27781 "RANLIB=$${RANLIB}" \
27782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27783 mostlyclean) \
27784 || exit 1
27786 @endif tk
27788 .PHONY: maybe-clean-tk clean-tk
27789 maybe-clean-tk:
27790 @if tk
27791 maybe-clean-tk: clean-tk
27793 clean-tk:
27794 @: $(MAKE); $(unstage)
27795 @[ -f ./tk/Makefile ] || exit 0; \
27796 r=`${PWD_COMMAND}`; export r; \
27797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27798 $(HOST_EXPORTS) \
27799 for flag in $(EXTRA_HOST_FLAGS) ; do \
27800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27801 done; \
27802 echo "Doing clean in tk" ; \
27803 (cd $(HOST_SUBDIR)/tk && \
27804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27806 "RANLIB=$${RANLIB}" \
27807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27808 clean) \
27809 || exit 1
27811 @endif tk
27813 .PHONY: maybe-distclean-tk distclean-tk
27814 maybe-distclean-tk:
27815 @if tk
27816 maybe-distclean-tk: distclean-tk
27818 distclean-tk:
27819 @: $(MAKE); $(unstage)
27820 @[ -f ./tk/Makefile ] || exit 0; \
27821 r=`${PWD_COMMAND}`; export r; \
27822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27823 $(HOST_EXPORTS) \
27824 for flag in $(EXTRA_HOST_FLAGS) ; do \
27825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27826 done; \
27827 echo "Doing distclean in tk" ; \
27828 (cd $(HOST_SUBDIR)/tk && \
27829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27831 "RANLIB=$${RANLIB}" \
27832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27833 distclean) \
27834 || exit 1
27836 @endif tk
27838 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27839 maybe-maintainer-clean-tk:
27840 @if tk
27841 maybe-maintainer-clean-tk: maintainer-clean-tk
27843 maintainer-clean-tk:
27844 @: $(MAKE); $(unstage)
27845 @[ -f ./tk/Makefile ] || exit 0; \
27846 r=`${PWD_COMMAND}`; export r; \
27847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27848 $(HOST_EXPORTS) \
27849 for flag in $(EXTRA_HOST_FLAGS) ; do \
27850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27851 done; \
27852 echo "Doing maintainer-clean in tk" ; \
27853 (cd $(HOST_SUBDIR)/tk && \
27854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27856 "RANLIB=$${RANLIB}" \
27857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27858 maintainer-clean) \
27859 || exit 1
27861 @endif tk
27865 .PHONY: configure-libtermcap maybe-configure-libtermcap
27866 maybe-configure-libtermcap:
27867 @if gcc-bootstrap
27868 configure-libtermcap: stage_current
27869 @endif gcc-bootstrap
27870 @if libtermcap
27871 maybe-configure-libtermcap: configure-libtermcap
27872 configure-libtermcap:
27873 @: $(MAKE); $(unstage)
27874 @r=`${PWD_COMMAND}`; export r; \
27875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27876 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27877 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27878 $(HOST_EXPORTS) \
27879 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27880 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27881 case $(srcdir) in \
27882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27883 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27885 esac; \
27886 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27887 libsrcdir="$$s/libtermcap"; \
27888 $(SHELL) $${libsrcdir}/configure \
27889 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27890 --target=${target_alias} $${srcdiroption} \
27891 || exit 1
27892 @endif libtermcap
27898 .PHONY: all-libtermcap maybe-all-libtermcap
27899 maybe-all-libtermcap:
27900 @if gcc-bootstrap
27901 all-libtermcap: stage_current
27902 @endif gcc-bootstrap
27903 @if libtermcap
27904 TARGET-libtermcap=all
27905 maybe-all-libtermcap: all-libtermcap
27906 all-libtermcap: configure-libtermcap
27907 @: $(MAKE); $(unstage)
27908 @r=`${PWD_COMMAND}`; export r; \
27909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27910 $(HOST_EXPORTS) \
27911 (cd $(HOST_SUBDIR)/libtermcap && \
27912 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27913 $(TARGET-libtermcap))
27914 @endif libtermcap
27919 .PHONY: check-libtermcap maybe-check-libtermcap
27920 maybe-check-libtermcap:
27921 @if libtermcap
27922 maybe-check-libtermcap: check-libtermcap
27924 check-libtermcap:
27926 @endif libtermcap
27928 .PHONY: install-libtermcap maybe-install-libtermcap
27929 maybe-install-libtermcap:
27930 @if libtermcap
27931 maybe-install-libtermcap: install-libtermcap
27933 install-libtermcap: installdirs
27934 @: $(MAKE); $(unstage)
27935 @r=`${PWD_COMMAND}`; export r; \
27936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27937 $(HOST_EXPORTS) \
27938 (cd $(HOST_SUBDIR)/libtermcap && \
27939 $(MAKE) $(FLAGS_TO_PASS) install)
27941 @endif libtermcap
27943 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27944 maybe-install-strip-libtermcap:
27945 @if libtermcap
27946 maybe-install-strip-libtermcap: install-strip-libtermcap
27948 install-strip-libtermcap: installdirs
27949 @: $(MAKE); $(unstage)
27950 @r=`${PWD_COMMAND}`; export r; \
27951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27952 $(HOST_EXPORTS) \
27953 (cd $(HOST_SUBDIR)/libtermcap && \
27954 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27956 @endif libtermcap
27958 # Other targets (info, dvi, pdf, etc.)
27960 .PHONY: maybe-info-libtermcap info-libtermcap
27961 maybe-info-libtermcap:
27962 @if libtermcap
27963 maybe-info-libtermcap: info-libtermcap
27965 info-libtermcap: \
27966 configure-libtermcap
27967 @: $(MAKE); $(unstage)
27968 @[ -f ./libtermcap/Makefile ] || exit 0; \
27969 r=`${PWD_COMMAND}`; export r; \
27970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27971 $(HOST_EXPORTS) \
27972 for flag in $(EXTRA_HOST_FLAGS) ; do \
27973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27974 done; \
27975 echo "Doing info in libtermcap" ; \
27976 (cd $(HOST_SUBDIR)/libtermcap && \
27977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27979 "RANLIB=$${RANLIB}" \
27980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27981 info) \
27982 || exit 1
27984 @endif libtermcap
27986 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27987 maybe-dvi-libtermcap:
27988 @if libtermcap
27989 maybe-dvi-libtermcap: dvi-libtermcap
27991 dvi-libtermcap: \
27992 configure-libtermcap
27993 @: $(MAKE); $(unstage)
27994 @[ -f ./libtermcap/Makefile ] || exit 0; \
27995 r=`${PWD_COMMAND}`; export r; \
27996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27997 $(HOST_EXPORTS) \
27998 for flag in $(EXTRA_HOST_FLAGS) ; do \
27999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28000 done; \
28001 echo "Doing dvi in libtermcap" ; \
28002 (cd $(HOST_SUBDIR)/libtermcap && \
28003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28005 "RANLIB=$${RANLIB}" \
28006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28007 dvi) \
28008 || exit 1
28010 @endif libtermcap
28012 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28013 maybe-pdf-libtermcap:
28014 @if libtermcap
28015 maybe-pdf-libtermcap: pdf-libtermcap
28017 pdf-libtermcap: \
28018 configure-libtermcap
28019 @: $(MAKE); $(unstage)
28020 @[ -f ./libtermcap/Makefile ] || exit 0; \
28021 r=`${PWD_COMMAND}`; export r; \
28022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28023 $(HOST_EXPORTS) \
28024 for flag in $(EXTRA_HOST_FLAGS) ; do \
28025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28026 done; \
28027 echo "Doing pdf in libtermcap" ; \
28028 (cd $(HOST_SUBDIR)/libtermcap && \
28029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28031 "RANLIB=$${RANLIB}" \
28032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28033 pdf) \
28034 || exit 1
28036 @endif libtermcap
28038 .PHONY: maybe-html-libtermcap html-libtermcap
28039 maybe-html-libtermcap:
28040 @if libtermcap
28041 maybe-html-libtermcap: html-libtermcap
28043 html-libtermcap: \
28044 configure-libtermcap
28045 @: $(MAKE); $(unstage)
28046 @[ -f ./libtermcap/Makefile ] || exit 0; \
28047 r=`${PWD_COMMAND}`; export r; \
28048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28049 $(HOST_EXPORTS) \
28050 for flag in $(EXTRA_HOST_FLAGS) ; do \
28051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28052 done; \
28053 echo "Doing html in libtermcap" ; \
28054 (cd $(HOST_SUBDIR)/libtermcap && \
28055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28057 "RANLIB=$${RANLIB}" \
28058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28059 html) \
28060 || exit 1
28062 @endif libtermcap
28064 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28065 maybe-TAGS-libtermcap:
28066 @if libtermcap
28067 maybe-TAGS-libtermcap: TAGS-libtermcap
28069 TAGS-libtermcap: \
28070 configure-libtermcap
28071 @: $(MAKE); $(unstage)
28072 @[ -f ./libtermcap/Makefile ] || exit 0; \
28073 r=`${PWD_COMMAND}`; export r; \
28074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28075 $(HOST_EXPORTS) \
28076 for flag in $(EXTRA_HOST_FLAGS) ; do \
28077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28078 done; \
28079 echo "Doing TAGS in libtermcap" ; \
28080 (cd $(HOST_SUBDIR)/libtermcap && \
28081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28083 "RANLIB=$${RANLIB}" \
28084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28085 TAGS) \
28086 || exit 1
28088 @endif libtermcap
28090 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28091 maybe-install-info-libtermcap:
28092 @if libtermcap
28093 maybe-install-info-libtermcap: install-info-libtermcap
28095 install-info-libtermcap: \
28096 configure-libtermcap \
28097 info-libtermcap
28098 @: $(MAKE); $(unstage)
28099 @[ -f ./libtermcap/Makefile ] || exit 0; \
28100 r=`${PWD_COMMAND}`; export r; \
28101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28102 $(HOST_EXPORTS) \
28103 for flag in $(EXTRA_HOST_FLAGS) ; do \
28104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28105 done; \
28106 echo "Doing install-info in libtermcap" ; \
28107 (cd $(HOST_SUBDIR)/libtermcap && \
28108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28110 "RANLIB=$${RANLIB}" \
28111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28112 install-info) \
28113 || exit 1
28115 @endif libtermcap
28117 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28118 maybe-install-pdf-libtermcap:
28119 @if libtermcap
28120 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28122 install-pdf-libtermcap: \
28123 configure-libtermcap \
28124 pdf-libtermcap
28125 @: $(MAKE); $(unstage)
28126 @[ -f ./libtermcap/Makefile ] || exit 0; \
28127 r=`${PWD_COMMAND}`; export r; \
28128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28129 $(HOST_EXPORTS) \
28130 for flag in $(EXTRA_HOST_FLAGS) ; do \
28131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28132 done; \
28133 echo "Doing install-pdf in libtermcap" ; \
28134 (cd $(HOST_SUBDIR)/libtermcap && \
28135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28137 "RANLIB=$${RANLIB}" \
28138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28139 install-pdf) \
28140 || exit 1
28142 @endif libtermcap
28144 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28145 maybe-install-html-libtermcap:
28146 @if libtermcap
28147 maybe-install-html-libtermcap: install-html-libtermcap
28149 install-html-libtermcap: \
28150 configure-libtermcap \
28151 html-libtermcap
28152 @: $(MAKE); $(unstage)
28153 @[ -f ./libtermcap/Makefile ] || exit 0; \
28154 r=`${PWD_COMMAND}`; export r; \
28155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28156 $(HOST_EXPORTS) \
28157 for flag in $(EXTRA_HOST_FLAGS) ; do \
28158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28159 done; \
28160 echo "Doing install-html in libtermcap" ; \
28161 (cd $(HOST_SUBDIR)/libtermcap && \
28162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28164 "RANLIB=$${RANLIB}" \
28165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28166 install-html) \
28167 || exit 1
28169 @endif libtermcap
28171 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28172 maybe-installcheck-libtermcap:
28173 @if libtermcap
28174 maybe-installcheck-libtermcap: installcheck-libtermcap
28176 installcheck-libtermcap: \
28177 configure-libtermcap
28178 @: $(MAKE); $(unstage)
28179 @[ -f ./libtermcap/Makefile ] || exit 0; \
28180 r=`${PWD_COMMAND}`; export r; \
28181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28182 $(HOST_EXPORTS) \
28183 for flag in $(EXTRA_HOST_FLAGS) ; do \
28184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28185 done; \
28186 echo "Doing installcheck in libtermcap" ; \
28187 (cd $(HOST_SUBDIR)/libtermcap && \
28188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28190 "RANLIB=$${RANLIB}" \
28191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28192 installcheck) \
28193 || exit 1
28195 @endif libtermcap
28197 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28198 maybe-mostlyclean-libtermcap:
28199 @if libtermcap
28200 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28202 # libtermcap doesn't support mostlyclean.
28203 mostlyclean-libtermcap:
28205 @endif libtermcap
28207 .PHONY: maybe-clean-libtermcap clean-libtermcap
28208 maybe-clean-libtermcap:
28209 @if libtermcap
28210 maybe-clean-libtermcap: clean-libtermcap
28212 # libtermcap doesn't support clean.
28213 clean-libtermcap:
28215 @endif libtermcap
28217 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28218 maybe-distclean-libtermcap:
28219 @if libtermcap
28220 maybe-distclean-libtermcap: distclean-libtermcap
28222 # libtermcap doesn't support distclean.
28223 distclean-libtermcap:
28225 @endif libtermcap
28227 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28228 maybe-maintainer-clean-libtermcap:
28229 @if libtermcap
28230 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28232 # libtermcap doesn't support maintainer-clean.
28233 maintainer-clean-libtermcap:
28235 @endif libtermcap
28239 .PHONY: configure-utils maybe-configure-utils
28240 maybe-configure-utils:
28241 @if gcc-bootstrap
28242 configure-utils: stage_current
28243 @endif gcc-bootstrap
28244 @if utils
28245 maybe-configure-utils: configure-utils
28246 configure-utils:
28247 @: $(MAKE); $(unstage)
28248 @r=`${PWD_COMMAND}`; export r; \
28249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28250 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28252 $(HOST_EXPORTS) \
28253 echo Configuring in $(HOST_SUBDIR)/utils; \
28254 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28255 case $(srcdir) in \
28256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28257 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28259 esac; \
28260 srcdiroption="--srcdir=$${topdir}/utils"; \
28261 libsrcdir="$$s/utils"; \
28262 $(SHELL) $${libsrcdir}/configure \
28263 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28264 --target=${target_alias} $${srcdiroption} \
28265 || exit 1
28266 @endif utils
28272 .PHONY: all-utils maybe-all-utils
28273 maybe-all-utils:
28274 @if gcc-bootstrap
28275 all-utils: stage_current
28276 @endif gcc-bootstrap
28277 @if utils
28278 TARGET-utils=all
28279 maybe-all-utils: all-utils
28280 all-utils: configure-utils
28281 @: $(MAKE); $(unstage)
28282 @r=`${PWD_COMMAND}`; export r; \
28283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28284 $(HOST_EXPORTS) \
28285 (cd $(HOST_SUBDIR)/utils && \
28286 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28287 $(TARGET-utils))
28288 @endif utils
28293 .PHONY: check-utils maybe-check-utils
28294 maybe-check-utils:
28295 @if utils
28296 maybe-check-utils: check-utils
28298 check-utils:
28300 @endif utils
28302 .PHONY: install-utils maybe-install-utils
28303 maybe-install-utils:
28304 @if utils
28305 maybe-install-utils: install-utils
28307 install-utils: installdirs
28308 @: $(MAKE); $(unstage)
28309 @r=`${PWD_COMMAND}`; export r; \
28310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28311 $(HOST_EXPORTS) \
28312 (cd $(HOST_SUBDIR)/utils && \
28313 $(MAKE) $(FLAGS_TO_PASS) install)
28315 @endif utils
28317 .PHONY: install-strip-utils maybe-install-strip-utils
28318 maybe-install-strip-utils:
28319 @if utils
28320 maybe-install-strip-utils: install-strip-utils
28322 install-strip-utils: installdirs
28323 @: $(MAKE); $(unstage)
28324 @r=`${PWD_COMMAND}`; export r; \
28325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28326 $(HOST_EXPORTS) \
28327 (cd $(HOST_SUBDIR)/utils && \
28328 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28330 @endif utils
28332 # Other targets (info, dvi, pdf, etc.)
28334 .PHONY: maybe-info-utils info-utils
28335 maybe-info-utils:
28336 @if utils
28337 maybe-info-utils: info-utils
28339 info-utils: \
28340 configure-utils
28341 @: $(MAKE); $(unstage)
28342 @[ -f ./utils/Makefile ] || exit 0; \
28343 r=`${PWD_COMMAND}`; export r; \
28344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28345 $(HOST_EXPORTS) \
28346 for flag in $(EXTRA_HOST_FLAGS) ; do \
28347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28348 done; \
28349 echo "Doing info in utils" ; \
28350 (cd $(HOST_SUBDIR)/utils && \
28351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28353 "RANLIB=$${RANLIB}" \
28354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28355 info) \
28356 || exit 1
28358 @endif utils
28360 .PHONY: maybe-dvi-utils dvi-utils
28361 maybe-dvi-utils:
28362 @if utils
28363 maybe-dvi-utils: dvi-utils
28365 dvi-utils: \
28366 configure-utils
28367 @: $(MAKE); $(unstage)
28368 @[ -f ./utils/Makefile ] || exit 0; \
28369 r=`${PWD_COMMAND}`; export r; \
28370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28371 $(HOST_EXPORTS) \
28372 for flag in $(EXTRA_HOST_FLAGS) ; do \
28373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28374 done; \
28375 echo "Doing dvi in utils" ; \
28376 (cd $(HOST_SUBDIR)/utils && \
28377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28379 "RANLIB=$${RANLIB}" \
28380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28381 dvi) \
28382 || exit 1
28384 @endif utils
28386 .PHONY: maybe-pdf-utils pdf-utils
28387 maybe-pdf-utils:
28388 @if utils
28389 maybe-pdf-utils: pdf-utils
28391 pdf-utils: \
28392 configure-utils
28393 @: $(MAKE); $(unstage)
28394 @[ -f ./utils/Makefile ] || exit 0; \
28395 r=`${PWD_COMMAND}`; export r; \
28396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28397 $(HOST_EXPORTS) \
28398 for flag in $(EXTRA_HOST_FLAGS) ; do \
28399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28400 done; \
28401 echo "Doing pdf in utils" ; \
28402 (cd $(HOST_SUBDIR)/utils && \
28403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28405 "RANLIB=$${RANLIB}" \
28406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28407 pdf) \
28408 || exit 1
28410 @endif utils
28412 .PHONY: maybe-html-utils html-utils
28413 maybe-html-utils:
28414 @if utils
28415 maybe-html-utils: html-utils
28417 html-utils: \
28418 configure-utils
28419 @: $(MAKE); $(unstage)
28420 @[ -f ./utils/Makefile ] || exit 0; \
28421 r=`${PWD_COMMAND}`; export r; \
28422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28423 $(HOST_EXPORTS) \
28424 for flag in $(EXTRA_HOST_FLAGS) ; do \
28425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28426 done; \
28427 echo "Doing html in utils" ; \
28428 (cd $(HOST_SUBDIR)/utils && \
28429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28431 "RANLIB=$${RANLIB}" \
28432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28433 html) \
28434 || exit 1
28436 @endif utils
28438 .PHONY: maybe-TAGS-utils TAGS-utils
28439 maybe-TAGS-utils:
28440 @if utils
28441 maybe-TAGS-utils: TAGS-utils
28443 TAGS-utils: \
28444 configure-utils
28445 @: $(MAKE); $(unstage)
28446 @[ -f ./utils/Makefile ] || exit 0; \
28447 r=`${PWD_COMMAND}`; export r; \
28448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28449 $(HOST_EXPORTS) \
28450 for flag in $(EXTRA_HOST_FLAGS) ; do \
28451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28452 done; \
28453 echo "Doing TAGS in utils" ; \
28454 (cd $(HOST_SUBDIR)/utils && \
28455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28457 "RANLIB=$${RANLIB}" \
28458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28459 TAGS) \
28460 || exit 1
28462 @endif utils
28464 .PHONY: maybe-install-info-utils install-info-utils
28465 maybe-install-info-utils:
28466 @if utils
28467 maybe-install-info-utils: install-info-utils
28469 install-info-utils: \
28470 configure-utils \
28471 info-utils
28472 @: $(MAKE); $(unstage)
28473 @[ -f ./utils/Makefile ] || exit 0; \
28474 r=`${PWD_COMMAND}`; export r; \
28475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28476 $(HOST_EXPORTS) \
28477 for flag in $(EXTRA_HOST_FLAGS) ; do \
28478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28479 done; \
28480 echo "Doing install-info in utils" ; \
28481 (cd $(HOST_SUBDIR)/utils && \
28482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28484 "RANLIB=$${RANLIB}" \
28485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28486 install-info) \
28487 || exit 1
28489 @endif utils
28491 .PHONY: maybe-install-pdf-utils install-pdf-utils
28492 maybe-install-pdf-utils:
28493 @if utils
28494 maybe-install-pdf-utils: install-pdf-utils
28496 install-pdf-utils: \
28497 configure-utils \
28498 pdf-utils
28499 @: $(MAKE); $(unstage)
28500 @[ -f ./utils/Makefile ] || exit 0; \
28501 r=`${PWD_COMMAND}`; export r; \
28502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28503 $(HOST_EXPORTS) \
28504 for flag in $(EXTRA_HOST_FLAGS) ; do \
28505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28506 done; \
28507 echo "Doing install-pdf in utils" ; \
28508 (cd $(HOST_SUBDIR)/utils && \
28509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28511 "RANLIB=$${RANLIB}" \
28512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28513 install-pdf) \
28514 || exit 1
28516 @endif utils
28518 .PHONY: maybe-install-html-utils install-html-utils
28519 maybe-install-html-utils:
28520 @if utils
28521 maybe-install-html-utils: install-html-utils
28523 install-html-utils: \
28524 configure-utils \
28525 html-utils
28526 @: $(MAKE); $(unstage)
28527 @[ -f ./utils/Makefile ] || exit 0; \
28528 r=`${PWD_COMMAND}`; export r; \
28529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28530 $(HOST_EXPORTS) \
28531 for flag in $(EXTRA_HOST_FLAGS) ; do \
28532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28533 done; \
28534 echo "Doing install-html in utils" ; \
28535 (cd $(HOST_SUBDIR)/utils && \
28536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28538 "RANLIB=$${RANLIB}" \
28539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28540 install-html) \
28541 || exit 1
28543 @endif utils
28545 .PHONY: maybe-installcheck-utils installcheck-utils
28546 maybe-installcheck-utils:
28547 @if utils
28548 maybe-installcheck-utils: installcheck-utils
28550 installcheck-utils: \
28551 configure-utils
28552 @: $(MAKE); $(unstage)
28553 @[ -f ./utils/Makefile ] || exit 0; \
28554 r=`${PWD_COMMAND}`; export r; \
28555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28556 $(HOST_EXPORTS) \
28557 for flag in $(EXTRA_HOST_FLAGS) ; do \
28558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28559 done; \
28560 echo "Doing installcheck in utils" ; \
28561 (cd $(HOST_SUBDIR)/utils && \
28562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28564 "RANLIB=$${RANLIB}" \
28565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28566 installcheck) \
28567 || exit 1
28569 @endif utils
28571 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28572 maybe-mostlyclean-utils:
28573 @if utils
28574 maybe-mostlyclean-utils: mostlyclean-utils
28576 mostlyclean-utils:
28577 @: $(MAKE); $(unstage)
28578 @[ -f ./utils/Makefile ] || exit 0; \
28579 r=`${PWD_COMMAND}`; export r; \
28580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28581 $(HOST_EXPORTS) \
28582 for flag in $(EXTRA_HOST_FLAGS) ; do \
28583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28584 done; \
28585 echo "Doing mostlyclean in utils" ; \
28586 (cd $(HOST_SUBDIR)/utils && \
28587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28589 "RANLIB=$${RANLIB}" \
28590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28591 mostlyclean) \
28592 || exit 1
28594 @endif utils
28596 .PHONY: maybe-clean-utils clean-utils
28597 maybe-clean-utils:
28598 @if utils
28599 maybe-clean-utils: clean-utils
28601 clean-utils:
28602 @: $(MAKE); $(unstage)
28603 @[ -f ./utils/Makefile ] || exit 0; \
28604 r=`${PWD_COMMAND}`; export r; \
28605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28606 $(HOST_EXPORTS) \
28607 for flag in $(EXTRA_HOST_FLAGS) ; do \
28608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28609 done; \
28610 echo "Doing clean in utils" ; \
28611 (cd $(HOST_SUBDIR)/utils && \
28612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28614 "RANLIB=$${RANLIB}" \
28615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28616 clean) \
28617 || exit 1
28619 @endif utils
28621 .PHONY: maybe-distclean-utils distclean-utils
28622 maybe-distclean-utils:
28623 @if utils
28624 maybe-distclean-utils: distclean-utils
28626 distclean-utils:
28627 @: $(MAKE); $(unstage)
28628 @[ -f ./utils/Makefile ] || exit 0; \
28629 r=`${PWD_COMMAND}`; export r; \
28630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28631 $(HOST_EXPORTS) \
28632 for flag in $(EXTRA_HOST_FLAGS) ; do \
28633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28634 done; \
28635 echo "Doing distclean in utils" ; \
28636 (cd $(HOST_SUBDIR)/utils && \
28637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28639 "RANLIB=$${RANLIB}" \
28640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28641 distclean) \
28642 || exit 1
28644 @endif utils
28646 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28647 maybe-maintainer-clean-utils:
28648 @if utils
28649 maybe-maintainer-clean-utils: maintainer-clean-utils
28651 maintainer-clean-utils:
28652 @: $(MAKE); $(unstage)
28653 @[ -f ./utils/Makefile ] || exit 0; \
28654 r=`${PWD_COMMAND}`; export r; \
28655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28656 $(HOST_EXPORTS) \
28657 for flag in $(EXTRA_HOST_FLAGS) ; do \
28658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28659 done; \
28660 echo "Doing maintainer-clean in utils" ; \
28661 (cd $(HOST_SUBDIR)/utils && \
28662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28664 "RANLIB=$${RANLIB}" \
28665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28666 maintainer-clean) \
28667 || exit 1
28669 @endif utils
28673 .PHONY: configure-gnattools maybe-configure-gnattools
28674 maybe-configure-gnattools:
28675 @if gcc-bootstrap
28676 configure-gnattools: stage_current
28677 @endif gcc-bootstrap
28678 @if gnattools
28679 maybe-configure-gnattools: configure-gnattools
28680 configure-gnattools:
28681 @: $(MAKE); $(unstage)
28682 @r=`${PWD_COMMAND}`; export r; \
28683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28684 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28686 $(HOST_EXPORTS) \
28687 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28688 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28689 case $(srcdir) in \
28690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28691 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28693 esac; \
28694 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28695 libsrcdir="$$s/gnattools"; \
28696 $(SHELL) $${libsrcdir}/configure \
28697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28698 --target=${target_alias} $${srcdiroption} \
28699 || exit 1
28700 @endif gnattools
28706 .PHONY: all-gnattools maybe-all-gnattools
28707 maybe-all-gnattools:
28708 @if gcc-bootstrap
28709 all-gnattools: stage_current
28710 @endif gcc-bootstrap
28711 @if gnattools
28712 TARGET-gnattools=all
28713 maybe-all-gnattools: all-gnattools
28714 all-gnattools: configure-gnattools
28715 @: $(MAKE); $(unstage)
28716 @r=`${PWD_COMMAND}`; export r; \
28717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28718 $(HOST_EXPORTS) \
28719 (cd $(HOST_SUBDIR)/gnattools && \
28720 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28721 $(TARGET-gnattools))
28722 @endif gnattools
28727 .PHONY: check-gnattools maybe-check-gnattools
28728 maybe-check-gnattools:
28729 @if gnattools
28730 maybe-check-gnattools: check-gnattools
28732 check-gnattools:
28733 @: $(MAKE); $(unstage)
28734 @r=`${PWD_COMMAND}`; export r; \
28735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28736 $(HOST_EXPORTS) \
28737 (cd $(HOST_SUBDIR)/gnattools && \
28738 $(MAKE) $(FLAGS_TO_PASS) check)
28740 @endif gnattools
28742 .PHONY: install-gnattools maybe-install-gnattools
28743 maybe-install-gnattools:
28744 @if gnattools
28745 maybe-install-gnattools: install-gnattools
28747 install-gnattools: installdirs
28748 @: $(MAKE); $(unstage)
28749 @r=`${PWD_COMMAND}`; export r; \
28750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28751 $(HOST_EXPORTS) \
28752 (cd $(HOST_SUBDIR)/gnattools && \
28753 $(MAKE) $(FLAGS_TO_PASS) install)
28755 @endif gnattools
28757 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28758 maybe-install-strip-gnattools:
28759 @if gnattools
28760 maybe-install-strip-gnattools: install-strip-gnattools
28762 install-strip-gnattools: installdirs
28763 @: $(MAKE); $(unstage)
28764 @r=`${PWD_COMMAND}`; export r; \
28765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28766 $(HOST_EXPORTS) \
28767 (cd $(HOST_SUBDIR)/gnattools && \
28768 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28770 @endif gnattools
28772 # Other targets (info, dvi, pdf, etc.)
28774 .PHONY: maybe-info-gnattools info-gnattools
28775 maybe-info-gnattools:
28776 @if gnattools
28777 maybe-info-gnattools: info-gnattools
28779 info-gnattools: \
28780 configure-gnattools
28781 @: $(MAKE); $(unstage)
28782 @[ -f ./gnattools/Makefile ] || exit 0; \
28783 r=`${PWD_COMMAND}`; export r; \
28784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28785 $(HOST_EXPORTS) \
28786 for flag in $(EXTRA_HOST_FLAGS) ; do \
28787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28788 done; \
28789 echo "Doing info in gnattools" ; \
28790 (cd $(HOST_SUBDIR)/gnattools && \
28791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28793 "RANLIB=$${RANLIB}" \
28794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28795 info) \
28796 || exit 1
28798 @endif gnattools
28800 .PHONY: maybe-dvi-gnattools dvi-gnattools
28801 maybe-dvi-gnattools:
28802 @if gnattools
28803 maybe-dvi-gnattools: dvi-gnattools
28805 dvi-gnattools: \
28806 configure-gnattools
28807 @: $(MAKE); $(unstage)
28808 @[ -f ./gnattools/Makefile ] || exit 0; \
28809 r=`${PWD_COMMAND}`; export r; \
28810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28811 $(HOST_EXPORTS) \
28812 for flag in $(EXTRA_HOST_FLAGS) ; do \
28813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28814 done; \
28815 echo "Doing dvi in gnattools" ; \
28816 (cd $(HOST_SUBDIR)/gnattools && \
28817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28819 "RANLIB=$${RANLIB}" \
28820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28821 dvi) \
28822 || exit 1
28824 @endif gnattools
28826 .PHONY: maybe-pdf-gnattools pdf-gnattools
28827 maybe-pdf-gnattools:
28828 @if gnattools
28829 maybe-pdf-gnattools: pdf-gnattools
28831 pdf-gnattools: \
28832 configure-gnattools
28833 @: $(MAKE); $(unstage)
28834 @[ -f ./gnattools/Makefile ] || exit 0; \
28835 r=`${PWD_COMMAND}`; export r; \
28836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28837 $(HOST_EXPORTS) \
28838 for flag in $(EXTRA_HOST_FLAGS) ; do \
28839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28840 done; \
28841 echo "Doing pdf in gnattools" ; \
28842 (cd $(HOST_SUBDIR)/gnattools && \
28843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28845 "RANLIB=$${RANLIB}" \
28846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28847 pdf) \
28848 || exit 1
28850 @endif gnattools
28852 .PHONY: maybe-html-gnattools html-gnattools
28853 maybe-html-gnattools:
28854 @if gnattools
28855 maybe-html-gnattools: html-gnattools
28857 html-gnattools: \
28858 configure-gnattools
28859 @: $(MAKE); $(unstage)
28860 @[ -f ./gnattools/Makefile ] || exit 0; \
28861 r=`${PWD_COMMAND}`; export r; \
28862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28863 $(HOST_EXPORTS) \
28864 for flag in $(EXTRA_HOST_FLAGS) ; do \
28865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28866 done; \
28867 echo "Doing html in gnattools" ; \
28868 (cd $(HOST_SUBDIR)/gnattools && \
28869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28871 "RANLIB=$${RANLIB}" \
28872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28873 html) \
28874 || exit 1
28876 @endif gnattools
28878 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28879 maybe-TAGS-gnattools:
28880 @if gnattools
28881 maybe-TAGS-gnattools: TAGS-gnattools
28883 TAGS-gnattools: \
28884 configure-gnattools
28885 @: $(MAKE); $(unstage)
28886 @[ -f ./gnattools/Makefile ] || exit 0; \
28887 r=`${PWD_COMMAND}`; export r; \
28888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28889 $(HOST_EXPORTS) \
28890 for flag in $(EXTRA_HOST_FLAGS) ; do \
28891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28892 done; \
28893 echo "Doing TAGS in gnattools" ; \
28894 (cd $(HOST_SUBDIR)/gnattools && \
28895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28897 "RANLIB=$${RANLIB}" \
28898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28899 TAGS) \
28900 || exit 1
28902 @endif gnattools
28904 .PHONY: maybe-install-info-gnattools install-info-gnattools
28905 maybe-install-info-gnattools:
28906 @if gnattools
28907 maybe-install-info-gnattools: install-info-gnattools
28909 install-info-gnattools: \
28910 configure-gnattools \
28911 info-gnattools
28912 @: $(MAKE); $(unstage)
28913 @[ -f ./gnattools/Makefile ] || exit 0; \
28914 r=`${PWD_COMMAND}`; export r; \
28915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28916 $(HOST_EXPORTS) \
28917 for flag in $(EXTRA_HOST_FLAGS) ; do \
28918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28919 done; \
28920 echo "Doing install-info in gnattools" ; \
28921 (cd $(HOST_SUBDIR)/gnattools && \
28922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28924 "RANLIB=$${RANLIB}" \
28925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28926 install-info) \
28927 || exit 1
28929 @endif gnattools
28931 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28932 maybe-install-pdf-gnattools:
28933 @if gnattools
28934 maybe-install-pdf-gnattools: install-pdf-gnattools
28936 install-pdf-gnattools: \
28937 configure-gnattools \
28938 pdf-gnattools
28939 @: $(MAKE); $(unstage)
28940 @[ -f ./gnattools/Makefile ] || exit 0; \
28941 r=`${PWD_COMMAND}`; export r; \
28942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28943 $(HOST_EXPORTS) \
28944 for flag in $(EXTRA_HOST_FLAGS) ; do \
28945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28946 done; \
28947 echo "Doing install-pdf in gnattools" ; \
28948 (cd $(HOST_SUBDIR)/gnattools && \
28949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28951 "RANLIB=$${RANLIB}" \
28952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28953 install-pdf) \
28954 || exit 1
28956 @endif gnattools
28958 .PHONY: maybe-install-html-gnattools install-html-gnattools
28959 maybe-install-html-gnattools:
28960 @if gnattools
28961 maybe-install-html-gnattools: install-html-gnattools
28963 install-html-gnattools: \
28964 configure-gnattools \
28965 html-gnattools
28966 @: $(MAKE); $(unstage)
28967 @[ -f ./gnattools/Makefile ] || exit 0; \
28968 r=`${PWD_COMMAND}`; export r; \
28969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28970 $(HOST_EXPORTS) \
28971 for flag in $(EXTRA_HOST_FLAGS) ; do \
28972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28973 done; \
28974 echo "Doing install-html in gnattools" ; \
28975 (cd $(HOST_SUBDIR)/gnattools && \
28976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28978 "RANLIB=$${RANLIB}" \
28979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28980 install-html) \
28981 || exit 1
28983 @endif gnattools
28985 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28986 maybe-installcheck-gnattools:
28987 @if gnattools
28988 maybe-installcheck-gnattools: installcheck-gnattools
28990 installcheck-gnattools: \
28991 configure-gnattools
28992 @: $(MAKE); $(unstage)
28993 @[ -f ./gnattools/Makefile ] || exit 0; \
28994 r=`${PWD_COMMAND}`; export r; \
28995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28996 $(HOST_EXPORTS) \
28997 for flag in $(EXTRA_HOST_FLAGS) ; do \
28998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28999 done; \
29000 echo "Doing installcheck in gnattools" ; \
29001 (cd $(HOST_SUBDIR)/gnattools && \
29002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29004 "RANLIB=$${RANLIB}" \
29005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29006 installcheck) \
29007 || exit 1
29009 @endif gnattools
29011 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29012 maybe-mostlyclean-gnattools:
29013 @if gnattools
29014 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29016 mostlyclean-gnattools:
29017 @: $(MAKE); $(unstage)
29018 @[ -f ./gnattools/Makefile ] || exit 0; \
29019 r=`${PWD_COMMAND}`; export r; \
29020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29021 $(HOST_EXPORTS) \
29022 for flag in $(EXTRA_HOST_FLAGS) ; do \
29023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29024 done; \
29025 echo "Doing mostlyclean in gnattools" ; \
29026 (cd $(HOST_SUBDIR)/gnattools && \
29027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29029 "RANLIB=$${RANLIB}" \
29030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29031 mostlyclean) \
29032 || exit 1
29034 @endif gnattools
29036 .PHONY: maybe-clean-gnattools clean-gnattools
29037 maybe-clean-gnattools:
29038 @if gnattools
29039 maybe-clean-gnattools: clean-gnattools
29041 clean-gnattools:
29042 @: $(MAKE); $(unstage)
29043 @[ -f ./gnattools/Makefile ] || exit 0; \
29044 r=`${PWD_COMMAND}`; export r; \
29045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29046 $(HOST_EXPORTS) \
29047 for flag in $(EXTRA_HOST_FLAGS) ; do \
29048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29049 done; \
29050 echo "Doing clean in gnattools" ; \
29051 (cd $(HOST_SUBDIR)/gnattools && \
29052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29054 "RANLIB=$${RANLIB}" \
29055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29056 clean) \
29057 || exit 1
29059 @endif gnattools
29061 .PHONY: maybe-distclean-gnattools distclean-gnattools
29062 maybe-distclean-gnattools:
29063 @if gnattools
29064 maybe-distclean-gnattools: distclean-gnattools
29066 distclean-gnattools:
29067 @: $(MAKE); $(unstage)
29068 @[ -f ./gnattools/Makefile ] || exit 0; \
29069 r=`${PWD_COMMAND}`; export r; \
29070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29071 $(HOST_EXPORTS) \
29072 for flag in $(EXTRA_HOST_FLAGS) ; do \
29073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29074 done; \
29075 echo "Doing distclean in gnattools" ; \
29076 (cd $(HOST_SUBDIR)/gnattools && \
29077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29079 "RANLIB=$${RANLIB}" \
29080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29081 distclean) \
29082 || exit 1
29084 @endif gnattools
29086 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29087 maybe-maintainer-clean-gnattools:
29088 @if gnattools
29089 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29091 maintainer-clean-gnattools:
29092 @: $(MAKE); $(unstage)
29093 @[ -f ./gnattools/Makefile ] || exit 0; \
29094 r=`${PWD_COMMAND}`; export r; \
29095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29096 $(HOST_EXPORTS) \
29097 for flag in $(EXTRA_HOST_FLAGS) ; do \
29098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29099 done; \
29100 echo "Doing maintainer-clean in gnattools" ; \
29101 (cd $(HOST_SUBDIR)/gnattools && \
29102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29104 "RANLIB=$${RANLIB}" \
29105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29106 maintainer-clean) \
29107 || exit 1
29109 @endif gnattools
29113 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29114 maybe-configure-lto-plugin:
29115 @if gcc-bootstrap
29116 configure-lto-plugin: stage_current
29117 @endif gcc-bootstrap
29118 @if lto-plugin
29119 maybe-configure-lto-plugin: configure-lto-plugin
29120 configure-lto-plugin:
29121 @r=`${PWD_COMMAND}`; export r; \
29122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29123 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29125 $(HOST_EXPORTS) \
29126 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29127 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29128 case $(srcdir) in \
29129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29130 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29132 esac; \
29133 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29134 libsrcdir="$$s/lto-plugin"; \
29135 $(SHELL) $${libsrcdir}/configure \
29136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29137 --target=${target_alias} $${srcdiroption} --enable-shared \
29138 || exit 1
29139 @endif lto-plugin
29143 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29144 maybe-configure-stage1-lto-plugin:
29145 @if lto-plugin-bootstrap
29146 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29147 configure-stage1-lto-plugin:
29148 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29150 @r=`${PWD_COMMAND}`; export r; \
29151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29152 TFLAGS="$(STAGE1_TFLAGS)"; \
29153 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29154 $(HOST_EXPORTS) \
29155 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29156 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29157 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29158 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29160 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29161 case $(srcdir) in \
29162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29163 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29165 esac; \
29166 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29167 libsrcdir="$$s/lto-plugin"; \
29168 $(SHELL) $${libsrcdir}/configure \
29169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29170 --target=${target_alias} $${srcdiroption} \
29171 $(STAGE1_CONFIGURE_FLAGS) \
29172 --enable-shared
29173 @endif lto-plugin-bootstrap
29175 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29176 maybe-configure-stage2-lto-plugin:
29177 @if lto-plugin-bootstrap
29178 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29179 configure-stage2-lto-plugin:
29180 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29182 @r=`${PWD_COMMAND}`; export r; \
29183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29184 TFLAGS="$(STAGE2_TFLAGS)"; \
29185 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29186 $(HOST_EXPORTS) \
29187 $(POSTSTAGE1_HOST_EXPORTS) \
29188 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29189 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29190 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29191 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29193 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29194 case $(srcdir) in \
29195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29196 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29198 esac; \
29199 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29200 libsrcdir="$$s/lto-plugin"; \
29201 $(SHELL) $${libsrcdir}/configure \
29202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29203 --target=${target_alias} $${srcdiroption} \
29204 --with-build-libsubdir=$(HOST_SUBDIR) \
29205 $(STAGE2_CONFIGURE_FLAGS) \
29206 --enable-shared
29207 @endif lto-plugin-bootstrap
29209 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29210 maybe-configure-stage3-lto-plugin:
29211 @if lto-plugin-bootstrap
29212 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29213 configure-stage3-lto-plugin:
29214 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29216 @r=`${PWD_COMMAND}`; export r; \
29217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29218 TFLAGS="$(STAGE3_TFLAGS)"; \
29219 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29220 $(HOST_EXPORTS) \
29221 $(POSTSTAGE1_HOST_EXPORTS) \
29222 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29223 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29224 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29225 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29227 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29228 case $(srcdir) in \
29229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29230 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29232 esac; \
29233 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29234 libsrcdir="$$s/lto-plugin"; \
29235 $(SHELL) $${libsrcdir}/configure \
29236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29237 --target=${target_alias} $${srcdiroption} \
29238 --with-build-libsubdir=$(HOST_SUBDIR) \
29239 $(STAGE3_CONFIGURE_FLAGS) \
29240 --enable-shared
29241 @endif lto-plugin-bootstrap
29243 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29244 maybe-configure-stage4-lto-plugin:
29245 @if lto-plugin-bootstrap
29246 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29247 configure-stage4-lto-plugin:
29248 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29250 @r=`${PWD_COMMAND}`; export r; \
29251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29252 TFLAGS="$(STAGE4_TFLAGS)"; \
29253 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29254 $(HOST_EXPORTS) \
29255 $(POSTSTAGE1_HOST_EXPORTS) \
29256 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29257 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29258 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29259 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29261 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29262 case $(srcdir) in \
29263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29264 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29266 esac; \
29267 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29268 libsrcdir="$$s/lto-plugin"; \
29269 $(SHELL) $${libsrcdir}/configure \
29270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29271 --target=${target_alias} $${srcdiroption} \
29272 --with-build-libsubdir=$(HOST_SUBDIR) \
29273 $(STAGE4_CONFIGURE_FLAGS) \
29274 --enable-shared
29275 @endif lto-plugin-bootstrap
29277 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29278 maybe-configure-stageprofile-lto-plugin:
29279 @if lto-plugin-bootstrap
29280 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29281 configure-stageprofile-lto-plugin:
29282 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29283 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29284 @r=`${PWD_COMMAND}`; export r; \
29285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29286 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29287 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29288 $(HOST_EXPORTS) \
29289 $(POSTSTAGE1_HOST_EXPORTS) \
29290 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29291 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29292 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29293 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29295 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29296 case $(srcdir) in \
29297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29298 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29300 esac; \
29301 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29302 libsrcdir="$$s/lto-plugin"; \
29303 $(SHELL) $${libsrcdir}/configure \
29304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29305 --target=${target_alias} $${srcdiroption} \
29306 --with-build-libsubdir=$(HOST_SUBDIR) \
29307 $(STAGEprofile_CONFIGURE_FLAGS) \
29308 --enable-shared
29309 @endif lto-plugin-bootstrap
29311 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29312 maybe-configure-stagefeedback-lto-plugin:
29313 @if lto-plugin-bootstrap
29314 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29315 configure-stagefeedback-lto-plugin:
29316 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29318 @r=`${PWD_COMMAND}`; export r; \
29319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29320 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29321 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29322 $(HOST_EXPORTS) \
29323 $(POSTSTAGE1_HOST_EXPORTS) \
29324 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29325 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29326 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29327 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29329 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29330 case $(srcdir) in \
29331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29332 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29334 esac; \
29335 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29336 libsrcdir="$$s/lto-plugin"; \
29337 $(SHELL) $${libsrcdir}/configure \
29338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29339 --target=${target_alias} $${srcdiroption} \
29340 --with-build-libsubdir=$(HOST_SUBDIR) \
29341 $(STAGEfeedback_CONFIGURE_FLAGS) \
29342 --enable-shared
29343 @endif lto-plugin-bootstrap
29349 .PHONY: all-lto-plugin maybe-all-lto-plugin
29350 maybe-all-lto-plugin:
29351 @if gcc-bootstrap
29352 all-lto-plugin: stage_current
29353 @endif gcc-bootstrap
29354 @if lto-plugin
29355 TARGET-lto-plugin=all
29356 maybe-all-lto-plugin: all-lto-plugin
29357 all-lto-plugin: configure-lto-plugin
29358 @r=`${PWD_COMMAND}`; export r; \
29359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29360 $(HOST_EXPORTS) \
29361 (cd $(HOST_SUBDIR)/lto-plugin && \
29362 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29363 $(TARGET-lto-plugin))
29364 @endif lto-plugin
29368 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29369 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29370 maybe-all-stage1-lto-plugin:
29371 maybe-clean-stage1-lto-plugin:
29372 @if lto-plugin-bootstrap
29373 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29374 all-stage1: all-stage1-lto-plugin
29375 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29376 all-stage1-lto-plugin: configure-stage1-lto-plugin
29377 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29378 @r=`${PWD_COMMAND}`; export r; \
29379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29380 TFLAGS="$(STAGE1_TFLAGS)"; \
29381 $(HOST_EXPORTS) \
29382 cd $(HOST_SUBDIR)/lto-plugin && \
29383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29384 CFLAGS="$(STAGE1_CFLAGS)" \
29385 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29386 LIBCFLAGS="$(LIBCFLAGS)" \
29387 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29388 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29389 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29390 $(EXTRA_HOST_FLAGS) \
29391 TFLAGS="$(STAGE1_TFLAGS)" \
29392 $(TARGET-stage1-lto-plugin)
29394 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29395 clean-stage1: clean-stage1-lto-plugin
29396 clean-stage1-lto-plugin:
29397 @if [ $(current_stage) = stage1 ]; then \
29398 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29399 else \
29400 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29401 $(MAKE) stage1-start; \
29402 fi; \
29403 cd $(HOST_SUBDIR)/lto-plugin && \
29404 $(MAKE) $(EXTRA_HOST_FLAGS) \
29405 clean
29406 @endif lto-plugin-bootstrap
29409 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29410 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29411 maybe-all-stage2-lto-plugin:
29412 maybe-clean-stage2-lto-plugin:
29413 @if lto-plugin-bootstrap
29414 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29415 all-stage2: all-stage2-lto-plugin
29416 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29417 all-stage2-lto-plugin: configure-stage2-lto-plugin
29418 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29419 @r=`${PWD_COMMAND}`; export r; \
29420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29421 TFLAGS="$(STAGE2_TFLAGS)"; \
29422 $(HOST_EXPORTS) \
29423 $(POSTSTAGE1_HOST_EXPORTS) \
29424 cd $(HOST_SUBDIR)/lto-plugin && \
29425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29426 CFLAGS="$(STAGE2_CFLAGS)" \
29427 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29428 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29432 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29433 TFLAGS="$(STAGE2_TFLAGS)" \
29434 $(TARGET-stage2-lto-plugin)
29436 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29437 clean-stage2: clean-stage2-lto-plugin
29438 clean-stage2-lto-plugin:
29439 @if [ $(current_stage) = stage2 ]; then \
29440 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29441 else \
29442 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29443 $(MAKE) stage2-start; \
29444 fi; \
29445 cd $(HOST_SUBDIR)/lto-plugin && \
29446 $(MAKE) $(EXTRA_HOST_FLAGS) \
29447 $(POSTSTAGE1_FLAGS_TO_PASS) \
29448 clean
29449 @endif lto-plugin-bootstrap
29452 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29453 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29454 maybe-all-stage3-lto-plugin:
29455 maybe-clean-stage3-lto-plugin:
29456 @if lto-plugin-bootstrap
29457 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29458 all-stage3: all-stage3-lto-plugin
29459 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29460 all-stage3-lto-plugin: configure-stage3-lto-plugin
29461 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29462 @r=`${PWD_COMMAND}`; export r; \
29463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29464 TFLAGS="$(STAGE3_TFLAGS)"; \
29465 $(HOST_EXPORTS) \
29466 $(POSTSTAGE1_HOST_EXPORTS) \
29467 cd $(HOST_SUBDIR)/lto-plugin && \
29468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29469 CFLAGS="$(STAGE3_CFLAGS)" \
29470 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29471 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29476 TFLAGS="$(STAGE3_TFLAGS)" \
29477 $(TARGET-stage3-lto-plugin)
29479 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29480 clean-stage3: clean-stage3-lto-plugin
29481 clean-stage3-lto-plugin:
29482 @if [ $(current_stage) = stage3 ]; then \
29483 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29484 else \
29485 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29486 $(MAKE) stage3-start; \
29487 fi; \
29488 cd $(HOST_SUBDIR)/lto-plugin && \
29489 $(MAKE) $(EXTRA_HOST_FLAGS) \
29490 $(POSTSTAGE1_FLAGS_TO_PASS) \
29491 clean
29492 @endif lto-plugin-bootstrap
29495 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29496 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29497 maybe-all-stage4-lto-plugin:
29498 maybe-clean-stage4-lto-plugin:
29499 @if lto-plugin-bootstrap
29500 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29501 all-stage4: all-stage4-lto-plugin
29502 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29503 all-stage4-lto-plugin: configure-stage4-lto-plugin
29504 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29505 @r=`${PWD_COMMAND}`; export r; \
29506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29507 TFLAGS="$(STAGE4_TFLAGS)"; \
29508 $(HOST_EXPORTS) \
29509 $(POSTSTAGE1_HOST_EXPORTS) \
29510 cd $(HOST_SUBDIR)/lto-plugin && \
29511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29512 CFLAGS="$(STAGE4_CFLAGS)" \
29513 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29514 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29519 TFLAGS="$(STAGE4_TFLAGS)" \
29520 $(TARGET-stage4-lto-plugin)
29522 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29523 clean-stage4: clean-stage4-lto-plugin
29524 clean-stage4-lto-plugin:
29525 @if [ $(current_stage) = stage4 ]; then \
29526 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29527 else \
29528 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29529 $(MAKE) stage4-start; \
29530 fi; \
29531 cd $(HOST_SUBDIR)/lto-plugin && \
29532 $(MAKE) $(EXTRA_HOST_FLAGS) \
29533 $(POSTSTAGE1_FLAGS_TO_PASS) \
29534 clean
29535 @endif lto-plugin-bootstrap
29538 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29539 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29540 maybe-all-stageprofile-lto-plugin:
29541 maybe-clean-stageprofile-lto-plugin:
29542 @if lto-plugin-bootstrap
29543 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29544 all-stageprofile: all-stageprofile-lto-plugin
29545 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29546 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29547 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29548 @r=`${PWD_COMMAND}`; export r; \
29549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29550 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29551 $(HOST_EXPORTS) \
29552 $(POSTSTAGE1_HOST_EXPORTS) \
29553 cd $(HOST_SUBDIR)/lto-plugin && \
29554 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29555 CFLAGS="$(STAGEprofile_CFLAGS)" \
29556 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29557 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29561 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29562 TFLAGS="$(STAGEprofile_TFLAGS)" \
29563 $(TARGET-stageprofile-lto-plugin)
29565 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29566 clean-stageprofile: clean-stageprofile-lto-plugin
29567 clean-stageprofile-lto-plugin:
29568 @if [ $(current_stage) = stageprofile ]; then \
29569 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29570 else \
29571 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29572 $(MAKE) stageprofile-start; \
29573 fi; \
29574 cd $(HOST_SUBDIR)/lto-plugin && \
29575 $(MAKE) $(EXTRA_HOST_FLAGS) \
29576 $(POSTSTAGE1_FLAGS_TO_PASS) \
29577 clean
29578 @endif lto-plugin-bootstrap
29581 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29582 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29583 maybe-all-stagefeedback-lto-plugin:
29584 maybe-clean-stagefeedback-lto-plugin:
29585 @if lto-plugin-bootstrap
29586 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29587 all-stagefeedback: all-stagefeedback-lto-plugin
29588 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29589 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29590 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29591 @r=`${PWD_COMMAND}`; export r; \
29592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29593 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29594 $(HOST_EXPORTS) \
29595 $(POSTSTAGE1_HOST_EXPORTS) \
29596 cd $(HOST_SUBDIR)/lto-plugin && \
29597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29598 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29599 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29600 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29604 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29605 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29606 $(TARGET-stagefeedback-lto-plugin)
29608 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29609 clean-stagefeedback: clean-stagefeedback-lto-plugin
29610 clean-stagefeedback-lto-plugin:
29611 @if [ $(current_stage) = stagefeedback ]; then \
29612 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29613 else \
29614 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29615 $(MAKE) stagefeedback-start; \
29616 fi; \
29617 cd $(HOST_SUBDIR)/lto-plugin && \
29618 $(MAKE) $(EXTRA_HOST_FLAGS) \
29619 $(POSTSTAGE1_FLAGS_TO_PASS) \
29620 clean
29621 @endif lto-plugin-bootstrap
29627 .PHONY: check-lto-plugin maybe-check-lto-plugin
29628 maybe-check-lto-plugin:
29629 @if lto-plugin
29630 maybe-check-lto-plugin: check-lto-plugin
29632 check-lto-plugin:
29633 @: $(MAKE); $(unstage)
29634 @r=`${PWD_COMMAND}`; export r; \
29635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29636 $(HOST_EXPORTS) \
29637 (cd $(HOST_SUBDIR)/lto-plugin && \
29638 $(MAKE) $(FLAGS_TO_PASS) check)
29640 @endif lto-plugin
29642 .PHONY: install-lto-plugin maybe-install-lto-plugin
29643 maybe-install-lto-plugin:
29644 @if lto-plugin
29645 maybe-install-lto-plugin: install-lto-plugin
29647 install-lto-plugin: installdirs
29648 @: $(MAKE); $(unstage)
29649 @r=`${PWD_COMMAND}`; export r; \
29650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29651 $(HOST_EXPORTS) \
29652 (cd $(HOST_SUBDIR)/lto-plugin && \
29653 $(MAKE) $(FLAGS_TO_PASS) install)
29655 @endif lto-plugin
29657 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29658 maybe-install-strip-lto-plugin:
29659 @if lto-plugin
29660 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29662 install-strip-lto-plugin: installdirs
29663 @: $(MAKE); $(unstage)
29664 @r=`${PWD_COMMAND}`; export r; \
29665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29666 $(HOST_EXPORTS) \
29667 (cd $(HOST_SUBDIR)/lto-plugin && \
29668 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29670 @endif lto-plugin
29672 # Other targets (info, dvi, pdf, etc.)
29674 .PHONY: maybe-info-lto-plugin info-lto-plugin
29675 maybe-info-lto-plugin:
29676 @if lto-plugin
29677 maybe-info-lto-plugin: info-lto-plugin
29679 info-lto-plugin: \
29680 configure-lto-plugin
29681 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29682 r=`${PWD_COMMAND}`; export r; \
29683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29684 $(HOST_EXPORTS) \
29685 for flag in $(EXTRA_HOST_FLAGS) ; do \
29686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29687 done; \
29688 echo "Doing info in lto-plugin" ; \
29689 (cd $(HOST_SUBDIR)/lto-plugin && \
29690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29692 "RANLIB=$${RANLIB}" \
29693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29694 info) \
29695 || exit 1
29697 @endif lto-plugin
29699 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29700 maybe-dvi-lto-plugin:
29701 @if lto-plugin
29702 maybe-dvi-lto-plugin: dvi-lto-plugin
29704 dvi-lto-plugin: \
29705 configure-lto-plugin
29706 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29707 r=`${PWD_COMMAND}`; export r; \
29708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29709 $(HOST_EXPORTS) \
29710 for flag in $(EXTRA_HOST_FLAGS) ; do \
29711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29712 done; \
29713 echo "Doing dvi in lto-plugin" ; \
29714 (cd $(HOST_SUBDIR)/lto-plugin && \
29715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29717 "RANLIB=$${RANLIB}" \
29718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29719 dvi) \
29720 || exit 1
29722 @endif lto-plugin
29724 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29725 maybe-pdf-lto-plugin:
29726 @if lto-plugin
29727 maybe-pdf-lto-plugin: pdf-lto-plugin
29729 pdf-lto-plugin: \
29730 configure-lto-plugin
29731 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29732 r=`${PWD_COMMAND}`; export r; \
29733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29734 $(HOST_EXPORTS) \
29735 for flag in $(EXTRA_HOST_FLAGS) ; do \
29736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29737 done; \
29738 echo "Doing pdf in lto-plugin" ; \
29739 (cd $(HOST_SUBDIR)/lto-plugin && \
29740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29742 "RANLIB=$${RANLIB}" \
29743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29744 pdf) \
29745 || exit 1
29747 @endif lto-plugin
29749 .PHONY: maybe-html-lto-plugin html-lto-plugin
29750 maybe-html-lto-plugin:
29751 @if lto-plugin
29752 maybe-html-lto-plugin: html-lto-plugin
29754 html-lto-plugin: \
29755 configure-lto-plugin
29756 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29757 r=`${PWD_COMMAND}`; export r; \
29758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29759 $(HOST_EXPORTS) \
29760 for flag in $(EXTRA_HOST_FLAGS) ; do \
29761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29762 done; \
29763 echo "Doing html in lto-plugin" ; \
29764 (cd $(HOST_SUBDIR)/lto-plugin && \
29765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29767 "RANLIB=$${RANLIB}" \
29768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29769 html) \
29770 || exit 1
29772 @endif lto-plugin
29774 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29775 maybe-TAGS-lto-plugin:
29776 @if lto-plugin
29777 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29779 TAGS-lto-plugin: \
29780 configure-lto-plugin
29781 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29782 r=`${PWD_COMMAND}`; export r; \
29783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29784 $(HOST_EXPORTS) \
29785 for flag in $(EXTRA_HOST_FLAGS) ; do \
29786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29787 done; \
29788 echo "Doing TAGS in lto-plugin" ; \
29789 (cd $(HOST_SUBDIR)/lto-plugin && \
29790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29792 "RANLIB=$${RANLIB}" \
29793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29794 TAGS) \
29795 || exit 1
29797 @endif lto-plugin
29799 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29800 maybe-install-info-lto-plugin:
29801 @if lto-plugin
29802 maybe-install-info-lto-plugin: install-info-lto-plugin
29804 install-info-lto-plugin: \
29805 configure-lto-plugin \
29806 info-lto-plugin
29807 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29808 r=`${PWD_COMMAND}`; export r; \
29809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29810 $(HOST_EXPORTS) \
29811 for flag in $(EXTRA_HOST_FLAGS) ; do \
29812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29813 done; \
29814 echo "Doing install-info in lto-plugin" ; \
29815 (cd $(HOST_SUBDIR)/lto-plugin && \
29816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29818 "RANLIB=$${RANLIB}" \
29819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29820 install-info) \
29821 || exit 1
29823 @endif lto-plugin
29825 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29826 maybe-install-pdf-lto-plugin:
29827 @if lto-plugin
29828 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29830 install-pdf-lto-plugin: \
29831 configure-lto-plugin \
29832 pdf-lto-plugin
29833 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29834 r=`${PWD_COMMAND}`; export r; \
29835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29836 $(HOST_EXPORTS) \
29837 for flag in $(EXTRA_HOST_FLAGS) ; do \
29838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29839 done; \
29840 echo "Doing install-pdf in lto-plugin" ; \
29841 (cd $(HOST_SUBDIR)/lto-plugin && \
29842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29844 "RANLIB=$${RANLIB}" \
29845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29846 install-pdf) \
29847 || exit 1
29849 @endif lto-plugin
29851 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29852 maybe-install-html-lto-plugin:
29853 @if lto-plugin
29854 maybe-install-html-lto-plugin: install-html-lto-plugin
29856 install-html-lto-plugin: \
29857 configure-lto-plugin \
29858 html-lto-plugin
29859 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29860 r=`${PWD_COMMAND}`; export r; \
29861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29862 $(HOST_EXPORTS) \
29863 for flag in $(EXTRA_HOST_FLAGS) ; do \
29864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29865 done; \
29866 echo "Doing install-html in lto-plugin" ; \
29867 (cd $(HOST_SUBDIR)/lto-plugin && \
29868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29870 "RANLIB=$${RANLIB}" \
29871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29872 install-html) \
29873 || exit 1
29875 @endif lto-plugin
29877 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29878 maybe-installcheck-lto-plugin:
29879 @if lto-plugin
29880 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29882 installcheck-lto-plugin: \
29883 configure-lto-plugin
29884 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29885 r=`${PWD_COMMAND}`; export r; \
29886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29887 $(HOST_EXPORTS) \
29888 for flag in $(EXTRA_HOST_FLAGS) ; do \
29889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29890 done; \
29891 echo "Doing installcheck in lto-plugin" ; \
29892 (cd $(HOST_SUBDIR)/lto-plugin && \
29893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29895 "RANLIB=$${RANLIB}" \
29896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29897 installcheck) \
29898 || exit 1
29900 @endif lto-plugin
29902 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29903 maybe-mostlyclean-lto-plugin:
29904 @if lto-plugin
29905 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29907 mostlyclean-lto-plugin:
29908 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29909 r=`${PWD_COMMAND}`; export r; \
29910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29911 $(HOST_EXPORTS) \
29912 for flag in $(EXTRA_HOST_FLAGS) ; do \
29913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29914 done; \
29915 echo "Doing mostlyclean in lto-plugin" ; \
29916 (cd $(HOST_SUBDIR)/lto-plugin && \
29917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29919 "RANLIB=$${RANLIB}" \
29920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29921 mostlyclean) \
29922 || exit 1
29924 @endif lto-plugin
29926 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29927 maybe-clean-lto-plugin:
29928 @if lto-plugin
29929 maybe-clean-lto-plugin: clean-lto-plugin
29931 clean-lto-plugin:
29932 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29933 r=`${PWD_COMMAND}`; export r; \
29934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29935 $(HOST_EXPORTS) \
29936 for flag in $(EXTRA_HOST_FLAGS) ; do \
29937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29938 done; \
29939 echo "Doing clean in lto-plugin" ; \
29940 (cd $(HOST_SUBDIR)/lto-plugin && \
29941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29943 "RANLIB=$${RANLIB}" \
29944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29945 clean) \
29946 || exit 1
29948 @endif lto-plugin
29950 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29951 maybe-distclean-lto-plugin:
29952 @if lto-plugin
29953 maybe-distclean-lto-plugin: distclean-lto-plugin
29955 distclean-lto-plugin:
29956 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29957 r=`${PWD_COMMAND}`; export r; \
29958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29959 $(HOST_EXPORTS) \
29960 for flag in $(EXTRA_HOST_FLAGS) ; do \
29961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29962 done; \
29963 echo "Doing distclean in lto-plugin" ; \
29964 (cd $(HOST_SUBDIR)/lto-plugin && \
29965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29967 "RANLIB=$${RANLIB}" \
29968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29969 distclean) \
29970 || exit 1
29972 @endif lto-plugin
29974 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29975 maybe-maintainer-clean-lto-plugin:
29976 @if lto-plugin
29977 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29979 maintainer-clean-lto-plugin:
29980 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29981 r=`${PWD_COMMAND}`; export r; \
29982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29983 $(HOST_EXPORTS) \
29984 for flag in $(EXTRA_HOST_FLAGS) ; do \
29985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29986 done; \
29987 echo "Doing maintainer-clean in lto-plugin" ; \
29988 (cd $(HOST_SUBDIR)/lto-plugin && \
29989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29991 "RANLIB=$${RANLIB}" \
29992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29993 maintainer-clean) \
29994 || exit 1
29996 @endif lto-plugin
30000 .PHONY: configure-function_reordering_plugin maybe-configure-function_reordering_plugin
30001 maybe-configure-function_reordering_plugin:
30002 @if gcc-bootstrap
30003 configure-function_reordering_plugin: stage_current
30004 @endif gcc-bootstrap
30005 @if function_reordering_plugin
30006 maybe-configure-function_reordering_plugin: configure-function_reordering_plugin
30007 configure-function_reordering_plugin:
30008 @r=`${PWD_COMMAND}`; export r; \
30009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30010 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30011 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30012 $(HOST_EXPORTS) \
30013 echo Configuring in $(HOST_SUBDIR)/function_reordering_plugin; \
30014 cd "$(HOST_SUBDIR)/function_reordering_plugin" || exit 1; \
30015 case $(srcdir) in \
30016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30017 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30019 esac; \
30020 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30021 libsrcdir="$$s/function_reordering_plugin"; \
30022 $(SHELL) $${libsrcdir}/configure \
30023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30024 --target=${target_alias} $${srcdiroption} --enable-shared \
30025 || exit 1
30026 @endif function_reordering_plugin
30030 .PHONY: configure-stage1-function_reordering_plugin maybe-configure-stage1-function_reordering_plugin
30031 maybe-configure-stage1-function_reordering_plugin:
30032 @if function_reordering_plugin-bootstrap
30033 maybe-configure-stage1-function_reordering_plugin: configure-stage1-function_reordering_plugin
30034 configure-stage1-function_reordering_plugin:
30035 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30037 @r=`${PWD_COMMAND}`; export r; \
30038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30039 TFLAGS="$(STAGE1_TFLAGS)"; \
30040 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30041 $(HOST_EXPORTS) \
30042 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30043 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30044 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30045 echo Configuring stage 1 in $(HOST_SUBDIR)/function_reordering_plugin ; \
30046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30047 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30048 case $(srcdir) in \
30049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30050 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30052 esac; \
30053 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30054 libsrcdir="$$s/function_reordering_plugin"; \
30055 $(SHELL) $${libsrcdir}/configure \
30056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30057 --target=${target_alias} $${srcdiroption} \
30058 $(STAGE1_CONFIGURE_FLAGS) \
30059 --enable-shared
30060 @endif function_reordering_plugin-bootstrap
30062 .PHONY: configure-stage2-function_reordering_plugin maybe-configure-stage2-function_reordering_plugin
30063 maybe-configure-stage2-function_reordering_plugin:
30064 @if function_reordering_plugin-bootstrap
30065 maybe-configure-stage2-function_reordering_plugin: configure-stage2-function_reordering_plugin
30066 configure-stage2-function_reordering_plugin:
30067 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30069 @r=`${PWD_COMMAND}`; export r; \
30070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30071 TFLAGS="$(STAGE2_TFLAGS)"; \
30072 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30073 $(HOST_EXPORTS) \
30074 $(POSTSTAGE1_HOST_EXPORTS) \
30075 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30076 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30077 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30078 echo Configuring stage 2 in $(HOST_SUBDIR)/function_reordering_plugin ; \
30079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30080 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30081 case $(srcdir) in \
30082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30083 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30085 esac; \
30086 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30087 libsrcdir="$$s/function_reordering_plugin"; \
30088 $(SHELL) $${libsrcdir}/configure \
30089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30090 --target=${target_alias} $${srcdiroption} \
30091 --with-build-libsubdir=$(HOST_SUBDIR) \
30092 $(STAGE2_CONFIGURE_FLAGS) \
30093 --enable-shared
30094 @endif function_reordering_plugin-bootstrap
30096 .PHONY: configure-stage3-function_reordering_plugin maybe-configure-stage3-function_reordering_plugin
30097 maybe-configure-stage3-function_reordering_plugin:
30098 @if function_reordering_plugin-bootstrap
30099 maybe-configure-stage3-function_reordering_plugin: configure-stage3-function_reordering_plugin
30100 configure-stage3-function_reordering_plugin:
30101 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30103 @r=`${PWD_COMMAND}`; export r; \
30104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30105 TFLAGS="$(STAGE3_TFLAGS)"; \
30106 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30107 $(HOST_EXPORTS) \
30108 $(POSTSTAGE1_HOST_EXPORTS) \
30109 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30110 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30111 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30112 echo Configuring stage 3 in $(HOST_SUBDIR)/function_reordering_plugin ; \
30113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30114 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30115 case $(srcdir) in \
30116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30117 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30119 esac; \
30120 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30121 libsrcdir="$$s/function_reordering_plugin"; \
30122 $(SHELL) $${libsrcdir}/configure \
30123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30124 --target=${target_alias} $${srcdiroption} \
30125 --with-build-libsubdir=$(HOST_SUBDIR) \
30126 $(STAGE3_CONFIGURE_FLAGS) \
30127 --enable-shared
30128 @endif function_reordering_plugin-bootstrap
30130 .PHONY: configure-stage4-function_reordering_plugin maybe-configure-stage4-function_reordering_plugin
30131 maybe-configure-stage4-function_reordering_plugin:
30132 @if function_reordering_plugin-bootstrap
30133 maybe-configure-stage4-function_reordering_plugin: configure-stage4-function_reordering_plugin
30134 configure-stage4-function_reordering_plugin:
30135 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30137 @r=`${PWD_COMMAND}`; export r; \
30138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30139 TFLAGS="$(STAGE4_TFLAGS)"; \
30140 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30141 $(HOST_EXPORTS) \
30142 $(POSTSTAGE1_HOST_EXPORTS) \
30143 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30144 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30145 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30146 echo Configuring stage 4 in $(HOST_SUBDIR)/function_reordering_plugin ; \
30147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30148 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30149 case $(srcdir) in \
30150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30151 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30153 esac; \
30154 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30155 libsrcdir="$$s/function_reordering_plugin"; \
30156 $(SHELL) $${libsrcdir}/configure \
30157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30158 --target=${target_alias} $${srcdiroption} \
30159 --with-build-libsubdir=$(HOST_SUBDIR) \
30160 $(STAGE4_CONFIGURE_FLAGS) \
30161 --enable-shared
30162 @endif function_reordering_plugin-bootstrap
30164 .PHONY: configure-stageprofile-function_reordering_plugin maybe-configure-stageprofile-function_reordering_plugin
30165 maybe-configure-stageprofile-function_reordering_plugin:
30166 @if function_reordering_plugin-bootstrap
30167 maybe-configure-stageprofile-function_reordering_plugin: configure-stageprofile-function_reordering_plugin
30168 configure-stageprofile-function_reordering_plugin:
30169 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30170 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30171 @r=`${PWD_COMMAND}`; export r; \
30172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30173 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30174 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30175 $(HOST_EXPORTS) \
30176 $(POSTSTAGE1_HOST_EXPORTS) \
30177 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30178 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30179 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30180 echo Configuring stage profile in $(HOST_SUBDIR)/function_reordering_plugin ; \
30181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30182 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30183 case $(srcdir) in \
30184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30185 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30187 esac; \
30188 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30189 libsrcdir="$$s/function_reordering_plugin"; \
30190 $(SHELL) $${libsrcdir}/configure \
30191 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30192 --target=${target_alias} $${srcdiroption} \
30193 --with-build-libsubdir=$(HOST_SUBDIR) \
30194 $(STAGEprofile_CONFIGURE_FLAGS) \
30195 --enable-shared
30196 @endif function_reordering_plugin-bootstrap
30198 .PHONY: configure-stagefeedback-function_reordering_plugin maybe-configure-stagefeedback-function_reordering_plugin
30199 maybe-configure-stagefeedback-function_reordering_plugin:
30200 @if function_reordering_plugin-bootstrap
30201 maybe-configure-stagefeedback-function_reordering_plugin: configure-stagefeedback-function_reordering_plugin
30202 configure-stagefeedback-function_reordering_plugin:
30203 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
30205 @r=`${PWD_COMMAND}`; export r; \
30206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30207 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30208 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
30209 $(HOST_EXPORTS) \
30210 $(POSTSTAGE1_HOST_EXPORTS) \
30211 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30212 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30213 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30214 echo Configuring stage feedback in $(HOST_SUBDIR)/function_reordering_plugin ; \
30215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
30216 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
30217 case $(srcdir) in \
30218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30219 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
30220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30221 esac; \
30222 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
30223 libsrcdir="$$s/function_reordering_plugin"; \
30224 $(SHELL) $${libsrcdir}/configure \
30225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30226 --target=${target_alias} $${srcdiroption} \
30227 --with-build-libsubdir=$(HOST_SUBDIR) \
30228 $(STAGEfeedback_CONFIGURE_FLAGS) \
30229 --enable-shared
30230 @endif function_reordering_plugin-bootstrap
30236 .PHONY: all-function_reordering_plugin maybe-all-function_reordering_plugin
30237 maybe-all-function_reordering_plugin:
30238 @if gcc-bootstrap
30239 all-function_reordering_plugin: stage_current
30240 @endif gcc-bootstrap
30241 @if function_reordering_plugin
30242 TARGET-function_reordering_plugin=all
30243 maybe-all-function_reordering_plugin: all-function_reordering_plugin
30244 all-function_reordering_plugin: configure-function_reordering_plugin
30245 @r=`${PWD_COMMAND}`; export r; \
30246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30247 $(HOST_EXPORTS) \
30248 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30249 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30250 $(TARGET-function_reordering_plugin))
30251 @endif function_reordering_plugin
30255 .PHONY: all-stage1-function_reordering_plugin maybe-all-stage1-function_reordering_plugin
30256 .PHONY: clean-stage1-function_reordering_plugin maybe-clean-stage1-function_reordering_plugin
30257 maybe-all-stage1-function_reordering_plugin:
30258 maybe-clean-stage1-function_reordering_plugin:
30259 @if function_reordering_plugin-bootstrap
30260 maybe-all-stage1-function_reordering_plugin: all-stage1-function_reordering_plugin
30261 all-stage1: all-stage1-function_reordering_plugin
30262 TARGET-stage1-function_reordering_plugin = $(TARGET-function_reordering_plugin)
30263 all-stage1-function_reordering_plugin: configure-stage1-function_reordering_plugin
30264 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30265 @r=`${PWD_COMMAND}`; export r; \
30266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30267 TFLAGS="$(STAGE1_TFLAGS)"; \
30268 $(HOST_EXPORTS) \
30269 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30271 CFLAGS="$(STAGE1_CFLAGS)" \
30272 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30273 LIBCFLAGS="$(LIBCFLAGS)" \
30274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30277 $(EXTRA_HOST_FLAGS) \
30278 TFLAGS="$(STAGE1_TFLAGS)" \
30279 $(TARGET-stage1-function_reordering_plugin)
30281 maybe-clean-stage1-function_reordering_plugin: clean-stage1-function_reordering_plugin
30282 clean-stage1: clean-stage1-function_reordering_plugin
30283 clean-stage1-function_reordering_plugin:
30284 @if [ $(current_stage) = stage1 ]; then \
30285 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
30286 else \
30287 [ -f $(HOST_SUBDIR)/stage1-function_reordering_plugin/Makefile ] || exit 0; \
30288 $(MAKE) stage1-start; \
30289 fi; \
30290 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30291 $(MAKE) $(EXTRA_HOST_FLAGS) \
30292 clean
30293 @endif function_reordering_plugin-bootstrap
30296 .PHONY: all-stage2-function_reordering_plugin maybe-all-stage2-function_reordering_plugin
30297 .PHONY: clean-stage2-function_reordering_plugin maybe-clean-stage2-function_reordering_plugin
30298 maybe-all-stage2-function_reordering_plugin:
30299 maybe-clean-stage2-function_reordering_plugin:
30300 @if function_reordering_plugin-bootstrap
30301 maybe-all-stage2-function_reordering_plugin: all-stage2-function_reordering_plugin
30302 all-stage2: all-stage2-function_reordering_plugin
30303 TARGET-stage2-function_reordering_plugin = $(TARGET-function_reordering_plugin)
30304 all-stage2-function_reordering_plugin: configure-stage2-function_reordering_plugin
30305 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30306 @r=`${PWD_COMMAND}`; export r; \
30307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30308 TFLAGS="$(STAGE2_TFLAGS)"; \
30309 $(HOST_EXPORTS) \
30310 $(POSTSTAGE1_HOST_EXPORTS) \
30311 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30312 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30313 CFLAGS="$(STAGE2_CFLAGS)" \
30314 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30315 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30316 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30317 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30318 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30319 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30320 TFLAGS="$(STAGE2_TFLAGS)" \
30321 $(TARGET-stage2-function_reordering_plugin)
30323 maybe-clean-stage2-function_reordering_plugin: clean-stage2-function_reordering_plugin
30324 clean-stage2: clean-stage2-function_reordering_plugin
30325 clean-stage2-function_reordering_plugin:
30326 @if [ $(current_stage) = stage2 ]; then \
30327 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
30328 else \
30329 [ -f $(HOST_SUBDIR)/stage2-function_reordering_plugin/Makefile ] || exit 0; \
30330 $(MAKE) stage2-start; \
30331 fi; \
30332 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30333 $(MAKE) $(EXTRA_HOST_FLAGS) \
30334 $(POSTSTAGE1_FLAGS_TO_PASS) \
30335 clean
30336 @endif function_reordering_plugin-bootstrap
30339 .PHONY: all-stage3-function_reordering_plugin maybe-all-stage3-function_reordering_plugin
30340 .PHONY: clean-stage3-function_reordering_plugin maybe-clean-stage3-function_reordering_plugin
30341 maybe-all-stage3-function_reordering_plugin:
30342 maybe-clean-stage3-function_reordering_plugin:
30343 @if function_reordering_plugin-bootstrap
30344 maybe-all-stage3-function_reordering_plugin: all-stage3-function_reordering_plugin
30345 all-stage3: all-stage3-function_reordering_plugin
30346 TARGET-stage3-function_reordering_plugin = $(TARGET-function_reordering_plugin)
30347 all-stage3-function_reordering_plugin: configure-stage3-function_reordering_plugin
30348 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30349 @r=`${PWD_COMMAND}`; export r; \
30350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30351 TFLAGS="$(STAGE3_TFLAGS)"; \
30352 $(HOST_EXPORTS) \
30353 $(POSTSTAGE1_HOST_EXPORTS) \
30354 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30355 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30356 CFLAGS="$(STAGE3_CFLAGS)" \
30357 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30358 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30359 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30360 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30361 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30362 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30363 TFLAGS="$(STAGE3_TFLAGS)" \
30364 $(TARGET-stage3-function_reordering_plugin)
30366 maybe-clean-stage3-function_reordering_plugin: clean-stage3-function_reordering_plugin
30367 clean-stage3: clean-stage3-function_reordering_plugin
30368 clean-stage3-function_reordering_plugin:
30369 @if [ $(current_stage) = stage3 ]; then \
30370 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
30371 else \
30372 [ -f $(HOST_SUBDIR)/stage3-function_reordering_plugin/Makefile ] || exit 0; \
30373 $(MAKE) stage3-start; \
30374 fi; \
30375 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30376 $(MAKE) $(EXTRA_HOST_FLAGS) \
30377 $(POSTSTAGE1_FLAGS_TO_PASS) \
30378 clean
30379 @endif function_reordering_plugin-bootstrap
30382 .PHONY: all-stage4-function_reordering_plugin maybe-all-stage4-function_reordering_plugin
30383 .PHONY: clean-stage4-function_reordering_plugin maybe-clean-stage4-function_reordering_plugin
30384 maybe-all-stage4-function_reordering_plugin:
30385 maybe-clean-stage4-function_reordering_plugin:
30386 @if function_reordering_plugin-bootstrap
30387 maybe-all-stage4-function_reordering_plugin: all-stage4-function_reordering_plugin
30388 all-stage4: all-stage4-function_reordering_plugin
30389 TARGET-stage4-function_reordering_plugin = $(TARGET-function_reordering_plugin)
30390 all-stage4-function_reordering_plugin: configure-stage4-function_reordering_plugin
30391 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30392 @r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 TFLAGS="$(STAGE4_TFLAGS)"; \
30395 $(HOST_EXPORTS) \
30396 $(POSTSTAGE1_HOST_EXPORTS) \
30397 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30399 CFLAGS="$(STAGE4_CFLAGS)" \
30400 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30401 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30405 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30406 TFLAGS="$(STAGE4_TFLAGS)" \
30407 $(TARGET-stage4-function_reordering_plugin)
30409 maybe-clean-stage4-function_reordering_plugin: clean-stage4-function_reordering_plugin
30410 clean-stage4: clean-stage4-function_reordering_plugin
30411 clean-stage4-function_reordering_plugin:
30412 @if [ $(current_stage) = stage4 ]; then \
30413 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
30414 else \
30415 [ -f $(HOST_SUBDIR)/stage4-function_reordering_plugin/Makefile ] || exit 0; \
30416 $(MAKE) stage4-start; \
30417 fi; \
30418 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30419 $(MAKE) $(EXTRA_HOST_FLAGS) \
30420 $(POSTSTAGE1_FLAGS_TO_PASS) \
30421 clean
30422 @endif function_reordering_plugin-bootstrap
30425 .PHONY: all-stageprofile-function_reordering_plugin maybe-all-stageprofile-function_reordering_plugin
30426 .PHONY: clean-stageprofile-function_reordering_plugin maybe-clean-stageprofile-function_reordering_plugin
30427 maybe-all-stageprofile-function_reordering_plugin:
30428 maybe-clean-stageprofile-function_reordering_plugin:
30429 @if function_reordering_plugin-bootstrap
30430 maybe-all-stageprofile-function_reordering_plugin: all-stageprofile-function_reordering_plugin
30431 all-stageprofile: all-stageprofile-function_reordering_plugin
30432 TARGET-stageprofile-function_reordering_plugin = $(TARGET-function_reordering_plugin)
30433 all-stageprofile-function_reordering_plugin: configure-stageprofile-function_reordering_plugin
30434 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30435 @r=`${PWD_COMMAND}`; export r; \
30436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30437 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30438 $(HOST_EXPORTS) \
30439 $(POSTSTAGE1_HOST_EXPORTS) \
30440 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30441 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30442 CFLAGS="$(STAGEprofile_CFLAGS)" \
30443 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30444 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30448 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30449 TFLAGS="$(STAGEprofile_TFLAGS)" \
30450 $(TARGET-stageprofile-function_reordering_plugin)
30452 maybe-clean-stageprofile-function_reordering_plugin: clean-stageprofile-function_reordering_plugin
30453 clean-stageprofile: clean-stageprofile-function_reordering_plugin
30454 clean-stageprofile-function_reordering_plugin:
30455 @if [ $(current_stage) = stageprofile ]; then \
30456 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
30457 else \
30458 [ -f $(HOST_SUBDIR)/stageprofile-function_reordering_plugin/Makefile ] || exit 0; \
30459 $(MAKE) stageprofile-start; \
30460 fi; \
30461 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30462 $(MAKE) $(EXTRA_HOST_FLAGS) \
30463 $(POSTSTAGE1_FLAGS_TO_PASS) \
30464 clean
30465 @endif function_reordering_plugin-bootstrap
30468 .PHONY: all-stagefeedback-function_reordering_plugin maybe-all-stagefeedback-function_reordering_plugin
30469 .PHONY: clean-stagefeedback-function_reordering_plugin maybe-clean-stagefeedback-function_reordering_plugin
30470 maybe-all-stagefeedback-function_reordering_plugin:
30471 maybe-clean-stagefeedback-function_reordering_plugin:
30472 @if function_reordering_plugin-bootstrap
30473 maybe-all-stagefeedback-function_reordering_plugin: all-stagefeedback-function_reordering_plugin
30474 all-stagefeedback: all-stagefeedback-function_reordering_plugin
30475 TARGET-stagefeedback-function_reordering_plugin = $(TARGET-function_reordering_plugin)
30476 all-stagefeedback-function_reordering_plugin: configure-stagefeedback-function_reordering_plugin
30477 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30478 @r=`${PWD_COMMAND}`; export r; \
30479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30480 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30481 $(HOST_EXPORTS) \
30482 $(POSTSTAGE1_HOST_EXPORTS) \
30483 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30485 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30486 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30487 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30491 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30492 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30493 $(TARGET-stagefeedback-function_reordering_plugin)
30495 maybe-clean-stagefeedback-function_reordering_plugin: clean-stagefeedback-function_reordering_plugin
30496 clean-stagefeedback: clean-stagefeedback-function_reordering_plugin
30497 clean-stagefeedback-function_reordering_plugin:
30498 @if [ $(current_stage) = stagefeedback ]; then \
30499 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
30500 else \
30501 [ -f $(HOST_SUBDIR)/stagefeedback-function_reordering_plugin/Makefile ] || exit 0; \
30502 $(MAKE) stagefeedback-start; \
30503 fi; \
30504 cd $(HOST_SUBDIR)/function_reordering_plugin && \
30505 $(MAKE) $(EXTRA_HOST_FLAGS) \
30506 $(POSTSTAGE1_FLAGS_TO_PASS) \
30507 clean
30508 @endif function_reordering_plugin-bootstrap
30514 .PHONY: check-function_reordering_plugin maybe-check-function_reordering_plugin
30515 maybe-check-function_reordering_plugin:
30516 @if function_reordering_plugin
30517 maybe-check-function_reordering_plugin: check-function_reordering_plugin
30519 check-function_reordering_plugin:
30520 @: $(MAKE); $(unstage)
30521 @r=`${PWD_COMMAND}`; export r; \
30522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30523 $(HOST_EXPORTS) \
30524 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30525 $(MAKE) $(FLAGS_TO_PASS) check)
30527 @endif function_reordering_plugin
30529 .PHONY: install-function_reordering_plugin maybe-install-function_reordering_plugin
30530 maybe-install-function_reordering_plugin:
30531 @if function_reordering_plugin
30532 maybe-install-function_reordering_plugin: install-function_reordering_plugin
30534 install-function_reordering_plugin: installdirs
30535 @: $(MAKE); $(unstage)
30536 @r=`${PWD_COMMAND}`; export r; \
30537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30538 $(HOST_EXPORTS) \
30539 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30540 $(MAKE) $(FLAGS_TO_PASS) install)
30542 @endif function_reordering_plugin
30544 .PHONY: install-strip-function_reordering_plugin maybe-install-strip-function_reordering_plugin
30545 maybe-install-strip-function_reordering_plugin:
30546 @if function_reordering_plugin
30547 maybe-install-strip-function_reordering_plugin: install-strip-function_reordering_plugin
30549 install-strip-function_reordering_plugin: installdirs
30550 @: $(MAKE); $(unstage)
30551 @r=`${PWD_COMMAND}`; export r; \
30552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30553 $(HOST_EXPORTS) \
30554 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30555 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30557 @endif function_reordering_plugin
30559 # Other targets (info, dvi, pdf, etc.)
30561 .PHONY: maybe-info-function_reordering_plugin info-function_reordering_plugin
30562 maybe-info-function_reordering_plugin:
30563 @if function_reordering_plugin
30564 maybe-info-function_reordering_plugin: info-function_reordering_plugin
30566 info-function_reordering_plugin: \
30567 configure-function_reordering_plugin
30568 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30569 r=`${PWD_COMMAND}`; export r; \
30570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30571 $(HOST_EXPORTS) \
30572 for flag in $(EXTRA_HOST_FLAGS) ; do \
30573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30574 done; \
30575 echo "Doing info in function_reordering_plugin" ; \
30576 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30579 "RANLIB=$${RANLIB}" \
30580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30581 info) \
30582 || exit 1
30584 @endif function_reordering_plugin
30586 .PHONY: maybe-dvi-function_reordering_plugin dvi-function_reordering_plugin
30587 maybe-dvi-function_reordering_plugin:
30588 @if function_reordering_plugin
30589 maybe-dvi-function_reordering_plugin: dvi-function_reordering_plugin
30591 dvi-function_reordering_plugin: \
30592 configure-function_reordering_plugin
30593 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30594 r=`${PWD_COMMAND}`; export r; \
30595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30596 $(HOST_EXPORTS) \
30597 for flag in $(EXTRA_HOST_FLAGS) ; do \
30598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30599 done; \
30600 echo "Doing dvi in function_reordering_plugin" ; \
30601 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30604 "RANLIB=$${RANLIB}" \
30605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30606 dvi) \
30607 || exit 1
30609 @endif function_reordering_plugin
30611 .PHONY: maybe-pdf-function_reordering_plugin pdf-function_reordering_plugin
30612 maybe-pdf-function_reordering_plugin:
30613 @if function_reordering_plugin
30614 maybe-pdf-function_reordering_plugin: pdf-function_reordering_plugin
30616 pdf-function_reordering_plugin: \
30617 configure-function_reordering_plugin
30618 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30619 r=`${PWD_COMMAND}`; export r; \
30620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30621 $(HOST_EXPORTS) \
30622 for flag in $(EXTRA_HOST_FLAGS) ; do \
30623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30624 done; \
30625 echo "Doing pdf in function_reordering_plugin" ; \
30626 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30629 "RANLIB=$${RANLIB}" \
30630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30631 pdf) \
30632 || exit 1
30634 @endif function_reordering_plugin
30636 .PHONY: maybe-html-function_reordering_plugin html-function_reordering_plugin
30637 maybe-html-function_reordering_plugin:
30638 @if function_reordering_plugin
30639 maybe-html-function_reordering_plugin: html-function_reordering_plugin
30641 html-function_reordering_plugin: \
30642 configure-function_reordering_plugin
30643 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30644 r=`${PWD_COMMAND}`; export r; \
30645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30646 $(HOST_EXPORTS) \
30647 for flag in $(EXTRA_HOST_FLAGS) ; do \
30648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30649 done; \
30650 echo "Doing html in function_reordering_plugin" ; \
30651 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30654 "RANLIB=$${RANLIB}" \
30655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30656 html) \
30657 || exit 1
30659 @endif function_reordering_plugin
30661 .PHONY: maybe-TAGS-function_reordering_plugin TAGS-function_reordering_plugin
30662 maybe-TAGS-function_reordering_plugin:
30663 @if function_reordering_plugin
30664 maybe-TAGS-function_reordering_plugin: TAGS-function_reordering_plugin
30666 TAGS-function_reordering_plugin: \
30667 configure-function_reordering_plugin
30668 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30669 r=`${PWD_COMMAND}`; export r; \
30670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30671 $(HOST_EXPORTS) \
30672 for flag in $(EXTRA_HOST_FLAGS) ; do \
30673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30674 done; \
30675 echo "Doing TAGS in function_reordering_plugin" ; \
30676 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30679 "RANLIB=$${RANLIB}" \
30680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30681 TAGS) \
30682 || exit 1
30684 @endif function_reordering_plugin
30686 .PHONY: maybe-install-info-function_reordering_plugin install-info-function_reordering_plugin
30687 maybe-install-info-function_reordering_plugin:
30688 @if function_reordering_plugin
30689 maybe-install-info-function_reordering_plugin: install-info-function_reordering_plugin
30691 install-info-function_reordering_plugin: \
30692 configure-function_reordering_plugin \
30693 info-function_reordering_plugin
30694 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30695 r=`${PWD_COMMAND}`; export r; \
30696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30697 $(HOST_EXPORTS) \
30698 for flag in $(EXTRA_HOST_FLAGS) ; do \
30699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30700 done; \
30701 echo "Doing install-info in function_reordering_plugin" ; \
30702 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30705 "RANLIB=$${RANLIB}" \
30706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30707 install-info) \
30708 || exit 1
30710 @endif function_reordering_plugin
30712 .PHONY: maybe-install-pdf-function_reordering_plugin install-pdf-function_reordering_plugin
30713 maybe-install-pdf-function_reordering_plugin:
30714 @if function_reordering_plugin
30715 maybe-install-pdf-function_reordering_plugin: install-pdf-function_reordering_plugin
30717 install-pdf-function_reordering_plugin: \
30718 configure-function_reordering_plugin \
30719 pdf-function_reordering_plugin
30720 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30721 r=`${PWD_COMMAND}`; export r; \
30722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30723 $(HOST_EXPORTS) \
30724 for flag in $(EXTRA_HOST_FLAGS) ; do \
30725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30726 done; \
30727 echo "Doing install-pdf in function_reordering_plugin" ; \
30728 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30731 "RANLIB=$${RANLIB}" \
30732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30733 install-pdf) \
30734 || exit 1
30736 @endif function_reordering_plugin
30738 .PHONY: maybe-install-html-function_reordering_plugin install-html-function_reordering_plugin
30739 maybe-install-html-function_reordering_plugin:
30740 @if function_reordering_plugin
30741 maybe-install-html-function_reordering_plugin: install-html-function_reordering_plugin
30743 install-html-function_reordering_plugin: \
30744 configure-function_reordering_plugin \
30745 html-function_reordering_plugin
30746 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30747 r=`${PWD_COMMAND}`; export r; \
30748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30749 $(HOST_EXPORTS) \
30750 for flag in $(EXTRA_HOST_FLAGS) ; do \
30751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30752 done; \
30753 echo "Doing install-html in function_reordering_plugin" ; \
30754 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30757 "RANLIB=$${RANLIB}" \
30758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30759 install-html) \
30760 || exit 1
30762 @endif function_reordering_plugin
30764 .PHONY: maybe-installcheck-function_reordering_plugin installcheck-function_reordering_plugin
30765 maybe-installcheck-function_reordering_plugin:
30766 @if function_reordering_plugin
30767 maybe-installcheck-function_reordering_plugin: installcheck-function_reordering_plugin
30769 installcheck-function_reordering_plugin: \
30770 configure-function_reordering_plugin
30771 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30772 r=`${PWD_COMMAND}`; export r; \
30773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30774 $(HOST_EXPORTS) \
30775 for flag in $(EXTRA_HOST_FLAGS) ; do \
30776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30777 done; \
30778 echo "Doing installcheck in function_reordering_plugin" ; \
30779 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30782 "RANLIB=$${RANLIB}" \
30783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30784 installcheck) \
30785 || exit 1
30787 @endif function_reordering_plugin
30789 .PHONY: maybe-mostlyclean-function_reordering_plugin mostlyclean-function_reordering_plugin
30790 maybe-mostlyclean-function_reordering_plugin:
30791 @if function_reordering_plugin
30792 maybe-mostlyclean-function_reordering_plugin: mostlyclean-function_reordering_plugin
30794 mostlyclean-function_reordering_plugin:
30795 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30796 r=`${PWD_COMMAND}`; export r; \
30797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30798 $(HOST_EXPORTS) \
30799 for flag in $(EXTRA_HOST_FLAGS) ; do \
30800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30801 done; \
30802 echo "Doing mostlyclean in function_reordering_plugin" ; \
30803 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30806 "RANLIB=$${RANLIB}" \
30807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30808 mostlyclean) \
30809 || exit 1
30811 @endif function_reordering_plugin
30813 .PHONY: maybe-clean-function_reordering_plugin clean-function_reordering_plugin
30814 maybe-clean-function_reordering_plugin:
30815 @if function_reordering_plugin
30816 maybe-clean-function_reordering_plugin: clean-function_reordering_plugin
30818 clean-function_reordering_plugin:
30819 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30820 r=`${PWD_COMMAND}`; export r; \
30821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30822 $(HOST_EXPORTS) \
30823 for flag in $(EXTRA_HOST_FLAGS) ; do \
30824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30825 done; \
30826 echo "Doing clean in function_reordering_plugin" ; \
30827 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30830 "RANLIB=$${RANLIB}" \
30831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30832 clean) \
30833 || exit 1
30835 @endif function_reordering_plugin
30837 .PHONY: maybe-distclean-function_reordering_plugin distclean-function_reordering_plugin
30838 maybe-distclean-function_reordering_plugin:
30839 @if function_reordering_plugin
30840 maybe-distclean-function_reordering_plugin: distclean-function_reordering_plugin
30842 distclean-function_reordering_plugin:
30843 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30844 r=`${PWD_COMMAND}`; export r; \
30845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30846 $(HOST_EXPORTS) \
30847 for flag in $(EXTRA_HOST_FLAGS) ; do \
30848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30849 done; \
30850 echo "Doing distclean in function_reordering_plugin" ; \
30851 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30854 "RANLIB=$${RANLIB}" \
30855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30856 distclean) \
30857 || exit 1
30859 @endif function_reordering_plugin
30861 .PHONY: maybe-maintainer-clean-function_reordering_plugin maintainer-clean-function_reordering_plugin
30862 maybe-maintainer-clean-function_reordering_plugin:
30863 @if function_reordering_plugin
30864 maybe-maintainer-clean-function_reordering_plugin: maintainer-clean-function_reordering_plugin
30866 maintainer-clean-function_reordering_plugin:
30867 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
30868 r=`${PWD_COMMAND}`; export r; \
30869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30870 $(HOST_EXPORTS) \
30871 for flag in $(EXTRA_HOST_FLAGS) ; do \
30872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30873 done; \
30874 echo "Doing maintainer-clean in function_reordering_plugin" ; \
30875 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
30876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30878 "RANLIB=$${RANLIB}" \
30879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30880 maintainer-clean) \
30881 || exit 1
30883 @endif function_reordering_plugin
30887 # ---------------------------------------
30888 # Modules which run on the target machine
30889 # ---------------------------------------
30894 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30895 maybe-configure-target-libstdc++-v3:
30896 @if gcc-bootstrap
30897 configure-target-libstdc++-v3: stage_current
30898 @endif gcc-bootstrap
30899 @if target-libstdc++-v3
30900 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30901 configure-target-libstdc++-v3:
30902 @r=`${PWD_COMMAND}`; export r; \
30903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30904 echo "Checking multilib configuration for libstdc++-v3..."; \
30905 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30906 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30907 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30908 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30909 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30910 else \
30911 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30912 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30913 fi; \
30914 else \
30915 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30916 fi; \
30917 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30918 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30919 $(RAW_CXX_TARGET_EXPORTS) \
30920 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30921 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30922 case $(srcdir) in \
30923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30924 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30926 esac; \
30927 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30928 libsrcdir="$$s/libstdc++-v3"; \
30929 rm -f no-such-file || : ; \
30930 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30931 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30932 --target=${target_alias} $${srcdiroption} \
30933 || exit 1
30934 @endif target-libstdc++-v3
30938 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30939 maybe-configure-stage1-target-libstdc++-v3:
30940 @if target-libstdc++-v3-bootstrap
30941 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30942 configure-stage1-target-libstdc++-v3:
30943 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30944 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30945 @r=`${PWD_COMMAND}`; export r; \
30946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30947 TFLAGS="$(STAGE1_TFLAGS)"; \
30948 echo "Checking multilib configuration for libstdc++-v3..."; \
30949 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30950 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30951 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30952 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30953 else \
30954 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30955 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30956 fi; \
30957 else \
30958 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30959 fi; \
30960 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30961 $(RAW_CXX_TARGET_EXPORTS) \
30962 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30963 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30964 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30965 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30967 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30968 case $(srcdir) in \
30969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30970 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30972 esac; \
30973 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30974 libsrcdir="$$s/libstdc++-v3"; \
30975 $(SHELL) $${libsrcdir}/configure \
30976 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30977 --target=${target_alias} $${srcdiroption} \
30978 $(STAGE1_CONFIGURE_FLAGS)
30979 @endif target-libstdc++-v3-bootstrap
30981 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30982 maybe-configure-stage2-target-libstdc++-v3:
30983 @if target-libstdc++-v3-bootstrap
30984 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30985 configure-stage2-target-libstdc++-v3:
30986 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30987 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30988 @r=`${PWD_COMMAND}`; export r; \
30989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30990 TFLAGS="$(STAGE2_TFLAGS)"; \
30991 echo "Checking multilib configuration for libstdc++-v3..."; \
30992 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30993 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30994 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30995 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30996 else \
30997 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30998 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30999 fi; \
31000 else \
31001 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31002 fi; \
31003 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31004 $(RAW_CXX_TARGET_EXPORTS) \
31006 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31007 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31008 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31009 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31010 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31011 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31012 case $(srcdir) in \
31013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31014 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31016 esac; \
31017 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31018 libsrcdir="$$s/libstdc++-v3"; \
31019 $(SHELL) $${libsrcdir}/configure \
31020 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31021 --target=${target_alias} $${srcdiroption} \
31022 --with-build-libsubdir=$(HOST_SUBDIR) \
31023 $(STAGE2_CONFIGURE_FLAGS)
31024 @endif target-libstdc++-v3-bootstrap
31026 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
31027 maybe-configure-stage3-target-libstdc++-v3:
31028 @if target-libstdc++-v3-bootstrap
31029 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31030 configure-stage3-target-libstdc++-v3:
31031 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31032 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31033 @r=`${PWD_COMMAND}`; export r; \
31034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31035 TFLAGS="$(STAGE3_TFLAGS)"; \
31036 echo "Checking multilib configuration for libstdc++-v3..."; \
31037 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31038 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31039 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31040 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31041 else \
31042 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31043 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31044 fi; \
31045 else \
31046 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31047 fi; \
31048 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31049 $(RAW_CXX_TARGET_EXPORTS) \
31051 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31052 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31053 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31054 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31055 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31056 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31057 case $(srcdir) in \
31058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31059 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31061 esac; \
31062 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31063 libsrcdir="$$s/libstdc++-v3"; \
31064 $(SHELL) $${libsrcdir}/configure \
31065 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31066 --target=${target_alias} $${srcdiroption} \
31067 --with-build-libsubdir=$(HOST_SUBDIR) \
31068 $(STAGE3_CONFIGURE_FLAGS)
31069 @endif target-libstdc++-v3-bootstrap
31071 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
31072 maybe-configure-stage4-target-libstdc++-v3:
31073 @if target-libstdc++-v3-bootstrap
31074 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31075 configure-stage4-target-libstdc++-v3:
31076 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31077 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31078 @r=`${PWD_COMMAND}`; export r; \
31079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31080 TFLAGS="$(STAGE4_TFLAGS)"; \
31081 echo "Checking multilib configuration for libstdc++-v3..."; \
31082 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31083 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31084 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31085 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31086 else \
31087 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31088 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31089 fi; \
31090 else \
31091 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31092 fi; \
31093 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31094 $(RAW_CXX_TARGET_EXPORTS) \
31096 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31097 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31098 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31099 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31100 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31101 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31102 case $(srcdir) in \
31103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31104 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31106 esac; \
31107 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31108 libsrcdir="$$s/libstdc++-v3"; \
31109 $(SHELL) $${libsrcdir}/configure \
31110 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31111 --target=${target_alias} $${srcdiroption} \
31112 --with-build-libsubdir=$(HOST_SUBDIR) \
31113 $(STAGE4_CONFIGURE_FLAGS)
31114 @endif target-libstdc++-v3-bootstrap
31116 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
31117 maybe-configure-stageprofile-target-libstdc++-v3:
31118 @if target-libstdc++-v3-bootstrap
31119 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31120 configure-stageprofile-target-libstdc++-v3:
31121 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31122 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31123 @r=`${PWD_COMMAND}`; export r; \
31124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31125 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31126 echo "Checking multilib configuration for libstdc++-v3..."; \
31127 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31128 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31129 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31130 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31131 else \
31132 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31133 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31134 fi; \
31135 else \
31136 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31137 fi; \
31138 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31139 $(RAW_CXX_TARGET_EXPORTS) \
31141 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31142 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31143 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31144 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31145 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31146 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31147 case $(srcdir) in \
31148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31149 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31151 esac; \
31152 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31153 libsrcdir="$$s/libstdc++-v3"; \
31154 $(SHELL) $${libsrcdir}/configure \
31155 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31156 --target=${target_alias} $${srcdiroption} \
31157 --with-build-libsubdir=$(HOST_SUBDIR) \
31158 $(STAGEprofile_CONFIGURE_FLAGS)
31159 @endif target-libstdc++-v3-bootstrap
31161 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
31162 maybe-configure-stagefeedback-target-libstdc++-v3:
31163 @if target-libstdc++-v3-bootstrap
31164 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31165 configure-stagefeedback-target-libstdc++-v3:
31166 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31167 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31168 @r=`${PWD_COMMAND}`; export r; \
31169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31170 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31171 echo "Checking multilib configuration for libstdc++-v3..."; \
31172 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31173 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31174 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31175 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31176 else \
31177 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31178 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31179 fi; \
31180 else \
31181 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31182 fi; \
31183 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31184 $(RAW_CXX_TARGET_EXPORTS) \
31186 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31187 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31188 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31189 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31190 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31191 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31192 case $(srcdir) in \
31193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31194 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31196 esac; \
31197 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31198 libsrcdir="$$s/libstdc++-v3"; \
31199 $(SHELL) $${libsrcdir}/configure \
31200 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31201 --target=${target_alias} $${srcdiroption} \
31202 --with-build-libsubdir=$(HOST_SUBDIR) \
31203 $(STAGEfeedback_CONFIGURE_FLAGS)
31204 @endif target-libstdc++-v3-bootstrap
31210 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31211 maybe-all-target-libstdc++-v3:
31212 @if gcc-bootstrap
31213 all-target-libstdc++-v3: stage_current
31214 @endif gcc-bootstrap
31215 @if target-libstdc++-v3
31216 TARGET-target-libstdc++-v3=all
31217 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31218 all-target-libstdc++-v3: configure-target-libstdc++-v3
31219 @r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 $(RAW_CXX_TARGET_EXPORTS) \
31222 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31223 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31224 $(TARGET-target-libstdc++-v3))
31225 @endif target-libstdc++-v3
31229 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
31230 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
31231 maybe-all-stage1-target-libstdc++-v3:
31232 maybe-clean-stage1-target-libstdc++-v3:
31233 @if target-libstdc++-v3-bootstrap
31234 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
31235 all-stage1: all-stage1-target-libstdc++-v3
31236 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31237 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31238 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31239 @r=`${PWD_COMMAND}`; export r; \
31240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31241 TFLAGS="$(STAGE1_TFLAGS)"; \
31242 $(RAW_CXX_TARGET_EXPORTS) \
31243 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31245 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31246 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31247 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31251 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31252 TFLAGS="$(STAGE1_TFLAGS)" \
31253 $(TARGET-stage1-target-libstdc++-v3)
31255 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
31256 clean-stage1: clean-stage1-target-libstdc++-v3
31257 clean-stage1-target-libstdc++-v3:
31258 @if [ $(current_stage) = stage1 ]; then \
31259 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31260 else \
31261 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
31262 $(MAKE) stage1-start; \
31263 fi; \
31264 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31265 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31266 clean
31267 @endif target-libstdc++-v3-bootstrap
31270 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
31271 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
31272 maybe-all-stage2-target-libstdc++-v3:
31273 maybe-clean-stage2-target-libstdc++-v3:
31274 @if target-libstdc++-v3-bootstrap
31275 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
31276 all-stage2: all-stage2-target-libstdc++-v3
31277 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31278 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31279 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31280 @r=`${PWD_COMMAND}`; export r; \
31281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31282 TFLAGS="$(STAGE2_TFLAGS)"; \
31283 $(RAW_CXX_TARGET_EXPORTS) \
31285 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31286 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31287 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31288 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31289 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31293 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31294 TFLAGS="$(STAGE2_TFLAGS)" \
31295 $(TARGET-stage2-target-libstdc++-v3)
31297 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
31298 clean-stage2: clean-stage2-target-libstdc++-v3
31299 clean-stage2-target-libstdc++-v3:
31300 @if [ $(current_stage) = stage2 ]; then \
31301 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31302 else \
31303 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
31304 $(MAKE) stage2-start; \
31305 fi; \
31306 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31307 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31309 clean
31310 @endif target-libstdc++-v3-bootstrap
31313 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
31314 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
31315 maybe-all-stage3-target-libstdc++-v3:
31316 maybe-clean-stage3-target-libstdc++-v3:
31317 @if target-libstdc++-v3-bootstrap
31318 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
31319 all-stage3: all-stage3-target-libstdc++-v3
31320 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31321 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31322 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31323 @r=`${PWD_COMMAND}`; export r; \
31324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31325 TFLAGS="$(STAGE3_TFLAGS)"; \
31326 $(RAW_CXX_TARGET_EXPORTS) \
31328 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31329 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31330 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31331 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31332 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31336 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31337 TFLAGS="$(STAGE3_TFLAGS)" \
31338 $(TARGET-stage3-target-libstdc++-v3)
31340 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
31341 clean-stage3: clean-stage3-target-libstdc++-v3
31342 clean-stage3-target-libstdc++-v3:
31343 @if [ $(current_stage) = stage3 ]; then \
31344 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31345 else \
31346 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
31347 $(MAKE) stage3-start; \
31348 fi; \
31349 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31350 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31352 clean
31353 @endif target-libstdc++-v3-bootstrap
31356 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
31357 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
31358 maybe-all-stage4-target-libstdc++-v3:
31359 maybe-clean-stage4-target-libstdc++-v3:
31360 @if target-libstdc++-v3-bootstrap
31361 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
31362 all-stage4: all-stage4-target-libstdc++-v3
31363 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31364 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31365 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31366 @r=`${PWD_COMMAND}`; export r; \
31367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31368 TFLAGS="$(STAGE4_TFLAGS)"; \
31369 $(RAW_CXX_TARGET_EXPORTS) \
31371 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31373 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31374 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31375 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31379 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31380 TFLAGS="$(STAGE4_TFLAGS)" \
31381 $(TARGET-stage4-target-libstdc++-v3)
31383 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
31384 clean-stage4: clean-stage4-target-libstdc++-v3
31385 clean-stage4-target-libstdc++-v3:
31386 @if [ $(current_stage) = stage4 ]; then \
31387 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31388 else \
31389 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
31390 $(MAKE) stage4-start; \
31391 fi; \
31392 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31393 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31395 clean
31396 @endif target-libstdc++-v3-bootstrap
31399 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
31400 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
31401 maybe-all-stageprofile-target-libstdc++-v3:
31402 maybe-clean-stageprofile-target-libstdc++-v3:
31403 @if target-libstdc++-v3-bootstrap
31404 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
31405 all-stageprofile: all-stageprofile-target-libstdc++-v3
31406 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31407 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31408 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31409 @r=`${PWD_COMMAND}`; export r; \
31410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31411 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31412 $(RAW_CXX_TARGET_EXPORTS) \
31414 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31416 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31417 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31418 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31422 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31423 TFLAGS="$(STAGEprofile_TFLAGS)" \
31424 $(TARGET-stageprofile-target-libstdc++-v3)
31426 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
31427 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
31428 clean-stageprofile-target-libstdc++-v3:
31429 @if [ $(current_stage) = stageprofile ]; then \
31430 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31431 else \
31432 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
31433 $(MAKE) stageprofile-start; \
31434 fi; \
31435 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31436 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31438 clean
31439 @endif target-libstdc++-v3-bootstrap
31442 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
31443 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
31444 maybe-all-stagefeedback-target-libstdc++-v3:
31445 maybe-clean-stagefeedback-target-libstdc++-v3:
31446 @if target-libstdc++-v3-bootstrap
31447 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
31448 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
31449 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31450 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31451 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31452 @r=`${PWD_COMMAND}`; export r; \
31453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31454 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31455 $(RAW_CXX_TARGET_EXPORTS) \
31457 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31458 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31459 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31460 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31461 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31465 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31466 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31467 $(TARGET-stagefeedback-target-libstdc++-v3)
31469 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
31470 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
31471 clean-stagefeedback-target-libstdc++-v3:
31472 @if [ $(current_stage) = stagefeedback ]; then \
31473 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31474 else \
31475 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
31476 $(MAKE) stagefeedback-start; \
31477 fi; \
31478 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31479 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31481 clean
31482 @endif target-libstdc++-v3-bootstrap
31489 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31490 maybe-check-target-libstdc++-v3:
31491 @if target-libstdc++-v3
31492 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31494 check-target-libstdc++-v3:
31495 @: $(MAKE); $(unstage)
31496 @r=`${PWD_COMMAND}`; export r; \
31497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31498 $(RAW_CXX_TARGET_EXPORTS) \
31499 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31500 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31502 @endif target-libstdc++-v3
31504 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31505 maybe-install-target-libstdc++-v3:
31506 @if target-libstdc++-v3
31507 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31509 install-target-libstdc++-v3: installdirs
31510 @: $(MAKE); $(unstage)
31511 @r=`${PWD_COMMAND}`; export r; \
31512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31513 $(RAW_CXX_TARGET_EXPORTS) \
31514 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31515 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31517 @endif target-libstdc++-v3
31519 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
31520 maybe-install-strip-target-libstdc++-v3:
31521 @if target-libstdc++-v3
31522 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
31524 install-strip-target-libstdc++-v3: installdirs
31525 @: $(MAKE); $(unstage)
31526 @r=`${PWD_COMMAND}`; export r; \
31527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31528 $(RAW_CXX_TARGET_EXPORTS) \
31529 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31530 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31532 @endif target-libstdc++-v3
31534 # Other targets (info, dvi, pdf, etc.)
31536 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31537 maybe-info-target-libstdc++-v3:
31538 @if target-libstdc++-v3
31539 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31541 info-target-libstdc++-v3: \
31542 configure-target-libstdc++-v3
31543 @: $(MAKE); $(unstage)
31544 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31545 r=`${PWD_COMMAND}`; export r; \
31546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31547 $(RAW_CXX_TARGET_EXPORTS) \
31548 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31549 for flag in $(EXTRA_TARGET_FLAGS); do \
31550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31551 done; \
31552 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31555 "RANLIB=$${RANLIB}" \
31556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31557 info) \
31558 || exit 1
31560 @endif target-libstdc++-v3
31562 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31563 maybe-dvi-target-libstdc++-v3:
31564 @if target-libstdc++-v3
31565 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31567 dvi-target-libstdc++-v3: \
31568 configure-target-libstdc++-v3
31569 @: $(MAKE); $(unstage)
31570 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31571 r=`${PWD_COMMAND}`; export r; \
31572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31573 $(RAW_CXX_TARGET_EXPORTS) \
31574 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31575 for flag in $(EXTRA_TARGET_FLAGS); do \
31576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31577 done; \
31578 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31581 "RANLIB=$${RANLIB}" \
31582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31583 dvi) \
31584 || exit 1
31586 @endif target-libstdc++-v3
31588 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
31589 maybe-pdf-target-libstdc++-v3:
31590 @if target-libstdc++-v3
31591 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
31593 pdf-target-libstdc++-v3: \
31594 configure-target-libstdc++-v3
31595 @: $(MAKE); $(unstage)
31596 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31597 r=`${PWD_COMMAND}`; export r; \
31598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31599 $(RAW_CXX_TARGET_EXPORTS) \
31600 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31601 for flag in $(EXTRA_TARGET_FLAGS); do \
31602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31603 done; \
31604 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31607 "RANLIB=$${RANLIB}" \
31608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31609 pdf) \
31610 || exit 1
31612 @endif target-libstdc++-v3
31614 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31615 maybe-html-target-libstdc++-v3:
31616 @if target-libstdc++-v3
31617 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31619 html-target-libstdc++-v3: \
31620 configure-target-libstdc++-v3
31621 @: $(MAKE); $(unstage)
31622 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31623 r=`${PWD_COMMAND}`; export r; \
31624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31625 $(RAW_CXX_TARGET_EXPORTS) \
31626 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31627 for flag in $(EXTRA_TARGET_FLAGS); do \
31628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31629 done; \
31630 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31633 "RANLIB=$${RANLIB}" \
31634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31635 html) \
31636 || exit 1
31638 @endif target-libstdc++-v3
31640 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31641 maybe-TAGS-target-libstdc++-v3:
31642 @if target-libstdc++-v3
31643 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31645 TAGS-target-libstdc++-v3: \
31646 configure-target-libstdc++-v3
31647 @: $(MAKE); $(unstage)
31648 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31649 r=`${PWD_COMMAND}`; export r; \
31650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31651 $(RAW_CXX_TARGET_EXPORTS) \
31652 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31653 for flag in $(EXTRA_TARGET_FLAGS); do \
31654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31655 done; \
31656 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31659 "RANLIB=$${RANLIB}" \
31660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31661 TAGS) \
31662 || exit 1
31664 @endif target-libstdc++-v3
31666 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31667 maybe-install-info-target-libstdc++-v3:
31668 @if target-libstdc++-v3
31669 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31671 install-info-target-libstdc++-v3: \
31672 configure-target-libstdc++-v3 \
31673 info-target-libstdc++-v3
31674 @: $(MAKE); $(unstage)
31675 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31676 r=`${PWD_COMMAND}`; export r; \
31677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31678 $(RAW_CXX_TARGET_EXPORTS) \
31679 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31680 for flag in $(EXTRA_TARGET_FLAGS); do \
31681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31682 done; \
31683 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31686 "RANLIB=$${RANLIB}" \
31687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31688 install-info) \
31689 || exit 1
31691 @endif target-libstdc++-v3
31693 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
31694 maybe-install-pdf-target-libstdc++-v3:
31695 @if target-libstdc++-v3
31696 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
31698 install-pdf-target-libstdc++-v3: \
31699 configure-target-libstdc++-v3 \
31700 pdf-target-libstdc++-v3
31701 @: $(MAKE); $(unstage)
31702 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31703 r=`${PWD_COMMAND}`; export r; \
31704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31705 $(RAW_CXX_TARGET_EXPORTS) \
31706 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31707 for flag in $(EXTRA_TARGET_FLAGS); do \
31708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31709 done; \
31710 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31713 "RANLIB=$${RANLIB}" \
31714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31715 install-pdf) \
31716 || exit 1
31718 @endif target-libstdc++-v3
31720 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31721 maybe-install-html-target-libstdc++-v3:
31722 @if target-libstdc++-v3
31723 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31725 install-html-target-libstdc++-v3: \
31726 configure-target-libstdc++-v3 \
31727 html-target-libstdc++-v3
31728 @: $(MAKE); $(unstage)
31729 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31730 r=`${PWD_COMMAND}`; export r; \
31731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31732 $(RAW_CXX_TARGET_EXPORTS) \
31733 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31734 for flag in $(EXTRA_TARGET_FLAGS); do \
31735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31736 done; \
31737 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31740 "RANLIB=$${RANLIB}" \
31741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31742 install-html) \
31743 || exit 1
31745 @endif target-libstdc++-v3
31747 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31748 maybe-installcheck-target-libstdc++-v3:
31749 @if target-libstdc++-v3
31750 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31752 installcheck-target-libstdc++-v3: \
31753 configure-target-libstdc++-v3
31754 @: $(MAKE); $(unstage)
31755 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31756 r=`${PWD_COMMAND}`; export r; \
31757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31758 $(RAW_CXX_TARGET_EXPORTS) \
31759 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31760 for flag in $(EXTRA_TARGET_FLAGS); do \
31761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31762 done; \
31763 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31766 "RANLIB=$${RANLIB}" \
31767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31768 installcheck) \
31769 || exit 1
31771 @endif target-libstdc++-v3
31773 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31774 maybe-mostlyclean-target-libstdc++-v3:
31775 @if target-libstdc++-v3
31776 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31778 mostlyclean-target-libstdc++-v3:
31779 @: $(MAKE); $(unstage)
31780 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31781 r=`${PWD_COMMAND}`; export r; \
31782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31783 $(RAW_CXX_TARGET_EXPORTS) \
31784 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31785 for flag in $(EXTRA_TARGET_FLAGS); do \
31786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31787 done; \
31788 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31791 "RANLIB=$${RANLIB}" \
31792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31793 mostlyclean) \
31794 || exit 1
31796 @endif target-libstdc++-v3
31798 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31799 maybe-clean-target-libstdc++-v3:
31800 @if target-libstdc++-v3
31801 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31803 clean-target-libstdc++-v3:
31804 @: $(MAKE); $(unstage)
31805 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31806 r=`${PWD_COMMAND}`; export r; \
31807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31808 $(RAW_CXX_TARGET_EXPORTS) \
31809 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31810 for flag in $(EXTRA_TARGET_FLAGS); do \
31811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31812 done; \
31813 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31816 "RANLIB=$${RANLIB}" \
31817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31818 clean) \
31819 || exit 1
31821 @endif target-libstdc++-v3
31823 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31824 maybe-distclean-target-libstdc++-v3:
31825 @if target-libstdc++-v3
31826 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31828 distclean-target-libstdc++-v3:
31829 @: $(MAKE); $(unstage)
31830 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31831 r=`${PWD_COMMAND}`; export r; \
31832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31833 $(RAW_CXX_TARGET_EXPORTS) \
31834 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31835 for flag in $(EXTRA_TARGET_FLAGS); do \
31836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31837 done; \
31838 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31841 "RANLIB=$${RANLIB}" \
31842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31843 distclean) \
31844 || exit 1
31846 @endif target-libstdc++-v3
31848 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31849 maybe-maintainer-clean-target-libstdc++-v3:
31850 @if target-libstdc++-v3
31851 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31853 maintainer-clean-target-libstdc++-v3:
31854 @: $(MAKE); $(unstage)
31855 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31856 r=`${PWD_COMMAND}`; export r; \
31857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31858 $(RAW_CXX_TARGET_EXPORTS) \
31859 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31860 for flag in $(EXTRA_TARGET_FLAGS); do \
31861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31862 done; \
31863 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31866 "RANLIB=$${RANLIB}" \
31867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31868 maintainer-clean) \
31869 || exit 1
31871 @endif target-libstdc++-v3
31877 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31878 maybe-configure-target-libmudflap:
31879 @if gcc-bootstrap
31880 configure-target-libmudflap: stage_current
31881 @endif gcc-bootstrap
31882 @if target-libmudflap
31883 maybe-configure-target-libmudflap: configure-target-libmudflap
31884 configure-target-libmudflap:
31885 @: $(MAKE); $(unstage)
31886 @r=`${PWD_COMMAND}`; export r; \
31887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31888 echo "Checking multilib configuration for libmudflap..."; \
31889 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31890 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31891 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31892 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31893 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31894 else \
31895 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31896 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31897 fi; \
31898 else \
31899 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31900 fi; \
31901 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31902 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31903 $(NORMAL_TARGET_EXPORTS) \
31904 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31905 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31906 case $(srcdir) in \
31907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31908 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31910 esac; \
31911 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31912 libsrcdir="$$s/libmudflap"; \
31913 rm -f no-such-file || : ; \
31914 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31915 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31916 --target=${target_alias} $${srcdiroption} \
31917 || exit 1
31918 @endif target-libmudflap
31924 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31925 maybe-all-target-libmudflap:
31926 @if gcc-bootstrap
31927 all-target-libmudflap: stage_current
31928 @endif gcc-bootstrap
31929 @if target-libmudflap
31930 TARGET-target-libmudflap=all
31931 maybe-all-target-libmudflap: all-target-libmudflap
31932 all-target-libmudflap: configure-target-libmudflap
31933 @: $(MAKE); $(unstage)
31934 @r=`${PWD_COMMAND}`; export r; \
31935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31936 $(NORMAL_TARGET_EXPORTS) \
31937 (cd $(TARGET_SUBDIR)/libmudflap && \
31938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31939 $(TARGET-target-libmudflap))
31940 @endif target-libmudflap
31946 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31947 maybe-check-target-libmudflap:
31948 @if target-libmudflap
31949 maybe-check-target-libmudflap: check-target-libmudflap
31951 check-target-libmudflap:
31952 @: $(MAKE); $(unstage)
31953 @r=`${PWD_COMMAND}`; export r; \
31954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31955 $(NORMAL_TARGET_EXPORTS) \
31956 (cd $(TARGET_SUBDIR)/libmudflap && \
31957 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31959 @endif target-libmudflap
31961 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31962 maybe-install-target-libmudflap:
31963 @if target-libmudflap
31964 maybe-install-target-libmudflap: install-target-libmudflap
31966 install-target-libmudflap: installdirs
31967 @: $(MAKE); $(unstage)
31968 @r=`${PWD_COMMAND}`; export r; \
31969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31970 $(NORMAL_TARGET_EXPORTS) \
31971 (cd $(TARGET_SUBDIR)/libmudflap && \
31972 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31974 @endif target-libmudflap
31976 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31977 maybe-install-strip-target-libmudflap:
31978 @if target-libmudflap
31979 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31981 install-strip-target-libmudflap: installdirs
31982 @: $(MAKE); $(unstage)
31983 @r=`${PWD_COMMAND}`; export r; \
31984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31985 $(NORMAL_TARGET_EXPORTS) \
31986 (cd $(TARGET_SUBDIR)/libmudflap && \
31987 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31989 @endif target-libmudflap
31991 # Other targets (info, dvi, pdf, etc.)
31993 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31994 maybe-info-target-libmudflap:
31995 @if target-libmudflap
31996 maybe-info-target-libmudflap: info-target-libmudflap
31998 info-target-libmudflap: \
31999 configure-target-libmudflap
32000 @: $(MAKE); $(unstage)
32001 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32002 r=`${PWD_COMMAND}`; export r; \
32003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32004 $(NORMAL_TARGET_EXPORTS) \
32005 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
32006 for flag in $(EXTRA_TARGET_FLAGS); do \
32007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32008 done; \
32009 (cd $(TARGET_SUBDIR)/libmudflap && \
32010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32012 "RANLIB=$${RANLIB}" \
32013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32014 info) \
32015 || exit 1
32017 @endif target-libmudflap
32019 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
32020 maybe-dvi-target-libmudflap:
32021 @if target-libmudflap
32022 maybe-dvi-target-libmudflap: dvi-target-libmudflap
32024 dvi-target-libmudflap: \
32025 configure-target-libmudflap
32026 @: $(MAKE); $(unstage)
32027 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32028 r=`${PWD_COMMAND}`; export r; \
32029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32030 $(NORMAL_TARGET_EXPORTS) \
32031 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
32032 for flag in $(EXTRA_TARGET_FLAGS); do \
32033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32034 done; \
32035 (cd $(TARGET_SUBDIR)/libmudflap && \
32036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32038 "RANLIB=$${RANLIB}" \
32039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32040 dvi) \
32041 || exit 1
32043 @endif target-libmudflap
32045 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
32046 maybe-pdf-target-libmudflap:
32047 @if target-libmudflap
32048 maybe-pdf-target-libmudflap: pdf-target-libmudflap
32050 pdf-target-libmudflap: \
32051 configure-target-libmudflap
32052 @: $(MAKE); $(unstage)
32053 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32054 r=`${PWD_COMMAND}`; export r; \
32055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32056 $(NORMAL_TARGET_EXPORTS) \
32057 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
32058 for flag in $(EXTRA_TARGET_FLAGS); do \
32059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32060 done; \
32061 (cd $(TARGET_SUBDIR)/libmudflap && \
32062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32064 "RANLIB=$${RANLIB}" \
32065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32066 pdf) \
32067 || exit 1
32069 @endif target-libmudflap
32071 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
32072 maybe-html-target-libmudflap:
32073 @if target-libmudflap
32074 maybe-html-target-libmudflap: html-target-libmudflap
32076 html-target-libmudflap: \
32077 configure-target-libmudflap
32078 @: $(MAKE); $(unstage)
32079 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32080 r=`${PWD_COMMAND}`; export r; \
32081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32082 $(NORMAL_TARGET_EXPORTS) \
32083 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
32084 for flag in $(EXTRA_TARGET_FLAGS); do \
32085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32086 done; \
32087 (cd $(TARGET_SUBDIR)/libmudflap && \
32088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32090 "RANLIB=$${RANLIB}" \
32091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32092 html) \
32093 || exit 1
32095 @endif target-libmudflap
32097 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
32098 maybe-TAGS-target-libmudflap:
32099 @if target-libmudflap
32100 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
32102 TAGS-target-libmudflap: \
32103 configure-target-libmudflap
32104 @: $(MAKE); $(unstage)
32105 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32106 r=`${PWD_COMMAND}`; export r; \
32107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32108 $(NORMAL_TARGET_EXPORTS) \
32109 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
32110 for flag in $(EXTRA_TARGET_FLAGS); do \
32111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32112 done; \
32113 (cd $(TARGET_SUBDIR)/libmudflap && \
32114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32116 "RANLIB=$${RANLIB}" \
32117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32118 TAGS) \
32119 || exit 1
32121 @endif target-libmudflap
32123 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
32124 maybe-install-info-target-libmudflap:
32125 @if target-libmudflap
32126 maybe-install-info-target-libmudflap: install-info-target-libmudflap
32128 install-info-target-libmudflap: \
32129 configure-target-libmudflap \
32130 info-target-libmudflap
32131 @: $(MAKE); $(unstage)
32132 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32133 r=`${PWD_COMMAND}`; export r; \
32134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32135 $(NORMAL_TARGET_EXPORTS) \
32136 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
32137 for flag in $(EXTRA_TARGET_FLAGS); do \
32138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32139 done; \
32140 (cd $(TARGET_SUBDIR)/libmudflap && \
32141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32143 "RANLIB=$${RANLIB}" \
32144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32145 install-info) \
32146 || exit 1
32148 @endif target-libmudflap
32150 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
32151 maybe-install-pdf-target-libmudflap:
32152 @if target-libmudflap
32153 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
32155 install-pdf-target-libmudflap: \
32156 configure-target-libmudflap \
32157 pdf-target-libmudflap
32158 @: $(MAKE); $(unstage)
32159 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32160 r=`${PWD_COMMAND}`; export r; \
32161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32162 $(NORMAL_TARGET_EXPORTS) \
32163 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
32164 for flag in $(EXTRA_TARGET_FLAGS); do \
32165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32166 done; \
32167 (cd $(TARGET_SUBDIR)/libmudflap && \
32168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32170 "RANLIB=$${RANLIB}" \
32171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32172 install-pdf) \
32173 || exit 1
32175 @endif target-libmudflap
32177 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32178 maybe-install-html-target-libmudflap:
32179 @if target-libmudflap
32180 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32182 install-html-target-libmudflap: \
32183 configure-target-libmudflap \
32184 html-target-libmudflap
32185 @: $(MAKE); $(unstage)
32186 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32187 r=`${PWD_COMMAND}`; export r; \
32188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32189 $(NORMAL_TARGET_EXPORTS) \
32190 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32191 for flag in $(EXTRA_TARGET_FLAGS); do \
32192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32193 done; \
32194 (cd $(TARGET_SUBDIR)/libmudflap && \
32195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32197 "RANLIB=$${RANLIB}" \
32198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32199 install-html) \
32200 || exit 1
32202 @endif target-libmudflap
32204 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32205 maybe-installcheck-target-libmudflap:
32206 @if target-libmudflap
32207 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32209 installcheck-target-libmudflap: \
32210 configure-target-libmudflap
32211 @: $(MAKE); $(unstage)
32212 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32213 r=`${PWD_COMMAND}`; export r; \
32214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32215 $(NORMAL_TARGET_EXPORTS) \
32216 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32217 for flag in $(EXTRA_TARGET_FLAGS); do \
32218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32219 done; \
32220 (cd $(TARGET_SUBDIR)/libmudflap && \
32221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32223 "RANLIB=$${RANLIB}" \
32224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32225 installcheck) \
32226 || exit 1
32228 @endif target-libmudflap
32230 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32231 maybe-mostlyclean-target-libmudflap:
32232 @if target-libmudflap
32233 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32235 mostlyclean-target-libmudflap:
32236 @: $(MAKE); $(unstage)
32237 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32238 r=`${PWD_COMMAND}`; export r; \
32239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32240 $(NORMAL_TARGET_EXPORTS) \
32241 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32242 for flag in $(EXTRA_TARGET_FLAGS); do \
32243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32244 done; \
32245 (cd $(TARGET_SUBDIR)/libmudflap && \
32246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32248 "RANLIB=$${RANLIB}" \
32249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32250 mostlyclean) \
32251 || exit 1
32253 @endif target-libmudflap
32255 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
32256 maybe-clean-target-libmudflap:
32257 @if target-libmudflap
32258 maybe-clean-target-libmudflap: clean-target-libmudflap
32260 clean-target-libmudflap:
32261 @: $(MAKE); $(unstage)
32262 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32263 r=`${PWD_COMMAND}`; export r; \
32264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32265 $(NORMAL_TARGET_EXPORTS) \
32266 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
32267 for flag in $(EXTRA_TARGET_FLAGS); do \
32268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32269 done; \
32270 (cd $(TARGET_SUBDIR)/libmudflap && \
32271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32273 "RANLIB=$${RANLIB}" \
32274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32275 clean) \
32276 || exit 1
32278 @endif target-libmudflap
32280 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
32281 maybe-distclean-target-libmudflap:
32282 @if target-libmudflap
32283 maybe-distclean-target-libmudflap: distclean-target-libmudflap
32285 distclean-target-libmudflap:
32286 @: $(MAKE); $(unstage)
32287 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32288 r=`${PWD_COMMAND}`; export r; \
32289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32290 $(NORMAL_TARGET_EXPORTS) \
32291 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
32292 for flag in $(EXTRA_TARGET_FLAGS); do \
32293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32294 done; \
32295 (cd $(TARGET_SUBDIR)/libmudflap && \
32296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32298 "RANLIB=$${RANLIB}" \
32299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32300 distclean) \
32301 || exit 1
32303 @endif target-libmudflap
32305 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
32306 maybe-maintainer-clean-target-libmudflap:
32307 @if target-libmudflap
32308 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
32310 maintainer-clean-target-libmudflap:
32311 @: $(MAKE); $(unstage)
32312 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32313 r=`${PWD_COMMAND}`; export r; \
32314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32315 $(NORMAL_TARGET_EXPORTS) \
32316 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
32317 for flag in $(EXTRA_TARGET_FLAGS); do \
32318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32319 done; \
32320 (cd $(TARGET_SUBDIR)/libmudflap && \
32321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32323 "RANLIB=$${RANLIB}" \
32324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32325 maintainer-clean) \
32326 || exit 1
32328 @endif target-libmudflap
32334 .PHONY: configure-target-libssp maybe-configure-target-libssp
32335 maybe-configure-target-libssp:
32336 @if gcc-bootstrap
32337 configure-target-libssp: stage_current
32338 @endif gcc-bootstrap
32339 @if target-libssp
32340 maybe-configure-target-libssp: configure-target-libssp
32341 configure-target-libssp:
32342 @: $(MAKE); $(unstage)
32343 @r=`${PWD_COMMAND}`; export r; \
32344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32345 echo "Checking multilib configuration for libssp..."; \
32346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32347 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
32348 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
32349 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
32350 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
32351 else \
32352 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
32353 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32354 fi; \
32355 else \
32356 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32357 fi; \
32358 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
32359 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32360 $(NORMAL_TARGET_EXPORTS) \
32361 echo Configuring in $(TARGET_SUBDIR)/libssp; \
32362 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
32363 case $(srcdir) in \
32364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32365 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
32366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32367 esac; \
32368 srcdiroption="--srcdir=$${topdir}/libssp"; \
32369 libsrcdir="$$s/libssp"; \
32370 rm -f no-such-file || : ; \
32371 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32372 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32373 --target=${target_alias} $${srcdiroption} \
32374 || exit 1
32375 @endif target-libssp
32381 .PHONY: all-target-libssp maybe-all-target-libssp
32382 maybe-all-target-libssp:
32383 @if gcc-bootstrap
32384 all-target-libssp: stage_current
32385 @endif gcc-bootstrap
32386 @if target-libssp
32387 TARGET-target-libssp=all
32388 maybe-all-target-libssp: all-target-libssp
32389 all-target-libssp: configure-target-libssp
32390 @: $(MAKE); $(unstage)
32391 @r=`${PWD_COMMAND}`; export r; \
32392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32393 $(NORMAL_TARGET_EXPORTS) \
32394 (cd $(TARGET_SUBDIR)/libssp && \
32395 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32396 $(TARGET-target-libssp))
32397 @endif target-libssp
32403 .PHONY: check-target-libssp maybe-check-target-libssp
32404 maybe-check-target-libssp:
32405 @if target-libssp
32406 maybe-check-target-libssp: check-target-libssp
32408 check-target-libssp:
32409 @: $(MAKE); $(unstage)
32410 @r=`${PWD_COMMAND}`; export r; \
32411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32412 $(NORMAL_TARGET_EXPORTS) \
32413 (cd $(TARGET_SUBDIR)/libssp && \
32414 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32416 @endif target-libssp
32418 .PHONY: install-target-libssp maybe-install-target-libssp
32419 maybe-install-target-libssp:
32420 @if target-libssp
32421 maybe-install-target-libssp: install-target-libssp
32423 install-target-libssp: installdirs
32424 @: $(MAKE); $(unstage)
32425 @r=`${PWD_COMMAND}`; export r; \
32426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32427 $(NORMAL_TARGET_EXPORTS) \
32428 (cd $(TARGET_SUBDIR)/libssp && \
32429 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32431 @endif target-libssp
32433 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
32434 maybe-install-strip-target-libssp:
32435 @if target-libssp
32436 maybe-install-strip-target-libssp: install-strip-target-libssp
32438 install-strip-target-libssp: installdirs
32439 @: $(MAKE); $(unstage)
32440 @r=`${PWD_COMMAND}`; export r; \
32441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32442 $(NORMAL_TARGET_EXPORTS) \
32443 (cd $(TARGET_SUBDIR)/libssp && \
32444 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32446 @endif target-libssp
32448 # Other targets (info, dvi, pdf, etc.)
32450 .PHONY: maybe-info-target-libssp info-target-libssp
32451 maybe-info-target-libssp:
32452 @if target-libssp
32453 maybe-info-target-libssp: info-target-libssp
32455 info-target-libssp: \
32456 configure-target-libssp
32457 @: $(MAKE); $(unstage)
32458 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32459 r=`${PWD_COMMAND}`; export r; \
32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32461 $(NORMAL_TARGET_EXPORTS) \
32462 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
32463 for flag in $(EXTRA_TARGET_FLAGS); do \
32464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32465 done; \
32466 (cd $(TARGET_SUBDIR)/libssp && \
32467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32469 "RANLIB=$${RANLIB}" \
32470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32471 info) \
32472 || exit 1
32474 @endif target-libssp
32476 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
32477 maybe-dvi-target-libssp:
32478 @if target-libssp
32479 maybe-dvi-target-libssp: dvi-target-libssp
32481 dvi-target-libssp: \
32482 configure-target-libssp
32483 @: $(MAKE); $(unstage)
32484 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32485 r=`${PWD_COMMAND}`; export r; \
32486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32487 $(NORMAL_TARGET_EXPORTS) \
32488 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
32489 for flag in $(EXTRA_TARGET_FLAGS); do \
32490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32491 done; \
32492 (cd $(TARGET_SUBDIR)/libssp && \
32493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32495 "RANLIB=$${RANLIB}" \
32496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32497 dvi) \
32498 || exit 1
32500 @endif target-libssp
32502 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
32503 maybe-pdf-target-libssp:
32504 @if target-libssp
32505 maybe-pdf-target-libssp: pdf-target-libssp
32507 pdf-target-libssp: \
32508 configure-target-libssp
32509 @: $(MAKE); $(unstage)
32510 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32511 r=`${PWD_COMMAND}`; export r; \
32512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32513 $(NORMAL_TARGET_EXPORTS) \
32514 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
32515 for flag in $(EXTRA_TARGET_FLAGS); do \
32516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32517 done; \
32518 (cd $(TARGET_SUBDIR)/libssp && \
32519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32521 "RANLIB=$${RANLIB}" \
32522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32523 pdf) \
32524 || exit 1
32526 @endif target-libssp
32528 .PHONY: maybe-html-target-libssp html-target-libssp
32529 maybe-html-target-libssp:
32530 @if target-libssp
32531 maybe-html-target-libssp: html-target-libssp
32533 html-target-libssp: \
32534 configure-target-libssp
32535 @: $(MAKE); $(unstage)
32536 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32537 r=`${PWD_COMMAND}`; export r; \
32538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32539 $(NORMAL_TARGET_EXPORTS) \
32540 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
32541 for flag in $(EXTRA_TARGET_FLAGS); do \
32542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32543 done; \
32544 (cd $(TARGET_SUBDIR)/libssp && \
32545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32547 "RANLIB=$${RANLIB}" \
32548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32549 html) \
32550 || exit 1
32552 @endif target-libssp
32554 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
32555 maybe-TAGS-target-libssp:
32556 @if target-libssp
32557 maybe-TAGS-target-libssp: TAGS-target-libssp
32559 TAGS-target-libssp: \
32560 configure-target-libssp
32561 @: $(MAKE); $(unstage)
32562 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32563 r=`${PWD_COMMAND}`; export r; \
32564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32565 $(NORMAL_TARGET_EXPORTS) \
32566 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
32567 for flag in $(EXTRA_TARGET_FLAGS); do \
32568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32569 done; \
32570 (cd $(TARGET_SUBDIR)/libssp && \
32571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32573 "RANLIB=$${RANLIB}" \
32574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32575 TAGS) \
32576 || exit 1
32578 @endif target-libssp
32580 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
32581 maybe-install-info-target-libssp:
32582 @if target-libssp
32583 maybe-install-info-target-libssp: install-info-target-libssp
32585 install-info-target-libssp: \
32586 configure-target-libssp \
32587 info-target-libssp
32588 @: $(MAKE); $(unstage)
32589 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32590 r=`${PWD_COMMAND}`; export r; \
32591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32592 $(NORMAL_TARGET_EXPORTS) \
32593 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
32594 for flag in $(EXTRA_TARGET_FLAGS); do \
32595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32596 done; \
32597 (cd $(TARGET_SUBDIR)/libssp && \
32598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32600 "RANLIB=$${RANLIB}" \
32601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32602 install-info) \
32603 || exit 1
32605 @endif target-libssp
32607 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
32608 maybe-install-pdf-target-libssp:
32609 @if target-libssp
32610 maybe-install-pdf-target-libssp: install-pdf-target-libssp
32612 install-pdf-target-libssp: \
32613 configure-target-libssp \
32614 pdf-target-libssp
32615 @: $(MAKE); $(unstage)
32616 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32617 r=`${PWD_COMMAND}`; export r; \
32618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32619 $(NORMAL_TARGET_EXPORTS) \
32620 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
32621 for flag in $(EXTRA_TARGET_FLAGS); do \
32622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32623 done; \
32624 (cd $(TARGET_SUBDIR)/libssp && \
32625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32627 "RANLIB=$${RANLIB}" \
32628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32629 install-pdf) \
32630 || exit 1
32632 @endif target-libssp
32634 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
32635 maybe-install-html-target-libssp:
32636 @if target-libssp
32637 maybe-install-html-target-libssp: install-html-target-libssp
32639 install-html-target-libssp: \
32640 configure-target-libssp \
32641 html-target-libssp
32642 @: $(MAKE); $(unstage)
32643 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32644 r=`${PWD_COMMAND}`; export r; \
32645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32646 $(NORMAL_TARGET_EXPORTS) \
32647 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
32648 for flag in $(EXTRA_TARGET_FLAGS); do \
32649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32650 done; \
32651 (cd $(TARGET_SUBDIR)/libssp && \
32652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32654 "RANLIB=$${RANLIB}" \
32655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32656 install-html) \
32657 || exit 1
32659 @endif target-libssp
32661 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
32662 maybe-installcheck-target-libssp:
32663 @if target-libssp
32664 maybe-installcheck-target-libssp: installcheck-target-libssp
32666 installcheck-target-libssp: \
32667 configure-target-libssp
32668 @: $(MAKE); $(unstage)
32669 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32670 r=`${PWD_COMMAND}`; export r; \
32671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32672 $(NORMAL_TARGET_EXPORTS) \
32673 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
32674 for flag in $(EXTRA_TARGET_FLAGS); do \
32675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32676 done; \
32677 (cd $(TARGET_SUBDIR)/libssp && \
32678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32680 "RANLIB=$${RANLIB}" \
32681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32682 installcheck) \
32683 || exit 1
32685 @endif target-libssp
32687 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
32688 maybe-mostlyclean-target-libssp:
32689 @if target-libssp
32690 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
32692 mostlyclean-target-libssp:
32693 @: $(MAKE); $(unstage)
32694 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32695 r=`${PWD_COMMAND}`; export r; \
32696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32697 $(NORMAL_TARGET_EXPORTS) \
32698 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
32699 for flag in $(EXTRA_TARGET_FLAGS); do \
32700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32701 done; \
32702 (cd $(TARGET_SUBDIR)/libssp && \
32703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32705 "RANLIB=$${RANLIB}" \
32706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32707 mostlyclean) \
32708 || exit 1
32710 @endif target-libssp
32712 .PHONY: maybe-clean-target-libssp clean-target-libssp
32713 maybe-clean-target-libssp:
32714 @if target-libssp
32715 maybe-clean-target-libssp: clean-target-libssp
32717 clean-target-libssp:
32718 @: $(MAKE); $(unstage)
32719 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32720 r=`${PWD_COMMAND}`; export r; \
32721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32722 $(NORMAL_TARGET_EXPORTS) \
32723 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
32724 for flag in $(EXTRA_TARGET_FLAGS); do \
32725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32726 done; \
32727 (cd $(TARGET_SUBDIR)/libssp && \
32728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32730 "RANLIB=$${RANLIB}" \
32731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32732 clean) \
32733 || exit 1
32735 @endif target-libssp
32737 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
32738 maybe-distclean-target-libssp:
32739 @if target-libssp
32740 maybe-distclean-target-libssp: distclean-target-libssp
32742 distclean-target-libssp:
32743 @: $(MAKE); $(unstage)
32744 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32745 r=`${PWD_COMMAND}`; export r; \
32746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32747 $(NORMAL_TARGET_EXPORTS) \
32748 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
32749 for flag in $(EXTRA_TARGET_FLAGS); do \
32750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32751 done; \
32752 (cd $(TARGET_SUBDIR)/libssp && \
32753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32755 "RANLIB=$${RANLIB}" \
32756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32757 distclean) \
32758 || exit 1
32760 @endif target-libssp
32762 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
32763 maybe-maintainer-clean-target-libssp:
32764 @if target-libssp
32765 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
32767 maintainer-clean-target-libssp:
32768 @: $(MAKE); $(unstage)
32769 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32770 r=`${PWD_COMMAND}`; export r; \
32771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32772 $(NORMAL_TARGET_EXPORTS) \
32773 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
32774 for flag in $(EXTRA_TARGET_FLAGS); do \
32775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32776 done; \
32777 (cd $(TARGET_SUBDIR)/libssp && \
32778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32780 "RANLIB=$${RANLIB}" \
32781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32782 maintainer-clean) \
32783 || exit 1
32785 @endif target-libssp
32791 .PHONY: configure-target-newlib maybe-configure-target-newlib
32792 maybe-configure-target-newlib:
32793 @if gcc-bootstrap
32794 configure-target-newlib: stage_current
32795 @endif gcc-bootstrap
32796 @if target-newlib
32797 maybe-configure-target-newlib: configure-target-newlib
32798 configure-target-newlib:
32799 @: $(MAKE); $(unstage)
32800 @r=`${PWD_COMMAND}`; export r; \
32801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32802 echo "Checking multilib configuration for newlib..."; \
32803 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32804 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
32805 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
32806 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
32807 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
32808 else \
32809 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
32810 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32811 fi; \
32812 else \
32813 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32814 fi; \
32815 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
32816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32817 $(NORMAL_TARGET_EXPORTS) \
32818 echo Configuring in $(TARGET_SUBDIR)/newlib; \
32819 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
32820 case $(srcdir) in \
32821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32822 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
32823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32824 esac; \
32825 srcdiroption="--srcdir=$${topdir}/newlib"; \
32826 libsrcdir="$$s/newlib"; \
32827 rm -f no-such-file || : ; \
32828 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32829 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32830 --target=${target_alias} $${srcdiroption} \
32831 || exit 1
32832 @endif target-newlib
32838 .PHONY: all-target-newlib maybe-all-target-newlib
32839 maybe-all-target-newlib:
32840 @if gcc-bootstrap
32841 all-target-newlib: stage_current
32842 @endif gcc-bootstrap
32843 @if target-newlib
32844 TARGET-target-newlib=all
32845 maybe-all-target-newlib: all-target-newlib
32846 all-target-newlib: configure-target-newlib
32847 @: $(MAKE); $(unstage)
32848 @r=`${PWD_COMMAND}`; export r; \
32849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32850 $(NORMAL_TARGET_EXPORTS) \
32851 (cd $(TARGET_SUBDIR)/newlib && \
32852 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32853 $(TARGET-target-newlib))
32854 @endif target-newlib
32860 .PHONY: check-target-newlib maybe-check-target-newlib
32861 maybe-check-target-newlib:
32862 @if target-newlib
32863 maybe-check-target-newlib: check-target-newlib
32865 check-target-newlib:
32866 @: $(MAKE); $(unstage)
32867 @r=`${PWD_COMMAND}`; export r; \
32868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32869 $(NORMAL_TARGET_EXPORTS) \
32870 (cd $(TARGET_SUBDIR)/newlib && \
32871 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32873 @endif target-newlib
32875 .PHONY: install-target-newlib maybe-install-target-newlib
32876 maybe-install-target-newlib:
32877 @if target-newlib
32878 maybe-install-target-newlib: install-target-newlib
32880 install-target-newlib: installdirs
32881 @: $(MAKE); $(unstage)
32882 @r=`${PWD_COMMAND}`; export r; \
32883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32884 $(NORMAL_TARGET_EXPORTS) \
32885 (cd $(TARGET_SUBDIR)/newlib && \
32886 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32888 @endif target-newlib
32890 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
32891 maybe-install-strip-target-newlib:
32892 @if target-newlib
32893 maybe-install-strip-target-newlib: install-strip-target-newlib
32895 install-strip-target-newlib: installdirs
32896 @: $(MAKE); $(unstage)
32897 @r=`${PWD_COMMAND}`; export r; \
32898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32899 $(NORMAL_TARGET_EXPORTS) \
32900 (cd $(TARGET_SUBDIR)/newlib && \
32901 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32903 @endif target-newlib
32905 # Other targets (info, dvi, pdf, etc.)
32907 .PHONY: maybe-info-target-newlib info-target-newlib
32908 maybe-info-target-newlib:
32909 @if target-newlib
32910 maybe-info-target-newlib: info-target-newlib
32912 info-target-newlib: \
32913 configure-target-newlib
32914 @: $(MAKE); $(unstage)
32915 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32916 r=`${PWD_COMMAND}`; export r; \
32917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32918 $(NORMAL_TARGET_EXPORTS) \
32919 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32920 for flag in $(EXTRA_TARGET_FLAGS); do \
32921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32922 done; \
32923 (cd $(TARGET_SUBDIR)/newlib && \
32924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32926 "RANLIB=$${RANLIB}" \
32927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32928 info) \
32929 || exit 1
32931 @endif target-newlib
32933 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32934 maybe-dvi-target-newlib:
32935 @if target-newlib
32936 maybe-dvi-target-newlib: dvi-target-newlib
32938 dvi-target-newlib: \
32939 configure-target-newlib
32940 @: $(MAKE); $(unstage)
32941 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32942 r=`${PWD_COMMAND}`; export r; \
32943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32944 $(NORMAL_TARGET_EXPORTS) \
32945 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32946 for flag in $(EXTRA_TARGET_FLAGS); do \
32947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32948 done; \
32949 (cd $(TARGET_SUBDIR)/newlib && \
32950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32952 "RANLIB=$${RANLIB}" \
32953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32954 dvi) \
32955 || exit 1
32957 @endif target-newlib
32959 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32960 maybe-pdf-target-newlib:
32961 @if target-newlib
32962 maybe-pdf-target-newlib: pdf-target-newlib
32964 pdf-target-newlib: \
32965 configure-target-newlib
32966 @: $(MAKE); $(unstage)
32967 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32968 r=`${PWD_COMMAND}`; export r; \
32969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32970 $(NORMAL_TARGET_EXPORTS) \
32971 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32972 for flag in $(EXTRA_TARGET_FLAGS); do \
32973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32974 done; \
32975 (cd $(TARGET_SUBDIR)/newlib && \
32976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32978 "RANLIB=$${RANLIB}" \
32979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32980 pdf) \
32981 || exit 1
32983 @endif target-newlib
32985 .PHONY: maybe-html-target-newlib html-target-newlib
32986 maybe-html-target-newlib:
32987 @if target-newlib
32988 maybe-html-target-newlib: html-target-newlib
32990 html-target-newlib: \
32991 configure-target-newlib
32992 @: $(MAKE); $(unstage)
32993 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32994 r=`${PWD_COMMAND}`; export r; \
32995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32996 $(NORMAL_TARGET_EXPORTS) \
32997 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32998 for flag in $(EXTRA_TARGET_FLAGS); do \
32999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33000 done; \
33001 (cd $(TARGET_SUBDIR)/newlib && \
33002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33004 "RANLIB=$${RANLIB}" \
33005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33006 html) \
33007 || exit 1
33009 @endif target-newlib
33011 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
33012 maybe-TAGS-target-newlib:
33013 @if target-newlib
33014 maybe-TAGS-target-newlib: TAGS-target-newlib
33016 TAGS-target-newlib: \
33017 configure-target-newlib
33018 @: $(MAKE); $(unstage)
33019 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33020 r=`${PWD_COMMAND}`; export r; \
33021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33022 $(NORMAL_TARGET_EXPORTS) \
33023 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
33024 for flag in $(EXTRA_TARGET_FLAGS); do \
33025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33026 done; \
33027 (cd $(TARGET_SUBDIR)/newlib && \
33028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33030 "RANLIB=$${RANLIB}" \
33031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33032 TAGS) \
33033 || exit 1
33035 @endif target-newlib
33037 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
33038 maybe-install-info-target-newlib:
33039 @if target-newlib
33040 maybe-install-info-target-newlib: install-info-target-newlib
33042 install-info-target-newlib: \
33043 configure-target-newlib \
33044 info-target-newlib
33045 @: $(MAKE); $(unstage)
33046 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33047 r=`${PWD_COMMAND}`; export r; \
33048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33049 $(NORMAL_TARGET_EXPORTS) \
33050 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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 install-info) \
33060 || exit 1
33062 @endif target-newlib
33064 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
33065 maybe-install-pdf-target-newlib:
33066 @if target-newlib
33067 maybe-install-pdf-target-newlib: install-pdf-target-newlib
33069 install-pdf-target-newlib: \
33070 configure-target-newlib \
33071 pdf-target-newlib
33072 @: $(MAKE); $(unstage)
33073 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33074 r=`${PWD_COMMAND}`; export r; \
33075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33076 $(NORMAL_TARGET_EXPORTS) \
33077 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
33078 for flag in $(EXTRA_TARGET_FLAGS); do \
33079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33080 done; \
33081 (cd $(TARGET_SUBDIR)/newlib && \
33082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33084 "RANLIB=$${RANLIB}" \
33085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33086 install-pdf) \
33087 || exit 1
33089 @endif target-newlib
33091 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
33092 maybe-install-html-target-newlib:
33093 @if target-newlib
33094 maybe-install-html-target-newlib: install-html-target-newlib
33096 install-html-target-newlib: \
33097 configure-target-newlib \
33098 html-target-newlib
33099 @: $(MAKE); $(unstage)
33100 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33101 r=`${PWD_COMMAND}`; export r; \
33102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33103 $(NORMAL_TARGET_EXPORTS) \
33104 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
33105 for flag in $(EXTRA_TARGET_FLAGS); do \
33106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33107 done; \
33108 (cd $(TARGET_SUBDIR)/newlib && \
33109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33111 "RANLIB=$${RANLIB}" \
33112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33113 install-html) \
33114 || exit 1
33116 @endif target-newlib
33118 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
33119 maybe-installcheck-target-newlib:
33120 @if target-newlib
33121 maybe-installcheck-target-newlib: installcheck-target-newlib
33123 installcheck-target-newlib: \
33124 configure-target-newlib
33125 @: $(MAKE); $(unstage)
33126 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33127 r=`${PWD_COMMAND}`; export r; \
33128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33129 $(NORMAL_TARGET_EXPORTS) \
33130 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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 installcheck) \
33140 || exit 1
33142 @endif target-newlib
33144 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
33145 maybe-mostlyclean-target-newlib:
33146 @if target-newlib
33147 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
33149 mostlyclean-target-newlib:
33150 @: $(MAKE); $(unstage)
33151 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33152 r=`${PWD_COMMAND}`; export r; \
33153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33154 $(NORMAL_TARGET_EXPORTS) \
33155 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
33156 for flag in $(EXTRA_TARGET_FLAGS); do \
33157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33158 done; \
33159 (cd $(TARGET_SUBDIR)/newlib && \
33160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33162 "RANLIB=$${RANLIB}" \
33163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33164 mostlyclean) \
33165 || exit 1
33167 @endif target-newlib
33169 .PHONY: maybe-clean-target-newlib clean-target-newlib
33170 maybe-clean-target-newlib:
33171 @if target-newlib
33172 maybe-clean-target-newlib: clean-target-newlib
33174 clean-target-newlib:
33175 @: $(MAKE); $(unstage)
33176 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33177 r=`${PWD_COMMAND}`; export r; \
33178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33179 $(NORMAL_TARGET_EXPORTS) \
33180 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
33181 for flag in $(EXTRA_TARGET_FLAGS); do \
33182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33183 done; \
33184 (cd $(TARGET_SUBDIR)/newlib && \
33185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33187 "RANLIB=$${RANLIB}" \
33188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33189 clean) \
33190 || exit 1
33192 @endif target-newlib
33194 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
33195 maybe-distclean-target-newlib:
33196 @if target-newlib
33197 maybe-distclean-target-newlib: distclean-target-newlib
33199 distclean-target-newlib:
33200 @: $(MAKE); $(unstage)
33201 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33202 r=`${PWD_COMMAND}`; export r; \
33203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33204 $(NORMAL_TARGET_EXPORTS) \
33205 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
33206 for flag in $(EXTRA_TARGET_FLAGS); do \
33207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33208 done; \
33209 (cd $(TARGET_SUBDIR)/newlib && \
33210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33212 "RANLIB=$${RANLIB}" \
33213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33214 distclean) \
33215 || exit 1
33217 @endif target-newlib
33219 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
33220 maybe-maintainer-clean-target-newlib:
33221 @if target-newlib
33222 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
33224 maintainer-clean-target-newlib:
33225 @: $(MAKE); $(unstage)
33226 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33227 r=`${PWD_COMMAND}`; export r; \
33228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33229 $(NORMAL_TARGET_EXPORTS) \
33230 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
33231 for flag in $(EXTRA_TARGET_FLAGS); do \
33232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33233 done; \
33234 (cd $(TARGET_SUBDIR)/newlib && \
33235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33237 "RANLIB=$${RANLIB}" \
33238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33239 maintainer-clean) \
33240 || exit 1
33242 @endif target-newlib
33248 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
33249 maybe-configure-target-libgcc:
33250 @if gcc-bootstrap
33251 configure-target-libgcc: stage_current
33252 @endif gcc-bootstrap
33253 @if target-libgcc
33254 maybe-configure-target-libgcc: configure-target-libgcc
33255 configure-target-libgcc:
33256 @r=`${PWD_COMMAND}`; export r; \
33257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33258 echo "Checking multilib configuration for libgcc..."; \
33259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33260 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33261 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33262 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33263 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33264 else \
33265 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33266 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33267 fi; \
33268 else \
33269 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33270 fi; \
33271 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33272 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33273 $(NORMAL_TARGET_EXPORTS) \
33274 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
33275 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
33276 case $(srcdir) in \
33277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33278 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33280 esac; \
33281 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33282 libsrcdir="$$s/libgcc"; \
33283 rm -f no-such-file || : ; \
33284 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33285 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33286 --target=${target_alias} $${srcdiroption} \
33287 || exit 1
33288 @endif target-libgcc
33292 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
33293 maybe-configure-stage1-target-libgcc:
33294 @if target-libgcc-bootstrap
33295 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
33296 configure-stage1-target-libgcc:
33297 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33298 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33299 @r=`${PWD_COMMAND}`; export r; \
33300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33301 TFLAGS="$(STAGE1_TFLAGS)"; \
33302 echo "Checking multilib configuration for libgcc..."; \
33303 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33304 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33305 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33306 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33307 else \
33308 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33309 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33310 fi; \
33311 else \
33312 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33313 fi; \
33314 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33315 $(NORMAL_TARGET_EXPORTS) \
33316 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33317 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33318 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33319 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
33320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33321 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33322 case $(srcdir) in \
33323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33324 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33326 esac; \
33327 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33328 libsrcdir="$$s/libgcc"; \
33329 $(SHELL) $${libsrcdir}/configure \
33330 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33331 --target=${target_alias} $${srcdiroption} \
33332 $(STAGE1_CONFIGURE_FLAGS)
33333 @endif target-libgcc-bootstrap
33335 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
33336 maybe-configure-stage2-target-libgcc:
33337 @if target-libgcc-bootstrap
33338 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
33339 configure-stage2-target-libgcc:
33340 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33341 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33342 @r=`${PWD_COMMAND}`; export r; \
33343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33344 TFLAGS="$(STAGE2_TFLAGS)"; \
33345 echo "Checking multilib configuration for libgcc..."; \
33346 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33347 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33348 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33349 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33350 else \
33351 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33352 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33353 fi; \
33354 else \
33355 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33356 fi; \
33357 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33358 $(NORMAL_TARGET_EXPORTS) \
33360 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33361 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33362 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33363 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
33364 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33365 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33366 case $(srcdir) in \
33367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33368 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33370 esac; \
33371 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33372 libsrcdir="$$s/libgcc"; \
33373 $(SHELL) $${libsrcdir}/configure \
33374 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33375 --target=${target_alias} $${srcdiroption} \
33376 --with-build-libsubdir=$(HOST_SUBDIR) \
33377 $(STAGE2_CONFIGURE_FLAGS)
33378 @endif target-libgcc-bootstrap
33380 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
33381 maybe-configure-stage3-target-libgcc:
33382 @if target-libgcc-bootstrap
33383 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
33384 configure-stage3-target-libgcc:
33385 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33386 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33387 @r=`${PWD_COMMAND}`; export r; \
33388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33389 TFLAGS="$(STAGE3_TFLAGS)"; \
33390 echo "Checking multilib configuration for libgcc..."; \
33391 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33392 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33393 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33394 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33395 else \
33396 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33397 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33398 fi; \
33399 else \
33400 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33401 fi; \
33402 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33403 $(NORMAL_TARGET_EXPORTS) \
33405 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33406 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33407 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33408 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
33409 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33410 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33411 case $(srcdir) in \
33412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33413 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33415 esac; \
33416 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33417 libsrcdir="$$s/libgcc"; \
33418 $(SHELL) $${libsrcdir}/configure \
33419 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33420 --target=${target_alias} $${srcdiroption} \
33421 --with-build-libsubdir=$(HOST_SUBDIR) \
33422 $(STAGE3_CONFIGURE_FLAGS)
33423 @endif target-libgcc-bootstrap
33425 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
33426 maybe-configure-stage4-target-libgcc:
33427 @if target-libgcc-bootstrap
33428 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
33429 configure-stage4-target-libgcc:
33430 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33431 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33432 @r=`${PWD_COMMAND}`; export r; \
33433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33434 TFLAGS="$(STAGE4_TFLAGS)"; \
33435 echo "Checking multilib configuration for libgcc..."; \
33436 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33437 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33438 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33439 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33440 else \
33441 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33442 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33443 fi; \
33444 else \
33445 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33446 fi; \
33447 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33448 $(NORMAL_TARGET_EXPORTS) \
33450 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33451 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33452 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33453 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
33454 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33455 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33456 case $(srcdir) in \
33457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33458 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33460 esac; \
33461 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33462 libsrcdir="$$s/libgcc"; \
33463 $(SHELL) $${libsrcdir}/configure \
33464 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33465 --target=${target_alias} $${srcdiroption} \
33466 --with-build-libsubdir=$(HOST_SUBDIR) \
33467 $(STAGE4_CONFIGURE_FLAGS)
33468 @endif target-libgcc-bootstrap
33470 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
33471 maybe-configure-stageprofile-target-libgcc:
33472 @if target-libgcc-bootstrap
33473 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
33474 configure-stageprofile-target-libgcc:
33475 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33476 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33477 @r=`${PWD_COMMAND}`; export r; \
33478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33479 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33480 echo "Checking multilib configuration for libgcc..."; \
33481 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33482 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33483 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33484 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33485 else \
33486 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33487 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33488 fi; \
33489 else \
33490 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33491 fi; \
33492 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33493 $(NORMAL_TARGET_EXPORTS) \
33495 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33496 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33497 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33498 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
33499 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33500 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33501 case $(srcdir) in \
33502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33503 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33505 esac; \
33506 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33507 libsrcdir="$$s/libgcc"; \
33508 $(SHELL) $${libsrcdir}/configure \
33509 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33510 --target=${target_alias} $${srcdiroption} \
33511 --with-build-libsubdir=$(HOST_SUBDIR) \
33512 $(STAGEprofile_CONFIGURE_FLAGS)
33513 @endif target-libgcc-bootstrap
33515 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
33516 maybe-configure-stagefeedback-target-libgcc:
33517 @if target-libgcc-bootstrap
33518 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
33519 configure-stagefeedback-target-libgcc:
33520 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33521 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33522 @r=`${PWD_COMMAND}`; export r; \
33523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33524 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33525 echo "Checking multilib configuration for libgcc..."; \
33526 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33527 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33528 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33529 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33530 else \
33531 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33532 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33533 fi; \
33534 else \
33535 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33536 fi; \
33537 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33538 $(NORMAL_TARGET_EXPORTS) \
33540 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33541 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33542 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33543 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
33544 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33545 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33546 case $(srcdir) in \
33547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33548 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33550 esac; \
33551 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33552 libsrcdir="$$s/libgcc"; \
33553 $(SHELL) $${libsrcdir}/configure \
33554 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33555 --target=${target_alias} $${srcdiroption} \
33556 --with-build-libsubdir=$(HOST_SUBDIR) \
33557 $(STAGEfeedback_CONFIGURE_FLAGS)
33558 @endif target-libgcc-bootstrap
33564 .PHONY: all-target-libgcc maybe-all-target-libgcc
33565 maybe-all-target-libgcc:
33566 @if gcc-bootstrap
33567 all-target-libgcc: stage_current
33568 @endif gcc-bootstrap
33569 @if target-libgcc
33570 TARGET-target-libgcc=all
33571 maybe-all-target-libgcc: all-target-libgcc
33572 all-target-libgcc: configure-target-libgcc
33573 @r=`${PWD_COMMAND}`; export r; \
33574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33575 $(NORMAL_TARGET_EXPORTS) \
33576 (cd $(TARGET_SUBDIR)/libgcc && \
33577 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33578 $(TARGET-target-libgcc))
33579 @endif target-libgcc
33583 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
33584 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
33585 maybe-all-stage1-target-libgcc:
33586 maybe-clean-stage1-target-libgcc:
33587 @if target-libgcc-bootstrap
33588 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
33589 all-stage1: all-stage1-target-libgcc
33590 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
33591 all-stage1-target-libgcc: configure-stage1-target-libgcc
33592 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33593 @r=`${PWD_COMMAND}`; export r; \
33594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33595 TFLAGS="$(STAGE1_TFLAGS)"; \
33596 $(NORMAL_TARGET_EXPORTS) \
33597 cd $(TARGET_SUBDIR)/libgcc && \
33598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33599 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33600 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33601 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33602 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33603 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33604 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33605 $(EXTRA_TARGET_FLAGS) \
33606 TFLAGS="$(STAGE1_TFLAGS)" \
33607 $(TARGET-stage1-target-libgcc)
33609 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
33610 clean-stage1: clean-stage1-target-libgcc
33611 clean-stage1-target-libgcc:
33612 @if [ $(current_stage) = stage1 ]; then \
33613 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33614 else \
33615 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
33616 $(MAKE) stage1-start; \
33617 fi; \
33618 cd $(TARGET_SUBDIR)/libgcc && \
33619 $(MAKE) $(EXTRA_TARGET_FLAGS) \
33620 clean
33621 @endif target-libgcc-bootstrap
33624 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
33625 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
33626 maybe-all-stage2-target-libgcc:
33627 maybe-clean-stage2-target-libgcc:
33628 @if target-libgcc-bootstrap
33629 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
33630 all-stage2: all-stage2-target-libgcc
33631 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
33632 all-stage2-target-libgcc: configure-stage2-target-libgcc
33633 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33634 @r=`${PWD_COMMAND}`; export r; \
33635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33636 TFLAGS="$(STAGE2_TFLAGS)"; \
33637 $(NORMAL_TARGET_EXPORTS) \
33639 cd $(TARGET_SUBDIR)/libgcc && \
33640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33641 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33642 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33643 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33647 $(EXTRA_TARGET_FLAGS) \
33648 TFLAGS="$(STAGE2_TFLAGS)" \
33649 $(TARGET-stage2-target-libgcc)
33651 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
33652 clean-stage2: clean-stage2-target-libgcc
33653 clean-stage2-target-libgcc:
33654 @if [ $(current_stage) = stage2 ]; then \
33655 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33656 else \
33657 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
33658 $(MAKE) stage2-start; \
33659 fi; \
33660 cd $(TARGET_SUBDIR)/libgcc && \
33661 $(MAKE) $(EXTRA_TARGET_FLAGS) \
33663 clean
33664 @endif target-libgcc-bootstrap
33667 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
33668 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
33669 maybe-all-stage3-target-libgcc:
33670 maybe-clean-stage3-target-libgcc:
33671 @if target-libgcc-bootstrap
33672 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
33673 all-stage3: all-stage3-target-libgcc
33674 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
33675 all-stage3-target-libgcc: configure-stage3-target-libgcc
33676 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33677 @r=`${PWD_COMMAND}`; export r; \
33678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33679 TFLAGS="$(STAGE3_TFLAGS)"; \
33680 $(NORMAL_TARGET_EXPORTS) \
33682 cd $(TARGET_SUBDIR)/libgcc && \
33683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33684 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33685 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33686 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33690 $(EXTRA_TARGET_FLAGS) \
33691 TFLAGS="$(STAGE3_TFLAGS)" \
33692 $(TARGET-stage3-target-libgcc)
33694 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
33695 clean-stage3: clean-stage3-target-libgcc
33696 clean-stage3-target-libgcc:
33697 @if [ $(current_stage) = stage3 ]; then \
33698 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33699 else \
33700 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
33701 $(MAKE) stage3-start; \
33702 fi; \
33703 cd $(TARGET_SUBDIR)/libgcc && \
33704 $(MAKE) $(EXTRA_TARGET_FLAGS) \
33706 clean
33707 @endif target-libgcc-bootstrap
33710 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
33711 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
33712 maybe-all-stage4-target-libgcc:
33713 maybe-clean-stage4-target-libgcc:
33714 @if target-libgcc-bootstrap
33715 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
33716 all-stage4: all-stage4-target-libgcc
33717 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
33718 all-stage4-target-libgcc: configure-stage4-target-libgcc
33719 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33720 @r=`${PWD_COMMAND}`; export r; \
33721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33722 TFLAGS="$(STAGE4_TFLAGS)"; \
33723 $(NORMAL_TARGET_EXPORTS) \
33725 cd $(TARGET_SUBDIR)/libgcc && \
33726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33727 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33728 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33729 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33730 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33733 $(EXTRA_TARGET_FLAGS) \
33734 TFLAGS="$(STAGE4_TFLAGS)" \
33735 $(TARGET-stage4-target-libgcc)
33737 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
33738 clean-stage4: clean-stage4-target-libgcc
33739 clean-stage4-target-libgcc:
33740 @if [ $(current_stage) = stage4 ]; then \
33741 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33742 else \
33743 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
33744 $(MAKE) stage4-start; \
33745 fi; \
33746 cd $(TARGET_SUBDIR)/libgcc && \
33747 $(MAKE) $(EXTRA_TARGET_FLAGS) \
33749 clean
33750 @endif target-libgcc-bootstrap
33753 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
33754 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
33755 maybe-all-stageprofile-target-libgcc:
33756 maybe-clean-stageprofile-target-libgcc:
33757 @if target-libgcc-bootstrap
33758 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
33759 all-stageprofile: all-stageprofile-target-libgcc
33760 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
33761 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
33762 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33763 @r=`${PWD_COMMAND}`; export r; \
33764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33765 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33766 $(NORMAL_TARGET_EXPORTS) \
33768 cd $(TARGET_SUBDIR)/libgcc && \
33769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33770 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33771 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33772 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33773 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33774 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33775 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33776 $(EXTRA_TARGET_FLAGS) \
33777 TFLAGS="$(STAGEprofile_TFLAGS)" \
33778 $(TARGET-stageprofile-target-libgcc)
33780 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
33781 clean-stageprofile: clean-stageprofile-target-libgcc
33782 clean-stageprofile-target-libgcc:
33783 @if [ $(current_stage) = stageprofile ]; then \
33784 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33785 else \
33786 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
33787 $(MAKE) stageprofile-start; \
33788 fi; \
33789 cd $(TARGET_SUBDIR)/libgcc && \
33790 $(MAKE) $(EXTRA_TARGET_FLAGS) \
33792 clean
33793 @endif target-libgcc-bootstrap
33796 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
33797 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
33798 maybe-all-stagefeedback-target-libgcc:
33799 maybe-clean-stagefeedback-target-libgcc:
33800 @if target-libgcc-bootstrap
33801 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
33802 all-stagefeedback: all-stagefeedback-target-libgcc
33803 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
33804 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
33805 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33806 @r=`${PWD_COMMAND}`; export r; \
33807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33808 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33809 $(NORMAL_TARGET_EXPORTS) \
33811 cd $(TARGET_SUBDIR)/libgcc && \
33812 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33813 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33814 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33815 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33819 $(EXTRA_TARGET_FLAGS) \
33820 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33821 $(TARGET-stagefeedback-target-libgcc)
33823 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
33824 clean-stagefeedback: clean-stagefeedback-target-libgcc
33825 clean-stagefeedback-target-libgcc:
33826 @if [ $(current_stage) = stagefeedback ]; then \
33827 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33828 else \
33829 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
33830 $(MAKE) stagefeedback-start; \
33831 fi; \
33832 cd $(TARGET_SUBDIR)/libgcc && \
33833 $(MAKE) $(EXTRA_TARGET_FLAGS) \
33835 clean
33836 @endif target-libgcc-bootstrap
33843 .PHONY: check-target-libgcc maybe-check-target-libgcc
33844 maybe-check-target-libgcc:
33845 @if target-libgcc
33846 maybe-check-target-libgcc: check-target-libgcc
33848 # Dummy target for uncheckable module.
33849 check-target-libgcc:
33851 @endif target-libgcc
33853 .PHONY: install-target-libgcc maybe-install-target-libgcc
33854 maybe-install-target-libgcc:
33855 @if target-libgcc
33856 maybe-install-target-libgcc: install-target-libgcc
33858 install-target-libgcc: installdirs
33859 @: $(MAKE); $(unstage)
33860 @r=`${PWD_COMMAND}`; export r; \
33861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33862 $(NORMAL_TARGET_EXPORTS) \
33863 (cd $(TARGET_SUBDIR)/libgcc && \
33864 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33866 @endif target-libgcc
33868 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
33869 maybe-install-strip-target-libgcc:
33870 @if target-libgcc
33871 maybe-install-strip-target-libgcc: install-strip-target-libgcc
33873 install-strip-target-libgcc: installdirs
33874 @: $(MAKE); $(unstage)
33875 @r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(NORMAL_TARGET_EXPORTS) \
33878 (cd $(TARGET_SUBDIR)/libgcc && \
33879 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33881 @endif target-libgcc
33883 # Other targets (info, dvi, pdf, etc.)
33885 .PHONY: maybe-info-target-libgcc info-target-libgcc
33886 maybe-info-target-libgcc:
33887 @if target-libgcc
33888 maybe-info-target-libgcc: info-target-libgcc
33890 info-target-libgcc: \
33891 configure-target-libgcc
33892 @: $(MAKE); $(unstage)
33893 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33894 r=`${PWD_COMMAND}`; export r; \
33895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33896 $(NORMAL_TARGET_EXPORTS) \
33897 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
33898 for flag in $(EXTRA_TARGET_FLAGS); do \
33899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33900 done; \
33901 (cd $(TARGET_SUBDIR)/libgcc && \
33902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33904 "RANLIB=$${RANLIB}" \
33905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33906 info) \
33907 || exit 1
33909 @endif target-libgcc
33911 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
33912 maybe-dvi-target-libgcc:
33913 @if target-libgcc
33914 maybe-dvi-target-libgcc: dvi-target-libgcc
33916 dvi-target-libgcc: \
33917 configure-target-libgcc
33918 @: $(MAKE); $(unstage)
33919 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33920 r=`${PWD_COMMAND}`; export r; \
33921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33922 $(NORMAL_TARGET_EXPORTS) \
33923 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
33924 for flag in $(EXTRA_TARGET_FLAGS); do \
33925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33926 done; \
33927 (cd $(TARGET_SUBDIR)/libgcc && \
33928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33930 "RANLIB=$${RANLIB}" \
33931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33932 dvi) \
33933 || exit 1
33935 @endif target-libgcc
33937 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
33938 maybe-pdf-target-libgcc:
33939 @if target-libgcc
33940 maybe-pdf-target-libgcc: pdf-target-libgcc
33942 pdf-target-libgcc: \
33943 configure-target-libgcc
33944 @: $(MAKE); $(unstage)
33945 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33946 r=`${PWD_COMMAND}`; export r; \
33947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33948 $(NORMAL_TARGET_EXPORTS) \
33949 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
33950 for flag in $(EXTRA_TARGET_FLAGS); do \
33951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33952 done; \
33953 (cd $(TARGET_SUBDIR)/libgcc && \
33954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33956 "RANLIB=$${RANLIB}" \
33957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33958 pdf) \
33959 || exit 1
33961 @endif target-libgcc
33963 .PHONY: maybe-html-target-libgcc html-target-libgcc
33964 maybe-html-target-libgcc:
33965 @if target-libgcc
33966 maybe-html-target-libgcc: html-target-libgcc
33968 html-target-libgcc: \
33969 configure-target-libgcc
33970 @: $(MAKE); $(unstage)
33971 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33972 r=`${PWD_COMMAND}`; export r; \
33973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33974 $(NORMAL_TARGET_EXPORTS) \
33975 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33976 for flag in $(EXTRA_TARGET_FLAGS); do \
33977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33978 done; \
33979 (cd $(TARGET_SUBDIR)/libgcc && \
33980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33982 "RANLIB=$${RANLIB}" \
33983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33984 html) \
33985 || exit 1
33987 @endif target-libgcc
33989 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33990 maybe-TAGS-target-libgcc:
33991 @if target-libgcc
33992 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33994 TAGS-target-libgcc: \
33995 configure-target-libgcc
33996 @: $(MAKE); $(unstage)
33997 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33998 r=`${PWD_COMMAND}`; export r; \
33999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34000 $(NORMAL_TARGET_EXPORTS) \
34001 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
34002 for flag in $(EXTRA_TARGET_FLAGS); do \
34003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34004 done; \
34005 (cd $(TARGET_SUBDIR)/libgcc && \
34006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34008 "RANLIB=$${RANLIB}" \
34009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34010 TAGS) \
34011 || exit 1
34013 @endif target-libgcc
34015 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
34016 maybe-install-info-target-libgcc:
34017 @if target-libgcc
34018 maybe-install-info-target-libgcc: install-info-target-libgcc
34020 install-info-target-libgcc: \
34021 configure-target-libgcc \
34022 info-target-libgcc
34023 @: $(MAKE); $(unstage)
34024 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34025 r=`${PWD_COMMAND}`; export r; \
34026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34027 $(NORMAL_TARGET_EXPORTS) \
34028 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
34029 for flag in $(EXTRA_TARGET_FLAGS); do \
34030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34031 done; \
34032 (cd $(TARGET_SUBDIR)/libgcc && \
34033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34035 "RANLIB=$${RANLIB}" \
34036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34037 install-info) \
34038 || exit 1
34040 @endif target-libgcc
34042 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
34043 maybe-install-pdf-target-libgcc:
34044 @if target-libgcc
34045 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
34047 install-pdf-target-libgcc: \
34048 configure-target-libgcc \
34049 pdf-target-libgcc
34050 @: $(MAKE); $(unstage)
34051 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34052 r=`${PWD_COMMAND}`; export r; \
34053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34054 $(NORMAL_TARGET_EXPORTS) \
34055 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
34056 for flag in $(EXTRA_TARGET_FLAGS); do \
34057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34058 done; \
34059 (cd $(TARGET_SUBDIR)/libgcc && \
34060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34062 "RANLIB=$${RANLIB}" \
34063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34064 install-pdf) \
34065 || exit 1
34067 @endif target-libgcc
34069 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
34070 maybe-install-html-target-libgcc:
34071 @if target-libgcc
34072 maybe-install-html-target-libgcc: install-html-target-libgcc
34074 install-html-target-libgcc: \
34075 configure-target-libgcc \
34076 html-target-libgcc
34077 @: $(MAKE); $(unstage)
34078 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34079 r=`${PWD_COMMAND}`; export r; \
34080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34081 $(NORMAL_TARGET_EXPORTS) \
34082 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
34083 for flag in $(EXTRA_TARGET_FLAGS); do \
34084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34085 done; \
34086 (cd $(TARGET_SUBDIR)/libgcc && \
34087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34089 "RANLIB=$${RANLIB}" \
34090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34091 install-html) \
34092 || exit 1
34094 @endif target-libgcc
34096 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
34097 maybe-installcheck-target-libgcc:
34098 @if target-libgcc
34099 maybe-installcheck-target-libgcc: installcheck-target-libgcc
34101 installcheck-target-libgcc: \
34102 configure-target-libgcc
34103 @: $(MAKE); $(unstage)
34104 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34105 r=`${PWD_COMMAND}`; export r; \
34106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34107 $(NORMAL_TARGET_EXPORTS) \
34108 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
34109 for flag in $(EXTRA_TARGET_FLAGS); do \
34110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34111 done; \
34112 (cd $(TARGET_SUBDIR)/libgcc && \
34113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34115 "RANLIB=$${RANLIB}" \
34116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34117 installcheck) \
34118 || exit 1
34120 @endif target-libgcc
34122 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
34123 maybe-mostlyclean-target-libgcc:
34124 @if target-libgcc
34125 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
34127 mostlyclean-target-libgcc:
34128 @: $(MAKE); $(unstage)
34129 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34130 r=`${PWD_COMMAND}`; export r; \
34131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34132 $(NORMAL_TARGET_EXPORTS) \
34133 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
34134 for flag in $(EXTRA_TARGET_FLAGS); do \
34135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34136 done; \
34137 (cd $(TARGET_SUBDIR)/libgcc && \
34138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34140 "RANLIB=$${RANLIB}" \
34141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34142 mostlyclean) \
34143 || exit 1
34145 @endif target-libgcc
34147 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
34148 maybe-clean-target-libgcc:
34149 @if target-libgcc
34150 maybe-clean-target-libgcc: clean-target-libgcc
34152 clean-target-libgcc:
34153 @: $(MAKE); $(unstage)
34154 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34155 r=`${PWD_COMMAND}`; export r; \
34156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34157 $(NORMAL_TARGET_EXPORTS) \
34158 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
34159 for flag in $(EXTRA_TARGET_FLAGS); do \
34160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34161 done; \
34162 (cd $(TARGET_SUBDIR)/libgcc && \
34163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34165 "RANLIB=$${RANLIB}" \
34166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34167 clean) \
34168 || exit 1
34170 @endif target-libgcc
34172 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
34173 maybe-distclean-target-libgcc:
34174 @if target-libgcc
34175 maybe-distclean-target-libgcc: distclean-target-libgcc
34177 distclean-target-libgcc:
34178 @: $(MAKE); $(unstage)
34179 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34180 r=`${PWD_COMMAND}`; export r; \
34181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34182 $(NORMAL_TARGET_EXPORTS) \
34183 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
34184 for flag in $(EXTRA_TARGET_FLAGS); do \
34185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34186 done; \
34187 (cd $(TARGET_SUBDIR)/libgcc && \
34188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34190 "RANLIB=$${RANLIB}" \
34191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34192 distclean) \
34193 || exit 1
34195 @endif target-libgcc
34197 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
34198 maybe-maintainer-clean-target-libgcc:
34199 @if target-libgcc
34200 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
34202 maintainer-clean-target-libgcc:
34203 @: $(MAKE); $(unstage)
34204 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34205 r=`${PWD_COMMAND}`; export r; \
34206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34207 $(NORMAL_TARGET_EXPORTS) \
34208 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
34209 for flag in $(EXTRA_TARGET_FLAGS); do \
34210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34211 done; \
34212 (cd $(TARGET_SUBDIR)/libgcc && \
34213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34215 "RANLIB=$${RANLIB}" \
34216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34217 maintainer-clean) \
34218 || exit 1
34220 @endif target-libgcc
34226 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
34227 maybe-configure-target-libquadmath:
34228 @if gcc-bootstrap
34229 configure-target-libquadmath: stage_current
34230 @endif gcc-bootstrap
34231 @if target-libquadmath
34232 maybe-configure-target-libquadmath: configure-target-libquadmath
34233 configure-target-libquadmath:
34234 @: $(MAKE); $(unstage)
34235 @r=`${PWD_COMMAND}`; export r; \
34236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34237 echo "Checking multilib configuration for libquadmath..."; \
34238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
34239 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
34240 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
34241 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
34242 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
34243 else \
34244 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
34245 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
34246 fi; \
34247 else \
34248 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
34249 fi; \
34250 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
34251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
34252 $(NORMAL_TARGET_EXPORTS) \
34253 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
34254 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
34255 case $(srcdir) in \
34256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34257 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
34258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34259 esac; \
34260 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
34261 libsrcdir="$$s/libquadmath"; \
34262 rm -f no-such-file || : ; \
34263 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34264 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34265 --target=${target_alias} $${srcdiroption} \
34266 || exit 1
34267 @endif target-libquadmath
34273 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
34274 maybe-all-target-libquadmath:
34275 @if gcc-bootstrap
34276 all-target-libquadmath: stage_current
34277 @endif gcc-bootstrap
34278 @if target-libquadmath
34279 TARGET-target-libquadmath=all
34280 maybe-all-target-libquadmath: all-target-libquadmath
34281 all-target-libquadmath: configure-target-libquadmath
34282 @: $(MAKE); $(unstage)
34283 @r=`${PWD_COMMAND}`; export r; \
34284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34285 $(NORMAL_TARGET_EXPORTS) \
34286 (cd $(TARGET_SUBDIR)/libquadmath && \
34287 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34288 $(TARGET-target-libquadmath))
34289 @endif target-libquadmath
34295 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
34296 maybe-check-target-libquadmath:
34297 @if target-libquadmath
34298 maybe-check-target-libquadmath: check-target-libquadmath
34300 check-target-libquadmath:
34301 @: $(MAKE); $(unstage)
34302 @r=`${PWD_COMMAND}`; export r; \
34303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34304 $(NORMAL_TARGET_EXPORTS) \
34305 (cd $(TARGET_SUBDIR)/libquadmath && \
34306 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34308 @endif target-libquadmath
34310 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
34311 maybe-install-target-libquadmath:
34312 @if target-libquadmath
34313 maybe-install-target-libquadmath: install-target-libquadmath
34315 install-target-libquadmath: installdirs
34316 @: $(MAKE); $(unstage)
34317 @r=`${PWD_COMMAND}`; export r; \
34318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34319 $(NORMAL_TARGET_EXPORTS) \
34320 (cd $(TARGET_SUBDIR)/libquadmath && \
34321 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34323 @endif target-libquadmath
34325 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
34326 maybe-install-strip-target-libquadmath:
34327 @if target-libquadmath
34328 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
34330 install-strip-target-libquadmath: installdirs
34331 @: $(MAKE); $(unstage)
34332 @r=`${PWD_COMMAND}`; export r; \
34333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34334 $(NORMAL_TARGET_EXPORTS) \
34335 (cd $(TARGET_SUBDIR)/libquadmath && \
34336 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34338 @endif target-libquadmath
34340 # Other targets (info, dvi, pdf, etc.)
34342 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
34343 maybe-info-target-libquadmath:
34344 @if target-libquadmath
34345 maybe-info-target-libquadmath: info-target-libquadmath
34347 info-target-libquadmath: \
34348 configure-target-libquadmath
34349 @: $(MAKE); $(unstage)
34350 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34351 r=`${PWD_COMMAND}`; export r; \
34352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34353 $(NORMAL_TARGET_EXPORTS) \
34354 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
34355 for flag in $(EXTRA_TARGET_FLAGS); do \
34356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34357 done; \
34358 (cd $(TARGET_SUBDIR)/libquadmath && \
34359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34361 "RANLIB=$${RANLIB}" \
34362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34363 info) \
34364 || exit 1
34366 @endif target-libquadmath
34368 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
34369 maybe-dvi-target-libquadmath:
34370 @if target-libquadmath
34371 maybe-dvi-target-libquadmath: dvi-target-libquadmath
34373 dvi-target-libquadmath: \
34374 configure-target-libquadmath
34375 @: $(MAKE); $(unstage)
34376 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34377 r=`${PWD_COMMAND}`; export r; \
34378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34379 $(NORMAL_TARGET_EXPORTS) \
34380 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
34381 for flag in $(EXTRA_TARGET_FLAGS); do \
34382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34383 done; \
34384 (cd $(TARGET_SUBDIR)/libquadmath && \
34385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34387 "RANLIB=$${RANLIB}" \
34388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34389 dvi) \
34390 || exit 1
34392 @endif target-libquadmath
34394 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
34395 maybe-pdf-target-libquadmath:
34396 @if target-libquadmath
34397 maybe-pdf-target-libquadmath: pdf-target-libquadmath
34399 pdf-target-libquadmath: \
34400 configure-target-libquadmath
34401 @: $(MAKE); $(unstage)
34402 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34403 r=`${PWD_COMMAND}`; export r; \
34404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34405 $(NORMAL_TARGET_EXPORTS) \
34406 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
34407 for flag in $(EXTRA_TARGET_FLAGS); do \
34408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34409 done; \
34410 (cd $(TARGET_SUBDIR)/libquadmath && \
34411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34413 "RANLIB=$${RANLIB}" \
34414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34415 pdf) \
34416 || exit 1
34418 @endif target-libquadmath
34420 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
34421 maybe-html-target-libquadmath:
34422 @if target-libquadmath
34423 maybe-html-target-libquadmath: html-target-libquadmath
34425 html-target-libquadmath: \
34426 configure-target-libquadmath
34427 @: $(MAKE); $(unstage)
34428 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34429 r=`${PWD_COMMAND}`; export r; \
34430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34431 $(NORMAL_TARGET_EXPORTS) \
34432 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
34433 for flag in $(EXTRA_TARGET_FLAGS); do \
34434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34435 done; \
34436 (cd $(TARGET_SUBDIR)/libquadmath && \
34437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34439 "RANLIB=$${RANLIB}" \
34440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34441 html) \
34442 || exit 1
34444 @endif target-libquadmath
34446 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
34447 maybe-TAGS-target-libquadmath:
34448 @if target-libquadmath
34449 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
34451 TAGS-target-libquadmath: \
34452 configure-target-libquadmath
34453 @: $(MAKE); $(unstage)
34454 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34455 r=`${PWD_COMMAND}`; export r; \
34456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34457 $(NORMAL_TARGET_EXPORTS) \
34458 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
34459 for flag in $(EXTRA_TARGET_FLAGS); do \
34460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34461 done; \
34462 (cd $(TARGET_SUBDIR)/libquadmath && \
34463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34465 "RANLIB=$${RANLIB}" \
34466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34467 TAGS) \
34468 || exit 1
34470 @endif target-libquadmath
34472 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
34473 maybe-install-info-target-libquadmath:
34474 @if target-libquadmath
34475 maybe-install-info-target-libquadmath: install-info-target-libquadmath
34477 install-info-target-libquadmath: \
34478 configure-target-libquadmath \
34479 info-target-libquadmath
34480 @: $(MAKE); $(unstage)
34481 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34482 r=`${PWD_COMMAND}`; export r; \
34483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34484 $(NORMAL_TARGET_EXPORTS) \
34485 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
34486 for flag in $(EXTRA_TARGET_FLAGS); do \
34487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34488 done; \
34489 (cd $(TARGET_SUBDIR)/libquadmath && \
34490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34492 "RANLIB=$${RANLIB}" \
34493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34494 install-info) \
34495 || exit 1
34497 @endif target-libquadmath
34499 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
34500 maybe-install-pdf-target-libquadmath:
34501 @if target-libquadmath
34502 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
34504 install-pdf-target-libquadmath: \
34505 configure-target-libquadmath \
34506 pdf-target-libquadmath
34507 @: $(MAKE); $(unstage)
34508 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34509 r=`${PWD_COMMAND}`; export r; \
34510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34511 $(NORMAL_TARGET_EXPORTS) \
34512 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
34513 for flag in $(EXTRA_TARGET_FLAGS); do \
34514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34515 done; \
34516 (cd $(TARGET_SUBDIR)/libquadmath && \
34517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34519 "RANLIB=$${RANLIB}" \
34520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34521 install-pdf) \
34522 || exit 1
34524 @endif target-libquadmath
34526 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
34527 maybe-install-html-target-libquadmath:
34528 @if target-libquadmath
34529 maybe-install-html-target-libquadmath: install-html-target-libquadmath
34531 install-html-target-libquadmath: \
34532 configure-target-libquadmath \
34533 html-target-libquadmath
34534 @: $(MAKE); $(unstage)
34535 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34536 r=`${PWD_COMMAND}`; export r; \
34537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34538 $(NORMAL_TARGET_EXPORTS) \
34539 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
34540 for flag in $(EXTRA_TARGET_FLAGS); do \
34541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34542 done; \
34543 (cd $(TARGET_SUBDIR)/libquadmath && \
34544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34546 "RANLIB=$${RANLIB}" \
34547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34548 install-html) \
34549 || exit 1
34551 @endif target-libquadmath
34553 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
34554 maybe-installcheck-target-libquadmath:
34555 @if target-libquadmath
34556 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
34558 installcheck-target-libquadmath: \
34559 configure-target-libquadmath
34560 @: $(MAKE); $(unstage)
34561 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34562 r=`${PWD_COMMAND}`; export r; \
34563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34564 $(NORMAL_TARGET_EXPORTS) \
34565 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
34566 for flag in $(EXTRA_TARGET_FLAGS); do \
34567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34568 done; \
34569 (cd $(TARGET_SUBDIR)/libquadmath && \
34570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34572 "RANLIB=$${RANLIB}" \
34573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34574 installcheck) \
34575 || exit 1
34577 @endif target-libquadmath
34579 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
34580 maybe-mostlyclean-target-libquadmath:
34581 @if target-libquadmath
34582 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
34584 mostlyclean-target-libquadmath:
34585 @: $(MAKE); $(unstage)
34586 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34587 r=`${PWD_COMMAND}`; export r; \
34588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34589 $(NORMAL_TARGET_EXPORTS) \
34590 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
34591 for flag in $(EXTRA_TARGET_FLAGS); do \
34592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34593 done; \
34594 (cd $(TARGET_SUBDIR)/libquadmath && \
34595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34597 "RANLIB=$${RANLIB}" \
34598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34599 mostlyclean) \
34600 || exit 1
34602 @endif target-libquadmath
34604 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
34605 maybe-clean-target-libquadmath:
34606 @if target-libquadmath
34607 maybe-clean-target-libquadmath: clean-target-libquadmath
34609 clean-target-libquadmath:
34610 @: $(MAKE); $(unstage)
34611 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34612 r=`${PWD_COMMAND}`; export r; \
34613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34614 $(NORMAL_TARGET_EXPORTS) \
34615 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
34616 for flag in $(EXTRA_TARGET_FLAGS); do \
34617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34618 done; \
34619 (cd $(TARGET_SUBDIR)/libquadmath && \
34620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34622 "RANLIB=$${RANLIB}" \
34623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34624 clean) \
34625 || exit 1
34627 @endif target-libquadmath
34629 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
34630 maybe-distclean-target-libquadmath:
34631 @if target-libquadmath
34632 maybe-distclean-target-libquadmath: distclean-target-libquadmath
34634 distclean-target-libquadmath:
34635 @: $(MAKE); $(unstage)
34636 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34637 r=`${PWD_COMMAND}`; export r; \
34638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34639 $(NORMAL_TARGET_EXPORTS) \
34640 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
34641 for flag in $(EXTRA_TARGET_FLAGS); do \
34642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34643 done; \
34644 (cd $(TARGET_SUBDIR)/libquadmath && \
34645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34647 "RANLIB=$${RANLIB}" \
34648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34649 distclean) \
34650 || exit 1
34652 @endif target-libquadmath
34654 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
34655 maybe-maintainer-clean-target-libquadmath:
34656 @if target-libquadmath
34657 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
34659 maintainer-clean-target-libquadmath:
34660 @: $(MAKE); $(unstage)
34661 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34662 r=`${PWD_COMMAND}`; export r; \
34663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34664 $(NORMAL_TARGET_EXPORTS) \
34665 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
34666 for flag in $(EXTRA_TARGET_FLAGS); do \
34667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34668 done; \
34669 (cd $(TARGET_SUBDIR)/libquadmath && \
34670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34672 "RANLIB=$${RANLIB}" \
34673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34674 maintainer-clean) \
34675 || exit 1
34677 @endif target-libquadmath
34683 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
34684 maybe-configure-target-libgfortran:
34685 @if gcc-bootstrap
34686 configure-target-libgfortran: stage_current
34687 @endif gcc-bootstrap
34688 @if target-libgfortran
34689 maybe-configure-target-libgfortran: configure-target-libgfortran
34690 configure-target-libgfortran:
34691 @: $(MAKE); $(unstage)
34692 @r=`${PWD_COMMAND}`; export r; \
34693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34694 echo "Checking multilib configuration for libgfortran..."; \
34695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
34696 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
34697 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
34698 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
34699 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
34700 else \
34701 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
34702 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
34703 fi; \
34704 else \
34705 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
34706 fi; \
34707 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
34708 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
34709 $(NORMAL_TARGET_EXPORTS) \
34710 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
34711 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
34712 case $(srcdir) in \
34713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34714 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
34715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34716 esac; \
34717 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
34718 libsrcdir="$$s/libgfortran"; \
34719 rm -f no-such-file || : ; \
34720 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34721 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34722 --target=${target_alias} $${srcdiroption} \
34723 || exit 1
34724 @endif target-libgfortran
34730 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
34731 maybe-all-target-libgfortran:
34732 @if gcc-bootstrap
34733 all-target-libgfortran: stage_current
34734 @endif gcc-bootstrap
34735 @if target-libgfortran
34736 TARGET-target-libgfortran=all
34737 maybe-all-target-libgfortran: all-target-libgfortran
34738 all-target-libgfortran: configure-target-libgfortran
34739 @: $(MAKE); $(unstage)
34740 @r=`${PWD_COMMAND}`; export r; \
34741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34742 $(NORMAL_TARGET_EXPORTS) \
34743 (cd $(TARGET_SUBDIR)/libgfortran && \
34744 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34745 $(TARGET-target-libgfortran))
34746 @endif target-libgfortran
34752 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
34753 maybe-check-target-libgfortran:
34754 @if target-libgfortran
34755 maybe-check-target-libgfortran: check-target-libgfortran
34757 check-target-libgfortran:
34758 @: $(MAKE); $(unstage)
34759 @r=`${PWD_COMMAND}`; export r; \
34760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34761 $(NORMAL_TARGET_EXPORTS) \
34762 (cd $(TARGET_SUBDIR)/libgfortran && \
34763 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34765 @endif target-libgfortran
34767 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
34768 maybe-install-target-libgfortran:
34769 @if target-libgfortran
34770 maybe-install-target-libgfortran: install-target-libgfortran
34772 install-target-libgfortran: installdirs
34773 @: $(MAKE); $(unstage)
34774 @r=`${PWD_COMMAND}`; export r; \
34775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34776 $(NORMAL_TARGET_EXPORTS) \
34777 (cd $(TARGET_SUBDIR)/libgfortran && \
34778 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34780 @endif target-libgfortran
34782 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
34783 maybe-install-strip-target-libgfortran:
34784 @if target-libgfortran
34785 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
34787 install-strip-target-libgfortran: installdirs
34788 @: $(MAKE); $(unstage)
34789 @r=`${PWD_COMMAND}`; export r; \
34790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34791 $(NORMAL_TARGET_EXPORTS) \
34792 (cd $(TARGET_SUBDIR)/libgfortran && \
34793 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34795 @endif target-libgfortran
34797 # Other targets (info, dvi, pdf, etc.)
34799 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
34800 maybe-info-target-libgfortran:
34801 @if target-libgfortran
34802 maybe-info-target-libgfortran: info-target-libgfortran
34804 info-target-libgfortran: \
34805 configure-target-libgfortran
34806 @: $(MAKE); $(unstage)
34807 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34808 r=`${PWD_COMMAND}`; export r; \
34809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34810 $(NORMAL_TARGET_EXPORTS) \
34811 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
34812 for flag in $(EXTRA_TARGET_FLAGS); do \
34813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34814 done; \
34815 (cd $(TARGET_SUBDIR)/libgfortran && \
34816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34818 "RANLIB=$${RANLIB}" \
34819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34820 info) \
34821 || exit 1
34823 @endif target-libgfortran
34825 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
34826 maybe-dvi-target-libgfortran:
34827 @if target-libgfortran
34828 maybe-dvi-target-libgfortran: dvi-target-libgfortran
34830 dvi-target-libgfortran: \
34831 configure-target-libgfortran
34832 @: $(MAKE); $(unstage)
34833 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34834 r=`${PWD_COMMAND}`; export r; \
34835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34836 $(NORMAL_TARGET_EXPORTS) \
34837 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
34838 for flag in $(EXTRA_TARGET_FLAGS); do \
34839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34840 done; \
34841 (cd $(TARGET_SUBDIR)/libgfortran && \
34842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34844 "RANLIB=$${RANLIB}" \
34845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34846 dvi) \
34847 || exit 1
34849 @endif target-libgfortran
34851 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
34852 maybe-pdf-target-libgfortran:
34853 @if target-libgfortran
34854 maybe-pdf-target-libgfortran: pdf-target-libgfortran
34856 pdf-target-libgfortran: \
34857 configure-target-libgfortran
34858 @: $(MAKE); $(unstage)
34859 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34860 r=`${PWD_COMMAND}`; export r; \
34861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34862 $(NORMAL_TARGET_EXPORTS) \
34863 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34864 for flag in $(EXTRA_TARGET_FLAGS); do \
34865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34866 done; \
34867 (cd $(TARGET_SUBDIR)/libgfortran && \
34868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34870 "RANLIB=$${RANLIB}" \
34871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34872 pdf) \
34873 || exit 1
34875 @endif target-libgfortran
34877 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
34878 maybe-html-target-libgfortran:
34879 @if target-libgfortran
34880 maybe-html-target-libgfortran: html-target-libgfortran
34882 html-target-libgfortran: \
34883 configure-target-libgfortran
34884 @: $(MAKE); $(unstage)
34885 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34886 r=`${PWD_COMMAND}`; export r; \
34887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34888 $(NORMAL_TARGET_EXPORTS) \
34889 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
34890 for flag in $(EXTRA_TARGET_FLAGS); do \
34891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34892 done; \
34893 (cd $(TARGET_SUBDIR)/libgfortran && \
34894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34896 "RANLIB=$${RANLIB}" \
34897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34898 html) \
34899 || exit 1
34901 @endif target-libgfortran
34903 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
34904 maybe-TAGS-target-libgfortran:
34905 @if target-libgfortran
34906 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
34908 TAGS-target-libgfortran: \
34909 configure-target-libgfortran
34910 @: $(MAKE); $(unstage)
34911 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34912 r=`${PWD_COMMAND}`; export r; \
34913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34914 $(NORMAL_TARGET_EXPORTS) \
34915 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
34916 for flag in $(EXTRA_TARGET_FLAGS); do \
34917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34918 done; \
34919 (cd $(TARGET_SUBDIR)/libgfortran && \
34920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34922 "RANLIB=$${RANLIB}" \
34923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34924 TAGS) \
34925 || exit 1
34927 @endif target-libgfortran
34929 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
34930 maybe-install-info-target-libgfortran:
34931 @if target-libgfortran
34932 maybe-install-info-target-libgfortran: install-info-target-libgfortran
34934 install-info-target-libgfortran: \
34935 configure-target-libgfortran \
34936 info-target-libgfortran
34937 @: $(MAKE); $(unstage)
34938 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34939 r=`${PWD_COMMAND}`; export r; \
34940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34941 $(NORMAL_TARGET_EXPORTS) \
34942 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
34943 for flag in $(EXTRA_TARGET_FLAGS); do \
34944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34945 done; \
34946 (cd $(TARGET_SUBDIR)/libgfortran && \
34947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34949 "RANLIB=$${RANLIB}" \
34950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34951 install-info) \
34952 || exit 1
34954 @endif target-libgfortran
34956 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34957 maybe-install-pdf-target-libgfortran:
34958 @if target-libgfortran
34959 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34961 install-pdf-target-libgfortran: \
34962 configure-target-libgfortran \
34963 pdf-target-libgfortran
34964 @: $(MAKE); $(unstage)
34965 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34966 r=`${PWD_COMMAND}`; export r; \
34967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34968 $(NORMAL_TARGET_EXPORTS) \
34969 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34970 for flag in $(EXTRA_TARGET_FLAGS); do \
34971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34972 done; \
34973 (cd $(TARGET_SUBDIR)/libgfortran && \
34974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34976 "RANLIB=$${RANLIB}" \
34977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34978 install-pdf) \
34979 || exit 1
34981 @endif target-libgfortran
34983 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34984 maybe-install-html-target-libgfortran:
34985 @if target-libgfortran
34986 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34988 install-html-target-libgfortran: \
34989 configure-target-libgfortran \
34990 html-target-libgfortran
34991 @: $(MAKE); $(unstage)
34992 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34993 r=`${PWD_COMMAND}`; export r; \
34994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34995 $(NORMAL_TARGET_EXPORTS) \
34996 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
34997 for flag in $(EXTRA_TARGET_FLAGS); do \
34998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34999 done; \
35000 (cd $(TARGET_SUBDIR)/libgfortran && \
35001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35003 "RANLIB=$${RANLIB}" \
35004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35005 install-html) \
35006 || exit 1
35008 @endif target-libgfortran
35010 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
35011 maybe-installcheck-target-libgfortran:
35012 @if target-libgfortran
35013 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
35015 installcheck-target-libgfortran: \
35016 configure-target-libgfortran
35017 @: $(MAKE); $(unstage)
35018 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35019 r=`${PWD_COMMAND}`; export r; \
35020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35021 $(NORMAL_TARGET_EXPORTS) \
35022 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
35023 for flag in $(EXTRA_TARGET_FLAGS); do \
35024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35025 done; \
35026 (cd $(TARGET_SUBDIR)/libgfortran && \
35027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35029 "RANLIB=$${RANLIB}" \
35030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35031 installcheck) \
35032 || exit 1
35034 @endif target-libgfortran
35036 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
35037 maybe-mostlyclean-target-libgfortran:
35038 @if target-libgfortran
35039 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
35041 mostlyclean-target-libgfortran:
35042 @: $(MAKE); $(unstage)
35043 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35044 r=`${PWD_COMMAND}`; export r; \
35045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35046 $(NORMAL_TARGET_EXPORTS) \
35047 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
35048 for flag in $(EXTRA_TARGET_FLAGS); do \
35049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35050 done; \
35051 (cd $(TARGET_SUBDIR)/libgfortran && \
35052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35054 "RANLIB=$${RANLIB}" \
35055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35056 mostlyclean) \
35057 || exit 1
35059 @endif target-libgfortran
35061 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
35062 maybe-clean-target-libgfortran:
35063 @if target-libgfortran
35064 maybe-clean-target-libgfortran: clean-target-libgfortran
35066 clean-target-libgfortran:
35067 @: $(MAKE); $(unstage)
35068 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35069 r=`${PWD_COMMAND}`; export r; \
35070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35071 $(NORMAL_TARGET_EXPORTS) \
35072 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
35073 for flag in $(EXTRA_TARGET_FLAGS); do \
35074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35075 done; \
35076 (cd $(TARGET_SUBDIR)/libgfortran && \
35077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35079 "RANLIB=$${RANLIB}" \
35080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35081 clean) \
35082 || exit 1
35084 @endif target-libgfortran
35086 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
35087 maybe-distclean-target-libgfortran:
35088 @if target-libgfortran
35089 maybe-distclean-target-libgfortran: distclean-target-libgfortran
35091 distclean-target-libgfortran:
35092 @: $(MAKE); $(unstage)
35093 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35094 r=`${PWD_COMMAND}`; export r; \
35095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35096 $(NORMAL_TARGET_EXPORTS) \
35097 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
35098 for flag in $(EXTRA_TARGET_FLAGS); do \
35099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35100 done; \
35101 (cd $(TARGET_SUBDIR)/libgfortran && \
35102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35104 "RANLIB=$${RANLIB}" \
35105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35106 distclean) \
35107 || exit 1
35109 @endif target-libgfortran
35111 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
35112 maybe-maintainer-clean-target-libgfortran:
35113 @if target-libgfortran
35114 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
35116 maintainer-clean-target-libgfortran:
35117 @: $(MAKE); $(unstage)
35118 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35119 r=`${PWD_COMMAND}`; export r; \
35120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35121 $(NORMAL_TARGET_EXPORTS) \
35122 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
35123 for flag in $(EXTRA_TARGET_FLAGS); do \
35124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35125 done; \
35126 (cd $(TARGET_SUBDIR)/libgfortran && \
35127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35129 "RANLIB=$${RANLIB}" \
35130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35131 maintainer-clean) \
35132 || exit 1
35134 @endif target-libgfortran
35140 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
35141 maybe-configure-target-libobjc:
35142 @if gcc-bootstrap
35143 configure-target-libobjc: stage_current
35144 @endif gcc-bootstrap
35145 @if target-libobjc
35146 maybe-configure-target-libobjc: configure-target-libobjc
35147 configure-target-libobjc:
35148 @: $(MAKE); $(unstage)
35149 @r=`${PWD_COMMAND}`; export r; \
35150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35151 echo "Checking multilib configuration for libobjc..."; \
35152 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35153 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
35154 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35155 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35156 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
35157 else \
35158 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
35159 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35160 fi; \
35161 else \
35162 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35163 fi; \
35164 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
35165 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35166 $(NORMAL_TARGET_EXPORTS) \
35167 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
35168 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
35169 case $(srcdir) in \
35170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35171 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
35172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35173 esac; \
35174 srcdiroption="--srcdir=$${topdir}/libobjc"; \
35175 libsrcdir="$$s/libobjc"; \
35176 rm -f no-such-file || : ; \
35177 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35178 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35179 --target=${target_alias} $${srcdiroption} \
35180 || exit 1
35181 @endif target-libobjc
35187 .PHONY: all-target-libobjc maybe-all-target-libobjc
35188 maybe-all-target-libobjc:
35189 @if gcc-bootstrap
35190 all-target-libobjc: stage_current
35191 @endif gcc-bootstrap
35192 @if target-libobjc
35193 TARGET-target-libobjc=all
35194 maybe-all-target-libobjc: all-target-libobjc
35195 all-target-libobjc: configure-target-libobjc
35196 @: $(MAKE); $(unstage)
35197 @r=`${PWD_COMMAND}`; export r; \
35198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35199 $(NORMAL_TARGET_EXPORTS) \
35200 (cd $(TARGET_SUBDIR)/libobjc && \
35201 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35202 $(TARGET-target-libobjc))
35203 @endif target-libobjc
35209 .PHONY: check-target-libobjc maybe-check-target-libobjc
35210 maybe-check-target-libobjc:
35211 @if target-libobjc
35212 maybe-check-target-libobjc: check-target-libobjc
35214 check-target-libobjc:
35215 @: $(MAKE); $(unstage)
35216 @r=`${PWD_COMMAND}`; export r; \
35217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35218 $(NORMAL_TARGET_EXPORTS) \
35219 (cd $(TARGET_SUBDIR)/libobjc && \
35220 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35222 @endif target-libobjc
35224 .PHONY: install-target-libobjc maybe-install-target-libobjc
35225 maybe-install-target-libobjc:
35226 @if target-libobjc
35227 maybe-install-target-libobjc: install-target-libobjc
35229 install-target-libobjc: installdirs
35230 @: $(MAKE); $(unstage)
35231 @r=`${PWD_COMMAND}`; export r; \
35232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35233 $(NORMAL_TARGET_EXPORTS) \
35234 (cd $(TARGET_SUBDIR)/libobjc && \
35235 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35237 @endif target-libobjc
35239 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
35240 maybe-install-strip-target-libobjc:
35241 @if target-libobjc
35242 maybe-install-strip-target-libobjc: install-strip-target-libobjc
35244 install-strip-target-libobjc: installdirs
35245 @: $(MAKE); $(unstage)
35246 @r=`${PWD_COMMAND}`; export r; \
35247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35248 $(NORMAL_TARGET_EXPORTS) \
35249 (cd $(TARGET_SUBDIR)/libobjc && \
35250 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35252 @endif target-libobjc
35254 # Other targets (info, dvi, pdf, etc.)
35256 .PHONY: maybe-info-target-libobjc info-target-libobjc
35257 maybe-info-target-libobjc:
35258 @if target-libobjc
35259 maybe-info-target-libobjc: info-target-libobjc
35261 info-target-libobjc: \
35262 configure-target-libobjc
35263 @: $(MAKE); $(unstage)
35264 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35265 r=`${PWD_COMMAND}`; export r; \
35266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35267 $(NORMAL_TARGET_EXPORTS) \
35268 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
35269 for flag in $(EXTRA_TARGET_FLAGS); do \
35270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35271 done; \
35272 (cd $(TARGET_SUBDIR)/libobjc && \
35273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35275 "RANLIB=$${RANLIB}" \
35276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35277 info) \
35278 || exit 1
35280 @endif target-libobjc
35282 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
35283 maybe-dvi-target-libobjc:
35284 @if target-libobjc
35285 maybe-dvi-target-libobjc: dvi-target-libobjc
35287 dvi-target-libobjc: \
35288 configure-target-libobjc
35289 @: $(MAKE); $(unstage)
35290 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35291 r=`${PWD_COMMAND}`; export r; \
35292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35293 $(NORMAL_TARGET_EXPORTS) \
35294 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
35295 for flag in $(EXTRA_TARGET_FLAGS); do \
35296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35297 done; \
35298 (cd $(TARGET_SUBDIR)/libobjc && \
35299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35301 "RANLIB=$${RANLIB}" \
35302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35303 dvi) \
35304 || exit 1
35306 @endif target-libobjc
35308 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
35309 maybe-pdf-target-libobjc:
35310 @if target-libobjc
35311 maybe-pdf-target-libobjc: pdf-target-libobjc
35313 pdf-target-libobjc: \
35314 configure-target-libobjc
35315 @: $(MAKE); $(unstage)
35316 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35317 r=`${PWD_COMMAND}`; export r; \
35318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35319 $(NORMAL_TARGET_EXPORTS) \
35320 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
35321 for flag in $(EXTRA_TARGET_FLAGS); do \
35322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35323 done; \
35324 (cd $(TARGET_SUBDIR)/libobjc && \
35325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35327 "RANLIB=$${RANLIB}" \
35328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35329 pdf) \
35330 || exit 1
35332 @endif target-libobjc
35334 .PHONY: maybe-html-target-libobjc html-target-libobjc
35335 maybe-html-target-libobjc:
35336 @if target-libobjc
35337 maybe-html-target-libobjc: html-target-libobjc
35339 html-target-libobjc: \
35340 configure-target-libobjc
35341 @: $(MAKE); $(unstage)
35342 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35343 r=`${PWD_COMMAND}`; export r; \
35344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35345 $(NORMAL_TARGET_EXPORTS) \
35346 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
35347 for flag in $(EXTRA_TARGET_FLAGS); do \
35348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35349 done; \
35350 (cd $(TARGET_SUBDIR)/libobjc && \
35351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35353 "RANLIB=$${RANLIB}" \
35354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35355 html) \
35356 || exit 1
35358 @endif target-libobjc
35360 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
35361 maybe-TAGS-target-libobjc:
35362 @if target-libobjc
35363 maybe-TAGS-target-libobjc: TAGS-target-libobjc
35365 TAGS-target-libobjc: \
35366 configure-target-libobjc
35367 @: $(MAKE); $(unstage)
35368 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35369 r=`${PWD_COMMAND}`; export r; \
35370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35371 $(NORMAL_TARGET_EXPORTS) \
35372 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
35373 for flag in $(EXTRA_TARGET_FLAGS); do \
35374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35375 done; \
35376 (cd $(TARGET_SUBDIR)/libobjc && \
35377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35379 "RANLIB=$${RANLIB}" \
35380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35381 TAGS) \
35382 || exit 1
35384 @endif target-libobjc
35386 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
35387 maybe-install-info-target-libobjc:
35388 @if target-libobjc
35389 maybe-install-info-target-libobjc: install-info-target-libobjc
35391 install-info-target-libobjc: \
35392 configure-target-libobjc \
35393 info-target-libobjc
35394 @: $(MAKE); $(unstage)
35395 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35396 r=`${PWD_COMMAND}`; export r; \
35397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35398 $(NORMAL_TARGET_EXPORTS) \
35399 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
35400 for flag in $(EXTRA_TARGET_FLAGS); do \
35401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35402 done; \
35403 (cd $(TARGET_SUBDIR)/libobjc && \
35404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35406 "RANLIB=$${RANLIB}" \
35407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35408 install-info) \
35409 || exit 1
35411 @endif target-libobjc
35413 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
35414 maybe-install-pdf-target-libobjc:
35415 @if target-libobjc
35416 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
35418 install-pdf-target-libobjc: \
35419 configure-target-libobjc \
35420 pdf-target-libobjc
35421 @: $(MAKE); $(unstage)
35422 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35423 r=`${PWD_COMMAND}`; export r; \
35424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35425 $(NORMAL_TARGET_EXPORTS) \
35426 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
35427 for flag in $(EXTRA_TARGET_FLAGS); do \
35428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35429 done; \
35430 (cd $(TARGET_SUBDIR)/libobjc && \
35431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35433 "RANLIB=$${RANLIB}" \
35434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35435 install-pdf) \
35436 || exit 1
35438 @endif target-libobjc
35440 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
35441 maybe-install-html-target-libobjc:
35442 @if target-libobjc
35443 maybe-install-html-target-libobjc: install-html-target-libobjc
35445 install-html-target-libobjc: \
35446 configure-target-libobjc \
35447 html-target-libobjc
35448 @: $(MAKE); $(unstage)
35449 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35450 r=`${PWD_COMMAND}`; export r; \
35451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35452 $(NORMAL_TARGET_EXPORTS) \
35453 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
35454 for flag in $(EXTRA_TARGET_FLAGS); do \
35455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35456 done; \
35457 (cd $(TARGET_SUBDIR)/libobjc && \
35458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35460 "RANLIB=$${RANLIB}" \
35461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35462 install-html) \
35463 || exit 1
35465 @endif target-libobjc
35467 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
35468 maybe-installcheck-target-libobjc:
35469 @if target-libobjc
35470 maybe-installcheck-target-libobjc: installcheck-target-libobjc
35472 installcheck-target-libobjc: \
35473 configure-target-libobjc
35474 @: $(MAKE); $(unstage)
35475 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35476 r=`${PWD_COMMAND}`; export r; \
35477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35478 $(NORMAL_TARGET_EXPORTS) \
35479 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
35480 for flag in $(EXTRA_TARGET_FLAGS); do \
35481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35482 done; \
35483 (cd $(TARGET_SUBDIR)/libobjc && \
35484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35486 "RANLIB=$${RANLIB}" \
35487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35488 installcheck) \
35489 || exit 1
35491 @endif target-libobjc
35493 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
35494 maybe-mostlyclean-target-libobjc:
35495 @if target-libobjc
35496 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
35498 mostlyclean-target-libobjc:
35499 @: $(MAKE); $(unstage)
35500 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35501 r=`${PWD_COMMAND}`; export r; \
35502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35503 $(NORMAL_TARGET_EXPORTS) \
35504 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
35505 for flag in $(EXTRA_TARGET_FLAGS); do \
35506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35507 done; \
35508 (cd $(TARGET_SUBDIR)/libobjc && \
35509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35511 "RANLIB=$${RANLIB}" \
35512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35513 mostlyclean) \
35514 || exit 1
35516 @endif target-libobjc
35518 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
35519 maybe-clean-target-libobjc:
35520 @if target-libobjc
35521 maybe-clean-target-libobjc: clean-target-libobjc
35523 clean-target-libobjc:
35524 @: $(MAKE); $(unstage)
35525 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35526 r=`${PWD_COMMAND}`; export r; \
35527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35528 $(NORMAL_TARGET_EXPORTS) \
35529 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
35530 for flag in $(EXTRA_TARGET_FLAGS); do \
35531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35532 done; \
35533 (cd $(TARGET_SUBDIR)/libobjc && \
35534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35536 "RANLIB=$${RANLIB}" \
35537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35538 clean) \
35539 || exit 1
35541 @endif target-libobjc
35543 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
35544 maybe-distclean-target-libobjc:
35545 @if target-libobjc
35546 maybe-distclean-target-libobjc: distclean-target-libobjc
35548 distclean-target-libobjc:
35549 @: $(MAKE); $(unstage)
35550 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35551 r=`${PWD_COMMAND}`; export r; \
35552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35553 $(NORMAL_TARGET_EXPORTS) \
35554 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
35555 for flag in $(EXTRA_TARGET_FLAGS); do \
35556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35557 done; \
35558 (cd $(TARGET_SUBDIR)/libobjc && \
35559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35561 "RANLIB=$${RANLIB}" \
35562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35563 distclean) \
35564 || exit 1
35566 @endif target-libobjc
35568 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
35569 maybe-maintainer-clean-target-libobjc:
35570 @if target-libobjc
35571 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
35573 maintainer-clean-target-libobjc:
35574 @: $(MAKE); $(unstage)
35575 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35576 r=`${PWD_COMMAND}`; export r; \
35577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35578 $(NORMAL_TARGET_EXPORTS) \
35579 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
35580 for flag in $(EXTRA_TARGET_FLAGS); do \
35581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35582 done; \
35583 (cd $(TARGET_SUBDIR)/libobjc && \
35584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35586 "RANLIB=$${RANLIB}" \
35587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35588 maintainer-clean) \
35589 || exit 1
35591 @endif target-libobjc
35597 .PHONY: configure-target-libgo maybe-configure-target-libgo
35598 maybe-configure-target-libgo:
35599 @if gcc-bootstrap
35600 configure-target-libgo: stage_current
35601 @endif gcc-bootstrap
35602 @if target-libgo
35603 maybe-configure-target-libgo: configure-target-libgo
35604 configure-target-libgo:
35605 @: $(MAKE); $(unstage)
35606 @r=`${PWD_COMMAND}`; export r; \
35607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35608 echo "Checking multilib configuration for libgo..."; \
35609 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
35610 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
35611 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
35612 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
35613 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
35614 else \
35615 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
35616 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
35617 fi; \
35618 else \
35619 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
35620 fi; \
35621 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
35622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
35623 $(NORMAL_TARGET_EXPORTS) \
35624 echo Configuring in $(TARGET_SUBDIR)/libgo; \
35625 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
35626 case $(srcdir) in \
35627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35628 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
35629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35630 esac; \
35631 srcdiroption="--srcdir=$${topdir}/libgo"; \
35632 libsrcdir="$$s/libgo"; \
35633 rm -f no-such-file || : ; \
35634 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35635 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35636 --target=${target_alias} $${srcdiroption} \
35637 || exit 1
35638 @endif target-libgo
35644 .PHONY: all-target-libgo maybe-all-target-libgo
35645 maybe-all-target-libgo:
35646 @if gcc-bootstrap
35647 all-target-libgo: stage_current
35648 @endif gcc-bootstrap
35649 @if target-libgo
35650 TARGET-target-libgo=all
35651 maybe-all-target-libgo: all-target-libgo
35652 all-target-libgo: configure-target-libgo
35653 @: $(MAKE); $(unstage)
35654 @r=`${PWD_COMMAND}`; export r; \
35655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35656 $(NORMAL_TARGET_EXPORTS) \
35657 (cd $(TARGET_SUBDIR)/libgo && \
35658 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35659 $(TARGET-target-libgo))
35660 @endif target-libgo
35666 .PHONY: check-target-libgo maybe-check-target-libgo
35667 maybe-check-target-libgo:
35668 @if target-libgo
35669 maybe-check-target-libgo: check-target-libgo
35671 check-target-libgo:
35672 @: $(MAKE); $(unstage)
35673 @r=`${PWD_COMMAND}`; export r; \
35674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35675 $(NORMAL_TARGET_EXPORTS) \
35676 (cd $(TARGET_SUBDIR)/libgo && \
35677 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35679 @endif target-libgo
35681 .PHONY: install-target-libgo maybe-install-target-libgo
35682 maybe-install-target-libgo:
35683 @if target-libgo
35684 maybe-install-target-libgo: install-target-libgo
35686 install-target-libgo: installdirs
35687 @: $(MAKE); $(unstage)
35688 @r=`${PWD_COMMAND}`; export r; \
35689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35690 $(NORMAL_TARGET_EXPORTS) \
35691 (cd $(TARGET_SUBDIR)/libgo && \
35692 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35694 @endif target-libgo
35696 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
35697 maybe-install-strip-target-libgo:
35698 @if target-libgo
35699 maybe-install-strip-target-libgo: install-strip-target-libgo
35701 install-strip-target-libgo: installdirs
35702 @: $(MAKE); $(unstage)
35703 @r=`${PWD_COMMAND}`; export r; \
35704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35705 $(NORMAL_TARGET_EXPORTS) \
35706 (cd $(TARGET_SUBDIR)/libgo && \
35707 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35709 @endif target-libgo
35711 # Other targets (info, dvi, pdf, etc.)
35713 .PHONY: maybe-info-target-libgo info-target-libgo
35714 maybe-info-target-libgo:
35715 @if target-libgo
35716 maybe-info-target-libgo: info-target-libgo
35718 info-target-libgo: \
35719 configure-target-libgo
35720 @: $(MAKE); $(unstage)
35721 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35722 r=`${PWD_COMMAND}`; export r; \
35723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35724 $(NORMAL_TARGET_EXPORTS) \
35725 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
35726 for flag in $(EXTRA_TARGET_FLAGS); do \
35727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35728 done; \
35729 (cd $(TARGET_SUBDIR)/libgo && \
35730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35732 "RANLIB=$${RANLIB}" \
35733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35734 info) \
35735 || exit 1
35737 @endif target-libgo
35739 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
35740 maybe-dvi-target-libgo:
35741 @if target-libgo
35742 maybe-dvi-target-libgo: dvi-target-libgo
35744 dvi-target-libgo: \
35745 configure-target-libgo
35746 @: $(MAKE); $(unstage)
35747 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35748 r=`${PWD_COMMAND}`; export r; \
35749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35750 $(NORMAL_TARGET_EXPORTS) \
35751 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
35752 for flag in $(EXTRA_TARGET_FLAGS); do \
35753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35754 done; \
35755 (cd $(TARGET_SUBDIR)/libgo && \
35756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35758 "RANLIB=$${RANLIB}" \
35759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35760 dvi) \
35761 || exit 1
35763 @endif target-libgo
35765 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
35766 maybe-pdf-target-libgo:
35767 @if target-libgo
35768 maybe-pdf-target-libgo: pdf-target-libgo
35770 pdf-target-libgo: \
35771 configure-target-libgo
35772 @: $(MAKE); $(unstage)
35773 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35774 r=`${PWD_COMMAND}`; export r; \
35775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35776 $(NORMAL_TARGET_EXPORTS) \
35777 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
35778 for flag in $(EXTRA_TARGET_FLAGS); do \
35779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35780 done; \
35781 (cd $(TARGET_SUBDIR)/libgo && \
35782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35784 "RANLIB=$${RANLIB}" \
35785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35786 pdf) \
35787 || exit 1
35789 @endif target-libgo
35791 .PHONY: maybe-html-target-libgo html-target-libgo
35792 maybe-html-target-libgo:
35793 @if target-libgo
35794 maybe-html-target-libgo: html-target-libgo
35796 html-target-libgo: \
35797 configure-target-libgo
35798 @: $(MAKE); $(unstage)
35799 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35800 r=`${PWD_COMMAND}`; export r; \
35801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35802 $(NORMAL_TARGET_EXPORTS) \
35803 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
35804 for flag in $(EXTRA_TARGET_FLAGS); do \
35805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35806 done; \
35807 (cd $(TARGET_SUBDIR)/libgo && \
35808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35810 "RANLIB=$${RANLIB}" \
35811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35812 html) \
35813 || exit 1
35815 @endif target-libgo
35817 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
35818 maybe-TAGS-target-libgo:
35819 @if target-libgo
35820 maybe-TAGS-target-libgo: TAGS-target-libgo
35822 TAGS-target-libgo: \
35823 configure-target-libgo
35824 @: $(MAKE); $(unstage)
35825 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35826 r=`${PWD_COMMAND}`; export r; \
35827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35828 $(NORMAL_TARGET_EXPORTS) \
35829 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
35830 for flag in $(EXTRA_TARGET_FLAGS); do \
35831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35832 done; \
35833 (cd $(TARGET_SUBDIR)/libgo && \
35834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35836 "RANLIB=$${RANLIB}" \
35837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35838 TAGS) \
35839 || exit 1
35841 @endif target-libgo
35843 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
35844 maybe-install-info-target-libgo:
35845 @if target-libgo
35846 maybe-install-info-target-libgo: install-info-target-libgo
35848 install-info-target-libgo: \
35849 configure-target-libgo \
35850 info-target-libgo
35851 @: $(MAKE); $(unstage)
35852 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35853 r=`${PWD_COMMAND}`; export r; \
35854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35855 $(NORMAL_TARGET_EXPORTS) \
35856 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
35857 for flag in $(EXTRA_TARGET_FLAGS); do \
35858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35859 done; \
35860 (cd $(TARGET_SUBDIR)/libgo && \
35861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35863 "RANLIB=$${RANLIB}" \
35864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35865 install-info) \
35866 || exit 1
35868 @endif target-libgo
35870 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
35871 maybe-install-pdf-target-libgo:
35872 @if target-libgo
35873 maybe-install-pdf-target-libgo: install-pdf-target-libgo
35875 install-pdf-target-libgo: \
35876 configure-target-libgo \
35877 pdf-target-libgo
35878 @: $(MAKE); $(unstage)
35879 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35880 r=`${PWD_COMMAND}`; export r; \
35881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35882 $(NORMAL_TARGET_EXPORTS) \
35883 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
35884 for flag in $(EXTRA_TARGET_FLAGS); do \
35885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35886 done; \
35887 (cd $(TARGET_SUBDIR)/libgo && \
35888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35890 "RANLIB=$${RANLIB}" \
35891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35892 install-pdf) \
35893 || exit 1
35895 @endif target-libgo
35897 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
35898 maybe-install-html-target-libgo:
35899 @if target-libgo
35900 maybe-install-html-target-libgo: install-html-target-libgo
35902 install-html-target-libgo: \
35903 configure-target-libgo \
35904 html-target-libgo
35905 @: $(MAKE); $(unstage)
35906 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35907 r=`${PWD_COMMAND}`; export r; \
35908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35909 $(NORMAL_TARGET_EXPORTS) \
35910 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
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)/libgo && \
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 install-html) \
35920 || exit 1
35922 @endif target-libgo
35924 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
35925 maybe-installcheck-target-libgo:
35926 @if target-libgo
35927 maybe-installcheck-target-libgo: installcheck-target-libgo
35929 installcheck-target-libgo: \
35930 configure-target-libgo
35931 @: $(MAKE); $(unstage)
35932 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35933 r=`${PWD_COMMAND}`; export r; \
35934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35935 $(NORMAL_TARGET_EXPORTS) \
35936 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
35937 for flag in $(EXTRA_TARGET_FLAGS); do \
35938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35939 done; \
35940 (cd $(TARGET_SUBDIR)/libgo && \
35941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35943 "RANLIB=$${RANLIB}" \
35944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35945 installcheck) \
35946 || exit 1
35948 @endif target-libgo
35950 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
35951 maybe-mostlyclean-target-libgo:
35952 @if target-libgo
35953 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
35955 mostlyclean-target-libgo:
35956 @: $(MAKE); $(unstage)
35957 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35958 r=`${PWD_COMMAND}`; export r; \
35959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35960 $(NORMAL_TARGET_EXPORTS) \
35961 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35962 for flag in $(EXTRA_TARGET_FLAGS); do \
35963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35964 done; \
35965 (cd $(TARGET_SUBDIR)/libgo && \
35966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35968 "RANLIB=$${RANLIB}" \
35969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35970 mostlyclean) \
35971 || exit 1
35973 @endif target-libgo
35975 .PHONY: maybe-clean-target-libgo clean-target-libgo
35976 maybe-clean-target-libgo:
35977 @if target-libgo
35978 maybe-clean-target-libgo: clean-target-libgo
35980 clean-target-libgo:
35981 @: $(MAKE); $(unstage)
35982 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35983 r=`${PWD_COMMAND}`; export r; \
35984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35985 $(NORMAL_TARGET_EXPORTS) \
35986 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35987 for flag in $(EXTRA_TARGET_FLAGS); do \
35988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35989 done; \
35990 (cd $(TARGET_SUBDIR)/libgo && \
35991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35993 "RANLIB=$${RANLIB}" \
35994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35995 clean) \
35996 || exit 1
35998 @endif target-libgo
36000 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
36001 maybe-distclean-target-libgo:
36002 @if target-libgo
36003 maybe-distclean-target-libgo: distclean-target-libgo
36005 distclean-target-libgo:
36006 @: $(MAKE); $(unstage)
36007 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36008 r=`${PWD_COMMAND}`; export r; \
36009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36010 $(NORMAL_TARGET_EXPORTS) \
36011 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
36012 for flag in $(EXTRA_TARGET_FLAGS); do \
36013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36014 done; \
36015 (cd $(TARGET_SUBDIR)/libgo && \
36016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36018 "RANLIB=$${RANLIB}" \
36019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36020 distclean) \
36021 || exit 1
36023 @endif target-libgo
36025 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
36026 maybe-maintainer-clean-target-libgo:
36027 @if target-libgo
36028 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
36030 maintainer-clean-target-libgo:
36031 @: $(MAKE); $(unstage)
36032 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36033 r=`${PWD_COMMAND}`; export r; \
36034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36035 $(NORMAL_TARGET_EXPORTS) \
36036 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
36037 for flag in $(EXTRA_TARGET_FLAGS); do \
36038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36039 done; \
36040 (cd $(TARGET_SUBDIR)/libgo && \
36041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36043 "RANLIB=$${RANLIB}" \
36044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36045 maintainer-clean) \
36046 || exit 1
36048 @endif target-libgo
36054 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
36055 maybe-configure-target-libtermcap:
36056 @if gcc-bootstrap
36057 configure-target-libtermcap: stage_current
36058 @endif gcc-bootstrap
36059 @if target-libtermcap
36060 maybe-configure-target-libtermcap: configure-target-libtermcap
36061 configure-target-libtermcap:
36062 @: $(MAKE); $(unstage)
36063 @r=`${PWD_COMMAND}`; export r; \
36064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36065 echo "Checking multilib configuration for libtermcap..."; \
36066 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36067 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
36068 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36069 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36070 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
36071 else \
36072 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
36073 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36074 fi; \
36075 else \
36076 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36077 fi; \
36078 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
36079 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36080 $(NORMAL_TARGET_EXPORTS) \
36081 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
36082 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
36083 case $(srcdir) in \
36084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36085 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
36086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36087 esac; \
36088 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36089 libsrcdir="$$s/libtermcap"; \
36090 rm -f no-such-file || : ; \
36091 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36092 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36093 --target=${target_alias} $${srcdiroption} \
36094 || exit 1
36095 @endif target-libtermcap
36101 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
36102 maybe-all-target-libtermcap:
36103 @if gcc-bootstrap
36104 all-target-libtermcap: stage_current
36105 @endif gcc-bootstrap
36106 @if target-libtermcap
36107 TARGET-target-libtermcap=all
36108 maybe-all-target-libtermcap: all-target-libtermcap
36109 all-target-libtermcap: configure-target-libtermcap
36110 @: $(MAKE); $(unstage)
36111 @r=`${PWD_COMMAND}`; export r; \
36112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36113 $(NORMAL_TARGET_EXPORTS) \
36114 (cd $(TARGET_SUBDIR)/libtermcap && \
36115 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36116 $(TARGET-target-libtermcap))
36117 @endif target-libtermcap
36123 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
36124 maybe-check-target-libtermcap:
36125 @if target-libtermcap
36126 maybe-check-target-libtermcap: check-target-libtermcap
36128 # Dummy target for uncheckable module.
36129 check-target-libtermcap:
36131 @endif target-libtermcap
36133 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
36134 maybe-install-target-libtermcap:
36135 @if target-libtermcap
36136 maybe-install-target-libtermcap: install-target-libtermcap
36138 install-target-libtermcap: installdirs
36139 @: $(MAKE); $(unstage)
36140 @r=`${PWD_COMMAND}`; export r; \
36141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36142 $(NORMAL_TARGET_EXPORTS) \
36143 (cd $(TARGET_SUBDIR)/libtermcap && \
36144 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36146 @endif target-libtermcap
36148 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
36149 maybe-install-strip-target-libtermcap:
36150 @if target-libtermcap
36151 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
36153 install-strip-target-libtermcap: installdirs
36154 @: $(MAKE); $(unstage)
36155 @r=`${PWD_COMMAND}`; export r; \
36156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36157 $(NORMAL_TARGET_EXPORTS) \
36158 (cd $(TARGET_SUBDIR)/libtermcap && \
36159 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36161 @endif target-libtermcap
36163 # Other targets (info, dvi, pdf, etc.)
36165 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
36166 maybe-info-target-libtermcap:
36167 @if target-libtermcap
36168 maybe-info-target-libtermcap: info-target-libtermcap
36170 info-target-libtermcap: \
36171 configure-target-libtermcap
36172 @: $(MAKE); $(unstage)
36173 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36174 r=`${PWD_COMMAND}`; export r; \
36175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36176 $(NORMAL_TARGET_EXPORTS) \
36177 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
36178 for flag in $(EXTRA_TARGET_FLAGS); do \
36179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36180 done; \
36181 (cd $(TARGET_SUBDIR)/libtermcap && \
36182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36184 "RANLIB=$${RANLIB}" \
36185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36186 info) \
36187 || exit 1
36189 @endif target-libtermcap
36191 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
36192 maybe-dvi-target-libtermcap:
36193 @if target-libtermcap
36194 maybe-dvi-target-libtermcap: dvi-target-libtermcap
36196 dvi-target-libtermcap: \
36197 configure-target-libtermcap
36198 @: $(MAKE); $(unstage)
36199 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36200 r=`${PWD_COMMAND}`; export r; \
36201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36202 $(NORMAL_TARGET_EXPORTS) \
36203 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
36204 for flag in $(EXTRA_TARGET_FLAGS); do \
36205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36206 done; \
36207 (cd $(TARGET_SUBDIR)/libtermcap && \
36208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36210 "RANLIB=$${RANLIB}" \
36211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36212 dvi) \
36213 || exit 1
36215 @endif target-libtermcap
36217 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
36218 maybe-pdf-target-libtermcap:
36219 @if target-libtermcap
36220 maybe-pdf-target-libtermcap: pdf-target-libtermcap
36222 pdf-target-libtermcap: \
36223 configure-target-libtermcap
36224 @: $(MAKE); $(unstage)
36225 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36226 r=`${PWD_COMMAND}`; export r; \
36227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36228 $(NORMAL_TARGET_EXPORTS) \
36229 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36230 for flag in $(EXTRA_TARGET_FLAGS); do \
36231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36232 done; \
36233 (cd $(TARGET_SUBDIR)/libtermcap && \
36234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36236 "RANLIB=$${RANLIB}" \
36237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36238 pdf) \
36239 || exit 1
36241 @endif target-libtermcap
36243 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
36244 maybe-html-target-libtermcap:
36245 @if target-libtermcap
36246 maybe-html-target-libtermcap: html-target-libtermcap
36248 html-target-libtermcap: \
36249 configure-target-libtermcap
36250 @: $(MAKE); $(unstage)
36251 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36252 r=`${PWD_COMMAND}`; export r; \
36253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36254 $(NORMAL_TARGET_EXPORTS) \
36255 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
36256 for flag in $(EXTRA_TARGET_FLAGS); do \
36257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36258 done; \
36259 (cd $(TARGET_SUBDIR)/libtermcap && \
36260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36262 "RANLIB=$${RANLIB}" \
36263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36264 html) \
36265 || exit 1
36267 @endif target-libtermcap
36269 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
36270 maybe-TAGS-target-libtermcap:
36271 @if target-libtermcap
36272 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
36274 TAGS-target-libtermcap: \
36275 configure-target-libtermcap
36276 @: $(MAKE); $(unstage)
36277 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36278 r=`${PWD_COMMAND}`; export r; \
36279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36280 $(NORMAL_TARGET_EXPORTS) \
36281 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
36282 for flag in $(EXTRA_TARGET_FLAGS); do \
36283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36284 done; \
36285 (cd $(TARGET_SUBDIR)/libtermcap && \
36286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36288 "RANLIB=$${RANLIB}" \
36289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36290 TAGS) \
36291 || exit 1
36293 @endif target-libtermcap
36295 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
36296 maybe-install-info-target-libtermcap:
36297 @if target-libtermcap
36298 maybe-install-info-target-libtermcap: install-info-target-libtermcap
36300 install-info-target-libtermcap: \
36301 configure-target-libtermcap \
36302 info-target-libtermcap
36303 @: $(MAKE); $(unstage)
36304 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36305 r=`${PWD_COMMAND}`; export r; \
36306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36307 $(NORMAL_TARGET_EXPORTS) \
36308 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
36309 for flag in $(EXTRA_TARGET_FLAGS); do \
36310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36311 done; \
36312 (cd $(TARGET_SUBDIR)/libtermcap && \
36313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36315 "RANLIB=$${RANLIB}" \
36316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36317 install-info) \
36318 || exit 1
36320 @endif target-libtermcap
36322 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
36323 maybe-install-pdf-target-libtermcap:
36324 @if target-libtermcap
36325 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
36327 install-pdf-target-libtermcap: \
36328 configure-target-libtermcap \
36329 pdf-target-libtermcap
36330 @: $(MAKE); $(unstage)
36331 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36332 r=`${PWD_COMMAND}`; export r; \
36333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36334 $(NORMAL_TARGET_EXPORTS) \
36335 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36336 for flag in $(EXTRA_TARGET_FLAGS); do \
36337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36338 done; \
36339 (cd $(TARGET_SUBDIR)/libtermcap && \
36340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36342 "RANLIB=$${RANLIB}" \
36343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36344 install-pdf) \
36345 || exit 1
36347 @endif target-libtermcap
36349 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
36350 maybe-install-html-target-libtermcap:
36351 @if target-libtermcap
36352 maybe-install-html-target-libtermcap: install-html-target-libtermcap
36354 install-html-target-libtermcap: \
36355 configure-target-libtermcap \
36356 html-target-libtermcap
36357 @: $(MAKE); $(unstage)
36358 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36359 r=`${PWD_COMMAND}`; export r; \
36360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36361 $(NORMAL_TARGET_EXPORTS) \
36362 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 install-html) \
36372 || exit 1
36374 @endif target-libtermcap
36376 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
36377 maybe-installcheck-target-libtermcap:
36378 @if target-libtermcap
36379 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
36381 installcheck-target-libtermcap: \
36382 configure-target-libtermcap
36383 @: $(MAKE); $(unstage)
36384 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36385 r=`${PWD_COMMAND}`; export r; \
36386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36387 $(NORMAL_TARGET_EXPORTS) \
36388 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
36389 for flag in $(EXTRA_TARGET_FLAGS); do \
36390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36391 done; \
36392 (cd $(TARGET_SUBDIR)/libtermcap && \
36393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36395 "RANLIB=$${RANLIB}" \
36396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36397 installcheck) \
36398 || exit 1
36400 @endif target-libtermcap
36402 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
36403 maybe-mostlyclean-target-libtermcap:
36404 @if target-libtermcap
36405 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
36407 # libtermcap doesn't support mostlyclean.
36408 mostlyclean-target-libtermcap:
36410 @endif target-libtermcap
36412 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
36413 maybe-clean-target-libtermcap:
36414 @if target-libtermcap
36415 maybe-clean-target-libtermcap: clean-target-libtermcap
36417 # libtermcap doesn't support clean.
36418 clean-target-libtermcap:
36420 @endif target-libtermcap
36422 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
36423 maybe-distclean-target-libtermcap:
36424 @if target-libtermcap
36425 maybe-distclean-target-libtermcap: distclean-target-libtermcap
36427 # libtermcap doesn't support distclean.
36428 distclean-target-libtermcap:
36430 @endif target-libtermcap
36432 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
36433 maybe-maintainer-clean-target-libtermcap:
36434 @if target-libtermcap
36435 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
36437 # libtermcap doesn't support maintainer-clean.
36438 maintainer-clean-target-libtermcap:
36440 @endif target-libtermcap
36446 .PHONY: configure-target-winsup maybe-configure-target-winsup
36447 maybe-configure-target-winsup:
36448 @if gcc-bootstrap
36449 configure-target-winsup: stage_current
36450 @endif gcc-bootstrap
36451 @if target-winsup
36452 maybe-configure-target-winsup: configure-target-winsup
36453 configure-target-winsup:
36454 @: $(MAKE); $(unstage)
36455 @r=`${PWD_COMMAND}`; export r; \
36456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36457 echo "Checking multilib configuration for winsup..."; \
36458 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36459 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
36460 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
36461 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
36462 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
36463 else \
36464 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
36465 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36466 fi; \
36467 else \
36468 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36469 fi; \
36470 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
36471 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36472 $(NORMAL_TARGET_EXPORTS) \
36473 echo Configuring in $(TARGET_SUBDIR)/winsup; \
36474 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
36475 case $(srcdir) in \
36476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36477 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
36478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36479 esac; \
36480 srcdiroption="--srcdir=$${topdir}/winsup"; \
36481 libsrcdir="$$s/winsup"; \
36482 rm -f no-such-file || : ; \
36483 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36484 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36485 --target=${target_alias} $${srcdiroption} \
36486 || exit 1
36487 @endif target-winsup
36493 .PHONY: all-target-winsup maybe-all-target-winsup
36494 maybe-all-target-winsup:
36495 @if gcc-bootstrap
36496 all-target-winsup: stage_current
36497 @endif gcc-bootstrap
36498 @if target-winsup
36499 TARGET-target-winsup=all
36500 maybe-all-target-winsup: all-target-winsup
36501 all-target-winsup: configure-target-winsup
36502 @: $(MAKE); $(unstage)
36503 @r=`${PWD_COMMAND}`; export r; \
36504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36505 $(NORMAL_TARGET_EXPORTS) \
36506 (cd $(TARGET_SUBDIR)/winsup && \
36507 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36508 $(TARGET-target-winsup))
36509 @endif target-winsup
36515 .PHONY: check-target-winsup maybe-check-target-winsup
36516 maybe-check-target-winsup:
36517 @if target-winsup
36518 maybe-check-target-winsup: check-target-winsup
36520 check-target-winsup:
36521 @: $(MAKE); $(unstage)
36522 @r=`${PWD_COMMAND}`; export r; \
36523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36524 $(NORMAL_TARGET_EXPORTS) \
36525 (cd $(TARGET_SUBDIR)/winsup && \
36526 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36528 @endif target-winsup
36530 .PHONY: install-target-winsup maybe-install-target-winsup
36531 maybe-install-target-winsup:
36532 @if target-winsup
36533 maybe-install-target-winsup: install-target-winsup
36535 install-target-winsup: installdirs
36536 @: $(MAKE); $(unstage)
36537 @r=`${PWD_COMMAND}`; export r; \
36538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36539 $(NORMAL_TARGET_EXPORTS) \
36540 (cd $(TARGET_SUBDIR)/winsup && \
36541 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36543 @endif target-winsup
36545 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
36546 maybe-install-strip-target-winsup:
36547 @if target-winsup
36548 maybe-install-strip-target-winsup: install-strip-target-winsup
36550 install-strip-target-winsup: installdirs
36551 @: $(MAKE); $(unstage)
36552 @r=`${PWD_COMMAND}`; export r; \
36553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36554 $(NORMAL_TARGET_EXPORTS) \
36555 (cd $(TARGET_SUBDIR)/winsup && \
36556 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36558 @endif target-winsup
36560 # Other targets (info, dvi, pdf, etc.)
36562 .PHONY: maybe-info-target-winsup info-target-winsup
36563 maybe-info-target-winsup:
36564 @if target-winsup
36565 maybe-info-target-winsup: info-target-winsup
36567 info-target-winsup: \
36568 configure-target-winsup
36569 @: $(MAKE); $(unstage)
36570 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36571 r=`${PWD_COMMAND}`; export r; \
36572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36573 $(NORMAL_TARGET_EXPORTS) \
36574 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
36575 for flag in $(EXTRA_TARGET_FLAGS); do \
36576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36577 done; \
36578 (cd $(TARGET_SUBDIR)/winsup && \
36579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36581 "RANLIB=$${RANLIB}" \
36582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36583 info) \
36584 || exit 1
36586 @endif target-winsup
36588 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
36589 maybe-dvi-target-winsup:
36590 @if target-winsup
36591 maybe-dvi-target-winsup: dvi-target-winsup
36593 dvi-target-winsup: \
36594 configure-target-winsup
36595 @: $(MAKE); $(unstage)
36596 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36597 r=`${PWD_COMMAND}`; export r; \
36598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36599 $(NORMAL_TARGET_EXPORTS) \
36600 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
36601 for flag in $(EXTRA_TARGET_FLAGS); do \
36602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36603 done; \
36604 (cd $(TARGET_SUBDIR)/winsup && \
36605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36607 "RANLIB=$${RANLIB}" \
36608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36609 dvi) \
36610 || exit 1
36612 @endif target-winsup
36614 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
36615 maybe-pdf-target-winsup:
36616 @if target-winsup
36617 maybe-pdf-target-winsup: pdf-target-winsup
36619 pdf-target-winsup: \
36620 configure-target-winsup
36621 @: $(MAKE); $(unstage)
36622 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36623 r=`${PWD_COMMAND}`; export r; \
36624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36625 $(NORMAL_TARGET_EXPORTS) \
36626 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
36627 for flag in $(EXTRA_TARGET_FLAGS); do \
36628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36629 done; \
36630 (cd $(TARGET_SUBDIR)/winsup && \
36631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36633 "RANLIB=$${RANLIB}" \
36634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36635 pdf) \
36636 || exit 1
36638 @endif target-winsup
36640 .PHONY: maybe-html-target-winsup html-target-winsup
36641 maybe-html-target-winsup:
36642 @if target-winsup
36643 maybe-html-target-winsup: html-target-winsup
36645 html-target-winsup: \
36646 configure-target-winsup
36647 @: $(MAKE); $(unstage)
36648 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36649 r=`${PWD_COMMAND}`; export r; \
36650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36651 $(NORMAL_TARGET_EXPORTS) \
36652 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
36653 for flag in $(EXTRA_TARGET_FLAGS); do \
36654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36655 done; \
36656 (cd $(TARGET_SUBDIR)/winsup && \
36657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36659 "RANLIB=$${RANLIB}" \
36660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36661 html) \
36662 || exit 1
36664 @endif target-winsup
36666 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
36667 maybe-TAGS-target-winsup:
36668 @if target-winsup
36669 maybe-TAGS-target-winsup: TAGS-target-winsup
36671 TAGS-target-winsup: \
36672 configure-target-winsup
36673 @: $(MAKE); $(unstage)
36674 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36675 r=`${PWD_COMMAND}`; export r; \
36676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36677 $(NORMAL_TARGET_EXPORTS) \
36678 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
36679 for flag in $(EXTRA_TARGET_FLAGS); do \
36680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36681 done; \
36682 (cd $(TARGET_SUBDIR)/winsup && \
36683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36685 "RANLIB=$${RANLIB}" \
36686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36687 TAGS) \
36688 || exit 1
36690 @endif target-winsup
36692 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
36693 maybe-install-info-target-winsup:
36694 @if target-winsup
36695 maybe-install-info-target-winsup: install-info-target-winsup
36697 install-info-target-winsup: \
36698 configure-target-winsup \
36699 info-target-winsup
36700 @: $(MAKE); $(unstage)
36701 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36702 r=`${PWD_COMMAND}`; export r; \
36703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36704 $(NORMAL_TARGET_EXPORTS) \
36705 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
36706 for flag in $(EXTRA_TARGET_FLAGS); do \
36707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36708 done; \
36709 (cd $(TARGET_SUBDIR)/winsup && \
36710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36712 "RANLIB=$${RANLIB}" \
36713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36714 install-info) \
36715 || exit 1
36717 @endif target-winsup
36719 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
36720 maybe-install-pdf-target-winsup:
36721 @if target-winsup
36722 maybe-install-pdf-target-winsup: install-pdf-target-winsup
36724 install-pdf-target-winsup: \
36725 configure-target-winsup \
36726 pdf-target-winsup
36727 @: $(MAKE); $(unstage)
36728 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36729 r=`${PWD_COMMAND}`; export r; \
36730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36731 $(NORMAL_TARGET_EXPORTS) \
36732 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
36733 for flag in $(EXTRA_TARGET_FLAGS); do \
36734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36735 done; \
36736 (cd $(TARGET_SUBDIR)/winsup && \
36737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36739 "RANLIB=$${RANLIB}" \
36740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36741 install-pdf) \
36742 || exit 1
36744 @endif target-winsup
36746 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
36747 maybe-install-html-target-winsup:
36748 @if target-winsup
36749 maybe-install-html-target-winsup: install-html-target-winsup
36751 install-html-target-winsup: \
36752 configure-target-winsup \
36753 html-target-winsup
36754 @: $(MAKE); $(unstage)
36755 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36756 r=`${PWD_COMMAND}`; export r; \
36757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36758 $(NORMAL_TARGET_EXPORTS) \
36759 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
36760 for flag in $(EXTRA_TARGET_FLAGS); do \
36761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36762 done; \
36763 (cd $(TARGET_SUBDIR)/winsup && \
36764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36766 "RANLIB=$${RANLIB}" \
36767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36768 install-html) \
36769 || exit 1
36771 @endif target-winsup
36773 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
36774 maybe-installcheck-target-winsup:
36775 @if target-winsup
36776 maybe-installcheck-target-winsup: installcheck-target-winsup
36778 installcheck-target-winsup: \
36779 configure-target-winsup
36780 @: $(MAKE); $(unstage)
36781 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36782 r=`${PWD_COMMAND}`; export r; \
36783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36784 $(NORMAL_TARGET_EXPORTS) \
36785 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
36786 for flag in $(EXTRA_TARGET_FLAGS); do \
36787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36788 done; \
36789 (cd $(TARGET_SUBDIR)/winsup && \
36790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36792 "RANLIB=$${RANLIB}" \
36793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36794 installcheck) \
36795 || exit 1
36797 @endif target-winsup
36799 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
36800 maybe-mostlyclean-target-winsup:
36801 @if target-winsup
36802 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
36804 mostlyclean-target-winsup:
36805 @: $(MAKE); $(unstage)
36806 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36807 r=`${PWD_COMMAND}`; export r; \
36808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36809 $(NORMAL_TARGET_EXPORTS) \
36810 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
36811 for flag in $(EXTRA_TARGET_FLAGS); do \
36812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36813 done; \
36814 (cd $(TARGET_SUBDIR)/winsup && \
36815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36817 "RANLIB=$${RANLIB}" \
36818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36819 mostlyclean) \
36820 || exit 1
36822 @endif target-winsup
36824 .PHONY: maybe-clean-target-winsup clean-target-winsup
36825 maybe-clean-target-winsup:
36826 @if target-winsup
36827 maybe-clean-target-winsup: clean-target-winsup
36829 clean-target-winsup:
36830 @: $(MAKE); $(unstage)
36831 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36832 r=`${PWD_COMMAND}`; export r; \
36833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36834 $(NORMAL_TARGET_EXPORTS) \
36835 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
36836 for flag in $(EXTRA_TARGET_FLAGS); do \
36837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36838 done; \
36839 (cd $(TARGET_SUBDIR)/winsup && \
36840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36842 "RANLIB=$${RANLIB}" \
36843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36844 clean) \
36845 || exit 1
36847 @endif target-winsup
36849 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
36850 maybe-distclean-target-winsup:
36851 @if target-winsup
36852 maybe-distclean-target-winsup: distclean-target-winsup
36854 distclean-target-winsup:
36855 @: $(MAKE); $(unstage)
36856 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36857 r=`${PWD_COMMAND}`; export r; \
36858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36859 $(NORMAL_TARGET_EXPORTS) \
36860 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
36861 for flag in $(EXTRA_TARGET_FLAGS); do \
36862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36863 done; \
36864 (cd $(TARGET_SUBDIR)/winsup && \
36865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36867 "RANLIB=$${RANLIB}" \
36868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36869 distclean) \
36870 || exit 1
36872 @endif target-winsup
36874 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
36875 maybe-maintainer-clean-target-winsup:
36876 @if target-winsup
36877 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
36879 maintainer-clean-target-winsup:
36880 @: $(MAKE); $(unstage)
36881 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36882 r=`${PWD_COMMAND}`; export r; \
36883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36884 $(NORMAL_TARGET_EXPORTS) \
36885 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
36886 for flag in $(EXTRA_TARGET_FLAGS); do \
36887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36888 done; \
36889 (cd $(TARGET_SUBDIR)/winsup && \
36890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36892 "RANLIB=$${RANLIB}" \
36893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36894 maintainer-clean) \
36895 || exit 1
36897 @endif target-winsup
36903 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36904 maybe-configure-target-libgloss:
36905 @if gcc-bootstrap
36906 configure-target-libgloss: stage_current
36907 @endif gcc-bootstrap
36908 @if target-libgloss
36909 maybe-configure-target-libgloss: configure-target-libgloss
36910 configure-target-libgloss:
36911 @: $(MAKE); $(unstage)
36912 @r=`${PWD_COMMAND}`; export r; \
36913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36914 echo "Checking multilib configuration for libgloss..."; \
36915 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36916 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36917 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36918 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36919 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36920 else \
36921 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36922 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36923 fi; \
36924 else \
36925 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36926 fi; \
36927 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36928 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36929 $(NORMAL_TARGET_EXPORTS) \
36930 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36931 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36932 case $(srcdir) in \
36933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36934 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36936 esac; \
36937 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36938 libsrcdir="$$s/libgloss"; \
36939 rm -f no-such-file || : ; \
36940 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36941 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36942 --target=${target_alias} $${srcdiroption} \
36943 || exit 1
36944 @endif target-libgloss
36950 .PHONY: all-target-libgloss maybe-all-target-libgloss
36951 maybe-all-target-libgloss:
36952 @if gcc-bootstrap
36953 all-target-libgloss: stage_current
36954 @endif gcc-bootstrap
36955 @if target-libgloss
36956 TARGET-target-libgloss=all
36957 maybe-all-target-libgloss: all-target-libgloss
36958 all-target-libgloss: configure-target-libgloss
36959 @: $(MAKE); $(unstage)
36960 @r=`${PWD_COMMAND}`; export r; \
36961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36962 $(NORMAL_TARGET_EXPORTS) \
36963 (cd $(TARGET_SUBDIR)/libgloss && \
36964 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36965 $(TARGET-target-libgloss))
36966 @endif target-libgloss
36972 .PHONY: check-target-libgloss maybe-check-target-libgloss
36973 maybe-check-target-libgloss:
36974 @if target-libgloss
36975 maybe-check-target-libgloss: check-target-libgloss
36977 # Dummy target for uncheckable module.
36978 check-target-libgloss:
36980 @endif target-libgloss
36982 .PHONY: install-target-libgloss maybe-install-target-libgloss
36983 maybe-install-target-libgloss:
36984 @if target-libgloss
36985 maybe-install-target-libgloss: install-target-libgloss
36987 install-target-libgloss: installdirs
36988 @: $(MAKE); $(unstage)
36989 @r=`${PWD_COMMAND}`; export r; \
36990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36991 $(NORMAL_TARGET_EXPORTS) \
36992 (cd $(TARGET_SUBDIR)/libgloss && \
36993 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36995 @endif target-libgloss
36997 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36998 maybe-install-strip-target-libgloss:
36999 @if target-libgloss
37000 maybe-install-strip-target-libgloss: install-strip-target-libgloss
37002 install-strip-target-libgloss: installdirs
37003 @: $(MAKE); $(unstage)
37004 @r=`${PWD_COMMAND}`; export r; \
37005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37006 $(NORMAL_TARGET_EXPORTS) \
37007 (cd $(TARGET_SUBDIR)/libgloss && \
37008 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37010 @endif target-libgloss
37012 # Other targets (info, dvi, pdf, etc.)
37014 .PHONY: maybe-info-target-libgloss info-target-libgloss
37015 maybe-info-target-libgloss:
37016 @if target-libgloss
37017 maybe-info-target-libgloss: info-target-libgloss
37019 info-target-libgloss: \
37020 configure-target-libgloss
37021 @: $(MAKE); $(unstage)
37022 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37023 r=`${PWD_COMMAND}`; export r; \
37024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37025 $(NORMAL_TARGET_EXPORTS) \
37026 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
37027 for flag in $(EXTRA_TARGET_FLAGS); do \
37028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37029 done; \
37030 (cd $(TARGET_SUBDIR)/libgloss && \
37031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37033 "RANLIB=$${RANLIB}" \
37034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37035 info) \
37036 || exit 1
37038 @endif target-libgloss
37040 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
37041 maybe-dvi-target-libgloss:
37042 @if target-libgloss
37043 maybe-dvi-target-libgloss: dvi-target-libgloss
37045 dvi-target-libgloss: \
37046 configure-target-libgloss
37047 @: $(MAKE); $(unstage)
37048 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37049 r=`${PWD_COMMAND}`; export r; \
37050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37051 $(NORMAL_TARGET_EXPORTS) \
37052 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
37053 for flag in $(EXTRA_TARGET_FLAGS); do \
37054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37055 done; \
37056 (cd $(TARGET_SUBDIR)/libgloss && \
37057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37059 "RANLIB=$${RANLIB}" \
37060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37061 dvi) \
37062 || exit 1
37064 @endif target-libgloss
37066 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
37067 maybe-pdf-target-libgloss:
37068 @if target-libgloss
37069 maybe-pdf-target-libgloss: pdf-target-libgloss
37071 pdf-target-libgloss: \
37072 configure-target-libgloss
37073 @: $(MAKE); $(unstage)
37074 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37075 r=`${PWD_COMMAND}`; export r; \
37076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37077 $(NORMAL_TARGET_EXPORTS) \
37078 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
37079 for flag in $(EXTRA_TARGET_FLAGS); do \
37080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37081 done; \
37082 (cd $(TARGET_SUBDIR)/libgloss && \
37083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37085 "RANLIB=$${RANLIB}" \
37086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37087 pdf) \
37088 || exit 1
37090 @endif target-libgloss
37092 .PHONY: maybe-html-target-libgloss html-target-libgloss
37093 maybe-html-target-libgloss:
37094 @if target-libgloss
37095 maybe-html-target-libgloss: html-target-libgloss
37097 html-target-libgloss: \
37098 configure-target-libgloss
37099 @: $(MAKE); $(unstage)
37100 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37101 r=`${PWD_COMMAND}`; export r; \
37102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37103 $(NORMAL_TARGET_EXPORTS) \
37104 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
37105 for flag in $(EXTRA_TARGET_FLAGS); do \
37106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37107 done; \
37108 (cd $(TARGET_SUBDIR)/libgloss && \
37109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37111 "RANLIB=$${RANLIB}" \
37112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37113 html) \
37114 || exit 1
37116 @endif target-libgloss
37118 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
37119 maybe-TAGS-target-libgloss:
37120 @if target-libgloss
37121 maybe-TAGS-target-libgloss: TAGS-target-libgloss
37123 TAGS-target-libgloss: \
37124 configure-target-libgloss
37125 @: $(MAKE); $(unstage)
37126 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37127 r=`${PWD_COMMAND}`; export r; \
37128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37129 $(NORMAL_TARGET_EXPORTS) \
37130 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
37131 for flag in $(EXTRA_TARGET_FLAGS); do \
37132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37133 done; \
37134 (cd $(TARGET_SUBDIR)/libgloss && \
37135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37137 "RANLIB=$${RANLIB}" \
37138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37139 TAGS) \
37140 || exit 1
37142 @endif target-libgloss
37144 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
37145 maybe-install-info-target-libgloss:
37146 @if target-libgloss
37147 maybe-install-info-target-libgloss: install-info-target-libgloss
37149 install-info-target-libgloss: \
37150 configure-target-libgloss \
37151 info-target-libgloss
37152 @: $(MAKE); $(unstage)
37153 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37154 r=`${PWD_COMMAND}`; export r; \
37155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37156 $(NORMAL_TARGET_EXPORTS) \
37157 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
37158 for flag in $(EXTRA_TARGET_FLAGS); do \
37159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37160 done; \
37161 (cd $(TARGET_SUBDIR)/libgloss && \
37162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37164 "RANLIB=$${RANLIB}" \
37165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37166 install-info) \
37167 || exit 1
37169 @endif target-libgloss
37171 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
37172 maybe-install-pdf-target-libgloss:
37173 @if target-libgloss
37174 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
37176 install-pdf-target-libgloss: \
37177 configure-target-libgloss \
37178 pdf-target-libgloss
37179 @: $(MAKE); $(unstage)
37180 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37181 r=`${PWD_COMMAND}`; export r; \
37182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37183 $(NORMAL_TARGET_EXPORTS) \
37184 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
37185 for flag in $(EXTRA_TARGET_FLAGS); do \
37186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37187 done; \
37188 (cd $(TARGET_SUBDIR)/libgloss && \
37189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37191 "RANLIB=$${RANLIB}" \
37192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37193 install-pdf) \
37194 || exit 1
37196 @endif target-libgloss
37198 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
37199 maybe-install-html-target-libgloss:
37200 @if target-libgloss
37201 maybe-install-html-target-libgloss: install-html-target-libgloss
37203 install-html-target-libgloss: \
37204 configure-target-libgloss \
37205 html-target-libgloss
37206 @: $(MAKE); $(unstage)
37207 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37208 r=`${PWD_COMMAND}`; export r; \
37209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37210 $(NORMAL_TARGET_EXPORTS) \
37211 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
37212 for flag in $(EXTRA_TARGET_FLAGS); do \
37213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37214 done; \
37215 (cd $(TARGET_SUBDIR)/libgloss && \
37216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37218 "RANLIB=$${RANLIB}" \
37219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37220 install-html) \
37221 || exit 1
37223 @endif target-libgloss
37225 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
37226 maybe-installcheck-target-libgloss:
37227 @if target-libgloss
37228 maybe-installcheck-target-libgloss: installcheck-target-libgloss
37230 installcheck-target-libgloss: \
37231 configure-target-libgloss
37232 @: $(MAKE); $(unstage)
37233 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37234 r=`${PWD_COMMAND}`; export r; \
37235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37236 $(NORMAL_TARGET_EXPORTS) \
37237 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
37238 for flag in $(EXTRA_TARGET_FLAGS); do \
37239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37240 done; \
37241 (cd $(TARGET_SUBDIR)/libgloss && \
37242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37244 "RANLIB=$${RANLIB}" \
37245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37246 installcheck) \
37247 || exit 1
37249 @endif target-libgloss
37251 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
37252 maybe-mostlyclean-target-libgloss:
37253 @if target-libgloss
37254 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
37256 mostlyclean-target-libgloss:
37257 @: $(MAKE); $(unstage)
37258 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37259 r=`${PWD_COMMAND}`; export r; \
37260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37261 $(NORMAL_TARGET_EXPORTS) \
37262 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
37263 for flag in $(EXTRA_TARGET_FLAGS); do \
37264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37265 done; \
37266 (cd $(TARGET_SUBDIR)/libgloss && \
37267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37269 "RANLIB=$${RANLIB}" \
37270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37271 mostlyclean) \
37272 || exit 1
37274 @endif target-libgloss
37276 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
37277 maybe-clean-target-libgloss:
37278 @if target-libgloss
37279 maybe-clean-target-libgloss: clean-target-libgloss
37281 clean-target-libgloss:
37282 @: $(MAKE); $(unstage)
37283 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37284 r=`${PWD_COMMAND}`; export r; \
37285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37286 $(NORMAL_TARGET_EXPORTS) \
37287 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
37288 for flag in $(EXTRA_TARGET_FLAGS); do \
37289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37290 done; \
37291 (cd $(TARGET_SUBDIR)/libgloss && \
37292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37294 "RANLIB=$${RANLIB}" \
37295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37296 clean) \
37297 || exit 1
37299 @endif target-libgloss
37301 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
37302 maybe-distclean-target-libgloss:
37303 @if target-libgloss
37304 maybe-distclean-target-libgloss: distclean-target-libgloss
37306 distclean-target-libgloss:
37307 @: $(MAKE); $(unstage)
37308 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37309 r=`${PWD_COMMAND}`; export r; \
37310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37311 $(NORMAL_TARGET_EXPORTS) \
37312 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
37313 for flag in $(EXTRA_TARGET_FLAGS); do \
37314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37315 done; \
37316 (cd $(TARGET_SUBDIR)/libgloss && \
37317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37319 "RANLIB=$${RANLIB}" \
37320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37321 distclean) \
37322 || exit 1
37324 @endif target-libgloss
37326 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
37327 maybe-maintainer-clean-target-libgloss:
37328 @if target-libgloss
37329 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
37331 maintainer-clean-target-libgloss:
37332 @: $(MAKE); $(unstage)
37333 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37334 r=`${PWD_COMMAND}`; export r; \
37335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37336 $(NORMAL_TARGET_EXPORTS) \
37337 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
37338 for flag in $(EXTRA_TARGET_FLAGS); do \
37339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37340 done; \
37341 (cd $(TARGET_SUBDIR)/libgloss && \
37342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37344 "RANLIB=$${RANLIB}" \
37345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37346 maintainer-clean) \
37347 || exit 1
37349 @endif target-libgloss
37355 .PHONY: configure-target-libffi maybe-configure-target-libffi
37356 maybe-configure-target-libffi:
37357 @if gcc-bootstrap
37358 configure-target-libffi: stage_current
37359 @endif gcc-bootstrap
37360 @if target-libffi
37361 maybe-configure-target-libffi: configure-target-libffi
37362 configure-target-libffi:
37363 @: $(MAKE); $(unstage)
37364 @r=`${PWD_COMMAND}`; export r; \
37365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37366 echo "Checking multilib configuration for libffi..."; \
37367 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
37368 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
37369 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
37370 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
37371 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
37372 else \
37373 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
37374 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
37375 fi; \
37376 else \
37377 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
37378 fi; \
37379 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
37380 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
37381 $(NORMAL_TARGET_EXPORTS) \
37382 echo Configuring in $(TARGET_SUBDIR)/libffi; \
37383 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
37384 case $(srcdir) in \
37385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37386 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
37387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37388 esac; \
37389 srcdiroption="--srcdir=$${topdir}/libffi"; \
37390 libsrcdir="$$s/libffi"; \
37391 rm -f no-such-file || : ; \
37392 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37393 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37394 --target=${target_alias} $${srcdiroption} \
37395 || exit 1
37396 @endif target-libffi
37402 .PHONY: all-target-libffi maybe-all-target-libffi
37403 maybe-all-target-libffi:
37404 @if gcc-bootstrap
37405 all-target-libffi: stage_current
37406 @endif gcc-bootstrap
37407 @if target-libffi
37408 TARGET-target-libffi=all
37409 maybe-all-target-libffi: all-target-libffi
37410 all-target-libffi: configure-target-libffi
37411 @: $(MAKE); $(unstage)
37412 @r=`${PWD_COMMAND}`; export r; \
37413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37414 $(NORMAL_TARGET_EXPORTS) \
37415 (cd $(TARGET_SUBDIR)/libffi && \
37416 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37417 $(TARGET-target-libffi))
37418 @endif target-libffi
37424 .PHONY: check-target-libffi maybe-check-target-libffi
37425 maybe-check-target-libffi:
37426 @if target-libffi
37427 maybe-check-target-libffi: check-target-libffi
37429 check-target-libffi:
37430 @: $(MAKE); $(unstage)
37431 @r=`${PWD_COMMAND}`; export r; \
37432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37433 $(NORMAL_TARGET_EXPORTS) \
37434 (cd $(TARGET_SUBDIR)/libffi && \
37435 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37437 @endif target-libffi
37439 .PHONY: install-target-libffi maybe-install-target-libffi
37440 maybe-install-target-libffi:
37441 @if target-libffi
37442 maybe-install-target-libffi: install-target-libffi
37444 install-target-libffi: installdirs
37445 @: $(MAKE); $(unstage)
37446 @r=`${PWD_COMMAND}`; export r; \
37447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37448 $(NORMAL_TARGET_EXPORTS) \
37449 (cd $(TARGET_SUBDIR)/libffi && \
37450 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37452 @endif target-libffi
37454 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
37455 maybe-install-strip-target-libffi:
37456 @if target-libffi
37457 maybe-install-strip-target-libffi: install-strip-target-libffi
37459 install-strip-target-libffi: installdirs
37460 @: $(MAKE); $(unstage)
37461 @r=`${PWD_COMMAND}`; export r; \
37462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37463 $(NORMAL_TARGET_EXPORTS) \
37464 (cd $(TARGET_SUBDIR)/libffi && \
37465 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37467 @endif target-libffi
37469 # Other targets (info, dvi, pdf, etc.)
37471 .PHONY: maybe-info-target-libffi info-target-libffi
37472 maybe-info-target-libffi:
37473 @if target-libffi
37474 maybe-info-target-libffi: info-target-libffi
37476 info-target-libffi: \
37477 configure-target-libffi
37478 @: $(MAKE); $(unstage)
37479 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37480 r=`${PWD_COMMAND}`; export r; \
37481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37482 $(NORMAL_TARGET_EXPORTS) \
37483 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
37484 for flag in $(EXTRA_TARGET_FLAGS); do \
37485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37486 done; \
37487 (cd $(TARGET_SUBDIR)/libffi && \
37488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37490 "RANLIB=$${RANLIB}" \
37491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37492 info) \
37493 || exit 1
37495 @endif target-libffi
37497 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
37498 maybe-dvi-target-libffi:
37499 @if target-libffi
37500 maybe-dvi-target-libffi: dvi-target-libffi
37502 dvi-target-libffi: \
37503 configure-target-libffi
37504 @: $(MAKE); $(unstage)
37505 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37506 r=`${PWD_COMMAND}`; export r; \
37507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37508 $(NORMAL_TARGET_EXPORTS) \
37509 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
37510 for flag in $(EXTRA_TARGET_FLAGS); do \
37511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37512 done; \
37513 (cd $(TARGET_SUBDIR)/libffi && \
37514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37516 "RANLIB=$${RANLIB}" \
37517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37518 dvi) \
37519 || exit 1
37521 @endif target-libffi
37523 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
37524 maybe-pdf-target-libffi:
37525 @if target-libffi
37526 maybe-pdf-target-libffi: pdf-target-libffi
37528 pdf-target-libffi: \
37529 configure-target-libffi
37530 @: $(MAKE); $(unstage)
37531 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37532 r=`${PWD_COMMAND}`; export r; \
37533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37534 $(NORMAL_TARGET_EXPORTS) \
37535 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
37536 for flag in $(EXTRA_TARGET_FLAGS); do \
37537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37538 done; \
37539 (cd $(TARGET_SUBDIR)/libffi && \
37540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37542 "RANLIB=$${RANLIB}" \
37543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37544 pdf) \
37545 || exit 1
37547 @endif target-libffi
37549 .PHONY: maybe-html-target-libffi html-target-libffi
37550 maybe-html-target-libffi:
37551 @if target-libffi
37552 maybe-html-target-libffi: html-target-libffi
37554 html-target-libffi: \
37555 configure-target-libffi
37556 @: $(MAKE); $(unstage)
37557 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37558 r=`${PWD_COMMAND}`; export r; \
37559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37560 $(NORMAL_TARGET_EXPORTS) \
37561 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
37562 for flag in $(EXTRA_TARGET_FLAGS); do \
37563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37564 done; \
37565 (cd $(TARGET_SUBDIR)/libffi && \
37566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37568 "RANLIB=$${RANLIB}" \
37569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37570 html) \
37571 || exit 1
37573 @endif target-libffi
37575 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
37576 maybe-TAGS-target-libffi:
37577 @if target-libffi
37578 maybe-TAGS-target-libffi: TAGS-target-libffi
37580 TAGS-target-libffi: \
37581 configure-target-libffi
37582 @: $(MAKE); $(unstage)
37583 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37584 r=`${PWD_COMMAND}`; export r; \
37585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37586 $(NORMAL_TARGET_EXPORTS) \
37587 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
37588 for flag in $(EXTRA_TARGET_FLAGS); do \
37589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37590 done; \
37591 (cd $(TARGET_SUBDIR)/libffi && \
37592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37594 "RANLIB=$${RANLIB}" \
37595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37596 TAGS) \
37597 || exit 1
37599 @endif target-libffi
37601 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
37602 maybe-install-info-target-libffi:
37603 @if target-libffi
37604 maybe-install-info-target-libffi: install-info-target-libffi
37606 install-info-target-libffi: \
37607 configure-target-libffi \
37608 info-target-libffi
37609 @: $(MAKE); $(unstage)
37610 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37611 r=`${PWD_COMMAND}`; export r; \
37612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37613 $(NORMAL_TARGET_EXPORTS) \
37614 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
37615 for flag in $(EXTRA_TARGET_FLAGS); do \
37616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37617 done; \
37618 (cd $(TARGET_SUBDIR)/libffi && \
37619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37621 "RANLIB=$${RANLIB}" \
37622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37623 install-info) \
37624 || exit 1
37626 @endif target-libffi
37628 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
37629 maybe-install-pdf-target-libffi:
37630 @if target-libffi
37631 maybe-install-pdf-target-libffi: install-pdf-target-libffi
37633 install-pdf-target-libffi: \
37634 configure-target-libffi \
37635 pdf-target-libffi
37636 @: $(MAKE); $(unstage)
37637 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37638 r=`${PWD_COMMAND}`; export r; \
37639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37640 $(NORMAL_TARGET_EXPORTS) \
37641 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
37642 for flag in $(EXTRA_TARGET_FLAGS); do \
37643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37644 done; \
37645 (cd $(TARGET_SUBDIR)/libffi && \
37646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37648 "RANLIB=$${RANLIB}" \
37649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37650 install-pdf) \
37651 || exit 1
37653 @endif target-libffi
37655 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
37656 maybe-install-html-target-libffi:
37657 @if target-libffi
37658 maybe-install-html-target-libffi: install-html-target-libffi
37660 install-html-target-libffi: \
37661 configure-target-libffi \
37662 html-target-libffi
37663 @: $(MAKE); $(unstage)
37664 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37665 r=`${PWD_COMMAND}`; export r; \
37666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37667 $(NORMAL_TARGET_EXPORTS) \
37668 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
37669 for flag in $(EXTRA_TARGET_FLAGS); do \
37670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37671 done; \
37672 (cd $(TARGET_SUBDIR)/libffi && \
37673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37675 "RANLIB=$${RANLIB}" \
37676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37677 install-html) \
37678 || exit 1
37680 @endif target-libffi
37682 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
37683 maybe-installcheck-target-libffi:
37684 @if target-libffi
37685 maybe-installcheck-target-libffi: installcheck-target-libffi
37687 installcheck-target-libffi: \
37688 configure-target-libffi
37689 @: $(MAKE); $(unstage)
37690 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37691 r=`${PWD_COMMAND}`; export r; \
37692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37693 $(NORMAL_TARGET_EXPORTS) \
37694 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
37695 for flag in $(EXTRA_TARGET_FLAGS); do \
37696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37697 done; \
37698 (cd $(TARGET_SUBDIR)/libffi && \
37699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37701 "RANLIB=$${RANLIB}" \
37702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37703 installcheck) \
37704 || exit 1
37706 @endif target-libffi
37708 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
37709 maybe-mostlyclean-target-libffi:
37710 @if target-libffi
37711 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
37713 mostlyclean-target-libffi:
37714 @: $(MAKE); $(unstage)
37715 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37716 r=`${PWD_COMMAND}`; export r; \
37717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37718 $(NORMAL_TARGET_EXPORTS) \
37719 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
37720 for flag in $(EXTRA_TARGET_FLAGS); do \
37721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37722 done; \
37723 (cd $(TARGET_SUBDIR)/libffi && \
37724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37726 "RANLIB=$${RANLIB}" \
37727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37728 mostlyclean) \
37729 || exit 1
37731 @endif target-libffi
37733 .PHONY: maybe-clean-target-libffi clean-target-libffi
37734 maybe-clean-target-libffi:
37735 @if target-libffi
37736 maybe-clean-target-libffi: clean-target-libffi
37738 clean-target-libffi:
37739 @: $(MAKE); $(unstage)
37740 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37741 r=`${PWD_COMMAND}`; export r; \
37742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37743 $(NORMAL_TARGET_EXPORTS) \
37744 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
37745 for flag in $(EXTRA_TARGET_FLAGS); do \
37746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37747 done; \
37748 (cd $(TARGET_SUBDIR)/libffi && \
37749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37751 "RANLIB=$${RANLIB}" \
37752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37753 clean) \
37754 || exit 1
37756 @endif target-libffi
37758 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
37759 maybe-distclean-target-libffi:
37760 @if target-libffi
37761 maybe-distclean-target-libffi: distclean-target-libffi
37763 distclean-target-libffi:
37764 @: $(MAKE); $(unstage)
37765 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37766 r=`${PWD_COMMAND}`; export r; \
37767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37768 $(NORMAL_TARGET_EXPORTS) \
37769 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
37770 for flag in $(EXTRA_TARGET_FLAGS); do \
37771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37772 done; \
37773 (cd $(TARGET_SUBDIR)/libffi && \
37774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37776 "RANLIB=$${RANLIB}" \
37777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37778 distclean) \
37779 || exit 1
37781 @endif target-libffi
37783 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
37784 maybe-maintainer-clean-target-libffi:
37785 @if target-libffi
37786 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
37788 maintainer-clean-target-libffi:
37789 @: $(MAKE); $(unstage)
37790 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37791 r=`${PWD_COMMAND}`; export r; \
37792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37793 $(NORMAL_TARGET_EXPORTS) \
37794 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
37795 for flag in $(EXTRA_TARGET_FLAGS); do \
37796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37797 done; \
37798 (cd $(TARGET_SUBDIR)/libffi && \
37799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37801 "RANLIB=$${RANLIB}" \
37802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37803 maintainer-clean) \
37804 || exit 1
37806 @endif target-libffi
37812 .PHONY: configure-target-libjava maybe-configure-target-libjava
37813 maybe-configure-target-libjava:
37814 @if gcc-bootstrap
37815 configure-target-libjava: stage_current
37816 @endif gcc-bootstrap
37817 @if target-libjava
37818 maybe-configure-target-libjava: configure-target-libjava
37819 configure-target-libjava:
37820 @: $(MAKE); $(unstage)
37821 @r=`${PWD_COMMAND}`; export r; \
37822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37823 echo "Checking multilib configuration for libjava..."; \
37824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
37825 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
37826 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
37827 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
37828 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
37829 else \
37830 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
37831 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
37832 fi; \
37833 else \
37834 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
37835 fi; \
37836 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
37837 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
37838 $(RAW_CXX_TARGET_EXPORTS) \
37839 echo Configuring in $(TARGET_SUBDIR)/libjava; \
37840 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
37841 case $(srcdir) in \
37842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37843 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
37844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37845 esac; \
37846 srcdiroption="--srcdir=$${topdir}/libjava"; \
37847 libsrcdir="$$s/libjava"; \
37848 rm -f no-such-file || : ; \
37849 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37850 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37851 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
37852 || exit 1
37853 @endif target-libjava
37859 .PHONY: all-target-libjava maybe-all-target-libjava
37860 maybe-all-target-libjava:
37861 @if gcc-bootstrap
37862 all-target-libjava: stage_current
37863 @endif gcc-bootstrap
37864 @if target-libjava
37865 TARGET-target-libjava=all
37866 maybe-all-target-libjava: all-target-libjava
37867 all-target-libjava: configure-target-libjava
37868 @: $(MAKE); $(unstage)
37869 @r=`${PWD_COMMAND}`; export r; \
37870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37871 $(RAW_CXX_TARGET_EXPORTS) \
37872 (cd $(TARGET_SUBDIR)/libjava && \
37873 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37874 $(TARGET-target-libjava))
37875 @endif target-libjava
37881 .PHONY: check-target-libjava maybe-check-target-libjava
37882 maybe-check-target-libjava:
37883 @if target-libjava
37884 maybe-check-target-libjava: check-target-libjava
37886 check-target-libjava:
37887 @: $(MAKE); $(unstage)
37888 @r=`${PWD_COMMAND}`; export r; \
37889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37890 $(RAW_CXX_TARGET_EXPORTS) \
37891 (cd $(TARGET_SUBDIR)/libjava && \
37892 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
37894 @endif target-libjava
37896 .PHONY: install-target-libjava maybe-install-target-libjava
37897 maybe-install-target-libjava:
37898 @if target-libjava
37899 maybe-install-target-libjava: install-target-libjava
37901 install-target-libjava: installdirs
37902 @: $(MAKE); $(unstage)
37903 @r=`${PWD_COMMAND}`; export r; \
37904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37905 $(RAW_CXX_TARGET_EXPORTS) \
37906 (cd $(TARGET_SUBDIR)/libjava && \
37907 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37909 @endif target-libjava
37911 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
37912 maybe-install-strip-target-libjava:
37913 @if target-libjava
37914 maybe-install-strip-target-libjava: install-strip-target-libjava
37916 install-strip-target-libjava: installdirs
37917 @: $(MAKE); $(unstage)
37918 @r=`${PWD_COMMAND}`; export r; \
37919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37920 $(RAW_CXX_TARGET_EXPORTS) \
37921 (cd $(TARGET_SUBDIR)/libjava && \
37922 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37924 @endif target-libjava
37926 # Other targets (info, dvi, pdf, etc.)
37928 .PHONY: maybe-info-target-libjava info-target-libjava
37929 maybe-info-target-libjava:
37930 @if target-libjava
37931 maybe-info-target-libjava: info-target-libjava
37933 info-target-libjava: \
37934 configure-target-libjava
37935 @: $(MAKE); $(unstage)
37936 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37937 r=`${PWD_COMMAND}`; export r; \
37938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37939 $(RAW_CXX_TARGET_EXPORTS) \
37940 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
37941 for flag in $(EXTRA_TARGET_FLAGS); do \
37942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37943 done; \
37944 (cd $(TARGET_SUBDIR)/libjava && \
37945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37947 "RANLIB=$${RANLIB}" \
37948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37949 info) \
37950 || exit 1
37952 @endif target-libjava
37954 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
37955 maybe-dvi-target-libjava:
37956 @if target-libjava
37957 maybe-dvi-target-libjava: dvi-target-libjava
37959 dvi-target-libjava: \
37960 configure-target-libjava
37961 @: $(MAKE); $(unstage)
37962 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37963 r=`${PWD_COMMAND}`; export r; \
37964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37965 $(RAW_CXX_TARGET_EXPORTS) \
37966 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37967 for flag in $(EXTRA_TARGET_FLAGS); do \
37968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37969 done; \
37970 (cd $(TARGET_SUBDIR)/libjava && \
37971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37973 "RANLIB=$${RANLIB}" \
37974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37975 dvi) \
37976 || exit 1
37978 @endif target-libjava
37980 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37981 maybe-pdf-target-libjava:
37982 @if target-libjava
37983 maybe-pdf-target-libjava: pdf-target-libjava
37985 pdf-target-libjava: \
37986 configure-target-libjava
37987 @: $(MAKE); $(unstage)
37988 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37989 r=`${PWD_COMMAND}`; export r; \
37990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37991 $(RAW_CXX_TARGET_EXPORTS) \
37992 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
37993 for flag in $(EXTRA_TARGET_FLAGS); do \
37994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37995 done; \
37996 (cd $(TARGET_SUBDIR)/libjava && \
37997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37999 "RANLIB=$${RANLIB}" \
38000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38001 pdf) \
38002 || exit 1
38004 @endif target-libjava
38006 .PHONY: maybe-html-target-libjava html-target-libjava
38007 maybe-html-target-libjava:
38008 @if target-libjava
38009 maybe-html-target-libjava: html-target-libjava
38011 html-target-libjava: \
38012 configure-target-libjava
38013 @: $(MAKE); $(unstage)
38014 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38015 r=`${PWD_COMMAND}`; export r; \
38016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38017 $(RAW_CXX_TARGET_EXPORTS) \
38018 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
38019 for flag in $(EXTRA_TARGET_FLAGS); do \
38020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38021 done; \
38022 (cd $(TARGET_SUBDIR)/libjava && \
38023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38025 "RANLIB=$${RANLIB}" \
38026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38027 html) \
38028 || exit 1
38030 @endif target-libjava
38032 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
38033 maybe-TAGS-target-libjava:
38034 @if target-libjava
38035 maybe-TAGS-target-libjava: TAGS-target-libjava
38037 TAGS-target-libjava: \
38038 configure-target-libjava
38039 @: $(MAKE); $(unstage)
38040 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38041 r=`${PWD_COMMAND}`; export r; \
38042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38043 $(RAW_CXX_TARGET_EXPORTS) \
38044 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
38045 for flag in $(EXTRA_TARGET_FLAGS); do \
38046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38047 done; \
38048 (cd $(TARGET_SUBDIR)/libjava && \
38049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38051 "RANLIB=$${RANLIB}" \
38052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38053 TAGS) \
38054 || exit 1
38056 @endif target-libjava
38058 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
38059 maybe-install-info-target-libjava:
38060 @if target-libjava
38061 maybe-install-info-target-libjava: install-info-target-libjava
38063 install-info-target-libjava: \
38064 configure-target-libjava \
38065 info-target-libjava
38066 @: $(MAKE); $(unstage)
38067 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38068 r=`${PWD_COMMAND}`; export r; \
38069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38070 $(RAW_CXX_TARGET_EXPORTS) \
38071 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
38072 for flag in $(EXTRA_TARGET_FLAGS); do \
38073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38074 done; \
38075 (cd $(TARGET_SUBDIR)/libjava && \
38076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38078 "RANLIB=$${RANLIB}" \
38079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38080 install-info) \
38081 || exit 1
38083 @endif target-libjava
38085 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
38086 maybe-install-pdf-target-libjava:
38087 @if target-libjava
38088 maybe-install-pdf-target-libjava: install-pdf-target-libjava
38090 install-pdf-target-libjava: \
38091 configure-target-libjava \
38092 pdf-target-libjava
38093 @: $(MAKE); $(unstage)
38094 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38095 r=`${PWD_COMMAND}`; export r; \
38096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38097 $(RAW_CXX_TARGET_EXPORTS) \
38098 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
38099 for flag in $(EXTRA_TARGET_FLAGS); do \
38100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38101 done; \
38102 (cd $(TARGET_SUBDIR)/libjava && \
38103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38105 "RANLIB=$${RANLIB}" \
38106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38107 install-pdf) \
38108 || exit 1
38110 @endif target-libjava
38112 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
38113 maybe-install-html-target-libjava:
38114 @if target-libjava
38115 maybe-install-html-target-libjava: install-html-target-libjava
38117 install-html-target-libjava: \
38118 configure-target-libjava \
38119 html-target-libjava
38120 @: $(MAKE); $(unstage)
38121 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38122 r=`${PWD_COMMAND}`; export r; \
38123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38124 $(RAW_CXX_TARGET_EXPORTS) \
38125 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
38126 for flag in $(EXTRA_TARGET_FLAGS); do \
38127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38128 done; \
38129 (cd $(TARGET_SUBDIR)/libjava && \
38130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38132 "RANLIB=$${RANLIB}" \
38133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38134 install-html) \
38135 || exit 1
38137 @endif target-libjava
38139 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
38140 maybe-installcheck-target-libjava:
38141 @if target-libjava
38142 maybe-installcheck-target-libjava: installcheck-target-libjava
38144 installcheck-target-libjava: \
38145 configure-target-libjava
38146 @: $(MAKE); $(unstage)
38147 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38148 r=`${PWD_COMMAND}`; export r; \
38149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38150 $(RAW_CXX_TARGET_EXPORTS) \
38151 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
38152 for flag in $(EXTRA_TARGET_FLAGS); do \
38153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38154 done; \
38155 (cd $(TARGET_SUBDIR)/libjava && \
38156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38158 "RANLIB=$${RANLIB}" \
38159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38160 installcheck) \
38161 || exit 1
38163 @endif target-libjava
38165 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
38166 maybe-mostlyclean-target-libjava:
38167 @if target-libjava
38168 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
38170 mostlyclean-target-libjava:
38171 @: $(MAKE); $(unstage)
38172 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38173 r=`${PWD_COMMAND}`; export r; \
38174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38175 $(RAW_CXX_TARGET_EXPORTS) \
38176 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
38177 for flag in $(EXTRA_TARGET_FLAGS); do \
38178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38179 done; \
38180 (cd $(TARGET_SUBDIR)/libjava && \
38181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38183 "RANLIB=$${RANLIB}" \
38184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38185 mostlyclean) \
38186 || exit 1
38188 @endif target-libjava
38190 .PHONY: maybe-clean-target-libjava clean-target-libjava
38191 maybe-clean-target-libjava:
38192 @if target-libjava
38193 maybe-clean-target-libjava: clean-target-libjava
38195 clean-target-libjava:
38196 @: $(MAKE); $(unstage)
38197 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38198 r=`${PWD_COMMAND}`; export r; \
38199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38200 $(RAW_CXX_TARGET_EXPORTS) \
38201 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
38202 for flag in $(EXTRA_TARGET_FLAGS); do \
38203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38204 done; \
38205 (cd $(TARGET_SUBDIR)/libjava && \
38206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38208 "RANLIB=$${RANLIB}" \
38209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38210 clean) \
38211 || exit 1
38213 @endif target-libjava
38215 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
38216 maybe-distclean-target-libjava:
38217 @if target-libjava
38218 maybe-distclean-target-libjava: distclean-target-libjava
38220 distclean-target-libjava:
38221 @: $(MAKE); $(unstage)
38222 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38223 r=`${PWD_COMMAND}`; export r; \
38224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38225 $(RAW_CXX_TARGET_EXPORTS) \
38226 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
38227 for flag in $(EXTRA_TARGET_FLAGS); do \
38228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38229 done; \
38230 (cd $(TARGET_SUBDIR)/libjava && \
38231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38233 "RANLIB=$${RANLIB}" \
38234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38235 distclean) \
38236 || exit 1
38238 @endif target-libjava
38240 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
38241 maybe-maintainer-clean-target-libjava:
38242 @if target-libjava
38243 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
38245 maintainer-clean-target-libjava:
38246 @: $(MAKE); $(unstage)
38247 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38248 r=`${PWD_COMMAND}`; export r; \
38249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38250 $(RAW_CXX_TARGET_EXPORTS) \
38251 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
38252 for flag in $(EXTRA_TARGET_FLAGS); do \
38253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38254 done; \
38255 (cd $(TARGET_SUBDIR)/libjava && \
38256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38258 "RANLIB=$${RANLIB}" \
38259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38260 maintainer-clean) \
38261 || exit 1
38263 @endif target-libjava
38269 .PHONY: configure-target-zlib maybe-configure-target-zlib
38270 maybe-configure-target-zlib:
38271 @if gcc-bootstrap
38272 configure-target-zlib: stage_current
38273 @endif gcc-bootstrap
38274 @if target-zlib
38275 maybe-configure-target-zlib: configure-target-zlib
38276 configure-target-zlib:
38277 @: $(MAKE); $(unstage)
38278 @r=`${PWD_COMMAND}`; export r; \
38279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38280 echo "Checking multilib configuration for zlib..."; \
38281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
38282 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
38283 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
38284 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
38285 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
38286 else \
38287 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
38288 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
38289 fi; \
38290 else \
38291 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
38292 fi; \
38293 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
38294 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
38295 $(NORMAL_TARGET_EXPORTS) \
38296 echo Configuring in $(TARGET_SUBDIR)/zlib; \
38297 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
38298 case $(srcdir) in \
38299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38300 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
38301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38302 esac; \
38303 srcdiroption="--srcdir=$${topdir}/zlib"; \
38304 libsrcdir="$$s/zlib"; \
38305 rm -f no-such-file || : ; \
38306 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38307 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38308 --target=${target_alias} $${srcdiroption} \
38309 || exit 1
38310 @endif target-zlib
38316 .PHONY: all-target-zlib maybe-all-target-zlib
38317 maybe-all-target-zlib:
38318 @if gcc-bootstrap
38319 all-target-zlib: stage_current
38320 @endif gcc-bootstrap
38321 @if target-zlib
38322 TARGET-target-zlib=all
38323 maybe-all-target-zlib: all-target-zlib
38324 all-target-zlib: configure-target-zlib
38325 @: $(MAKE); $(unstage)
38326 @r=`${PWD_COMMAND}`; export r; \
38327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38328 $(NORMAL_TARGET_EXPORTS) \
38329 (cd $(TARGET_SUBDIR)/zlib && \
38330 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38331 $(TARGET-target-zlib))
38332 @endif target-zlib
38338 .PHONY: check-target-zlib maybe-check-target-zlib
38339 maybe-check-target-zlib:
38340 @if target-zlib
38341 maybe-check-target-zlib: check-target-zlib
38343 check-target-zlib:
38344 @: $(MAKE); $(unstage)
38345 @r=`${PWD_COMMAND}`; export r; \
38346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38347 $(NORMAL_TARGET_EXPORTS) \
38348 (cd $(TARGET_SUBDIR)/zlib && \
38349 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38351 @endif target-zlib
38353 .PHONY: install-target-zlib maybe-install-target-zlib
38354 maybe-install-target-zlib:
38355 @if target-zlib
38356 maybe-install-target-zlib: install-target-zlib
38358 install-target-zlib: installdirs
38359 @: $(MAKE); $(unstage)
38360 @r=`${PWD_COMMAND}`; export r; \
38361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38362 $(NORMAL_TARGET_EXPORTS) \
38363 (cd $(TARGET_SUBDIR)/zlib && \
38364 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38366 @endif target-zlib
38368 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
38369 maybe-install-strip-target-zlib:
38370 @if target-zlib
38371 maybe-install-strip-target-zlib: install-strip-target-zlib
38373 install-strip-target-zlib: installdirs
38374 @: $(MAKE); $(unstage)
38375 @r=`${PWD_COMMAND}`; export r; \
38376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38377 $(NORMAL_TARGET_EXPORTS) \
38378 (cd $(TARGET_SUBDIR)/zlib && \
38379 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38381 @endif target-zlib
38383 # Other targets (info, dvi, pdf, etc.)
38385 .PHONY: maybe-info-target-zlib info-target-zlib
38386 maybe-info-target-zlib:
38387 @if target-zlib
38388 maybe-info-target-zlib: info-target-zlib
38390 info-target-zlib: \
38391 configure-target-zlib
38392 @: $(MAKE); $(unstage)
38393 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38394 r=`${PWD_COMMAND}`; export r; \
38395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38396 $(NORMAL_TARGET_EXPORTS) \
38397 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
38398 for flag in $(EXTRA_TARGET_FLAGS); do \
38399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38400 done; \
38401 (cd $(TARGET_SUBDIR)/zlib && \
38402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38404 "RANLIB=$${RANLIB}" \
38405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38406 info) \
38407 || exit 1
38409 @endif target-zlib
38411 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
38412 maybe-dvi-target-zlib:
38413 @if target-zlib
38414 maybe-dvi-target-zlib: dvi-target-zlib
38416 dvi-target-zlib: \
38417 configure-target-zlib
38418 @: $(MAKE); $(unstage)
38419 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38420 r=`${PWD_COMMAND}`; export r; \
38421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38422 $(NORMAL_TARGET_EXPORTS) \
38423 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
38424 for flag in $(EXTRA_TARGET_FLAGS); do \
38425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38426 done; \
38427 (cd $(TARGET_SUBDIR)/zlib && \
38428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38430 "RANLIB=$${RANLIB}" \
38431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38432 dvi) \
38433 || exit 1
38435 @endif target-zlib
38437 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
38438 maybe-pdf-target-zlib:
38439 @if target-zlib
38440 maybe-pdf-target-zlib: pdf-target-zlib
38442 pdf-target-zlib: \
38443 configure-target-zlib
38444 @: $(MAKE); $(unstage)
38445 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38446 r=`${PWD_COMMAND}`; export r; \
38447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38448 $(NORMAL_TARGET_EXPORTS) \
38449 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
38450 for flag in $(EXTRA_TARGET_FLAGS); do \
38451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38452 done; \
38453 (cd $(TARGET_SUBDIR)/zlib && \
38454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38456 "RANLIB=$${RANLIB}" \
38457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38458 pdf) \
38459 || exit 1
38461 @endif target-zlib
38463 .PHONY: maybe-html-target-zlib html-target-zlib
38464 maybe-html-target-zlib:
38465 @if target-zlib
38466 maybe-html-target-zlib: html-target-zlib
38468 html-target-zlib: \
38469 configure-target-zlib
38470 @: $(MAKE); $(unstage)
38471 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38472 r=`${PWD_COMMAND}`; export r; \
38473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38474 $(NORMAL_TARGET_EXPORTS) \
38475 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
38476 for flag in $(EXTRA_TARGET_FLAGS); do \
38477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38478 done; \
38479 (cd $(TARGET_SUBDIR)/zlib && \
38480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38482 "RANLIB=$${RANLIB}" \
38483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38484 html) \
38485 || exit 1
38487 @endif target-zlib
38489 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
38490 maybe-TAGS-target-zlib:
38491 @if target-zlib
38492 maybe-TAGS-target-zlib: TAGS-target-zlib
38494 TAGS-target-zlib: \
38495 configure-target-zlib
38496 @: $(MAKE); $(unstage)
38497 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38498 r=`${PWD_COMMAND}`; export r; \
38499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38500 $(NORMAL_TARGET_EXPORTS) \
38501 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
38502 for flag in $(EXTRA_TARGET_FLAGS); do \
38503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38504 done; \
38505 (cd $(TARGET_SUBDIR)/zlib && \
38506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38508 "RANLIB=$${RANLIB}" \
38509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38510 TAGS) \
38511 || exit 1
38513 @endif target-zlib
38515 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
38516 maybe-install-info-target-zlib:
38517 @if target-zlib
38518 maybe-install-info-target-zlib: install-info-target-zlib
38520 install-info-target-zlib: \
38521 configure-target-zlib \
38522 info-target-zlib
38523 @: $(MAKE); $(unstage)
38524 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38525 r=`${PWD_COMMAND}`; export r; \
38526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38527 $(NORMAL_TARGET_EXPORTS) \
38528 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
38529 for flag in $(EXTRA_TARGET_FLAGS); do \
38530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38531 done; \
38532 (cd $(TARGET_SUBDIR)/zlib && \
38533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38535 "RANLIB=$${RANLIB}" \
38536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38537 install-info) \
38538 || exit 1
38540 @endif target-zlib
38542 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
38543 maybe-install-pdf-target-zlib:
38544 @if target-zlib
38545 maybe-install-pdf-target-zlib: install-pdf-target-zlib
38547 install-pdf-target-zlib: \
38548 configure-target-zlib \
38549 pdf-target-zlib
38550 @: $(MAKE); $(unstage)
38551 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38552 r=`${PWD_COMMAND}`; export r; \
38553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38554 $(NORMAL_TARGET_EXPORTS) \
38555 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
38556 for flag in $(EXTRA_TARGET_FLAGS); do \
38557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38558 done; \
38559 (cd $(TARGET_SUBDIR)/zlib && \
38560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38562 "RANLIB=$${RANLIB}" \
38563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38564 install-pdf) \
38565 || exit 1
38567 @endif target-zlib
38569 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
38570 maybe-install-html-target-zlib:
38571 @if target-zlib
38572 maybe-install-html-target-zlib: install-html-target-zlib
38574 install-html-target-zlib: \
38575 configure-target-zlib \
38576 html-target-zlib
38577 @: $(MAKE); $(unstage)
38578 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38579 r=`${PWD_COMMAND}`; export r; \
38580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38581 $(NORMAL_TARGET_EXPORTS) \
38582 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
38583 for flag in $(EXTRA_TARGET_FLAGS); do \
38584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38585 done; \
38586 (cd $(TARGET_SUBDIR)/zlib && \
38587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38589 "RANLIB=$${RANLIB}" \
38590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38591 install-html) \
38592 || exit 1
38594 @endif target-zlib
38596 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
38597 maybe-installcheck-target-zlib:
38598 @if target-zlib
38599 maybe-installcheck-target-zlib: installcheck-target-zlib
38601 installcheck-target-zlib: \
38602 configure-target-zlib
38603 @: $(MAKE); $(unstage)
38604 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38605 r=`${PWD_COMMAND}`; export r; \
38606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38607 $(NORMAL_TARGET_EXPORTS) \
38608 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
38609 for flag in $(EXTRA_TARGET_FLAGS); do \
38610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38611 done; \
38612 (cd $(TARGET_SUBDIR)/zlib && \
38613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38615 "RANLIB=$${RANLIB}" \
38616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38617 installcheck) \
38618 || exit 1
38620 @endif target-zlib
38622 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
38623 maybe-mostlyclean-target-zlib:
38624 @if target-zlib
38625 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
38627 mostlyclean-target-zlib:
38628 @: $(MAKE); $(unstage)
38629 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38630 r=`${PWD_COMMAND}`; export r; \
38631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38632 $(NORMAL_TARGET_EXPORTS) \
38633 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
38634 for flag in $(EXTRA_TARGET_FLAGS); do \
38635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38636 done; \
38637 (cd $(TARGET_SUBDIR)/zlib && \
38638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38640 "RANLIB=$${RANLIB}" \
38641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38642 mostlyclean) \
38643 || exit 1
38645 @endif target-zlib
38647 .PHONY: maybe-clean-target-zlib clean-target-zlib
38648 maybe-clean-target-zlib:
38649 @if target-zlib
38650 maybe-clean-target-zlib: clean-target-zlib
38652 clean-target-zlib:
38653 @: $(MAKE); $(unstage)
38654 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38655 r=`${PWD_COMMAND}`; export r; \
38656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38657 $(NORMAL_TARGET_EXPORTS) \
38658 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
38659 for flag in $(EXTRA_TARGET_FLAGS); do \
38660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38661 done; \
38662 (cd $(TARGET_SUBDIR)/zlib && \
38663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38665 "RANLIB=$${RANLIB}" \
38666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38667 clean) \
38668 || exit 1
38670 @endif target-zlib
38672 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
38673 maybe-distclean-target-zlib:
38674 @if target-zlib
38675 maybe-distclean-target-zlib: distclean-target-zlib
38677 distclean-target-zlib:
38678 @: $(MAKE); $(unstage)
38679 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38680 r=`${PWD_COMMAND}`; export r; \
38681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38682 $(NORMAL_TARGET_EXPORTS) \
38683 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
38684 for flag in $(EXTRA_TARGET_FLAGS); do \
38685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38686 done; \
38687 (cd $(TARGET_SUBDIR)/zlib && \
38688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38690 "RANLIB=$${RANLIB}" \
38691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38692 distclean) \
38693 || exit 1
38695 @endif target-zlib
38697 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
38698 maybe-maintainer-clean-target-zlib:
38699 @if target-zlib
38700 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
38702 maintainer-clean-target-zlib:
38703 @: $(MAKE); $(unstage)
38704 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38705 r=`${PWD_COMMAND}`; export r; \
38706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38707 $(NORMAL_TARGET_EXPORTS) \
38708 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
38709 for flag in $(EXTRA_TARGET_FLAGS); do \
38710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38711 done; \
38712 (cd $(TARGET_SUBDIR)/zlib && \
38713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38715 "RANLIB=$${RANLIB}" \
38716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38717 maintainer-clean) \
38718 || exit 1
38720 @endif target-zlib
38726 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
38727 maybe-configure-target-boehm-gc:
38728 @if gcc-bootstrap
38729 configure-target-boehm-gc: stage_current
38730 @endif gcc-bootstrap
38731 @if target-boehm-gc
38732 maybe-configure-target-boehm-gc: configure-target-boehm-gc
38733 configure-target-boehm-gc:
38734 @: $(MAKE); $(unstage)
38735 @r=`${PWD_COMMAND}`; export r; \
38736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38737 echo "Checking multilib configuration for boehm-gc..."; \
38738 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
38739 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
38740 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
38741 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
38742 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
38743 else \
38744 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
38745 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
38746 fi; \
38747 else \
38748 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
38749 fi; \
38750 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
38751 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
38752 $(NORMAL_TARGET_EXPORTS) \
38753 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
38754 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
38755 case $(srcdir) in \
38756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38757 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
38758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38759 esac; \
38760 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
38761 libsrcdir="$$s/boehm-gc"; \
38762 rm -f no-such-file || : ; \
38763 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38764 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38765 --target=${target_alias} $${srcdiroption} \
38766 || exit 1
38767 @endif target-boehm-gc
38773 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
38774 maybe-all-target-boehm-gc:
38775 @if gcc-bootstrap
38776 all-target-boehm-gc: stage_current
38777 @endif gcc-bootstrap
38778 @if target-boehm-gc
38779 TARGET-target-boehm-gc=all
38780 maybe-all-target-boehm-gc: all-target-boehm-gc
38781 all-target-boehm-gc: configure-target-boehm-gc
38782 @: $(MAKE); $(unstage)
38783 @r=`${PWD_COMMAND}`; export r; \
38784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38785 $(NORMAL_TARGET_EXPORTS) \
38786 (cd $(TARGET_SUBDIR)/boehm-gc && \
38787 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38788 $(TARGET-target-boehm-gc))
38789 @endif target-boehm-gc
38795 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
38796 maybe-check-target-boehm-gc:
38797 @if target-boehm-gc
38798 maybe-check-target-boehm-gc: check-target-boehm-gc
38800 check-target-boehm-gc:
38801 @: $(MAKE); $(unstage)
38802 @r=`${PWD_COMMAND}`; export r; \
38803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38804 $(NORMAL_TARGET_EXPORTS) \
38805 (cd $(TARGET_SUBDIR)/boehm-gc && \
38806 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38808 @endif target-boehm-gc
38810 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
38811 maybe-install-target-boehm-gc:
38812 @if target-boehm-gc
38813 maybe-install-target-boehm-gc: install-target-boehm-gc
38815 install-target-boehm-gc: installdirs
38816 @: $(MAKE); $(unstage)
38817 @r=`${PWD_COMMAND}`; export r; \
38818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38819 $(NORMAL_TARGET_EXPORTS) \
38820 (cd $(TARGET_SUBDIR)/boehm-gc && \
38821 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38823 @endif target-boehm-gc
38825 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
38826 maybe-install-strip-target-boehm-gc:
38827 @if target-boehm-gc
38828 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
38830 install-strip-target-boehm-gc: installdirs
38831 @: $(MAKE); $(unstage)
38832 @r=`${PWD_COMMAND}`; export r; \
38833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38834 $(NORMAL_TARGET_EXPORTS) \
38835 (cd $(TARGET_SUBDIR)/boehm-gc && \
38836 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38838 @endif target-boehm-gc
38840 # Other targets (info, dvi, pdf, etc.)
38842 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
38843 maybe-info-target-boehm-gc:
38844 @if target-boehm-gc
38845 maybe-info-target-boehm-gc: info-target-boehm-gc
38847 info-target-boehm-gc: \
38848 configure-target-boehm-gc
38849 @: $(MAKE); $(unstage)
38850 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38851 r=`${PWD_COMMAND}`; export r; \
38852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38853 $(NORMAL_TARGET_EXPORTS) \
38854 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
38855 for flag in $(EXTRA_TARGET_FLAGS); do \
38856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38857 done; \
38858 (cd $(TARGET_SUBDIR)/boehm-gc && \
38859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38861 "RANLIB=$${RANLIB}" \
38862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38863 info) \
38864 || exit 1
38866 @endif target-boehm-gc
38868 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
38869 maybe-dvi-target-boehm-gc:
38870 @if target-boehm-gc
38871 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
38873 dvi-target-boehm-gc: \
38874 configure-target-boehm-gc
38875 @: $(MAKE); $(unstage)
38876 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38877 r=`${PWD_COMMAND}`; export r; \
38878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38879 $(NORMAL_TARGET_EXPORTS) \
38880 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
38881 for flag in $(EXTRA_TARGET_FLAGS); do \
38882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38883 done; \
38884 (cd $(TARGET_SUBDIR)/boehm-gc && \
38885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38887 "RANLIB=$${RANLIB}" \
38888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38889 dvi) \
38890 || exit 1
38892 @endif target-boehm-gc
38894 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
38895 maybe-pdf-target-boehm-gc:
38896 @if target-boehm-gc
38897 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
38899 pdf-target-boehm-gc: \
38900 configure-target-boehm-gc
38901 @: $(MAKE); $(unstage)
38902 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38903 r=`${PWD_COMMAND}`; export r; \
38904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38905 $(NORMAL_TARGET_EXPORTS) \
38906 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38907 for flag in $(EXTRA_TARGET_FLAGS); do \
38908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38909 done; \
38910 (cd $(TARGET_SUBDIR)/boehm-gc && \
38911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38913 "RANLIB=$${RANLIB}" \
38914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38915 pdf) \
38916 || exit 1
38918 @endif target-boehm-gc
38920 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
38921 maybe-html-target-boehm-gc:
38922 @if target-boehm-gc
38923 maybe-html-target-boehm-gc: html-target-boehm-gc
38925 html-target-boehm-gc: \
38926 configure-target-boehm-gc
38927 @: $(MAKE); $(unstage)
38928 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38929 r=`${PWD_COMMAND}`; export r; \
38930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38931 $(NORMAL_TARGET_EXPORTS) \
38932 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
38933 for flag in $(EXTRA_TARGET_FLAGS); do \
38934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38935 done; \
38936 (cd $(TARGET_SUBDIR)/boehm-gc && \
38937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38939 "RANLIB=$${RANLIB}" \
38940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38941 html) \
38942 || exit 1
38944 @endif target-boehm-gc
38946 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
38947 maybe-TAGS-target-boehm-gc:
38948 @if target-boehm-gc
38949 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
38951 TAGS-target-boehm-gc: \
38952 configure-target-boehm-gc
38953 @: $(MAKE); $(unstage)
38954 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38955 r=`${PWD_COMMAND}`; export r; \
38956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38957 $(NORMAL_TARGET_EXPORTS) \
38958 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
38959 for flag in $(EXTRA_TARGET_FLAGS); do \
38960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38961 done; \
38962 (cd $(TARGET_SUBDIR)/boehm-gc && \
38963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38965 "RANLIB=$${RANLIB}" \
38966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38967 TAGS) \
38968 || exit 1
38970 @endif target-boehm-gc
38972 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38973 maybe-install-info-target-boehm-gc:
38974 @if target-boehm-gc
38975 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38977 install-info-target-boehm-gc: \
38978 configure-target-boehm-gc \
38979 info-target-boehm-gc
38980 @: $(MAKE); $(unstage)
38981 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38982 r=`${PWD_COMMAND}`; export r; \
38983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38984 $(NORMAL_TARGET_EXPORTS) \
38985 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
38986 for flag in $(EXTRA_TARGET_FLAGS); do \
38987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38988 done; \
38989 (cd $(TARGET_SUBDIR)/boehm-gc && \
38990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38992 "RANLIB=$${RANLIB}" \
38993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38994 install-info) \
38995 || exit 1
38997 @endif target-boehm-gc
38999 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
39000 maybe-install-pdf-target-boehm-gc:
39001 @if target-boehm-gc
39002 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
39004 install-pdf-target-boehm-gc: \
39005 configure-target-boehm-gc \
39006 pdf-target-boehm-gc
39007 @: $(MAKE); $(unstage)
39008 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39009 r=`${PWD_COMMAND}`; export r; \
39010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39011 $(NORMAL_TARGET_EXPORTS) \
39012 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39013 for flag in $(EXTRA_TARGET_FLAGS); do \
39014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39015 done; \
39016 (cd $(TARGET_SUBDIR)/boehm-gc && \
39017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39019 "RANLIB=$${RANLIB}" \
39020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39021 install-pdf) \
39022 || exit 1
39024 @endif target-boehm-gc
39026 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
39027 maybe-install-html-target-boehm-gc:
39028 @if target-boehm-gc
39029 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
39031 install-html-target-boehm-gc: \
39032 configure-target-boehm-gc \
39033 html-target-boehm-gc
39034 @: $(MAKE); $(unstage)
39035 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39036 r=`${PWD_COMMAND}`; export r; \
39037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39038 $(NORMAL_TARGET_EXPORTS) \
39039 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
39040 for flag in $(EXTRA_TARGET_FLAGS); do \
39041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39042 done; \
39043 (cd $(TARGET_SUBDIR)/boehm-gc && \
39044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39046 "RANLIB=$${RANLIB}" \
39047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39048 install-html) \
39049 || exit 1
39051 @endif target-boehm-gc
39053 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
39054 maybe-installcheck-target-boehm-gc:
39055 @if target-boehm-gc
39056 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
39058 installcheck-target-boehm-gc: \
39059 configure-target-boehm-gc
39060 @: $(MAKE); $(unstage)
39061 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39062 r=`${PWD_COMMAND}`; export r; \
39063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39064 $(NORMAL_TARGET_EXPORTS) \
39065 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
39066 for flag in $(EXTRA_TARGET_FLAGS); do \
39067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39068 done; \
39069 (cd $(TARGET_SUBDIR)/boehm-gc && \
39070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39072 "RANLIB=$${RANLIB}" \
39073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39074 installcheck) \
39075 || exit 1
39077 @endif target-boehm-gc
39079 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
39080 maybe-mostlyclean-target-boehm-gc:
39081 @if target-boehm-gc
39082 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
39084 mostlyclean-target-boehm-gc:
39085 @: $(MAKE); $(unstage)
39086 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39087 r=`${PWD_COMMAND}`; export r; \
39088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39089 $(NORMAL_TARGET_EXPORTS) \
39090 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39091 for flag in $(EXTRA_TARGET_FLAGS); do \
39092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39093 done; \
39094 (cd $(TARGET_SUBDIR)/boehm-gc && \
39095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39097 "RANLIB=$${RANLIB}" \
39098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39099 mostlyclean) \
39100 || exit 1
39102 @endif target-boehm-gc
39104 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
39105 maybe-clean-target-boehm-gc:
39106 @if target-boehm-gc
39107 maybe-clean-target-boehm-gc: clean-target-boehm-gc
39109 clean-target-boehm-gc:
39110 @: $(MAKE); $(unstage)
39111 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39112 r=`${PWD_COMMAND}`; export r; \
39113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39114 $(NORMAL_TARGET_EXPORTS) \
39115 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39116 for flag in $(EXTRA_TARGET_FLAGS); do \
39117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39118 done; \
39119 (cd $(TARGET_SUBDIR)/boehm-gc && \
39120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39122 "RANLIB=$${RANLIB}" \
39123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39124 clean) \
39125 || exit 1
39127 @endif target-boehm-gc
39129 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
39130 maybe-distclean-target-boehm-gc:
39131 @if target-boehm-gc
39132 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
39134 distclean-target-boehm-gc:
39135 @: $(MAKE); $(unstage)
39136 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39137 r=`${PWD_COMMAND}`; export r; \
39138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39139 $(NORMAL_TARGET_EXPORTS) \
39140 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39141 for flag in $(EXTRA_TARGET_FLAGS); do \
39142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39143 done; \
39144 (cd $(TARGET_SUBDIR)/boehm-gc && \
39145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39147 "RANLIB=$${RANLIB}" \
39148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39149 distclean) \
39150 || exit 1
39152 @endif target-boehm-gc
39154 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
39155 maybe-maintainer-clean-target-boehm-gc:
39156 @if target-boehm-gc
39157 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
39159 maintainer-clean-target-boehm-gc:
39160 @: $(MAKE); $(unstage)
39161 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39162 r=`${PWD_COMMAND}`; export r; \
39163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39164 $(NORMAL_TARGET_EXPORTS) \
39165 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39166 for flag in $(EXTRA_TARGET_FLAGS); do \
39167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39168 done; \
39169 (cd $(TARGET_SUBDIR)/boehm-gc && \
39170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39172 "RANLIB=$${RANLIB}" \
39173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39174 maintainer-clean) \
39175 || exit 1
39177 @endif target-boehm-gc
39183 .PHONY: configure-target-rda maybe-configure-target-rda
39184 maybe-configure-target-rda:
39185 @if gcc-bootstrap
39186 configure-target-rda: stage_current
39187 @endif gcc-bootstrap
39188 @if target-rda
39189 maybe-configure-target-rda: configure-target-rda
39190 configure-target-rda:
39191 @: $(MAKE); $(unstage)
39192 @r=`${PWD_COMMAND}`; export r; \
39193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39194 echo "Checking multilib configuration for rda..."; \
39195 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
39196 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
39197 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
39198 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
39199 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
39200 else \
39201 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
39202 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
39203 fi; \
39204 else \
39205 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
39206 fi; \
39207 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
39208 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
39209 $(NORMAL_TARGET_EXPORTS) \
39210 echo Configuring in $(TARGET_SUBDIR)/rda; \
39211 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
39212 case $(srcdir) in \
39213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39214 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
39215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39216 esac; \
39217 srcdiroption="--srcdir=$${topdir}/rda"; \
39218 libsrcdir="$$s/rda"; \
39219 rm -f no-such-file || : ; \
39220 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39221 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39222 --target=${target_alias} $${srcdiroption} \
39223 || exit 1
39224 @endif target-rda
39230 .PHONY: all-target-rda maybe-all-target-rda
39231 maybe-all-target-rda:
39232 @if gcc-bootstrap
39233 all-target-rda: stage_current
39234 @endif gcc-bootstrap
39235 @if target-rda
39236 TARGET-target-rda=all
39237 maybe-all-target-rda: all-target-rda
39238 all-target-rda: configure-target-rda
39239 @: $(MAKE); $(unstage)
39240 @r=`${PWD_COMMAND}`; export r; \
39241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39242 $(NORMAL_TARGET_EXPORTS) \
39243 (cd $(TARGET_SUBDIR)/rda && \
39244 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39245 $(TARGET-target-rda))
39246 @endif target-rda
39252 .PHONY: check-target-rda maybe-check-target-rda
39253 maybe-check-target-rda:
39254 @if target-rda
39255 maybe-check-target-rda: check-target-rda
39257 check-target-rda:
39258 @: $(MAKE); $(unstage)
39259 @r=`${PWD_COMMAND}`; export r; \
39260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39261 $(NORMAL_TARGET_EXPORTS) \
39262 (cd $(TARGET_SUBDIR)/rda && \
39263 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39265 @endif target-rda
39267 .PHONY: install-target-rda maybe-install-target-rda
39268 maybe-install-target-rda:
39269 @if target-rda
39270 maybe-install-target-rda: install-target-rda
39272 install-target-rda: installdirs
39273 @: $(MAKE); $(unstage)
39274 @r=`${PWD_COMMAND}`; export r; \
39275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39276 $(NORMAL_TARGET_EXPORTS) \
39277 (cd $(TARGET_SUBDIR)/rda && \
39278 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39280 @endif target-rda
39282 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
39283 maybe-install-strip-target-rda:
39284 @if target-rda
39285 maybe-install-strip-target-rda: install-strip-target-rda
39287 install-strip-target-rda: installdirs
39288 @: $(MAKE); $(unstage)
39289 @r=`${PWD_COMMAND}`; export r; \
39290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39291 $(NORMAL_TARGET_EXPORTS) \
39292 (cd $(TARGET_SUBDIR)/rda && \
39293 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39295 @endif target-rda
39297 # Other targets (info, dvi, pdf, etc.)
39299 .PHONY: maybe-info-target-rda info-target-rda
39300 maybe-info-target-rda:
39301 @if target-rda
39302 maybe-info-target-rda: info-target-rda
39304 info-target-rda: \
39305 configure-target-rda
39306 @: $(MAKE); $(unstage)
39307 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39308 r=`${PWD_COMMAND}`; export r; \
39309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39310 $(NORMAL_TARGET_EXPORTS) \
39311 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
39312 for flag in $(EXTRA_TARGET_FLAGS); do \
39313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39314 done; \
39315 (cd $(TARGET_SUBDIR)/rda && \
39316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39318 "RANLIB=$${RANLIB}" \
39319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39320 info) \
39321 || exit 1
39323 @endif target-rda
39325 .PHONY: maybe-dvi-target-rda dvi-target-rda
39326 maybe-dvi-target-rda:
39327 @if target-rda
39328 maybe-dvi-target-rda: dvi-target-rda
39330 dvi-target-rda: \
39331 configure-target-rda
39332 @: $(MAKE); $(unstage)
39333 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39334 r=`${PWD_COMMAND}`; export r; \
39335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39336 $(NORMAL_TARGET_EXPORTS) \
39337 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
39338 for flag in $(EXTRA_TARGET_FLAGS); do \
39339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39340 done; \
39341 (cd $(TARGET_SUBDIR)/rda && \
39342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39344 "RANLIB=$${RANLIB}" \
39345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39346 dvi) \
39347 || exit 1
39349 @endif target-rda
39351 .PHONY: maybe-pdf-target-rda pdf-target-rda
39352 maybe-pdf-target-rda:
39353 @if target-rda
39354 maybe-pdf-target-rda: pdf-target-rda
39356 pdf-target-rda: \
39357 configure-target-rda
39358 @: $(MAKE); $(unstage)
39359 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39360 r=`${PWD_COMMAND}`; export r; \
39361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39362 $(NORMAL_TARGET_EXPORTS) \
39363 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
39364 for flag in $(EXTRA_TARGET_FLAGS); do \
39365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39366 done; \
39367 (cd $(TARGET_SUBDIR)/rda && \
39368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39370 "RANLIB=$${RANLIB}" \
39371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39372 pdf) \
39373 || exit 1
39375 @endif target-rda
39377 .PHONY: maybe-html-target-rda html-target-rda
39378 maybe-html-target-rda:
39379 @if target-rda
39380 maybe-html-target-rda: html-target-rda
39382 html-target-rda: \
39383 configure-target-rda
39384 @: $(MAKE); $(unstage)
39385 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39386 r=`${PWD_COMMAND}`; export r; \
39387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39388 $(NORMAL_TARGET_EXPORTS) \
39389 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
39390 for flag in $(EXTRA_TARGET_FLAGS); do \
39391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39392 done; \
39393 (cd $(TARGET_SUBDIR)/rda && \
39394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39396 "RANLIB=$${RANLIB}" \
39397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39398 html) \
39399 || exit 1
39401 @endif target-rda
39403 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
39404 maybe-TAGS-target-rda:
39405 @if target-rda
39406 maybe-TAGS-target-rda: TAGS-target-rda
39408 TAGS-target-rda: \
39409 configure-target-rda
39410 @: $(MAKE); $(unstage)
39411 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39412 r=`${PWD_COMMAND}`; export r; \
39413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39414 $(NORMAL_TARGET_EXPORTS) \
39415 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
39416 for flag in $(EXTRA_TARGET_FLAGS); do \
39417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39418 done; \
39419 (cd $(TARGET_SUBDIR)/rda && \
39420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39422 "RANLIB=$${RANLIB}" \
39423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39424 TAGS) \
39425 || exit 1
39427 @endif target-rda
39429 .PHONY: maybe-install-info-target-rda install-info-target-rda
39430 maybe-install-info-target-rda:
39431 @if target-rda
39432 maybe-install-info-target-rda: install-info-target-rda
39434 install-info-target-rda: \
39435 configure-target-rda \
39436 info-target-rda
39437 @: $(MAKE); $(unstage)
39438 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39439 r=`${PWD_COMMAND}`; export r; \
39440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39441 $(NORMAL_TARGET_EXPORTS) \
39442 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
39443 for flag in $(EXTRA_TARGET_FLAGS); do \
39444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39445 done; \
39446 (cd $(TARGET_SUBDIR)/rda && \
39447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39449 "RANLIB=$${RANLIB}" \
39450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39451 install-info) \
39452 || exit 1
39454 @endif target-rda
39456 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
39457 maybe-install-pdf-target-rda:
39458 @if target-rda
39459 maybe-install-pdf-target-rda: install-pdf-target-rda
39461 install-pdf-target-rda: \
39462 configure-target-rda \
39463 pdf-target-rda
39464 @: $(MAKE); $(unstage)
39465 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39466 r=`${PWD_COMMAND}`; export r; \
39467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39468 $(NORMAL_TARGET_EXPORTS) \
39469 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
39470 for flag in $(EXTRA_TARGET_FLAGS); do \
39471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39472 done; \
39473 (cd $(TARGET_SUBDIR)/rda && \
39474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39476 "RANLIB=$${RANLIB}" \
39477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39478 install-pdf) \
39479 || exit 1
39481 @endif target-rda
39483 .PHONY: maybe-install-html-target-rda install-html-target-rda
39484 maybe-install-html-target-rda:
39485 @if target-rda
39486 maybe-install-html-target-rda: install-html-target-rda
39488 install-html-target-rda: \
39489 configure-target-rda \
39490 html-target-rda
39491 @: $(MAKE); $(unstage)
39492 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39493 r=`${PWD_COMMAND}`; export r; \
39494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39495 $(NORMAL_TARGET_EXPORTS) \
39496 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
39497 for flag in $(EXTRA_TARGET_FLAGS); do \
39498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39499 done; \
39500 (cd $(TARGET_SUBDIR)/rda && \
39501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39503 "RANLIB=$${RANLIB}" \
39504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39505 install-html) \
39506 || exit 1
39508 @endif target-rda
39510 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
39511 maybe-installcheck-target-rda:
39512 @if target-rda
39513 maybe-installcheck-target-rda: installcheck-target-rda
39515 installcheck-target-rda: \
39516 configure-target-rda
39517 @: $(MAKE); $(unstage)
39518 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39519 r=`${PWD_COMMAND}`; export r; \
39520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39521 $(NORMAL_TARGET_EXPORTS) \
39522 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
39523 for flag in $(EXTRA_TARGET_FLAGS); do \
39524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39525 done; \
39526 (cd $(TARGET_SUBDIR)/rda && \
39527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39529 "RANLIB=$${RANLIB}" \
39530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39531 installcheck) \
39532 || exit 1
39534 @endif target-rda
39536 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
39537 maybe-mostlyclean-target-rda:
39538 @if target-rda
39539 maybe-mostlyclean-target-rda: mostlyclean-target-rda
39541 mostlyclean-target-rda:
39542 @: $(MAKE); $(unstage)
39543 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39544 r=`${PWD_COMMAND}`; export r; \
39545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39546 $(NORMAL_TARGET_EXPORTS) \
39547 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
39548 for flag in $(EXTRA_TARGET_FLAGS); do \
39549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39550 done; \
39551 (cd $(TARGET_SUBDIR)/rda && \
39552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39554 "RANLIB=$${RANLIB}" \
39555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39556 mostlyclean) \
39557 || exit 1
39559 @endif target-rda
39561 .PHONY: maybe-clean-target-rda clean-target-rda
39562 maybe-clean-target-rda:
39563 @if target-rda
39564 maybe-clean-target-rda: clean-target-rda
39566 clean-target-rda:
39567 @: $(MAKE); $(unstage)
39568 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39569 r=`${PWD_COMMAND}`; export r; \
39570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39571 $(NORMAL_TARGET_EXPORTS) \
39572 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
39573 for flag in $(EXTRA_TARGET_FLAGS); do \
39574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39575 done; \
39576 (cd $(TARGET_SUBDIR)/rda && \
39577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39579 "RANLIB=$${RANLIB}" \
39580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39581 clean) \
39582 || exit 1
39584 @endif target-rda
39586 .PHONY: maybe-distclean-target-rda distclean-target-rda
39587 maybe-distclean-target-rda:
39588 @if target-rda
39589 maybe-distclean-target-rda: distclean-target-rda
39591 distclean-target-rda:
39592 @: $(MAKE); $(unstage)
39593 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39594 r=`${PWD_COMMAND}`; export r; \
39595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39596 $(NORMAL_TARGET_EXPORTS) \
39597 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
39598 for flag in $(EXTRA_TARGET_FLAGS); do \
39599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39600 done; \
39601 (cd $(TARGET_SUBDIR)/rda && \
39602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39604 "RANLIB=$${RANLIB}" \
39605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39606 distclean) \
39607 || exit 1
39609 @endif target-rda
39611 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
39612 maybe-maintainer-clean-target-rda:
39613 @if target-rda
39614 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
39616 maintainer-clean-target-rda:
39617 @: $(MAKE); $(unstage)
39618 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39619 r=`${PWD_COMMAND}`; export r; \
39620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39621 $(NORMAL_TARGET_EXPORTS) \
39622 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
39623 for flag in $(EXTRA_TARGET_FLAGS); do \
39624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39625 done; \
39626 (cd $(TARGET_SUBDIR)/rda && \
39627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39629 "RANLIB=$${RANLIB}" \
39630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39631 maintainer-clean) \
39632 || exit 1
39634 @endif target-rda
39640 .PHONY: configure-target-libada maybe-configure-target-libada
39641 maybe-configure-target-libada:
39642 @if gcc-bootstrap
39643 configure-target-libada: stage_current
39644 @endif gcc-bootstrap
39645 @if target-libada
39646 maybe-configure-target-libada: configure-target-libada
39647 configure-target-libada:
39648 @: $(MAKE); $(unstage)
39649 @r=`${PWD_COMMAND}`; export r; \
39650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39651 echo "Checking multilib configuration for libada..."; \
39652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
39653 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
39654 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
39655 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
39656 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
39657 else \
39658 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
39659 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
39660 fi; \
39661 else \
39662 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
39663 fi; \
39664 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
39665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
39666 $(NORMAL_TARGET_EXPORTS) \
39667 echo Configuring in $(TARGET_SUBDIR)/libada; \
39668 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
39669 case $(srcdir) in \
39670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39671 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
39672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39673 esac; \
39674 srcdiroption="--srcdir=$${topdir}/libada"; \
39675 libsrcdir="$$s/libada"; \
39676 rm -f no-such-file || : ; \
39677 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39678 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39679 --target=${target_alias} $${srcdiroption} \
39680 || exit 1
39681 @endif target-libada
39687 .PHONY: all-target-libada maybe-all-target-libada
39688 maybe-all-target-libada:
39689 @if gcc-bootstrap
39690 all-target-libada: stage_current
39691 @endif gcc-bootstrap
39692 @if target-libada
39693 TARGET-target-libada=all
39694 maybe-all-target-libada: all-target-libada
39695 all-target-libada: configure-target-libada
39696 @: $(MAKE); $(unstage)
39697 @r=`${PWD_COMMAND}`; export r; \
39698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39699 $(NORMAL_TARGET_EXPORTS) \
39700 (cd $(TARGET_SUBDIR)/libada && \
39701 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39702 $(TARGET-target-libada))
39703 @endif target-libada
39709 .PHONY: check-target-libada maybe-check-target-libada
39710 maybe-check-target-libada:
39711 @if target-libada
39712 maybe-check-target-libada: check-target-libada
39714 check-target-libada:
39715 @: $(MAKE); $(unstage)
39716 @r=`${PWD_COMMAND}`; export r; \
39717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39718 $(NORMAL_TARGET_EXPORTS) \
39719 (cd $(TARGET_SUBDIR)/libada && \
39720 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39722 @endif target-libada
39724 .PHONY: install-target-libada maybe-install-target-libada
39725 maybe-install-target-libada:
39726 @if target-libada
39727 maybe-install-target-libada: install-target-libada
39729 install-target-libada: installdirs
39730 @: $(MAKE); $(unstage)
39731 @r=`${PWD_COMMAND}`; export r; \
39732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39733 $(NORMAL_TARGET_EXPORTS) \
39734 (cd $(TARGET_SUBDIR)/libada && \
39735 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39737 @endif target-libada
39739 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
39740 maybe-install-strip-target-libada:
39741 @if target-libada
39742 maybe-install-strip-target-libada: install-strip-target-libada
39744 install-strip-target-libada: installdirs
39745 @: $(MAKE); $(unstage)
39746 @r=`${PWD_COMMAND}`; export r; \
39747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39748 $(NORMAL_TARGET_EXPORTS) \
39749 (cd $(TARGET_SUBDIR)/libada && \
39750 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39752 @endif target-libada
39754 # Other targets (info, dvi, pdf, etc.)
39756 .PHONY: maybe-info-target-libada info-target-libada
39757 maybe-info-target-libada:
39758 @if target-libada
39759 maybe-info-target-libada: info-target-libada
39761 info-target-libada: \
39762 configure-target-libada
39763 @: $(MAKE); $(unstage)
39764 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39765 r=`${PWD_COMMAND}`; export r; \
39766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39767 $(NORMAL_TARGET_EXPORTS) \
39768 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
39769 for flag in $(EXTRA_TARGET_FLAGS); do \
39770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39771 done; \
39772 (cd $(TARGET_SUBDIR)/libada && \
39773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39775 "RANLIB=$${RANLIB}" \
39776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39777 info) \
39778 || exit 1
39780 @endif target-libada
39782 .PHONY: maybe-dvi-target-libada dvi-target-libada
39783 maybe-dvi-target-libada:
39784 @if target-libada
39785 maybe-dvi-target-libada: dvi-target-libada
39787 dvi-target-libada: \
39788 configure-target-libada
39789 @: $(MAKE); $(unstage)
39790 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39791 r=`${PWD_COMMAND}`; export r; \
39792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39793 $(NORMAL_TARGET_EXPORTS) \
39794 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
39795 for flag in $(EXTRA_TARGET_FLAGS); do \
39796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39797 done; \
39798 (cd $(TARGET_SUBDIR)/libada && \
39799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39801 "RANLIB=$${RANLIB}" \
39802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39803 dvi) \
39804 || exit 1
39806 @endif target-libada
39808 .PHONY: maybe-pdf-target-libada pdf-target-libada
39809 maybe-pdf-target-libada:
39810 @if target-libada
39811 maybe-pdf-target-libada: pdf-target-libada
39813 pdf-target-libada: \
39814 configure-target-libada
39815 @: $(MAKE); $(unstage)
39816 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39817 r=`${PWD_COMMAND}`; export r; \
39818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39819 $(NORMAL_TARGET_EXPORTS) \
39820 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
39821 for flag in $(EXTRA_TARGET_FLAGS); do \
39822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39823 done; \
39824 (cd $(TARGET_SUBDIR)/libada && \
39825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39827 "RANLIB=$${RANLIB}" \
39828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39829 pdf) \
39830 || exit 1
39832 @endif target-libada
39834 .PHONY: maybe-html-target-libada html-target-libada
39835 maybe-html-target-libada:
39836 @if target-libada
39837 maybe-html-target-libada: html-target-libada
39839 html-target-libada: \
39840 configure-target-libada
39841 @: $(MAKE); $(unstage)
39842 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39843 r=`${PWD_COMMAND}`; export r; \
39844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39845 $(NORMAL_TARGET_EXPORTS) \
39846 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
39847 for flag in $(EXTRA_TARGET_FLAGS); do \
39848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39849 done; \
39850 (cd $(TARGET_SUBDIR)/libada && \
39851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39853 "RANLIB=$${RANLIB}" \
39854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39855 html) \
39856 || exit 1
39858 @endif target-libada
39860 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
39861 maybe-TAGS-target-libada:
39862 @if target-libada
39863 maybe-TAGS-target-libada: TAGS-target-libada
39865 TAGS-target-libada: \
39866 configure-target-libada
39867 @: $(MAKE); $(unstage)
39868 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39869 r=`${PWD_COMMAND}`; export r; \
39870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39871 $(NORMAL_TARGET_EXPORTS) \
39872 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
39873 for flag in $(EXTRA_TARGET_FLAGS); do \
39874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39875 done; \
39876 (cd $(TARGET_SUBDIR)/libada && \
39877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39879 "RANLIB=$${RANLIB}" \
39880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39881 TAGS) \
39882 || exit 1
39884 @endif target-libada
39886 .PHONY: maybe-install-info-target-libada install-info-target-libada
39887 maybe-install-info-target-libada:
39888 @if target-libada
39889 maybe-install-info-target-libada: install-info-target-libada
39891 install-info-target-libada: \
39892 configure-target-libada \
39893 info-target-libada
39894 @: $(MAKE); $(unstage)
39895 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39896 r=`${PWD_COMMAND}`; export r; \
39897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39898 $(NORMAL_TARGET_EXPORTS) \
39899 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
39900 for flag in $(EXTRA_TARGET_FLAGS); do \
39901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39902 done; \
39903 (cd $(TARGET_SUBDIR)/libada && \
39904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39906 "RANLIB=$${RANLIB}" \
39907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39908 install-info) \
39909 || exit 1
39911 @endif target-libada
39913 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
39914 maybe-install-pdf-target-libada:
39915 @if target-libada
39916 maybe-install-pdf-target-libada: install-pdf-target-libada
39918 install-pdf-target-libada: \
39919 configure-target-libada \
39920 pdf-target-libada
39921 @: $(MAKE); $(unstage)
39922 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39923 r=`${PWD_COMMAND}`; export r; \
39924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39925 $(NORMAL_TARGET_EXPORTS) \
39926 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
39927 for flag in $(EXTRA_TARGET_FLAGS); do \
39928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39929 done; \
39930 (cd $(TARGET_SUBDIR)/libada && \
39931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39933 "RANLIB=$${RANLIB}" \
39934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39935 install-pdf) \
39936 || exit 1
39938 @endif target-libada
39940 .PHONY: maybe-install-html-target-libada install-html-target-libada
39941 maybe-install-html-target-libada:
39942 @if target-libada
39943 maybe-install-html-target-libada: install-html-target-libada
39945 install-html-target-libada: \
39946 configure-target-libada \
39947 html-target-libada
39948 @: $(MAKE); $(unstage)
39949 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39950 r=`${PWD_COMMAND}`; export r; \
39951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39952 $(NORMAL_TARGET_EXPORTS) \
39953 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
39954 for flag in $(EXTRA_TARGET_FLAGS); do \
39955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39956 done; \
39957 (cd $(TARGET_SUBDIR)/libada && \
39958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39960 "RANLIB=$${RANLIB}" \
39961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39962 install-html) \
39963 || exit 1
39965 @endif target-libada
39967 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39968 maybe-installcheck-target-libada:
39969 @if target-libada
39970 maybe-installcheck-target-libada: installcheck-target-libada
39972 installcheck-target-libada: \
39973 configure-target-libada
39974 @: $(MAKE); $(unstage)
39975 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39976 r=`${PWD_COMMAND}`; export r; \
39977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39978 $(NORMAL_TARGET_EXPORTS) \
39979 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39980 for flag in $(EXTRA_TARGET_FLAGS); do \
39981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39982 done; \
39983 (cd $(TARGET_SUBDIR)/libada && \
39984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39986 "RANLIB=$${RANLIB}" \
39987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39988 installcheck) \
39989 || exit 1
39991 @endif target-libada
39993 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39994 maybe-mostlyclean-target-libada:
39995 @if target-libada
39996 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39998 mostlyclean-target-libada:
39999 @: $(MAKE); $(unstage)
40000 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40001 r=`${PWD_COMMAND}`; export r; \
40002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40003 $(NORMAL_TARGET_EXPORTS) \
40004 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
40005 for flag in $(EXTRA_TARGET_FLAGS); do \
40006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40007 done; \
40008 (cd $(TARGET_SUBDIR)/libada && \
40009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40011 "RANLIB=$${RANLIB}" \
40012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40013 mostlyclean) \
40014 || exit 1
40016 @endif target-libada
40018 .PHONY: maybe-clean-target-libada clean-target-libada
40019 maybe-clean-target-libada:
40020 @if target-libada
40021 maybe-clean-target-libada: clean-target-libada
40023 clean-target-libada:
40024 @: $(MAKE); $(unstage)
40025 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40026 r=`${PWD_COMMAND}`; export r; \
40027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40028 $(NORMAL_TARGET_EXPORTS) \
40029 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
40030 for flag in $(EXTRA_TARGET_FLAGS); do \
40031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40032 done; \
40033 (cd $(TARGET_SUBDIR)/libada && \
40034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40036 "RANLIB=$${RANLIB}" \
40037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40038 clean) \
40039 || exit 1
40041 @endif target-libada
40043 .PHONY: maybe-distclean-target-libada distclean-target-libada
40044 maybe-distclean-target-libada:
40045 @if target-libada
40046 maybe-distclean-target-libada: distclean-target-libada
40048 distclean-target-libada:
40049 @: $(MAKE); $(unstage)
40050 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40051 r=`${PWD_COMMAND}`; export r; \
40052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40053 $(NORMAL_TARGET_EXPORTS) \
40054 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
40055 for flag in $(EXTRA_TARGET_FLAGS); do \
40056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40057 done; \
40058 (cd $(TARGET_SUBDIR)/libada && \
40059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40061 "RANLIB=$${RANLIB}" \
40062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40063 distclean) \
40064 || exit 1
40066 @endif target-libada
40068 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
40069 maybe-maintainer-clean-target-libada:
40070 @if target-libada
40071 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
40073 maintainer-clean-target-libada:
40074 @: $(MAKE); $(unstage)
40075 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40076 r=`${PWD_COMMAND}`; export r; \
40077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40078 $(NORMAL_TARGET_EXPORTS) \
40079 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
40080 for flag in $(EXTRA_TARGET_FLAGS); do \
40081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40082 done; \
40083 (cd $(TARGET_SUBDIR)/libada && \
40084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40086 "RANLIB=$${RANLIB}" \
40087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40088 maintainer-clean) \
40089 || exit 1
40091 @endif target-libada
40097 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
40098 maybe-configure-target-libgomp:
40099 @if gcc-bootstrap
40100 configure-target-libgomp: stage_current
40101 @endif gcc-bootstrap
40102 @if target-libgomp
40103 maybe-configure-target-libgomp: configure-target-libgomp
40104 configure-target-libgomp:
40105 @r=`${PWD_COMMAND}`; export r; \
40106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40107 echo "Checking multilib configuration for libgomp..."; \
40108 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40109 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40110 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40111 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40112 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40113 else \
40114 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40115 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40116 fi; \
40117 else \
40118 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40119 fi; \
40120 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40121 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40122 $(NORMAL_TARGET_EXPORTS) \
40123 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
40124 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
40125 case $(srcdir) in \
40126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40127 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40129 esac; \
40130 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40131 libsrcdir="$$s/libgomp"; \
40132 rm -f no-such-file || : ; \
40133 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40134 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40135 --target=${target_alias} $${srcdiroption} \
40136 || exit 1
40137 @endif target-libgomp
40141 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
40142 maybe-configure-stage1-target-libgomp:
40143 @if target-libgomp-bootstrap
40144 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
40145 configure-stage1-target-libgomp:
40146 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40147 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40148 @r=`${PWD_COMMAND}`; export r; \
40149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40150 TFLAGS="$(STAGE1_TFLAGS)"; \
40151 echo "Checking multilib configuration for libgomp..."; \
40152 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40153 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40154 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40155 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40156 else \
40157 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40158 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40159 fi; \
40160 else \
40161 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40162 fi; \
40163 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40164 $(NORMAL_TARGET_EXPORTS) \
40165 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40166 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40167 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40168 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
40169 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40170 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40171 case $(srcdir) in \
40172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40173 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40175 esac; \
40176 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40177 libsrcdir="$$s/libgomp"; \
40178 $(SHELL) $${libsrcdir}/configure \
40179 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40180 --target=${target_alias} $${srcdiroption} \
40181 $(STAGE1_CONFIGURE_FLAGS)
40182 @endif target-libgomp-bootstrap
40184 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
40185 maybe-configure-stage2-target-libgomp:
40186 @if target-libgomp-bootstrap
40187 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
40188 configure-stage2-target-libgomp:
40189 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40190 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40191 @r=`${PWD_COMMAND}`; export r; \
40192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40193 TFLAGS="$(STAGE2_TFLAGS)"; \
40194 echo "Checking multilib configuration for libgomp..."; \
40195 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40196 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40197 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40198 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40199 else \
40200 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40201 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40202 fi; \
40203 else \
40204 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40205 fi; \
40206 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40207 $(NORMAL_TARGET_EXPORTS) \
40209 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40210 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40211 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40212 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
40213 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40214 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40215 case $(srcdir) in \
40216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40217 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40219 esac; \
40220 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40221 libsrcdir="$$s/libgomp"; \
40222 $(SHELL) $${libsrcdir}/configure \
40223 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40224 --target=${target_alias} $${srcdiroption} \
40225 --with-build-libsubdir=$(HOST_SUBDIR) \
40226 $(STAGE2_CONFIGURE_FLAGS)
40227 @endif target-libgomp-bootstrap
40229 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
40230 maybe-configure-stage3-target-libgomp:
40231 @if target-libgomp-bootstrap
40232 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
40233 configure-stage3-target-libgomp:
40234 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40235 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40236 @r=`${PWD_COMMAND}`; export r; \
40237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40238 TFLAGS="$(STAGE3_TFLAGS)"; \
40239 echo "Checking multilib configuration for libgomp..."; \
40240 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40241 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40242 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40243 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40244 else \
40245 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40246 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40247 fi; \
40248 else \
40249 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40250 fi; \
40251 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40252 $(NORMAL_TARGET_EXPORTS) \
40254 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40255 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40256 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40257 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
40258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40259 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40260 case $(srcdir) in \
40261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40262 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40264 esac; \
40265 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40266 libsrcdir="$$s/libgomp"; \
40267 $(SHELL) $${libsrcdir}/configure \
40268 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40269 --target=${target_alias} $${srcdiroption} \
40270 --with-build-libsubdir=$(HOST_SUBDIR) \
40271 $(STAGE3_CONFIGURE_FLAGS)
40272 @endif target-libgomp-bootstrap
40274 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
40275 maybe-configure-stage4-target-libgomp:
40276 @if target-libgomp-bootstrap
40277 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
40278 configure-stage4-target-libgomp:
40279 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40280 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40281 @r=`${PWD_COMMAND}`; export r; \
40282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40283 TFLAGS="$(STAGE4_TFLAGS)"; \
40284 echo "Checking multilib configuration for libgomp..."; \
40285 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40286 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40287 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40288 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40289 else \
40290 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40291 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40292 fi; \
40293 else \
40294 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40295 fi; \
40296 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40297 $(NORMAL_TARGET_EXPORTS) \
40299 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40300 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40301 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40302 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
40303 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40304 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40305 case $(srcdir) in \
40306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40307 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40309 esac; \
40310 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40311 libsrcdir="$$s/libgomp"; \
40312 $(SHELL) $${libsrcdir}/configure \
40313 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40314 --target=${target_alias} $${srcdiroption} \
40315 --with-build-libsubdir=$(HOST_SUBDIR) \
40316 $(STAGE4_CONFIGURE_FLAGS)
40317 @endif target-libgomp-bootstrap
40319 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
40320 maybe-configure-stageprofile-target-libgomp:
40321 @if target-libgomp-bootstrap
40322 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
40323 configure-stageprofile-target-libgomp:
40324 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40325 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40326 @r=`${PWD_COMMAND}`; export r; \
40327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40328 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40329 echo "Checking multilib configuration for libgomp..."; \
40330 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40331 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40332 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40333 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40334 else \
40335 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40336 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40337 fi; \
40338 else \
40339 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40340 fi; \
40341 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40342 $(NORMAL_TARGET_EXPORTS) \
40344 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40345 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40346 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40347 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
40348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40349 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40350 case $(srcdir) in \
40351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40352 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40354 esac; \
40355 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40356 libsrcdir="$$s/libgomp"; \
40357 $(SHELL) $${libsrcdir}/configure \
40358 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40359 --target=${target_alias} $${srcdiroption} \
40360 --with-build-libsubdir=$(HOST_SUBDIR) \
40361 $(STAGEprofile_CONFIGURE_FLAGS)
40362 @endif target-libgomp-bootstrap
40364 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
40365 maybe-configure-stagefeedback-target-libgomp:
40366 @if target-libgomp-bootstrap
40367 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
40368 configure-stagefeedback-target-libgomp:
40369 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40370 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40371 @r=`${PWD_COMMAND}`; export r; \
40372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40373 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40374 echo "Checking multilib configuration for libgomp..."; \
40375 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40376 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40377 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40378 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40379 else \
40380 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40381 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40382 fi; \
40383 else \
40384 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40385 fi; \
40386 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40387 $(NORMAL_TARGET_EXPORTS) \
40389 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40390 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40391 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40392 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
40393 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40394 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40395 case $(srcdir) in \
40396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40397 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40399 esac; \
40400 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40401 libsrcdir="$$s/libgomp"; \
40402 $(SHELL) $${libsrcdir}/configure \
40403 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40404 --target=${target_alias} $${srcdiroption} \
40405 --with-build-libsubdir=$(HOST_SUBDIR) \
40406 $(STAGEfeedback_CONFIGURE_FLAGS)
40407 @endif target-libgomp-bootstrap
40413 .PHONY: all-target-libgomp maybe-all-target-libgomp
40414 maybe-all-target-libgomp:
40415 @if gcc-bootstrap
40416 all-target-libgomp: stage_current
40417 @endif gcc-bootstrap
40418 @if target-libgomp
40419 TARGET-target-libgomp=all
40420 maybe-all-target-libgomp: all-target-libgomp
40421 all-target-libgomp: configure-target-libgomp
40422 @r=`${PWD_COMMAND}`; export r; \
40423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40424 $(NORMAL_TARGET_EXPORTS) \
40425 (cd $(TARGET_SUBDIR)/libgomp && \
40426 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40427 $(TARGET-target-libgomp))
40428 @endif target-libgomp
40432 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
40433 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
40434 maybe-all-stage1-target-libgomp:
40435 maybe-clean-stage1-target-libgomp:
40436 @if target-libgomp-bootstrap
40437 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
40438 all-stage1: all-stage1-target-libgomp
40439 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
40440 all-stage1-target-libgomp: configure-stage1-target-libgomp
40441 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40442 @r=`${PWD_COMMAND}`; export r; \
40443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40444 TFLAGS="$(STAGE1_TFLAGS)"; \
40445 $(NORMAL_TARGET_EXPORTS) \
40446 cd $(TARGET_SUBDIR)/libgomp && \
40447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40448 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40449 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40450 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40454 $(EXTRA_TARGET_FLAGS) \
40455 TFLAGS="$(STAGE1_TFLAGS)" \
40456 $(TARGET-stage1-target-libgomp)
40458 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
40459 clean-stage1: clean-stage1-target-libgomp
40460 clean-stage1-target-libgomp:
40461 @if [ $(current_stage) = stage1 ]; then \
40462 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40463 else \
40464 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
40465 $(MAKE) stage1-start; \
40466 fi; \
40467 cd $(TARGET_SUBDIR)/libgomp && \
40468 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40469 clean
40470 @endif target-libgomp-bootstrap
40473 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
40474 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
40475 maybe-all-stage2-target-libgomp:
40476 maybe-clean-stage2-target-libgomp:
40477 @if target-libgomp-bootstrap
40478 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
40479 all-stage2: all-stage2-target-libgomp
40480 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
40481 all-stage2-target-libgomp: configure-stage2-target-libgomp
40482 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40483 @r=`${PWD_COMMAND}`; export r; \
40484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40485 TFLAGS="$(STAGE2_TFLAGS)"; \
40486 $(NORMAL_TARGET_EXPORTS) \
40488 cd $(TARGET_SUBDIR)/libgomp && \
40489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40490 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40491 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40492 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40496 $(EXTRA_TARGET_FLAGS) \
40497 TFLAGS="$(STAGE2_TFLAGS)" \
40498 $(TARGET-stage2-target-libgomp)
40500 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
40501 clean-stage2: clean-stage2-target-libgomp
40502 clean-stage2-target-libgomp:
40503 @if [ $(current_stage) = stage2 ]; then \
40504 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40505 else \
40506 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
40507 $(MAKE) stage2-start; \
40508 fi; \
40509 cd $(TARGET_SUBDIR)/libgomp && \
40510 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40512 clean
40513 @endif target-libgomp-bootstrap
40516 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
40517 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
40518 maybe-all-stage3-target-libgomp:
40519 maybe-clean-stage3-target-libgomp:
40520 @if target-libgomp-bootstrap
40521 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
40522 all-stage3: all-stage3-target-libgomp
40523 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
40524 all-stage3-target-libgomp: configure-stage3-target-libgomp
40525 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40526 @r=`${PWD_COMMAND}`; export r; \
40527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40528 TFLAGS="$(STAGE3_TFLAGS)"; \
40529 $(NORMAL_TARGET_EXPORTS) \
40531 cd $(TARGET_SUBDIR)/libgomp && \
40532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40533 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40534 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40535 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40539 $(EXTRA_TARGET_FLAGS) \
40540 TFLAGS="$(STAGE3_TFLAGS)" \
40541 $(TARGET-stage3-target-libgomp)
40543 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
40544 clean-stage3: clean-stage3-target-libgomp
40545 clean-stage3-target-libgomp:
40546 @if [ $(current_stage) = stage3 ]; then \
40547 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40548 else \
40549 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
40550 $(MAKE) stage3-start; \
40551 fi; \
40552 cd $(TARGET_SUBDIR)/libgomp && \
40553 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40555 clean
40556 @endif target-libgomp-bootstrap
40559 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
40560 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
40561 maybe-all-stage4-target-libgomp:
40562 maybe-clean-stage4-target-libgomp:
40563 @if target-libgomp-bootstrap
40564 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
40565 all-stage4: all-stage4-target-libgomp
40566 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
40567 all-stage4-target-libgomp: configure-stage4-target-libgomp
40568 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40569 @r=`${PWD_COMMAND}`; export r; \
40570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40571 TFLAGS="$(STAGE4_TFLAGS)"; \
40572 $(NORMAL_TARGET_EXPORTS) \
40574 cd $(TARGET_SUBDIR)/libgomp && \
40575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40576 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40577 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40578 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40582 $(EXTRA_TARGET_FLAGS) \
40583 TFLAGS="$(STAGE4_TFLAGS)" \
40584 $(TARGET-stage4-target-libgomp)
40586 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
40587 clean-stage4: clean-stage4-target-libgomp
40588 clean-stage4-target-libgomp:
40589 @if [ $(current_stage) = stage4 ]; then \
40590 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40591 else \
40592 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
40593 $(MAKE) stage4-start; \
40594 fi; \
40595 cd $(TARGET_SUBDIR)/libgomp && \
40596 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40598 clean
40599 @endif target-libgomp-bootstrap
40602 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
40603 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
40604 maybe-all-stageprofile-target-libgomp:
40605 maybe-clean-stageprofile-target-libgomp:
40606 @if target-libgomp-bootstrap
40607 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
40608 all-stageprofile: all-stageprofile-target-libgomp
40609 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
40610 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
40611 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40612 @r=`${PWD_COMMAND}`; export r; \
40613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40614 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40615 $(NORMAL_TARGET_EXPORTS) \
40617 cd $(TARGET_SUBDIR)/libgomp && \
40618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40619 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40620 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40621 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40622 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40623 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40624 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40625 $(EXTRA_TARGET_FLAGS) \
40626 TFLAGS="$(STAGEprofile_TFLAGS)" \
40627 $(TARGET-stageprofile-target-libgomp)
40629 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
40630 clean-stageprofile: clean-stageprofile-target-libgomp
40631 clean-stageprofile-target-libgomp:
40632 @if [ $(current_stage) = stageprofile ]; then \
40633 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40634 else \
40635 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
40636 $(MAKE) stageprofile-start; \
40637 fi; \
40638 cd $(TARGET_SUBDIR)/libgomp && \
40639 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40641 clean
40642 @endif target-libgomp-bootstrap
40645 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
40646 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
40647 maybe-all-stagefeedback-target-libgomp:
40648 maybe-clean-stagefeedback-target-libgomp:
40649 @if target-libgomp-bootstrap
40650 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
40651 all-stagefeedback: all-stagefeedback-target-libgomp
40652 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
40653 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
40654 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40655 @r=`${PWD_COMMAND}`; export r; \
40656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40657 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40658 $(NORMAL_TARGET_EXPORTS) \
40660 cd $(TARGET_SUBDIR)/libgomp && \
40661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40662 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40668 $(EXTRA_TARGET_FLAGS) \
40669 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40670 $(TARGET-stagefeedback-target-libgomp)
40672 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
40673 clean-stagefeedback: clean-stagefeedback-target-libgomp
40674 clean-stagefeedback-target-libgomp:
40675 @if [ $(current_stage) = stagefeedback ]; then \
40676 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40677 else \
40678 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
40679 $(MAKE) stagefeedback-start; \
40680 fi; \
40681 cd $(TARGET_SUBDIR)/libgomp && \
40682 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40684 clean
40685 @endif target-libgomp-bootstrap
40692 .PHONY: check-target-libgomp maybe-check-target-libgomp
40693 maybe-check-target-libgomp:
40694 @if target-libgomp
40695 maybe-check-target-libgomp: check-target-libgomp
40697 check-target-libgomp:
40698 @: $(MAKE); $(unstage)
40699 @r=`${PWD_COMMAND}`; export r; \
40700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40701 $(NORMAL_TARGET_EXPORTS) \
40702 (cd $(TARGET_SUBDIR)/libgomp && \
40703 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40705 @endif target-libgomp
40707 .PHONY: install-target-libgomp maybe-install-target-libgomp
40708 maybe-install-target-libgomp:
40709 @if target-libgomp
40710 maybe-install-target-libgomp: install-target-libgomp
40712 install-target-libgomp: installdirs
40713 @: $(MAKE); $(unstage)
40714 @r=`${PWD_COMMAND}`; export r; \
40715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40716 $(NORMAL_TARGET_EXPORTS) \
40717 (cd $(TARGET_SUBDIR)/libgomp && \
40718 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40720 @endif target-libgomp
40722 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
40723 maybe-install-strip-target-libgomp:
40724 @if target-libgomp
40725 maybe-install-strip-target-libgomp: install-strip-target-libgomp
40727 install-strip-target-libgomp: installdirs
40728 @: $(MAKE); $(unstage)
40729 @r=`${PWD_COMMAND}`; export r; \
40730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40731 $(NORMAL_TARGET_EXPORTS) \
40732 (cd $(TARGET_SUBDIR)/libgomp && \
40733 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40735 @endif target-libgomp
40737 # Other targets (info, dvi, pdf, etc.)
40739 .PHONY: maybe-info-target-libgomp info-target-libgomp
40740 maybe-info-target-libgomp:
40741 @if target-libgomp
40742 maybe-info-target-libgomp: info-target-libgomp
40744 info-target-libgomp: \
40745 configure-target-libgomp
40746 @: $(MAKE); $(unstage)
40747 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40748 r=`${PWD_COMMAND}`; export r; \
40749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40750 $(NORMAL_TARGET_EXPORTS) \
40751 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
40752 for flag in $(EXTRA_TARGET_FLAGS); do \
40753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40754 done; \
40755 (cd $(TARGET_SUBDIR)/libgomp && \
40756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40758 "RANLIB=$${RANLIB}" \
40759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40760 info) \
40761 || exit 1
40763 @endif target-libgomp
40765 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
40766 maybe-dvi-target-libgomp:
40767 @if target-libgomp
40768 maybe-dvi-target-libgomp: dvi-target-libgomp
40770 dvi-target-libgomp: \
40771 configure-target-libgomp
40772 @: $(MAKE); $(unstage)
40773 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40774 r=`${PWD_COMMAND}`; export r; \
40775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40776 $(NORMAL_TARGET_EXPORTS) \
40777 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
40778 for flag in $(EXTRA_TARGET_FLAGS); do \
40779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40780 done; \
40781 (cd $(TARGET_SUBDIR)/libgomp && \
40782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40784 "RANLIB=$${RANLIB}" \
40785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40786 dvi) \
40787 || exit 1
40789 @endif target-libgomp
40791 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
40792 maybe-pdf-target-libgomp:
40793 @if target-libgomp
40794 maybe-pdf-target-libgomp: pdf-target-libgomp
40796 pdf-target-libgomp: \
40797 configure-target-libgomp
40798 @: $(MAKE); $(unstage)
40799 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40800 r=`${PWD_COMMAND}`; export r; \
40801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40802 $(NORMAL_TARGET_EXPORTS) \
40803 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
40804 for flag in $(EXTRA_TARGET_FLAGS); do \
40805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40806 done; \
40807 (cd $(TARGET_SUBDIR)/libgomp && \
40808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40810 "RANLIB=$${RANLIB}" \
40811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40812 pdf) \
40813 || exit 1
40815 @endif target-libgomp
40817 .PHONY: maybe-html-target-libgomp html-target-libgomp
40818 maybe-html-target-libgomp:
40819 @if target-libgomp
40820 maybe-html-target-libgomp: html-target-libgomp
40822 html-target-libgomp: \
40823 configure-target-libgomp
40824 @: $(MAKE); $(unstage)
40825 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40826 r=`${PWD_COMMAND}`; export r; \
40827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40828 $(NORMAL_TARGET_EXPORTS) \
40829 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
40830 for flag in $(EXTRA_TARGET_FLAGS); do \
40831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40832 done; \
40833 (cd $(TARGET_SUBDIR)/libgomp && \
40834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40836 "RANLIB=$${RANLIB}" \
40837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40838 html) \
40839 || exit 1
40841 @endif target-libgomp
40843 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
40844 maybe-TAGS-target-libgomp:
40845 @if target-libgomp
40846 maybe-TAGS-target-libgomp: TAGS-target-libgomp
40848 TAGS-target-libgomp: \
40849 configure-target-libgomp
40850 @: $(MAKE); $(unstage)
40851 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40852 r=`${PWD_COMMAND}`; export r; \
40853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40854 $(NORMAL_TARGET_EXPORTS) \
40855 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
40856 for flag in $(EXTRA_TARGET_FLAGS); do \
40857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40858 done; \
40859 (cd $(TARGET_SUBDIR)/libgomp && \
40860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40862 "RANLIB=$${RANLIB}" \
40863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40864 TAGS) \
40865 || exit 1
40867 @endif target-libgomp
40869 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
40870 maybe-install-info-target-libgomp:
40871 @if target-libgomp
40872 maybe-install-info-target-libgomp: install-info-target-libgomp
40874 install-info-target-libgomp: \
40875 configure-target-libgomp \
40876 info-target-libgomp
40877 @: $(MAKE); $(unstage)
40878 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40879 r=`${PWD_COMMAND}`; export r; \
40880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40881 $(NORMAL_TARGET_EXPORTS) \
40882 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
40883 for flag in $(EXTRA_TARGET_FLAGS); do \
40884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40885 done; \
40886 (cd $(TARGET_SUBDIR)/libgomp && \
40887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40889 "RANLIB=$${RANLIB}" \
40890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40891 install-info) \
40892 || exit 1
40894 @endif target-libgomp
40896 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
40897 maybe-install-pdf-target-libgomp:
40898 @if target-libgomp
40899 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
40901 install-pdf-target-libgomp: \
40902 configure-target-libgomp \
40903 pdf-target-libgomp
40904 @: $(MAKE); $(unstage)
40905 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40906 r=`${PWD_COMMAND}`; export r; \
40907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40908 $(NORMAL_TARGET_EXPORTS) \
40909 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
40910 for flag in $(EXTRA_TARGET_FLAGS); do \
40911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40912 done; \
40913 (cd $(TARGET_SUBDIR)/libgomp && \
40914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40916 "RANLIB=$${RANLIB}" \
40917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40918 install-pdf) \
40919 || exit 1
40921 @endif target-libgomp
40923 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
40924 maybe-install-html-target-libgomp:
40925 @if target-libgomp
40926 maybe-install-html-target-libgomp: install-html-target-libgomp
40928 install-html-target-libgomp: \
40929 configure-target-libgomp \
40930 html-target-libgomp
40931 @: $(MAKE); $(unstage)
40932 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40933 r=`${PWD_COMMAND}`; export r; \
40934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40935 $(NORMAL_TARGET_EXPORTS) \
40936 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
40937 for flag in $(EXTRA_TARGET_FLAGS); do \
40938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40939 done; \
40940 (cd $(TARGET_SUBDIR)/libgomp && \
40941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40943 "RANLIB=$${RANLIB}" \
40944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40945 install-html) \
40946 || exit 1
40948 @endif target-libgomp
40950 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
40951 maybe-installcheck-target-libgomp:
40952 @if target-libgomp
40953 maybe-installcheck-target-libgomp: installcheck-target-libgomp
40955 installcheck-target-libgomp: \
40956 configure-target-libgomp
40957 @: $(MAKE); $(unstage)
40958 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40959 r=`${PWD_COMMAND}`; export r; \
40960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40961 $(NORMAL_TARGET_EXPORTS) \
40962 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40963 for flag in $(EXTRA_TARGET_FLAGS); do \
40964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40965 done; \
40966 (cd $(TARGET_SUBDIR)/libgomp && \
40967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40969 "RANLIB=$${RANLIB}" \
40970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40971 installcheck) \
40972 || exit 1
40974 @endif target-libgomp
40976 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40977 maybe-mostlyclean-target-libgomp:
40978 @if target-libgomp
40979 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40981 mostlyclean-target-libgomp:
40982 @: $(MAKE); $(unstage)
40983 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40984 r=`${PWD_COMMAND}`; export r; \
40985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40986 $(NORMAL_TARGET_EXPORTS) \
40987 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
40988 for flag in $(EXTRA_TARGET_FLAGS); do \
40989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40990 done; \
40991 (cd $(TARGET_SUBDIR)/libgomp && \
40992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40994 "RANLIB=$${RANLIB}" \
40995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40996 mostlyclean) \
40997 || exit 1
40999 @endif target-libgomp
41001 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
41002 maybe-clean-target-libgomp:
41003 @if target-libgomp
41004 maybe-clean-target-libgomp: clean-target-libgomp
41006 clean-target-libgomp:
41007 @: $(MAKE); $(unstage)
41008 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41009 r=`${PWD_COMMAND}`; export r; \
41010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41011 $(NORMAL_TARGET_EXPORTS) \
41012 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
41013 for flag in $(EXTRA_TARGET_FLAGS); do \
41014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41015 done; \
41016 (cd $(TARGET_SUBDIR)/libgomp && \
41017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41019 "RANLIB=$${RANLIB}" \
41020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41021 clean) \
41022 || exit 1
41024 @endif target-libgomp
41026 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
41027 maybe-distclean-target-libgomp:
41028 @if target-libgomp
41029 maybe-distclean-target-libgomp: distclean-target-libgomp
41031 distclean-target-libgomp:
41032 @: $(MAKE); $(unstage)
41033 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41034 r=`${PWD_COMMAND}`; export r; \
41035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41036 $(NORMAL_TARGET_EXPORTS) \
41037 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
41038 for flag in $(EXTRA_TARGET_FLAGS); do \
41039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41040 done; \
41041 (cd $(TARGET_SUBDIR)/libgomp && \
41042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41044 "RANLIB=$${RANLIB}" \
41045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41046 distclean) \
41047 || exit 1
41049 @endif target-libgomp
41051 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
41052 maybe-maintainer-clean-target-libgomp:
41053 @if target-libgomp
41054 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
41056 maintainer-clean-target-libgomp:
41057 @: $(MAKE); $(unstage)
41058 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41059 r=`${PWD_COMMAND}`; export r; \
41060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41061 $(NORMAL_TARGET_EXPORTS) \
41062 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
41063 for flag in $(EXTRA_TARGET_FLAGS); do \
41064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41065 done; \
41066 (cd $(TARGET_SUBDIR)/libgomp && \
41067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41069 "RANLIB=$${RANLIB}" \
41070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41071 maintainer-clean) \
41072 || exit 1
41074 @endif target-libgomp
41080 .PHONY: configure-target-libitm maybe-configure-target-libitm
41081 maybe-configure-target-libitm:
41082 @if gcc-bootstrap
41083 configure-target-libitm: stage_current
41084 @endif gcc-bootstrap
41085 @if target-libitm
41086 maybe-configure-target-libitm: configure-target-libitm
41087 configure-target-libitm:
41088 @: $(MAKE); $(unstage)
41089 @r=`${PWD_COMMAND}`; export r; \
41090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41091 echo "Checking multilib configuration for libitm..."; \
41092 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
41093 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
41094 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
41095 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
41096 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
41097 else \
41098 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
41099 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
41100 fi; \
41101 else \
41102 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
41103 fi; \
41104 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
41105 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
41106 $(NORMAL_TARGET_EXPORTS) \
41107 echo Configuring in $(TARGET_SUBDIR)/libitm; \
41108 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
41109 case $(srcdir) in \
41110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41111 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
41112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41113 esac; \
41114 srcdiroption="--srcdir=$${topdir}/libitm"; \
41115 libsrcdir="$$s/libitm"; \
41116 rm -f no-such-file || : ; \
41117 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41118 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41119 --target=${target_alias} $${srcdiroption} \
41120 || exit 1
41121 @endif target-libitm
41127 .PHONY: all-target-libitm maybe-all-target-libitm
41128 maybe-all-target-libitm:
41129 @if gcc-bootstrap
41130 all-target-libitm: stage_current
41131 @endif gcc-bootstrap
41132 @if target-libitm
41133 TARGET-target-libitm=all
41134 maybe-all-target-libitm: all-target-libitm
41135 all-target-libitm: configure-target-libitm
41136 @: $(MAKE); $(unstage)
41137 @r=`${PWD_COMMAND}`; export r; \
41138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41139 $(NORMAL_TARGET_EXPORTS) \
41140 (cd $(TARGET_SUBDIR)/libitm && \
41141 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41142 $(TARGET-target-libitm))
41143 @endif target-libitm
41149 .PHONY: check-target-libitm maybe-check-target-libitm
41150 maybe-check-target-libitm:
41151 @if target-libitm
41152 maybe-check-target-libitm: check-target-libitm
41154 check-target-libitm:
41155 @: $(MAKE); $(unstage)
41156 @r=`${PWD_COMMAND}`; export r; \
41157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41158 $(NORMAL_TARGET_EXPORTS) \
41159 (cd $(TARGET_SUBDIR)/libitm && \
41160 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41162 @endif target-libitm
41164 .PHONY: install-target-libitm maybe-install-target-libitm
41165 maybe-install-target-libitm:
41166 @if target-libitm
41167 maybe-install-target-libitm: install-target-libitm
41169 install-target-libitm: installdirs
41170 @: $(MAKE); $(unstage)
41171 @r=`${PWD_COMMAND}`; export r; \
41172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41173 $(NORMAL_TARGET_EXPORTS) \
41174 (cd $(TARGET_SUBDIR)/libitm && \
41175 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41177 @endif target-libitm
41179 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
41180 maybe-install-strip-target-libitm:
41181 @if target-libitm
41182 maybe-install-strip-target-libitm: install-strip-target-libitm
41184 install-strip-target-libitm: installdirs
41185 @: $(MAKE); $(unstage)
41186 @r=`${PWD_COMMAND}`; export r; \
41187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41188 $(NORMAL_TARGET_EXPORTS) \
41189 (cd $(TARGET_SUBDIR)/libitm && \
41190 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41192 @endif target-libitm
41194 # Other targets (info, dvi, pdf, etc.)
41196 .PHONY: maybe-info-target-libitm info-target-libitm
41197 maybe-info-target-libitm:
41198 @if target-libitm
41199 maybe-info-target-libitm: info-target-libitm
41201 info-target-libitm: \
41202 configure-target-libitm
41203 @: $(MAKE); $(unstage)
41204 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41205 r=`${PWD_COMMAND}`; export r; \
41206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41207 $(NORMAL_TARGET_EXPORTS) \
41208 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
41209 for flag in $(EXTRA_TARGET_FLAGS); do \
41210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41211 done; \
41212 (cd $(TARGET_SUBDIR)/libitm && \
41213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41215 "RANLIB=$${RANLIB}" \
41216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41217 info) \
41218 || exit 1
41220 @endif target-libitm
41222 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
41223 maybe-dvi-target-libitm:
41224 @if target-libitm
41225 maybe-dvi-target-libitm: dvi-target-libitm
41227 dvi-target-libitm: \
41228 configure-target-libitm
41229 @: $(MAKE); $(unstage)
41230 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41231 r=`${PWD_COMMAND}`; export r; \
41232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41233 $(NORMAL_TARGET_EXPORTS) \
41234 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
41235 for flag in $(EXTRA_TARGET_FLAGS); do \
41236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41237 done; \
41238 (cd $(TARGET_SUBDIR)/libitm && \
41239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41241 "RANLIB=$${RANLIB}" \
41242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41243 dvi) \
41244 || exit 1
41246 @endif target-libitm
41248 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
41249 maybe-pdf-target-libitm:
41250 @if target-libitm
41251 maybe-pdf-target-libitm: pdf-target-libitm
41253 pdf-target-libitm: \
41254 configure-target-libitm
41255 @: $(MAKE); $(unstage)
41256 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41257 r=`${PWD_COMMAND}`; export r; \
41258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41259 $(NORMAL_TARGET_EXPORTS) \
41260 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
41261 for flag in $(EXTRA_TARGET_FLAGS); do \
41262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41263 done; \
41264 (cd $(TARGET_SUBDIR)/libitm && \
41265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41267 "RANLIB=$${RANLIB}" \
41268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41269 pdf) \
41270 || exit 1
41272 @endif target-libitm
41274 .PHONY: maybe-html-target-libitm html-target-libitm
41275 maybe-html-target-libitm:
41276 @if target-libitm
41277 maybe-html-target-libitm: html-target-libitm
41279 html-target-libitm: \
41280 configure-target-libitm
41281 @: $(MAKE); $(unstage)
41282 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41283 r=`${PWD_COMMAND}`; export r; \
41284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41285 $(NORMAL_TARGET_EXPORTS) \
41286 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
41287 for flag in $(EXTRA_TARGET_FLAGS); do \
41288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41289 done; \
41290 (cd $(TARGET_SUBDIR)/libitm && \
41291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41293 "RANLIB=$${RANLIB}" \
41294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41295 html) \
41296 || exit 1
41298 @endif target-libitm
41300 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
41301 maybe-TAGS-target-libitm:
41302 @if target-libitm
41303 maybe-TAGS-target-libitm: TAGS-target-libitm
41305 TAGS-target-libitm: \
41306 configure-target-libitm
41307 @: $(MAKE); $(unstage)
41308 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41309 r=`${PWD_COMMAND}`; export r; \
41310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41311 $(NORMAL_TARGET_EXPORTS) \
41312 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
41313 for flag in $(EXTRA_TARGET_FLAGS); do \
41314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41315 done; \
41316 (cd $(TARGET_SUBDIR)/libitm && \
41317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41319 "RANLIB=$${RANLIB}" \
41320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41321 TAGS) \
41322 || exit 1
41324 @endif target-libitm
41326 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
41327 maybe-install-info-target-libitm:
41328 @if target-libitm
41329 maybe-install-info-target-libitm: install-info-target-libitm
41331 install-info-target-libitm: \
41332 configure-target-libitm \
41333 info-target-libitm
41334 @: $(MAKE); $(unstage)
41335 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41336 r=`${PWD_COMMAND}`; export r; \
41337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41338 $(NORMAL_TARGET_EXPORTS) \
41339 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
41340 for flag in $(EXTRA_TARGET_FLAGS); do \
41341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41342 done; \
41343 (cd $(TARGET_SUBDIR)/libitm && \
41344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41346 "RANLIB=$${RANLIB}" \
41347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41348 install-info) \
41349 || exit 1
41351 @endif target-libitm
41353 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
41354 maybe-install-pdf-target-libitm:
41355 @if target-libitm
41356 maybe-install-pdf-target-libitm: install-pdf-target-libitm
41358 install-pdf-target-libitm: \
41359 configure-target-libitm \
41360 pdf-target-libitm
41361 @: $(MAKE); $(unstage)
41362 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41363 r=`${PWD_COMMAND}`; export r; \
41364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41365 $(NORMAL_TARGET_EXPORTS) \
41366 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
41367 for flag in $(EXTRA_TARGET_FLAGS); do \
41368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41369 done; \
41370 (cd $(TARGET_SUBDIR)/libitm && \
41371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41373 "RANLIB=$${RANLIB}" \
41374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41375 install-pdf) \
41376 || exit 1
41378 @endif target-libitm
41380 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
41381 maybe-install-html-target-libitm:
41382 @if target-libitm
41383 maybe-install-html-target-libitm: install-html-target-libitm
41385 install-html-target-libitm: \
41386 configure-target-libitm \
41387 html-target-libitm
41388 @: $(MAKE); $(unstage)
41389 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41390 r=`${PWD_COMMAND}`; export r; \
41391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41392 $(NORMAL_TARGET_EXPORTS) \
41393 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
41394 for flag in $(EXTRA_TARGET_FLAGS); do \
41395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41396 done; \
41397 (cd $(TARGET_SUBDIR)/libitm && \
41398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41400 "RANLIB=$${RANLIB}" \
41401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41402 install-html) \
41403 || exit 1
41405 @endif target-libitm
41407 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
41408 maybe-installcheck-target-libitm:
41409 @if target-libitm
41410 maybe-installcheck-target-libitm: installcheck-target-libitm
41412 installcheck-target-libitm: \
41413 configure-target-libitm
41414 @: $(MAKE); $(unstage)
41415 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41416 r=`${PWD_COMMAND}`; export r; \
41417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41418 $(NORMAL_TARGET_EXPORTS) \
41419 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
41420 for flag in $(EXTRA_TARGET_FLAGS); do \
41421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41422 done; \
41423 (cd $(TARGET_SUBDIR)/libitm && \
41424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41426 "RANLIB=$${RANLIB}" \
41427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41428 installcheck) \
41429 || exit 1
41431 @endif target-libitm
41433 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
41434 maybe-mostlyclean-target-libitm:
41435 @if target-libitm
41436 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
41438 mostlyclean-target-libitm:
41439 @: $(MAKE); $(unstage)
41440 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41441 r=`${PWD_COMMAND}`; export r; \
41442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41443 $(NORMAL_TARGET_EXPORTS) \
41444 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
41445 for flag in $(EXTRA_TARGET_FLAGS); do \
41446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41447 done; \
41448 (cd $(TARGET_SUBDIR)/libitm && \
41449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41451 "RANLIB=$${RANLIB}" \
41452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41453 mostlyclean) \
41454 || exit 1
41456 @endif target-libitm
41458 .PHONY: maybe-clean-target-libitm clean-target-libitm
41459 maybe-clean-target-libitm:
41460 @if target-libitm
41461 maybe-clean-target-libitm: clean-target-libitm
41463 clean-target-libitm:
41464 @: $(MAKE); $(unstage)
41465 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41466 r=`${PWD_COMMAND}`; export r; \
41467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41468 $(NORMAL_TARGET_EXPORTS) \
41469 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
41470 for flag in $(EXTRA_TARGET_FLAGS); do \
41471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41472 done; \
41473 (cd $(TARGET_SUBDIR)/libitm && \
41474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41476 "RANLIB=$${RANLIB}" \
41477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41478 clean) \
41479 || exit 1
41481 @endif target-libitm
41483 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
41484 maybe-distclean-target-libitm:
41485 @if target-libitm
41486 maybe-distclean-target-libitm: distclean-target-libitm
41488 distclean-target-libitm:
41489 @: $(MAKE); $(unstage)
41490 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41491 r=`${PWD_COMMAND}`; export r; \
41492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41493 $(NORMAL_TARGET_EXPORTS) \
41494 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
41495 for flag in $(EXTRA_TARGET_FLAGS); do \
41496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41497 done; \
41498 (cd $(TARGET_SUBDIR)/libitm && \
41499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41501 "RANLIB=$${RANLIB}" \
41502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41503 distclean) \
41504 || exit 1
41506 @endif target-libitm
41508 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
41509 maybe-maintainer-clean-target-libitm:
41510 @if target-libitm
41511 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
41513 maintainer-clean-target-libitm:
41514 @: $(MAKE); $(unstage)
41515 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41516 r=`${PWD_COMMAND}`; export r; \
41517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41518 $(NORMAL_TARGET_EXPORTS) \
41519 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
41520 for flag in $(EXTRA_TARGET_FLAGS); do \
41521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41522 done; \
41523 (cd $(TARGET_SUBDIR)/libitm && \
41524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41526 "RANLIB=$${RANLIB}" \
41527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41528 maintainer-clean) \
41529 || exit 1
41531 @endif target-libitm
41535 @if target-libmudflap
41536 .PHONY: check-target-libmudflap-c++
41537 check-target-libmudflap-c++:
41538 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
41540 @endif target-libmudflap
41542 # ----------
41543 # GCC module
41544 # ----------
41546 @if gcc-no-bootstrap
41547 .PHONY: cross
41548 cross: all-build all-gas all-ld
41549 @r=`${PWD_COMMAND}`; export r; \
41550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41551 $(HOST_EXPORTS) \
41552 echo "Building the C and C++ compiler"; \
41553 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41554 @r=`${PWD_COMMAND}`; export r; \
41555 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41556 echo "Building runtime libraries"; \
41557 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41558 @endif gcc-no-bootstrap
41560 @if gcc
41562 .PHONY: check-gcc-c check-c
41563 check-gcc-c:
41564 r=`${PWD_COMMAND}`; export r; \
41565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41566 $(HOST_EXPORTS) \
41567 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
41568 check-c: check-gcc-c
41570 .PHONY: check-gcc-c++ check-c++
41571 check-gcc-c++:
41572 r=`${PWD_COMMAND}`; export r; \
41573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41574 $(HOST_EXPORTS) \
41575 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
41576 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++
41578 .PHONY: check-gcc-fortran check-fortran
41579 check-gcc-fortran:
41580 r=`${PWD_COMMAND}`; export r; \
41581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41582 $(HOST_EXPORTS) \
41583 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
41584 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
41586 .PHONY: check-gcc-java check-java
41587 check-gcc-java:
41588 r=`${PWD_COMMAND}`; export r; \
41589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41590 $(HOST_EXPORTS) \
41591 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
41592 check-java: check-gcc-java check-target-libjava
41594 .PHONY: check-gcc-ada check-ada
41595 check-gcc-ada:
41596 r=`${PWD_COMMAND}`; export r; \
41597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41598 $(HOST_EXPORTS) \
41599 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
41600 check-ada: check-gcc-ada check-target-libada
41602 .PHONY: check-gcc-objc check-objc
41603 check-gcc-objc:
41604 r=`${PWD_COMMAND}`; export r; \
41605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41606 $(HOST_EXPORTS) \
41607 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
41608 check-objc: check-gcc-objc check-target-libobjc
41610 .PHONY: check-gcc-obj-c++ check-obj-c++
41611 check-gcc-obj-c++:
41612 r=`${PWD_COMMAND}`; export r; \
41613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41614 $(HOST_EXPORTS) \
41615 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
41616 check-obj-c++: check-gcc-obj-c++
41618 .PHONY: check-gcc-go check-go
41619 check-gcc-go:
41620 r=`${PWD_COMMAND}`; export r; \
41621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41622 $(HOST_EXPORTS) \
41623 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
41624 check-go: check-gcc-go check-target-libgo
41627 # The gcc part of install-no-fixedincludes, which relies on an intimate
41628 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
41629 .PHONY: gcc-install-no-fixedincludes
41630 gcc-install-no-fixedincludes:
41631 @if [ -f ./gcc/Makefile ]; then \
41632 r=`${PWD_COMMAND}`; export r; \
41633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41634 $(HOST_EXPORTS) \
41635 (cd ./gcc \
41636 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
41637 else true; fi
41638 @endif gcc
41640 # ---------------------
41641 # GCC bootstrap support
41642 # ---------------------
41644 # We track the current stage (the one in 'gcc') in the stage_current file.
41645 # stage_last instead tracks the stage that was built last. These targets
41646 # are dummy when toplevel bootstrap is not active.
41648 # While making host and target tools, symlinks to the final stage must be
41649 # there, so $(unstage) should be run at various points. To avoid excessive
41650 # recursive invocations of make, we "inline" them using a variable. These
41651 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41652 # to avoid warnings from the GNU Make job server.
41654 unstage = :
41655 stage = :
41656 current_stage = ""
41658 @if gcc-bootstrap
41659 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41660 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41661 current_stage = "`cat stage_current 2> /dev/null`"
41662 @endif gcc-bootstrap
41664 .PHONY: unstage stage
41665 unstage:
41666 @: $(MAKE); $(unstage)
41667 stage:
41668 @: $(MAKE); $(stage)
41670 # Disable commands for lean bootstrap.
41671 LEAN = false
41673 # We name the build directories for the various stages "stage1-gcc",
41674 # "stage2-gcc","stage3-gcc", etc.
41676 # Since the 'compare' process will fail (on debugging information) if any
41677 # directory names are different, we need to link the gcc directory for
41678 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41679 # the build directories constant as well. For the latter, we use naked names
41680 # like 'gcc', because the scripts in that directory assume it. We use
41681 # mv on platforms where symlinks to directories do not work or are not
41682 # reliable.
41684 # 'touch' doesn't work right on some platforms.
41685 STAMP = echo timestamp >
41687 # We only want to compare .o files, so set this!
41688 objext = .o
41691 .PHONY: stage1-start stage1-end
41693 stage1-start::
41694 @: $(MAKE); $(stage); \
41695 echo stage1 > stage_current ; \
41696 echo stage1 > stage_last; \
41697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41698 @if bfd
41699 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41700 mkdir stage1-bfd; \
41701 mv stage1-bfd bfd
41702 @endif bfd
41703 @if opcodes
41704 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41705 mkdir stage1-opcodes; \
41706 mv stage1-opcodes opcodes
41707 @endif opcodes
41708 @if binutils
41709 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41710 mkdir stage1-binutils; \
41711 mv stage1-binutils binutils
41712 @endif binutils
41713 @if gas
41714 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41715 mkdir stage1-gas; \
41716 mv stage1-gas gas
41717 @endif gas
41718 @if gcc
41719 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41720 mkdir stage1-gcc; \
41721 mv stage1-gcc gcc
41722 @endif gcc
41723 @if gmp
41724 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
41725 mkdir stage1-gmp; \
41726 mv stage1-gmp gmp
41727 @endif gmp
41728 @if mpfr
41729 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
41730 mkdir stage1-mpfr; \
41731 mv stage1-mpfr mpfr
41732 @endif mpfr
41733 @if mpc
41734 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
41735 mkdir stage1-mpc; \
41736 mv stage1-mpc mpc
41737 @endif mpc
41738 @if ppl
41739 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
41740 mkdir stage1-ppl; \
41741 mv stage1-ppl ppl
41742 @endif ppl
41743 @if cloog
41744 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
41745 mkdir stage1-cloog; \
41746 mv stage1-cloog cloog
41747 @endif cloog
41748 @if libelf
41749 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
41750 mkdir stage1-libelf; \
41751 mv stage1-libelf libelf
41752 @endif libelf
41753 @if gold
41754 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
41755 mkdir stage1-gold; \
41756 mv stage1-gold gold
41757 @endif gold
41758 @if intl
41759 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41760 mkdir stage1-intl; \
41761 mv stage1-intl intl
41762 @endif intl
41763 @if ld
41764 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41765 mkdir stage1-ld; \
41766 mv stage1-ld ld
41767 @endif ld
41768 @if libcpp
41769 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41770 mkdir stage1-libcpp; \
41771 mv stage1-libcpp libcpp
41772 @endif libcpp
41773 @if libdecnumber
41774 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41775 mkdir stage1-libdecnumber; \
41776 mv stage1-libdecnumber libdecnumber
41777 @endif libdecnumber
41778 @if libiberty
41779 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41780 mkdir stage1-libiberty; \
41781 mv stage1-libiberty libiberty
41782 @endif libiberty
41783 @if zlib
41784 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41785 mkdir stage1-zlib; \
41786 mv stage1-zlib zlib
41787 @endif zlib
41788 @if lto-plugin
41789 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
41790 mkdir stage1-lto-plugin; \
41791 mv stage1-lto-plugin lto-plugin
41792 @endif lto-plugin
41793 @if function_reordering_plugin
41794 @cd $(HOST_SUBDIR); [ -d stage1-function_reordering_plugin ] || \
41795 mkdir stage1-function_reordering_plugin; \
41796 mv stage1-function_reordering_plugin function_reordering_plugin
41797 @endif function_reordering_plugin
41798 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41799 mkdir stage1-$(TARGET_SUBDIR); \
41800 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41802 stage1-end::
41803 @if bfd
41804 @if test -d $(HOST_SUBDIR)/bfd ; then \
41805 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41807 @endif bfd
41808 @if opcodes
41809 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41810 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41812 @endif opcodes
41813 @if binutils
41814 @if test -d $(HOST_SUBDIR)/binutils ; then \
41815 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41817 @endif binutils
41818 @if gas
41819 @if test -d $(HOST_SUBDIR)/gas ; then \
41820 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41822 @endif gas
41823 @if gcc
41824 @if test -d $(HOST_SUBDIR)/gcc ; then \
41825 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41827 @endif gcc
41828 @if gmp
41829 @if test -d $(HOST_SUBDIR)/gmp ; then \
41830 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
41832 @endif gmp
41833 @if mpfr
41834 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41835 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
41837 @endif mpfr
41838 @if mpc
41839 @if test -d $(HOST_SUBDIR)/mpc ; then \
41840 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
41842 @endif mpc
41843 @if ppl
41844 @if test -d $(HOST_SUBDIR)/ppl ; then \
41845 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
41847 @endif ppl
41848 @if cloog
41849 @if test -d $(HOST_SUBDIR)/cloog ; then \
41850 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
41852 @endif cloog
41853 @if libelf
41854 @if test -d $(HOST_SUBDIR)/libelf ; then \
41855 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
41857 @endif libelf
41858 @if gold
41859 @if test -d $(HOST_SUBDIR)/gold ; then \
41860 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
41862 @endif gold
41863 @if intl
41864 @if test -d $(HOST_SUBDIR)/intl ; then \
41865 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41867 @endif intl
41868 @if ld
41869 @if test -d $(HOST_SUBDIR)/ld ; then \
41870 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41872 @endif ld
41873 @if libcpp
41874 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41875 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41877 @endif libcpp
41878 @if libdecnumber
41879 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41880 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41882 @endif libdecnumber
41883 @if libiberty
41884 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41885 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41887 @endif libiberty
41888 @if zlib
41889 @if test -d $(HOST_SUBDIR)/zlib ; then \
41890 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41892 @endif zlib
41893 @if lto-plugin
41894 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41895 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
41897 @endif lto-plugin
41898 @if function_reordering_plugin
41899 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
41900 cd $(HOST_SUBDIR); mv function_reordering_plugin stage1-function_reordering_plugin ; \
41902 @endif function_reordering_plugin
41903 @if test -d $(TARGET_SUBDIR) ; then \
41904 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41906 rm -f stage_current
41908 # Bubble a bug fix through all the stages up to stage 1. They are
41909 # remade, but not reconfigured. The next stage (if any) will not be
41910 # reconfigured either.
41911 .PHONY: stage1-bubble
41912 stage1-bubble::
41913 @r=`${PWD_COMMAND}`; export r; \
41914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41915 if test -f stage1-lean ; then \
41916 echo Skipping rebuild of stage1 ; \
41917 else \
41918 $(MAKE) stage1-start; \
41919 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
41922 .PHONY: all-stage1 clean-stage1
41923 do-clean: clean-stage1
41925 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41926 # only possibility, but now it conflicts with no-bootstrap rules
41927 @if gcc-bootstrap
41932 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41934 .PHONY: distclean-stage1
41935 distclean-stage1::
41936 @: $(MAKE); $(stage)
41937 @test "`cat stage_last`" != stage1 || rm -f stage_last
41938 rm -rf stage1-*
41941 @endif gcc-bootstrap
41944 .PHONY: stage2-start stage2-end
41946 stage2-start::
41947 @: $(MAKE); $(stage); \
41948 echo stage2 > stage_current ; \
41949 echo stage2 > stage_last; \
41950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41951 @if bfd
41952 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
41953 mkdir stage2-bfd; \
41954 mv stage2-bfd bfd ; \
41955 mv stage1-bfd prev-bfd || test -f stage1-lean
41956 @endif bfd
41957 @if opcodes
41958 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
41959 mkdir stage2-opcodes; \
41960 mv stage2-opcodes opcodes ; \
41961 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41962 @endif opcodes
41963 @if binutils
41964 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
41965 mkdir stage2-binutils; \
41966 mv stage2-binutils binutils ; \
41967 mv stage1-binutils prev-binutils || test -f stage1-lean
41968 @endif binutils
41969 @if gas
41970 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
41971 mkdir stage2-gas; \
41972 mv stage2-gas gas ; \
41973 mv stage1-gas prev-gas || test -f stage1-lean
41974 @endif gas
41975 @if gcc
41976 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
41977 mkdir stage2-gcc; \
41978 mv stage2-gcc gcc ; \
41979 mv stage1-gcc prev-gcc || test -f stage1-lean
41980 @endif gcc
41981 @if gmp
41982 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
41983 mkdir stage2-gmp; \
41984 mv stage2-gmp gmp ; \
41985 mv stage1-gmp prev-gmp || test -f stage1-lean
41986 @endif gmp
41987 @if mpfr
41988 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
41989 mkdir stage2-mpfr; \
41990 mv stage2-mpfr mpfr ; \
41991 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41992 @endif mpfr
41993 @if mpc
41994 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
41995 mkdir stage2-mpc; \
41996 mv stage2-mpc mpc ; \
41997 mv stage1-mpc prev-mpc || test -f stage1-lean
41998 @endif mpc
41999 @if ppl
42000 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
42001 mkdir stage2-ppl; \
42002 mv stage2-ppl ppl ; \
42003 mv stage1-ppl prev-ppl || test -f stage1-lean
42004 @endif ppl
42005 @if cloog
42006 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
42007 mkdir stage2-cloog; \
42008 mv stage2-cloog cloog ; \
42009 mv stage1-cloog prev-cloog || test -f stage1-lean
42010 @endif cloog
42011 @if libelf
42012 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
42013 mkdir stage2-libelf; \
42014 mv stage2-libelf libelf ; \
42015 mv stage1-libelf prev-libelf || test -f stage1-lean
42016 @endif libelf
42017 @if gold
42018 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
42019 mkdir stage2-gold; \
42020 mv stage2-gold gold ; \
42021 mv stage1-gold prev-gold || test -f stage1-lean
42022 @endif gold
42023 @if intl
42024 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
42025 mkdir stage2-intl; \
42026 mv stage2-intl intl ; \
42027 mv stage1-intl prev-intl || test -f stage1-lean
42028 @endif intl
42029 @if ld
42030 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
42031 mkdir stage2-ld; \
42032 mv stage2-ld ld ; \
42033 mv stage1-ld prev-ld || test -f stage1-lean
42034 @endif ld
42035 @if libcpp
42036 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
42037 mkdir stage2-libcpp; \
42038 mv stage2-libcpp libcpp ; \
42039 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42040 @endif libcpp
42041 @if libdecnumber
42042 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
42043 mkdir stage2-libdecnumber; \
42044 mv stage2-libdecnumber libdecnumber ; \
42045 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42046 @endif libdecnumber
42047 @if libiberty
42048 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
42049 mkdir stage2-libiberty; \
42050 mv stage2-libiberty libiberty ; \
42051 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42052 @endif libiberty
42053 @if zlib
42054 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
42055 mkdir stage2-zlib; \
42056 mv stage2-zlib zlib ; \
42057 mv stage1-zlib prev-zlib || test -f stage1-lean
42058 @endif zlib
42059 @if lto-plugin
42060 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
42061 mkdir stage2-lto-plugin; \
42062 mv stage2-lto-plugin lto-plugin ; \
42063 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
42064 @endif lto-plugin
42065 @if function_reordering_plugin
42066 @cd $(HOST_SUBDIR); [ -d stage2-function_reordering_plugin ] || \
42067 mkdir stage2-function_reordering_plugin; \
42068 mv stage2-function_reordering_plugin function_reordering_plugin ; \
42069 mv stage1-function_reordering_plugin prev-function_reordering_plugin || test -f stage1-lean
42070 @endif function_reordering_plugin
42071 @[ -d stage2-$(TARGET_SUBDIR) ] || \
42072 mkdir stage2-$(TARGET_SUBDIR); \
42073 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42074 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42076 stage2-end::
42077 @if bfd
42078 @if test -d $(HOST_SUBDIR)/bfd ; then \
42079 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
42080 mv prev-bfd stage1-bfd ; : ; \
42082 @endif bfd
42083 @if opcodes
42084 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42085 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
42086 mv prev-opcodes stage1-opcodes ; : ; \
42088 @endif opcodes
42089 @if binutils
42090 @if test -d $(HOST_SUBDIR)/binutils ; then \
42091 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
42092 mv prev-binutils stage1-binutils ; : ; \
42094 @endif binutils
42095 @if gas
42096 @if test -d $(HOST_SUBDIR)/gas ; then \
42097 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
42098 mv prev-gas stage1-gas ; : ; \
42100 @endif gas
42101 @if gcc
42102 @if test -d $(HOST_SUBDIR)/gcc ; then \
42103 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
42104 mv prev-gcc stage1-gcc ; : ; \
42106 @endif gcc
42107 @if gmp
42108 @if test -d $(HOST_SUBDIR)/gmp ; then \
42109 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
42110 mv prev-gmp stage1-gmp ; : ; \
42112 @endif gmp
42113 @if mpfr
42114 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42115 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
42116 mv prev-mpfr stage1-mpfr ; : ; \
42118 @endif mpfr
42119 @if mpc
42120 @if test -d $(HOST_SUBDIR)/mpc ; then \
42121 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
42122 mv prev-mpc stage1-mpc ; : ; \
42124 @endif mpc
42125 @if ppl
42126 @if test -d $(HOST_SUBDIR)/ppl ; then \
42127 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
42128 mv prev-ppl stage1-ppl ; : ; \
42130 @endif ppl
42131 @if cloog
42132 @if test -d $(HOST_SUBDIR)/cloog ; then \
42133 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
42134 mv prev-cloog stage1-cloog ; : ; \
42136 @endif cloog
42137 @if libelf
42138 @if test -d $(HOST_SUBDIR)/libelf ; then \
42139 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
42140 mv prev-libelf stage1-libelf ; : ; \
42142 @endif libelf
42143 @if gold
42144 @if test -d $(HOST_SUBDIR)/gold ; then \
42145 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
42146 mv prev-gold stage1-gold ; : ; \
42148 @endif gold
42149 @if intl
42150 @if test -d $(HOST_SUBDIR)/intl ; then \
42151 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
42152 mv prev-intl stage1-intl ; : ; \
42154 @endif intl
42155 @if ld
42156 @if test -d $(HOST_SUBDIR)/ld ; then \
42157 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
42158 mv prev-ld stage1-ld ; : ; \
42160 @endif ld
42161 @if libcpp
42162 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42163 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
42164 mv prev-libcpp stage1-libcpp ; : ; \
42166 @endif libcpp
42167 @if libdecnumber
42168 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42169 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
42170 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42172 @endif libdecnumber
42173 @if libiberty
42174 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42175 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
42176 mv prev-libiberty stage1-libiberty ; : ; \
42178 @endif libiberty
42179 @if zlib
42180 @if test -d $(HOST_SUBDIR)/zlib ; then \
42181 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
42182 mv prev-zlib stage1-zlib ; : ; \
42184 @endif zlib
42185 @if lto-plugin
42186 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42187 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
42188 mv prev-lto-plugin stage1-lto-plugin ; : ; \
42190 @endif lto-plugin
42191 @if function_reordering_plugin
42192 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
42193 cd $(HOST_SUBDIR); mv function_reordering_plugin stage2-function_reordering_plugin ; \
42194 mv prev-function_reordering_plugin stage1-function_reordering_plugin ; : ; \
42196 @endif function_reordering_plugin
42197 @if test -d $(TARGET_SUBDIR) ; then \
42198 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
42199 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42201 rm -f stage_current
42203 # Bubble a bug fix through all the stages up to stage 2. They are
42204 # remade, but not reconfigured. The next stage (if any) will not be
42205 # reconfigured either.
42206 .PHONY: stage2-bubble
42207 stage2-bubble:: stage1-bubble
42208 @r=`${PWD_COMMAND}`; export r; \
42209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42210 if test -f stage2-lean || test -f stage1-lean ; then \
42211 echo Skipping rebuild of stage2 ; \
42212 else \
42213 $(MAKE) stage2-start; \
42214 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
42217 .PHONY: all-stage2 clean-stage2
42218 do-clean: clean-stage2
42220 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42221 # only possibility, but now it conflicts with no-bootstrap rules
42222 @if gcc-bootstrap
42226 .PHONY: bootstrap2 bootstrap2-lean
42227 bootstrap2:
42228 echo stage2 > stage_final
42229 @r=`${PWD_COMMAND}`; export r; \
42230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42231 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
42232 @: $(MAKE); $(unstage)
42233 @r=`${PWD_COMMAND}`; export r; \
42234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42235 TFLAGS="$(STAGE2_TFLAGS)"; \
42236 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42238 bootstrap2-lean:
42239 echo stage2 > stage_final
42240 @r=`${PWD_COMMAND}`; export r; \
42241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42242 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
42243 @: $(MAKE); $(unstage)
42244 @r=`${PWD_COMMAND}`; export r; \
42245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42246 TFLAGS="$(STAGE2_TFLAGS)"; \
42247 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42250 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42251 distclean-stage1:: distclean-stage2
42252 .PHONY: distclean-stage2
42253 distclean-stage2::
42254 @: $(MAKE); $(stage)
42255 @test "`cat stage_last`" != stage2 || rm -f stage_last
42256 rm -rf stage2-*
42259 @endif gcc-bootstrap
42262 .PHONY: stage3-start stage3-end
42264 stage3-start::
42265 @: $(MAKE); $(stage); \
42266 echo stage3 > stage_current ; \
42267 echo stage3 > stage_last; \
42268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42269 @if bfd
42270 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
42271 mkdir stage3-bfd; \
42272 mv stage3-bfd bfd ; \
42273 mv stage2-bfd prev-bfd || test -f stage2-lean
42274 @endif bfd
42275 @if opcodes
42276 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
42277 mkdir stage3-opcodes; \
42278 mv stage3-opcodes opcodes ; \
42279 mv stage2-opcodes prev-opcodes || test -f stage2-lean
42280 @endif opcodes
42281 @if binutils
42282 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
42283 mkdir stage3-binutils; \
42284 mv stage3-binutils binutils ; \
42285 mv stage2-binutils prev-binutils || test -f stage2-lean
42286 @endif binutils
42287 @if gas
42288 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
42289 mkdir stage3-gas; \
42290 mv stage3-gas gas ; \
42291 mv stage2-gas prev-gas || test -f stage2-lean
42292 @endif gas
42293 @if gcc
42294 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
42295 mkdir stage3-gcc; \
42296 mv stage3-gcc gcc ; \
42297 mv stage2-gcc prev-gcc || test -f stage2-lean
42298 @endif gcc
42299 @if gmp
42300 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
42301 mkdir stage3-gmp; \
42302 mv stage3-gmp gmp ; \
42303 mv stage2-gmp prev-gmp || test -f stage2-lean
42304 @endif gmp
42305 @if mpfr
42306 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
42307 mkdir stage3-mpfr; \
42308 mv stage3-mpfr mpfr ; \
42309 mv stage2-mpfr prev-mpfr || test -f stage2-lean
42310 @endif mpfr
42311 @if mpc
42312 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
42313 mkdir stage3-mpc; \
42314 mv stage3-mpc mpc ; \
42315 mv stage2-mpc prev-mpc || test -f stage2-lean
42316 @endif mpc
42317 @if ppl
42318 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
42319 mkdir stage3-ppl; \
42320 mv stage3-ppl ppl ; \
42321 mv stage2-ppl prev-ppl || test -f stage2-lean
42322 @endif ppl
42323 @if cloog
42324 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
42325 mkdir stage3-cloog; \
42326 mv stage3-cloog cloog ; \
42327 mv stage2-cloog prev-cloog || test -f stage2-lean
42328 @endif cloog
42329 @if libelf
42330 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
42331 mkdir stage3-libelf; \
42332 mv stage3-libelf libelf ; \
42333 mv stage2-libelf prev-libelf || test -f stage2-lean
42334 @endif libelf
42335 @if gold
42336 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
42337 mkdir stage3-gold; \
42338 mv stage3-gold gold ; \
42339 mv stage2-gold prev-gold || test -f stage2-lean
42340 @endif gold
42341 @if intl
42342 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
42343 mkdir stage3-intl; \
42344 mv stage3-intl intl ; \
42345 mv stage2-intl prev-intl || test -f stage2-lean
42346 @endif intl
42347 @if ld
42348 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
42349 mkdir stage3-ld; \
42350 mv stage3-ld ld ; \
42351 mv stage2-ld prev-ld || test -f stage2-lean
42352 @endif ld
42353 @if libcpp
42354 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
42355 mkdir stage3-libcpp; \
42356 mv stage3-libcpp libcpp ; \
42357 mv stage2-libcpp prev-libcpp || test -f stage2-lean
42358 @endif libcpp
42359 @if libdecnumber
42360 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
42361 mkdir stage3-libdecnumber; \
42362 mv stage3-libdecnumber libdecnumber ; \
42363 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
42364 @endif libdecnumber
42365 @if libiberty
42366 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
42367 mkdir stage3-libiberty; \
42368 mv stage3-libiberty libiberty ; \
42369 mv stage2-libiberty prev-libiberty || test -f stage2-lean
42370 @endif libiberty
42371 @if zlib
42372 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
42373 mkdir stage3-zlib; \
42374 mv stage3-zlib zlib ; \
42375 mv stage2-zlib prev-zlib || test -f stage2-lean
42376 @endif zlib
42377 @if lto-plugin
42378 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
42379 mkdir stage3-lto-plugin; \
42380 mv stage3-lto-plugin lto-plugin ; \
42381 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
42382 @endif lto-plugin
42383 @if function_reordering_plugin
42384 @cd $(HOST_SUBDIR); [ -d stage3-function_reordering_plugin ] || \
42385 mkdir stage3-function_reordering_plugin; \
42386 mv stage3-function_reordering_plugin function_reordering_plugin ; \
42387 mv stage2-function_reordering_plugin prev-function_reordering_plugin || test -f stage2-lean
42388 @endif function_reordering_plugin
42389 @[ -d stage3-$(TARGET_SUBDIR) ] || \
42390 mkdir stage3-$(TARGET_SUBDIR); \
42391 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42392 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
42394 stage3-end::
42395 @if bfd
42396 @if test -d $(HOST_SUBDIR)/bfd ; then \
42397 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
42398 mv prev-bfd stage2-bfd ; : ; \
42400 @endif bfd
42401 @if opcodes
42402 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42403 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
42404 mv prev-opcodes stage2-opcodes ; : ; \
42406 @endif opcodes
42407 @if binutils
42408 @if test -d $(HOST_SUBDIR)/binutils ; then \
42409 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
42410 mv prev-binutils stage2-binutils ; : ; \
42412 @endif binutils
42413 @if gas
42414 @if test -d $(HOST_SUBDIR)/gas ; then \
42415 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
42416 mv prev-gas stage2-gas ; : ; \
42418 @endif gas
42419 @if gcc
42420 @if test -d $(HOST_SUBDIR)/gcc ; then \
42421 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
42422 mv prev-gcc stage2-gcc ; : ; \
42424 @endif gcc
42425 @if gmp
42426 @if test -d $(HOST_SUBDIR)/gmp ; then \
42427 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
42428 mv prev-gmp stage2-gmp ; : ; \
42430 @endif gmp
42431 @if mpfr
42432 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42433 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
42434 mv prev-mpfr stage2-mpfr ; : ; \
42436 @endif mpfr
42437 @if mpc
42438 @if test -d $(HOST_SUBDIR)/mpc ; then \
42439 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
42440 mv prev-mpc stage2-mpc ; : ; \
42442 @endif mpc
42443 @if ppl
42444 @if test -d $(HOST_SUBDIR)/ppl ; then \
42445 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
42446 mv prev-ppl stage2-ppl ; : ; \
42448 @endif ppl
42449 @if cloog
42450 @if test -d $(HOST_SUBDIR)/cloog ; then \
42451 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
42452 mv prev-cloog stage2-cloog ; : ; \
42454 @endif cloog
42455 @if libelf
42456 @if test -d $(HOST_SUBDIR)/libelf ; then \
42457 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
42458 mv prev-libelf stage2-libelf ; : ; \
42460 @endif libelf
42461 @if gold
42462 @if test -d $(HOST_SUBDIR)/gold ; then \
42463 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
42464 mv prev-gold stage2-gold ; : ; \
42466 @endif gold
42467 @if intl
42468 @if test -d $(HOST_SUBDIR)/intl ; then \
42469 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42470 mv prev-intl stage2-intl ; : ; \
42472 @endif intl
42473 @if ld
42474 @if test -d $(HOST_SUBDIR)/ld ; then \
42475 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42476 mv prev-ld stage2-ld ; : ; \
42478 @endif ld
42479 @if libcpp
42480 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42481 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42482 mv prev-libcpp stage2-libcpp ; : ; \
42484 @endif libcpp
42485 @if libdecnumber
42486 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42487 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42488 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42490 @endif libdecnumber
42491 @if libiberty
42492 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42493 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42494 mv prev-libiberty stage2-libiberty ; : ; \
42496 @endif libiberty
42497 @if zlib
42498 @if test -d $(HOST_SUBDIR)/zlib ; then \
42499 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42500 mv prev-zlib stage2-zlib ; : ; \
42502 @endif zlib
42503 @if lto-plugin
42504 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42505 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
42506 mv prev-lto-plugin stage2-lto-plugin ; : ; \
42508 @endif lto-plugin
42509 @if function_reordering_plugin
42510 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
42511 cd $(HOST_SUBDIR); mv function_reordering_plugin stage3-function_reordering_plugin ; \
42512 mv prev-function_reordering_plugin stage2-function_reordering_plugin ; : ; \
42514 @endif function_reordering_plugin
42515 @if test -d $(TARGET_SUBDIR) ; then \
42516 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42517 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42519 rm -f stage_current
42521 # Bubble a bug fix through all the stages up to stage 3. They are
42522 # remade, but not reconfigured. The next stage (if any) will not be
42523 # reconfigured either.
42524 .PHONY: stage3-bubble
42525 stage3-bubble:: stage2-bubble
42526 @r=`${PWD_COMMAND}`; export r; \
42527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42528 if test -f stage3-lean || test -f stage2-lean ; then \
42529 echo Skipping rebuild of stage3 ; \
42530 else \
42531 $(MAKE) stage3-start; \
42532 if $(LEAN); then \
42533 rm -rf stage1-* ; \
42534 $(STAMP) stage1-lean ; \
42535 fi; \
42536 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42538 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42540 .PHONY: all-stage3 clean-stage3
42541 do-clean: clean-stage3
42543 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42544 # only possibility, but now it conflicts with no-bootstrap rules
42545 @if gcc-bootstrap
42547 compare:
42548 @r=`${PWD_COMMAND}`; export r; \
42549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42550 if test -f stage2-lean; then \
42551 echo Cannot compare object files as stage 2 was deleted. ; \
42552 exit 0 ; \
42553 fi; \
42554 : $(MAKE); $(stage); \
42555 rm -f .bad_compare ; \
42556 echo Comparing stages 2 and 3 ; \
42557 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
42558 files=`find stage3-* -name "*$(objext)" -print | \
42559 sed -n s,^stage$$sed-,,p` ; \
42560 for file in $${files} ; do \
42561 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
42562 if test ! -f $$f1; then continue; fi; \
42563 $(do-compare) > /dev/null 2>&1; \
42564 if test $$? -eq 1; then \
42565 case $$file in \
42566 @compare_exclusions@) \
42567 echo warning: $$file differs ;; \
42568 *) \
42569 echo $$file differs >> .bad_compare ;; \
42570 esac ; \
42571 fi ; \
42572 done ; \
42573 if [ -f .bad_compare ]; then \
42574 echo "Bootstrap comparison failure!"; \
42575 cat .bad_compare; \
42576 exit 1; \
42577 else \
42578 echo Comparison successful.; \
42579 fi ; \
42580 $(STAMP) compare
42581 if $(LEAN); then \
42582 rm -rf stage2-*; \
42583 $(STAMP) stage2-lean; \
42588 .PHONY: bootstrap bootstrap-lean
42589 bootstrap:
42590 echo stage3 > stage_final
42591 @r=`${PWD_COMMAND}`; export r; \
42592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42593 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42594 @: $(MAKE); $(unstage)
42595 @r=`${PWD_COMMAND}`; export r; \
42596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42597 TFLAGS="$(STAGE3_TFLAGS)"; \
42598 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42600 bootstrap-lean:
42601 echo stage3 > stage_final
42602 @r=`${PWD_COMMAND}`; export r; \
42603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42604 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42605 @: $(MAKE); $(unstage)
42606 @r=`${PWD_COMMAND}`; export r; \
42607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42608 TFLAGS="$(STAGE3_TFLAGS)"; \
42609 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42612 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42613 distclean-stage2:: distclean-stage3
42614 .PHONY: distclean-stage3
42615 distclean-stage3::
42616 @: $(MAKE); $(stage)
42617 @test "`cat stage_last`" != stage3 || rm -f stage_last
42618 rm -rf stage3-* compare
42621 .PHONY: cleanstrap
42622 cleanstrap: do-distclean local-clean
42623 echo stage3 > stage_final
42624 @r=`${PWD_COMMAND}`; export r; \
42625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42626 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42627 @: $(MAKE); $(unstage)
42628 @r=`${PWD_COMMAND}`; export r; \
42629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42630 TFLAGS="$(STAGE3_TFLAGS)"; \
42631 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42633 @endif gcc-bootstrap
42636 .PHONY: stage4-start stage4-end
42638 stage4-start::
42639 @: $(MAKE); $(stage); \
42640 echo stage4 > stage_current ; \
42641 echo stage4 > stage_last; \
42642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42643 @if bfd
42644 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42645 mkdir stage4-bfd; \
42646 mv stage4-bfd bfd ; \
42647 mv stage3-bfd prev-bfd || test -f stage3-lean
42648 @endif bfd
42649 @if opcodes
42650 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42651 mkdir stage4-opcodes; \
42652 mv stage4-opcodes opcodes ; \
42653 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42654 @endif opcodes
42655 @if binutils
42656 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42657 mkdir stage4-binutils; \
42658 mv stage4-binutils binutils ; \
42659 mv stage3-binutils prev-binutils || test -f stage3-lean
42660 @endif binutils
42661 @if gas
42662 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42663 mkdir stage4-gas; \
42664 mv stage4-gas gas ; \
42665 mv stage3-gas prev-gas || test -f stage3-lean
42666 @endif gas
42667 @if gcc
42668 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42669 mkdir stage4-gcc; \
42670 mv stage4-gcc gcc ; \
42671 mv stage3-gcc prev-gcc || test -f stage3-lean
42672 @endif gcc
42673 @if gmp
42674 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
42675 mkdir stage4-gmp; \
42676 mv stage4-gmp gmp ; \
42677 mv stage3-gmp prev-gmp || test -f stage3-lean
42678 @endif gmp
42679 @if mpfr
42680 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
42681 mkdir stage4-mpfr; \
42682 mv stage4-mpfr mpfr ; \
42683 mv stage3-mpfr prev-mpfr || test -f stage3-lean
42684 @endif mpfr
42685 @if mpc
42686 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
42687 mkdir stage4-mpc; \
42688 mv stage4-mpc mpc ; \
42689 mv stage3-mpc prev-mpc || test -f stage3-lean
42690 @endif mpc
42691 @if ppl
42692 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
42693 mkdir stage4-ppl; \
42694 mv stage4-ppl ppl ; \
42695 mv stage3-ppl prev-ppl || test -f stage3-lean
42696 @endif ppl
42697 @if cloog
42698 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
42699 mkdir stage4-cloog; \
42700 mv stage4-cloog cloog ; \
42701 mv stage3-cloog prev-cloog || test -f stage3-lean
42702 @endif cloog
42703 @if libelf
42704 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
42705 mkdir stage4-libelf; \
42706 mv stage4-libelf libelf ; \
42707 mv stage3-libelf prev-libelf || test -f stage3-lean
42708 @endif libelf
42709 @if gold
42710 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
42711 mkdir stage4-gold; \
42712 mv stage4-gold gold ; \
42713 mv stage3-gold prev-gold || test -f stage3-lean
42714 @endif gold
42715 @if intl
42716 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42717 mkdir stage4-intl; \
42718 mv stage4-intl intl ; \
42719 mv stage3-intl prev-intl || test -f stage3-lean
42720 @endif intl
42721 @if ld
42722 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42723 mkdir stage4-ld; \
42724 mv stage4-ld ld ; \
42725 mv stage3-ld prev-ld || test -f stage3-lean
42726 @endif ld
42727 @if libcpp
42728 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42729 mkdir stage4-libcpp; \
42730 mv stage4-libcpp libcpp ; \
42731 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42732 @endif libcpp
42733 @if libdecnumber
42734 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42735 mkdir stage4-libdecnumber; \
42736 mv stage4-libdecnumber libdecnumber ; \
42737 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42738 @endif libdecnumber
42739 @if libiberty
42740 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42741 mkdir stage4-libiberty; \
42742 mv stage4-libiberty libiberty ; \
42743 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42744 @endif libiberty
42745 @if zlib
42746 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42747 mkdir stage4-zlib; \
42748 mv stage4-zlib zlib ; \
42749 mv stage3-zlib prev-zlib || test -f stage3-lean
42750 @endif zlib
42751 @if lto-plugin
42752 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
42753 mkdir stage4-lto-plugin; \
42754 mv stage4-lto-plugin lto-plugin ; \
42755 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
42756 @endif lto-plugin
42757 @if function_reordering_plugin
42758 @cd $(HOST_SUBDIR); [ -d stage4-function_reordering_plugin ] || \
42759 mkdir stage4-function_reordering_plugin; \
42760 mv stage4-function_reordering_plugin function_reordering_plugin ; \
42761 mv stage3-function_reordering_plugin prev-function_reordering_plugin || test -f stage3-lean
42762 @endif function_reordering_plugin
42763 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42764 mkdir stage4-$(TARGET_SUBDIR); \
42765 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42766 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42768 stage4-end::
42769 @if bfd
42770 @if test -d $(HOST_SUBDIR)/bfd ; then \
42771 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42772 mv prev-bfd stage3-bfd ; : ; \
42774 @endif bfd
42775 @if opcodes
42776 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42777 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42778 mv prev-opcodes stage3-opcodes ; : ; \
42780 @endif opcodes
42781 @if binutils
42782 @if test -d $(HOST_SUBDIR)/binutils ; then \
42783 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42784 mv prev-binutils stage3-binutils ; : ; \
42786 @endif binutils
42787 @if gas
42788 @if test -d $(HOST_SUBDIR)/gas ; then \
42789 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42790 mv prev-gas stage3-gas ; : ; \
42792 @endif gas
42793 @if gcc
42794 @if test -d $(HOST_SUBDIR)/gcc ; then \
42795 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42796 mv prev-gcc stage3-gcc ; : ; \
42798 @endif gcc
42799 @if gmp
42800 @if test -d $(HOST_SUBDIR)/gmp ; then \
42801 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
42802 mv prev-gmp stage3-gmp ; : ; \
42804 @endif gmp
42805 @if mpfr
42806 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42807 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
42808 mv prev-mpfr stage3-mpfr ; : ; \
42810 @endif mpfr
42811 @if mpc
42812 @if test -d $(HOST_SUBDIR)/mpc ; then \
42813 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
42814 mv prev-mpc stage3-mpc ; : ; \
42816 @endif mpc
42817 @if ppl
42818 @if test -d $(HOST_SUBDIR)/ppl ; then \
42819 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
42820 mv prev-ppl stage3-ppl ; : ; \
42822 @endif ppl
42823 @if cloog
42824 @if test -d $(HOST_SUBDIR)/cloog ; then \
42825 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
42826 mv prev-cloog stage3-cloog ; : ; \
42828 @endif cloog
42829 @if libelf
42830 @if test -d $(HOST_SUBDIR)/libelf ; then \
42831 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
42832 mv prev-libelf stage3-libelf ; : ; \
42834 @endif libelf
42835 @if gold
42836 @if test -d $(HOST_SUBDIR)/gold ; then \
42837 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
42838 mv prev-gold stage3-gold ; : ; \
42840 @endif gold
42841 @if intl
42842 @if test -d $(HOST_SUBDIR)/intl ; then \
42843 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42844 mv prev-intl stage3-intl ; : ; \
42846 @endif intl
42847 @if ld
42848 @if test -d $(HOST_SUBDIR)/ld ; then \
42849 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42850 mv prev-ld stage3-ld ; : ; \
42852 @endif ld
42853 @if libcpp
42854 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42855 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42856 mv prev-libcpp stage3-libcpp ; : ; \
42858 @endif libcpp
42859 @if libdecnumber
42860 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42861 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42862 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42864 @endif libdecnumber
42865 @if libiberty
42866 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42867 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42868 mv prev-libiberty stage3-libiberty ; : ; \
42870 @endif libiberty
42871 @if zlib
42872 @if test -d $(HOST_SUBDIR)/zlib ; then \
42873 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42874 mv prev-zlib stage3-zlib ; : ; \
42876 @endif zlib
42877 @if lto-plugin
42878 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42879 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
42880 mv prev-lto-plugin stage3-lto-plugin ; : ; \
42882 @endif lto-plugin
42883 @if function_reordering_plugin
42884 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
42885 cd $(HOST_SUBDIR); mv function_reordering_plugin stage4-function_reordering_plugin ; \
42886 mv prev-function_reordering_plugin stage3-function_reordering_plugin ; : ; \
42888 @endif function_reordering_plugin
42889 @if test -d $(TARGET_SUBDIR) ; then \
42890 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42891 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42893 rm -f stage_current
42895 # Bubble a bug fix through all the stages up to stage 4. They are
42896 # remade, but not reconfigured. The next stage (if any) will not be
42897 # reconfigured either.
42898 .PHONY: stage4-bubble
42899 stage4-bubble:: stage3-bubble
42900 @r=`${PWD_COMMAND}`; export r; \
42901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42902 if test -f stage4-lean || test -f stage3-lean ; then \
42903 echo Skipping rebuild of stage4 ; \
42904 else \
42905 $(MAKE) stage4-start; \
42906 if $(LEAN); then \
42907 rm -rf stage2-* ; \
42908 $(STAMP) stage2-lean ; \
42909 fi; \
42910 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42912 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42914 .PHONY: all-stage4 clean-stage4
42915 do-clean: clean-stage4
42917 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42918 # only possibility, but now it conflicts with no-bootstrap rules
42919 @if gcc-bootstrap
42921 compare3:
42922 @r=`${PWD_COMMAND}`; export r; \
42923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42924 if test -f stage3-lean; then \
42925 echo Cannot compare object files as stage 3 was deleted. ; \
42926 exit 0 ; \
42927 fi; \
42928 : $(MAKE); $(stage); \
42929 rm -f .bad_compare ; \
42930 echo Comparing stages 3 and 4 ; \
42931 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
42932 files=`find stage4-* -name "*$(objext)" -print | \
42933 sed -n s,^stage$$sed-,,p` ; \
42934 for file in $${files} ; do \
42935 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
42936 if test ! -f $$f1; then continue; fi; \
42937 $(do-compare3) > /dev/null 2>&1; \
42938 if test $$? -eq 1; then \
42939 case $$file in \
42940 @compare_exclusions@) \
42941 echo warning: $$file differs ;; \
42942 *) \
42943 echo $$file differs >> .bad_compare ;; \
42944 esac ; \
42945 fi ; \
42946 done ; \
42947 if [ -f .bad_compare ]; then \
42948 echo "Bootstrap comparison failure!"; \
42949 cat .bad_compare; \
42950 exit 1; \
42951 else \
42952 echo Comparison successful.; \
42953 fi ; \
42954 $(STAMP) compare3
42955 if $(LEAN); then \
42956 rm -rf stage3-*; \
42957 $(STAMP) stage3-lean; \
42962 .PHONY: bootstrap4 bootstrap4-lean
42963 bootstrap4:
42964 echo stage4 > stage_final
42965 @r=`${PWD_COMMAND}`; export r; \
42966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42967 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42968 @: $(MAKE); $(unstage)
42969 @r=`${PWD_COMMAND}`; export r; \
42970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42971 TFLAGS="$(STAGE4_TFLAGS)"; \
42972 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42974 bootstrap4-lean:
42975 echo stage4 > stage_final
42976 @r=`${PWD_COMMAND}`; export r; \
42977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42978 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42979 @: $(MAKE); $(unstage)
42980 @r=`${PWD_COMMAND}`; export r; \
42981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42982 TFLAGS="$(STAGE4_TFLAGS)"; \
42983 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42986 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42987 distclean-stage3:: distclean-stage4
42988 .PHONY: distclean-stage4
42989 distclean-stage4::
42990 @: $(MAKE); $(stage)
42991 @test "`cat stage_last`" != stage4 || rm -f stage_last
42992 rm -rf stage4-* compare3
42995 @endif gcc-bootstrap
42998 .PHONY: stageprofile-start stageprofile-end
43000 stageprofile-start::
43001 @: $(MAKE); $(stage); \
43002 echo stageprofile > stage_current ; \
43003 echo stageprofile > stage_last; \
43004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43005 @if bfd
43006 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
43007 mkdir stageprofile-bfd; \
43008 mv stageprofile-bfd bfd ; \
43009 mv stage1-bfd prev-bfd || test -f stage1-lean
43010 @endif bfd
43011 @if opcodes
43012 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
43013 mkdir stageprofile-opcodes; \
43014 mv stageprofile-opcodes opcodes ; \
43015 mv stage1-opcodes prev-opcodes || test -f stage1-lean
43016 @endif opcodes
43017 @if binutils
43018 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
43019 mkdir stageprofile-binutils; \
43020 mv stageprofile-binutils binutils ; \
43021 mv stage1-binutils prev-binutils || test -f stage1-lean
43022 @endif binutils
43023 @if gas
43024 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
43025 mkdir stageprofile-gas; \
43026 mv stageprofile-gas gas ; \
43027 mv stage1-gas prev-gas || test -f stage1-lean
43028 @endif gas
43029 @if gcc
43030 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
43031 mkdir stageprofile-gcc; \
43032 mv stageprofile-gcc gcc ; \
43033 mv stage1-gcc prev-gcc || test -f stage1-lean
43034 @endif gcc
43035 @if gmp
43036 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
43037 mkdir stageprofile-gmp; \
43038 mv stageprofile-gmp gmp ; \
43039 mv stage1-gmp prev-gmp || test -f stage1-lean
43040 @endif gmp
43041 @if mpfr
43042 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
43043 mkdir stageprofile-mpfr; \
43044 mv stageprofile-mpfr mpfr ; \
43045 mv stage1-mpfr prev-mpfr || test -f stage1-lean
43046 @endif mpfr
43047 @if mpc
43048 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
43049 mkdir stageprofile-mpc; \
43050 mv stageprofile-mpc mpc ; \
43051 mv stage1-mpc prev-mpc || test -f stage1-lean
43052 @endif mpc
43053 @if ppl
43054 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
43055 mkdir stageprofile-ppl; \
43056 mv stageprofile-ppl ppl ; \
43057 mv stage1-ppl prev-ppl || test -f stage1-lean
43058 @endif ppl
43059 @if cloog
43060 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
43061 mkdir stageprofile-cloog; \
43062 mv stageprofile-cloog cloog ; \
43063 mv stage1-cloog prev-cloog || test -f stage1-lean
43064 @endif cloog
43065 @if libelf
43066 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
43067 mkdir stageprofile-libelf; \
43068 mv stageprofile-libelf libelf ; \
43069 mv stage1-libelf prev-libelf || test -f stage1-lean
43070 @endif libelf
43071 @if gold
43072 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
43073 mkdir stageprofile-gold; \
43074 mv stageprofile-gold gold ; \
43075 mv stage1-gold prev-gold || test -f stage1-lean
43076 @endif gold
43077 @if intl
43078 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
43079 mkdir stageprofile-intl; \
43080 mv stageprofile-intl intl ; \
43081 mv stage1-intl prev-intl || test -f stage1-lean
43082 @endif intl
43083 @if ld
43084 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
43085 mkdir stageprofile-ld; \
43086 mv stageprofile-ld ld ; \
43087 mv stage1-ld prev-ld || test -f stage1-lean
43088 @endif ld
43089 @if libcpp
43090 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
43091 mkdir stageprofile-libcpp; \
43092 mv stageprofile-libcpp libcpp ; \
43093 mv stage1-libcpp prev-libcpp || test -f stage1-lean
43094 @endif libcpp
43095 @if libdecnumber
43096 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
43097 mkdir stageprofile-libdecnumber; \
43098 mv stageprofile-libdecnumber libdecnumber ; \
43099 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
43100 @endif libdecnumber
43101 @if libiberty
43102 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
43103 mkdir stageprofile-libiberty; \
43104 mv stageprofile-libiberty libiberty ; \
43105 mv stage1-libiberty prev-libiberty || test -f stage1-lean
43106 @endif libiberty
43107 @if zlib
43108 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
43109 mkdir stageprofile-zlib; \
43110 mv stageprofile-zlib zlib ; \
43111 mv stage1-zlib prev-zlib || test -f stage1-lean
43112 @endif zlib
43113 @if lto-plugin
43114 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
43115 mkdir stageprofile-lto-plugin; \
43116 mv stageprofile-lto-plugin lto-plugin ; \
43117 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
43118 @endif lto-plugin
43119 @if function_reordering_plugin
43120 @cd $(HOST_SUBDIR); [ -d stageprofile-function_reordering_plugin ] || \
43121 mkdir stageprofile-function_reordering_plugin; \
43122 mv stageprofile-function_reordering_plugin function_reordering_plugin ; \
43123 mv stage1-function_reordering_plugin prev-function_reordering_plugin || test -f stage1-lean
43124 @endif function_reordering_plugin
43125 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
43126 mkdir stageprofile-$(TARGET_SUBDIR); \
43127 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43128 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
43130 stageprofile-end::
43131 @if bfd
43132 @if test -d $(HOST_SUBDIR)/bfd ; then \
43133 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
43134 mv prev-bfd stage1-bfd ; : ; \
43136 @endif bfd
43137 @if opcodes
43138 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43139 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
43140 mv prev-opcodes stage1-opcodes ; : ; \
43142 @endif opcodes
43143 @if binutils
43144 @if test -d $(HOST_SUBDIR)/binutils ; then \
43145 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
43146 mv prev-binutils stage1-binutils ; : ; \
43148 @endif binutils
43149 @if gas
43150 @if test -d $(HOST_SUBDIR)/gas ; then \
43151 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
43152 mv prev-gas stage1-gas ; : ; \
43154 @endif gas
43155 @if gcc
43156 @if test -d $(HOST_SUBDIR)/gcc ; then \
43157 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
43158 mv prev-gcc stage1-gcc ; : ; \
43160 @endif gcc
43161 @if gmp
43162 @if test -d $(HOST_SUBDIR)/gmp ; then \
43163 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
43164 mv prev-gmp stage1-gmp ; : ; \
43166 @endif gmp
43167 @if mpfr
43168 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43169 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
43170 mv prev-mpfr stage1-mpfr ; : ; \
43172 @endif mpfr
43173 @if mpc
43174 @if test -d $(HOST_SUBDIR)/mpc ; then \
43175 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
43176 mv prev-mpc stage1-mpc ; : ; \
43178 @endif mpc
43179 @if ppl
43180 @if test -d $(HOST_SUBDIR)/ppl ; then \
43181 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
43182 mv prev-ppl stage1-ppl ; : ; \
43184 @endif ppl
43185 @if cloog
43186 @if test -d $(HOST_SUBDIR)/cloog ; then \
43187 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
43188 mv prev-cloog stage1-cloog ; : ; \
43190 @endif cloog
43191 @if libelf
43192 @if test -d $(HOST_SUBDIR)/libelf ; then \
43193 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
43194 mv prev-libelf stage1-libelf ; : ; \
43196 @endif libelf
43197 @if gold
43198 @if test -d $(HOST_SUBDIR)/gold ; then \
43199 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
43200 mv prev-gold stage1-gold ; : ; \
43202 @endif gold
43203 @if intl
43204 @if test -d $(HOST_SUBDIR)/intl ; then \
43205 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
43206 mv prev-intl stage1-intl ; : ; \
43208 @endif intl
43209 @if ld
43210 @if test -d $(HOST_SUBDIR)/ld ; then \
43211 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
43212 mv prev-ld stage1-ld ; : ; \
43214 @endif ld
43215 @if libcpp
43216 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43217 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
43218 mv prev-libcpp stage1-libcpp ; : ; \
43220 @endif libcpp
43221 @if libdecnumber
43222 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43223 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
43224 mv prev-libdecnumber stage1-libdecnumber ; : ; \
43226 @endif libdecnumber
43227 @if libiberty
43228 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43229 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
43230 mv prev-libiberty stage1-libiberty ; : ; \
43232 @endif libiberty
43233 @if zlib
43234 @if test -d $(HOST_SUBDIR)/zlib ; then \
43235 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
43236 mv prev-zlib stage1-zlib ; : ; \
43238 @endif zlib
43239 @if lto-plugin
43240 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43241 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
43242 mv prev-lto-plugin stage1-lto-plugin ; : ; \
43244 @endif lto-plugin
43245 @if function_reordering_plugin
43246 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
43247 cd $(HOST_SUBDIR); mv function_reordering_plugin stageprofile-function_reordering_plugin ; \
43248 mv prev-function_reordering_plugin stage1-function_reordering_plugin ; : ; \
43250 @endif function_reordering_plugin
43251 @if test -d $(TARGET_SUBDIR) ; then \
43252 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
43253 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
43255 rm -f stage_current
43257 # Bubble a bug fix through all the stages up to stage profile. They are
43258 # remade, but not reconfigured. The next stage (if any) will not be
43259 # reconfigured either.
43260 .PHONY: stageprofile-bubble
43261 stageprofile-bubble:: stage1-bubble
43262 @r=`${PWD_COMMAND}`; export r; \
43263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43264 if test -f stageprofile-lean || test -f stage1-lean ; then \
43265 echo Skipping rebuild of stageprofile ; \
43266 else \
43267 $(MAKE) stageprofile-start; \
43268 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
43271 .PHONY: all-stageprofile clean-stageprofile
43272 do-clean: clean-stageprofile
43274 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43275 # only possibility, but now it conflicts with no-bootstrap rules
43276 @if gcc-bootstrap
43281 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43282 distclean-stage1:: distclean-stageprofile
43283 .PHONY: distclean-stageprofile
43284 distclean-stageprofile::
43285 @: $(MAKE); $(stage)
43286 @test "`cat stage_last`" != stageprofile || rm -f stage_last
43287 rm -rf stageprofile-*
43290 @endif gcc-bootstrap
43293 .PHONY: stagefeedback-start stagefeedback-end
43295 stagefeedback-start::
43296 @: $(MAKE); $(stage); \
43297 echo stagefeedback > stage_current ; \
43298 echo stagefeedback > stage_last; \
43299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43300 @if bfd
43301 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
43302 mkdir stagefeedback-bfd; \
43303 mv stagefeedback-bfd bfd ; \
43304 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
43305 @endif bfd
43306 @if opcodes
43307 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
43308 mkdir stagefeedback-opcodes; \
43309 mv stagefeedback-opcodes opcodes ; \
43310 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
43311 @endif opcodes
43312 @if binutils
43313 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
43314 mkdir stagefeedback-binutils; \
43315 mv stagefeedback-binutils binutils ; \
43316 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
43317 @endif binutils
43318 @if gas
43319 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
43320 mkdir stagefeedback-gas; \
43321 mv stagefeedback-gas gas ; \
43322 mv stageprofile-gas prev-gas || test -f stageprofile-lean
43323 @endif gas
43324 @if gcc
43325 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
43326 mkdir stagefeedback-gcc; \
43327 mv stagefeedback-gcc gcc ; \
43328 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
43329 @endif gcc
43330 @if gmp
43331 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
43332 mkdir stagefeedback-gmp; \
43333 mv stagefeedback-gmp gmp ; \
43334 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
43335 @endif gmp
43336 @if mpfr
43337 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
43338 mkdir stagefeedback-mpfr; \
43339 mv stagefeedback-mpfr mpfr ; \
43340 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
43341 @endif mpfr
43342 @if mpc
43343 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
43344 mkdir stagefeedback-mpc; \
43345 mv stagefeedback-mpc mpc ; \
43346 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
43347 @endif mpc
43348 @if ppl
43349 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
43350 mkdir stagefeedback-ppl; \
43351 mv stagefeedback-ppl ppl ; \
43352 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
43353 @endif ppl
43354 @if cloog
43355 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
43356 mkdir stagefeedback-cloog; \
43357 mv stagefeedback-cloog cloog ; \
43358 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
43359 @endif cloog
43360 @if libelf
43361 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
43362 mkdir stagefeedback-libelf; \
43363 mv stagefeedback-libelf libelf ; \
43364 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
43365 @endif libelf
43366 @if gold
43367 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
43368 mkdir stagefeedback-gold; \
43369 mv stagefeedback-gold gold ; \
43370 mv stageprofile-gold prev-gold || test -f stageprofile-lean
43371 @endif gold
43372 @if intl
43373 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
43374 mkdir stagefeedback-intl; \
43375 mv stagefeedback-intl intl ; \
43376 mv stageprofile-intl prev-intl || test -f stageprofile-lean
43377 @endif intl
43378 @if ld
43379 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
43380 mkdir stagefeedback-ld; \
43381 mv stagefeedback-ld ld ; \
43382 mv stageprofile-ld prev-ld || test -f stageprofile-lean
43383 @endif ld
43384 @if libcpp
43385 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
43386 mkdir stagefeedback-libcpp; \
43387 mv stagefeedback-libcpp libcpp ; \
43388 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
43389 @endif libcpp
43390 @if libdecnumber
43391 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
43392 mkdir stagefeedback-libdecnumber; \
43393 mv stagefeedback-libdecnumber libdecnumber ; \
43394 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
43395 @endif libdecnumber
43396 @if libiberty
43397 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
43398 mkdir stagefeedback-libiberty; \
43399 mv stagefeedback-libiberty libiberty ; \
43400 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
43401 @endif libiberty
43402 @if zlib
43403 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
43404 mkdir stagefeedback-zlib; \
43405 mv stagefeedback-zlib zlib ; \
43406 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
43407 @endif zlib
43408 @if lto-plugin
43409 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
43410 mkdir stagefeedback-lto-plugin; \
43411 mv stagefeedback-lto-plugin lto-plugin ; \
43412 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
43413 @endif lto-plugin
43414 @if function_reordering_plugin
43415 @cd $(HOST_SUBDIR); [ -d stagefeedback-function_reordering_plugin ] || \
43416 mkdir stagefeedback-function_reordering_plugin; \
43417 mv stagefeedback-function_reordering_plugin function_reordering_plugin ; \
43418 mv stageprofile-function_reordering_plugin prev-function_reordering_plugin || test -f stageprofile-lean
43419 @endif function_reordering_plugin
43420 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
43421 mkdir stagefeedback-$(TARGET_SUBDIR); \
43422 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43423 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
43425 stagefeedback-end::
43426 @if bfd
43427 @if test -d $(HOST_SUBDIR)/bfd ; then \
43428 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
43429 mv prev-bfd stageprofile-bfd ; : ; \
43431 @endif bfd
43432 @if opcodes
43433 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43434 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
43435 mv prev-opcodes stageprofile-opcodes ; : ; \
43437 @endif opcodes
43438 @if binutils
43439 @if test -d $(HOST_SUBDIR)/binutils ; then \
43440 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
43441 mv prev-binutils stageprofile-binutils ; : ; \
43443 @endif binutils
43444 @if gas
43445 @if test -d $(HOST_SUBDIR)/gas ; then \
43446 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
43447 mv prev-gas stageprofile-gas ; : ; \
43449 @endif gas
43450 @if gcc
43451 @if test -d $(HOST_SUBDIR)/gcc ; then \
43452 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
43453 mv prev-gcc stageprofile-gcc ; : ; \
43455 @endif gcc
43456 @if gmp
43457 @if test -d $(HOST_SUBDIR)/gmp ; then \
43458 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
43459 mv prev-gmp stageprofile-gmp ; : ; \
43461 @endif gmp
43462 @if mpfr
43463 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43464 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
43465 mv prev-mpfr stageprofile-mpfr ; : ; \
43467 @endif mpfr
43468 @if mpc
43469 @if test -d $(HOST_SUBDIR)/mpc ; then \
43470 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
43471 mv prev-mpc stageprofile-mpc ; : ; \
43473 @endif mpc
43474 @if ppl
43475 @if test -d $(HOST_SUBDIR)/ppl ; then \
43476 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
43477 mv prev-ppl stageprofile-ppl ; : ; \
43479 @endif ppl
43480 @if cloog
43481 @if test -d $(HOST_SUBDIR)/cloog ; then \
43482 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
43483 mv prev-cloog stageprofile-cloog ; : ; \
43485 @endif cloog
43486 @if libelf
43487 @if test -d $(HOST_SUBDIR)/libelf ; then \
43488 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
43489 mv prev-libelf stageprofile-libelf ; : ; \
43491 @endif libelf
43492 @if gold
43493 @if test -d $(HOST_SUBDIR)/gold ; then \
43494 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
43495 mv prev-gold stageprofile-gold ; : ; \
43497 @endif gold
43498 @if intl
43499 @if test -d $(HOST_SUBDIR)/intl ; then \
43500 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
43501 mv prev-intl stageprofile-intl ; : ; \
43503 @endif intl
43504 @if ld
43505 @if test -d $(HOST_SUBDIR)/ld ; then \
43506 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43507 mv prev-ld stageprofile-ld ; : ; \
43509 @endif ld
43510 @if libcpp
43511 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43512 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43513 mv prev-libcpp stageprofile-libcpp ; : ; \
43515 @endif libcpp
43516 @if libdecnumber
43517 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43518 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43519 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43521 @endif libdecnumber
43522 @if libiberty
43523 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43524 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43525 mv prev-libiberty stageprofile-libiberty ; : ; \
43527 @endif libiberty
43528 @if zlib
43529 @if test -d $(HOST_SUBDIR)/zlib ; then \
43530 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43531 mv prev-zlib stageprofile-zlib ; : ; \
43533 @endif zlib
43534 @if lto-plugin
43535 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43536 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
43537 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
43539 @endif lto-plugin
43540 @if function_reordering_plugin
43541 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
43542 cd $(HOST_SUBDIR); mv function_reordering_plugin stagefeedback-function_reordering_plugin ; \
43543 mv prev-function_reordering_plugin stageprofile-function_reordering_plugin ; : ; \
43545 @endif function_reordering_plugin
43546 @if test -d $(TARGET_SUBDIR) ; then \
43547 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43548 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43550 rm -f stage_current
43552 # Bubble a bug fix through all the stages up to stage feedback. They are
43553 # remade, but not reconfigured. The next stage (if any) will not be
43554 # reconfigured either.
43555 .PHONY: stagefeedback-bubble
43556 stagefeedback-bubble:: stageprofile-bubble
43557 @r=`${PWD_COMMAND}`; export r; \
43558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43559 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43560 echo Skipping rebuild of stagefeedback ; \
43561 else \
43562 $(MAKE) stagefeedback-start; \
43563 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43566 .PHONY: all-stagefeedback clean-stagefeedback
43567 do-clean: clean-stagefeedback
43569 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43570 # only possibility, but now it conflicts with no-bootstrap rules
43571 @if gcc-bootstrap
43575 .PHONY: profiledbootstrap profiledbootstrap-lean
43576 profiledbootstrap:
43577 echo stagefeedback > stage_final
43578 @r=`${PWD_COMMAND}`; export r; \
43579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43580 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43581 @: $(MAKE); $(unstage)
43582 @r=`${PWD_COMMAND}`; export r; \
43583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43584 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43585 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43587 profiledbootstrap-lean:
43588 echo stagefeedback > stage_final
43589 @r=`${PWD_COMMAND}`; export r; \
43590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43591 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43592 @: $(MAKE); $(unstage)
43593 @r=`${PWD_COMMAND}`; export r; \
43594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43595 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43596 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43599 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43600 distclean-stageprofile:: distclean-stagefeedback
43601 .PHONY: distclean-stagefeedback
43602 distclean-stagefeedback::
43603 @: $(MAKE); $(stage)
43604 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
43605 rm -rf stagefeedback-*
43608 @endif gcc-bootstrap
43612 stageprofile-end::
43613 $(MAKE) distclean-stagefeedback
43615 stagefeedback-start::
43616 @r=`${PWD_COMMAND}`; export r; \
43617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43618 for i in prev-*; do \
43619 j=`echo $$i | sed s/^prev-//` ; \
43620 cd $$r/$$i && \
43621 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43622 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43623 done
43625 @if gcc-bootstrap
43626 do-distclean: distclean-stage1
43628 # Provide a GCC build when we're building target libraries. This does
43629 # not work as a dependency, just as the minimum necessary to avoid errors.
43630 stage_last:
43631 @r=`${PWD_COMMAND}`; export r; \
43632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43633 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43635 # Same as unstage, but not phony and defaulting to stage1-start. We place
43636 # it in the dependency so that for example `make -j3 all-gcc' works.
43637 stage_current:
43638 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43640 .PHONY: restrap
43641 restrap::
43642 @: $(MAKE); $(stage)
43643 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43644 restrap:: all
43645 @endif gcc-bootstrap
43647 # --------------------------------------
43648 # Dependencies between different modules
43649 # --------------------------------------
43651 # Generic dependencies for target modules on host stuff, especially gcc
43652 @if gcc-bootstrap
43653 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
43654 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
43655 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
43656 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
43657 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
43658 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
43659 configure-target-libmudflap: stage_last
43660 configure-target-libssp: stage_last
43661 configure-target-newlib: stage_last
43662 configure-stage1-target-libgcc: maybe-all-stage1-gcc
43663 configure-stage2-target-libgcc: maybe-all-stage2-gcc
43664 configure-stage3-target-libgcc: maybe-all-stage3-gcc
43665 configure-stage4-target-libgcc: maybe-all-stage4-gcc
43666 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
43667 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
43668 configure-target-libquadmath: stage_last
43669 configure-target-libgfortran: stage_last
43670 configure-target-libobjc: stage_last
43671 configure-target-libgo: stage_last
43672 configure-target-libtermcap: stage_last
43673 configure-target-winsup: stage_last
43674 configure-target-libgloss: stage_last
43675 configure-target-libffi: stage_last
43676 configure-target-libjava: stage_last
43677 configure-target-zlib: stage_last
43678 configure-target-boehm-gc: stage_last
43679 configure-target-rda: stage_last
43680 configure-target-libada: stage_last
43681 configure-stage1-target-libgomp: maybe-all-stage1-gcc
43682 configure-stage2-target-libgomp: maybe-all-stage2-gcc
43683 configure-stage3-target-libgomp: maybe-all-stage3-gcc
43684 configure-stage4-target-libgomp: maybe-all-stage4-gcc
43685 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
43686 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
43687 configure-target-libitm: stage_last
43688 @endif gcc-bootstrap
43690 @if gcc-no-bootstrap
43691 configure-target-libstdc++-v3: maybe-all-gcc
43692 configure-target-libmudflap: maybe-all-gcc
43693 configure-target-libssp: maybe-all-gcc
43694 configure-target-newlib: maybe-all-gcc
43695 configure-target-libgcc: maybe-all-gcc
43696 configure-target-libquadmath: maybe-all-gcc
43697 configure-target-libgfortran: maybe-all-gcc
43698 configure-target-libobjc: maybe-all-gcc
43699 configure-target-libgo: maybe-all-gcc
43700 configure-target-libtermcap: maybe-all-gcc
43701 configure-target-winsup: maybe-all-gcc
43702 configure-target-libgloss: maybe-all-gcc
43703 configure-target-libffi: maybe-all-gcc
43704 configure-target-libjava: maybe-all-gcc
43705 configure-target-zlib: maybe-all-gcc
43706 configure-target-boehm-gc: maybe-all-gcc
43707 configure-target-rda: maybe-all-gcc
43708 configure-target-libada: maybe-all-gcc
43709 configure-target-libgomp: maybe-all-gcc
43710 configure-target-libitm: maybe-all-gcc
43711 @endif gcc-no-bootstrap
43714 # There are two types of dependencies here: 'hard' dependencies, where one
43715 # module simply won't build without the other; and 'soft' dependencies, where
43716 # if the depended-on module is missing, the depending module will do without
43717 # or find a substitute somewhere (perhaps installed). Soft dependencies
43718 # are made here to depend on a 'maybe-' target. If you're not sure,
43719 # it's safer to use a soft dependency.
43726 # With all the machinery above in place, it is pretty easy to generate
43727 # dependencies. Host dependencies are a bit more complex because we have
43728 # to check for bootstrap/prebootstrap dependencies. To resolve
43729 # prebootstrap dependencies, prebootstrap modules are gathered in
43730 # a hash table.
43731 all-build-bison: maybe-all-build-texinfo
43732 all-build-flex: maybe-all-build-texinfo
43733 all-build-flex: maybe-all-build-bison
43734 all-build-flex: maybe-all-build-m4
43735 all-build-libiberty: maybe-all-build-texinfo
43736 all-build-m4: maybe-all-build-texinfo
43737 all-build-fixincludes: maybe-all-build-libiberty
43738 configure-gcc: maybe-configure-intl
43740 configure-stage1-gcc: maybe-configure-stage1-intl
43741 configure-stage2-gcc: maybe-configure-stage2-intl
43742 configure-stage3-gcc: maybe-configure-stage3-intl
43743 configure-stage4-gcc: maybe-configure-stage4-intl
43744 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43745 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43746 configure-gcc: maybe-all-lto-plugin
43748 configure-stage1-gcc: maybe-all-stage1-lto-plugin
43749 configure-stage2-gcc: maybe-all-stage2-lto-plugin
43750 configure-stage3-gcc: maybe-all-stage3-lto-plugin
43751 configure-stage4-gcc: maybe-all-stage4-lto-plugin
43752 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43753 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43754 configure-gcc: maybe-all-function_reordering_plugin
43756 configure-stage1-gcc: maybe-all-stage1-function_reordering_plugin
43757 configure-stage2-gcc: maybe-all-stage2-function_reordering_plugin
43758 configure-stage3-gcc: maybe-all-stage3-function_reordering_plugin
43759 configure-stage4-gcc: maybe-all-stage4-function_reordering_plugin
43760 configure-stageprofile-gcc: maybe-all-stageprofile-function_reordering_plugin
43761 configure-stagefeedback-gcc: maybe-all-stagefeedback-function_reordering_plugin
43762 configure-gcc: maybe-all-binutils
43764 configure-stage1-gcc: maybe-all-stage1-binutils
43765 configure-stage2-gcc: maybe-all-stage2-binutils
43766 configure-stage3-gcc: maybe-all-stage3-binutils
43767 configure-stage4-gcc: maybe-all-stage4-binutils
43768 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43769 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43770 configure-gcc: maybe-all-gas
43772 configure-stage1-gcc: maybe-all-stage1-gas
43773 configure-stage2-gcc: maybe-all-stage2-gas
43774 configure-stage3-gcc: maybe-all-stage3-gas
43775 configure-stage4-gcc: maybe-all-stage4-gas
43776 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43777 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43778 configure-gcc: maybe-all-ld
43780 configure-stage1-gcc: maybe-all-stage1-ld
43781 configure-stage2-gcc: maybe-all-stage2-ld
43782 configure-stage3-gcc: maybe-all-stage3-ld
43783 configure-stage4-gcc: maybe-all-stage4-ld
43784 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43785 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43786 configure-gcc: maybe-all-gold
43788 configure-stage1-gcc: maybe-all-stage1-gold
43789 configure-stage2-gcc: maybe-all-stage2-gold
43790 configure-stage3-gcc: maybe-all-stage3-gold
43791 configure-stage4-gcc: maybe-all-stage4-gold
43792 configure-stageprofile-gcc: maybe-all-stageprofile-gold
43793 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
43794 configure-gcc: maybe-all-libelf
43796 configure-stage1-gcc: maybe-all-stage1-libelf
43797 configure-stage2-gcc: maybe-all-stage2-libelf
43798 configure-stage3-gcc: maybe-all-stage3-libelf
43799 configure-stage4-gcc: maybe-all-stage4-libelf
43800 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
43801 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
43802 all-gcc: all-libiberty
43804 all-stage1-gcc: all-stage1-libiberty
43805 all-stage2-gcc: all-stage2-libiberty
43806 all-stage3-gcc: all-stage3-libiberty
43807 all-stage4-gcc: all-stage4-libiberty
43808 all-stageprofile-gcc: all-stageprofile-libiberty
43809 all-stagefeedback-gcc: all-stagefeedback-libiberty
43810 all-gcc: maybe-all-gmp
43812 all-stage1-gcc: maybe-all-stage1-gmp
43813 all-stage2-gcc: maybe-all-stage2-gmp
43814 all-stage3-gcc: maybe-all-stage3-gmp
43815 all-stage4-gcc: maybe-all-stage4-gmp
43816 all-stageprofile-gcc: maybe-all-stageprofile-gmp
43817 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
43818 all-gcc: maybe-all-intl
43820 all-stage1-gcc: maybe-all-stage1-intl
43821 all-stage2-gcc: maybe-all-stage2-intl
43822 all-stage3-gcc: maybe-all-stage3-intl
43823 all-stage4-gcc: maybe-all-stage4-intl
43824 all-stageprofile-gcc: maybe-all-stageprofile-intl
43825 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43826 all-gcc: maybe-all-mpfr
43828 all-stage1-gcc: maybe-all-stage1-mpfr
43829 all-stage2-gcc: maybe-all-stage2-mpfr
43830 all-stage3-gcc: maybe-all-stage3-mpfr
43831 all-stage4-gcc: maybe-all-stage4-mpfr
43832 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
43833 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
43834 all-gcc: maybe-all-mpc
43836 all-stage1-gcc: maybe-all-stage1-mpc
43837 all-stage2-gcc: maybe-all-stage2-mpc
43838 all-stage3-gcc: maybe-all-stage3-mpc
43839 all-stage4-gcc: maybe-all-stage4-mpc
43840 all-stageprofile-gcc: maybe-all-stageprofile-mpc
43841 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
43842 all-gcc: maybe-all-ppl
43844 all-stage1-gcc: maybe-all-stage1-ppl
43845 all-stage2-gcc: maybe-all-stage2-ppl
43846 all-stage3-gcc: maybe-all-stage3-ppl
43847 all-stage4-gcc: maybe-all-stage4-ppl
43848 all-stageprofile-gcc: maybe-all-stageprofile-ppl
43849 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
43850 all-gcc: maybe-all-cloog
43852 all-stage1-gcc: maybe-all-stage1-cloog
43853 all-stage2-gcc: maybe-all-stage2-cloog
43854 all-stage3-gcc: maybe-all-stage3-cloog
43855 all-stage4-gcc: maybe-all-stage4-cloog
43856 all-stageprofile-gcc: maybe-all-stageprofile-cloog
43857 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
43858 all-gcc: maybe-all-build-texinfo
43860 all-stage1-gcc: maybe-all-build-texinfo
43861 all-stage2-gcc: maybe-all-build-texinfo
43862 all-stage3-gcc: maybe-all-build-texinfo
43863 all-stage4-gcc: maybe-all-build-texinfo
43864 all-stageprofile-gcc: maybe-all-build-texinfo
43865 all-stagefeedback-gcc: maybe-all-build-texinfo
43866 all-gcc: maybe-all-build-bison
43868 all-stage1-gcc: maybe-all-build-bison
43869 all-stage2-gcc: maybe-all-build-bison
43870 all-stage3-gcc: maybe-all-build-bison
43871 all-stage4-gcc: maybe-all-build-bison
43872 all-stageprofile-gcc: maybe-all-build-bison
43873 all-stagefeedback-gcc: maybe-all-build-bison
43874 all-gcc: maybe-all-build-flex
43876 all-stage1-gcc: maybe-all-build-flex
43877 all-stage2-gcc: maybe-all-build-flex
43878 all-stage3-gcc: maybe-all-build-flex
43879 all-stage4-gcc: maybe-all-build-flex
43880 all-stageprofile-gcc: maybe-all-build-flex
43881 all-stagefeedback-gcc: maybe-all-build-flex
43882 all-gcc: maybe-all-build-libiberty
43884 all-stage1-gcc: maybe-all-build-libiberty
43885 all-stage2-gcc: maybe-all-build-libiberty
43886 all-stage3-gcc: maybe-all-build-libiberty
43887 all-stage4-gcc: maybe-all-build-libiberty
43888 all-stageprofile-gcc: maybe-all-build-libiberty
43889 all-stagefeedback-gcc: maybe-all-build-libiberty
43890 all-gcc: maybe-all-build-fixincludes
43892 all-stage1-gcc: maybe-all-build-fixincludes
43893 all-stage2-gcc: maybe-all-build-fixincludes
43894 all-stage3-gcc: maybe-all-build-fixincludes
43895 all-stage4-gcc: maybe-all-build-fixincludes
43896 all-stageprofile-gcc: maybe-all-build-fixincludes
43897 all-stagefeedback-gcc: maybe-all-build-fixincludes
43898 all-gcc: maybe-all-zlib
43900 all-stage1-gcc: maybe-all-stage1-zlib
43901 all-stage2-gcc: maybe-all-stage2-zlib
43902 all-stage3-gcc: maybe-all-stage3-zlib
43903 all-stage4-gcc: maybe-all-stage4-zlib
43904 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43905 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43906 all-gcc: all-libcpp
43908 all-stage1-gcc: all-stage1-libcpp
43909 all-stage2-gcc: all-stage2-libcpp
43910 all-stage3-gcc: all-stage3-libcpp
43911 all-stage4-gcc: all-stage4-libcpp
43912 all-stageprofile-gcc: all-stageprofile-libcpp
43913 all-stagefeedback-gcc: all-stagefeedback-libcpp
43914 all-gcc: all-libdecnumber
43916 all-stage1-gcc: all-stage1-libdecnumber
43917 all-stage2-gcc: all-stage2-libdecnumber
43918 all-stage3-gcc: all-stage3-libdecnumber
43919 all-stage4-gcc: all-stage4-libdecnumber
43920 all-stageprofile-gcc: all-stageprofile-libdecnumber
43921 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43922 all-gcc: maybe-all-libiberty
43924 all-stage1-gcc: maybe-all-stage1-libiberty
43925 all-stage2-gcc: maybe-all-stage2-libiberty
43926 all-stage3-gcc: maybe-all-stage3-libiberty
43927 all-stage4-gcc: maybe-all-stage4-libiberty
43928 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43929 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43930 all-gcc: maybe-all-fixincludes
43931 all-gcc: maybe-all-lto-plugin
43933 all-stage1-gcc: maybe-all-stage1-lto-plugin
43934 all-stage2-gcc: maybe-all-stage2-lto-plugin
43935 all-stage3-gcc: maybe-all-stage3-lto-plugin
43936 all-stage4-gcc: maybe-all-stage4-lto-plugin
43937 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43938 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43939 all-gcc: maybe-all-function_reordering_plugin
43941 all-stage1-gcc: maybe-all-stage1-function_reordering_plugin
43942 all-stage2-gcc: maybe-all-stage2-function_reordering_plugin
43943 all-stage3-gcc: maybe-all-stage3-function_reordering_plugin
43944 all-stage4-gcc: maybe-all-stage4-function_reordering_plugin
43945 all-stageprofile-gcc: maybe-all-stageprofile-function_reordering_plugin
43946 all-stagefeedback-gcc: maybe-all-stagefeedback-function_reordering_plugin
43947 info-gcc: maybe-all-build-libiberty
43949 info-stage1-gcc: maybe-all-build-libiberty
43950 info-stage2-gcc: maybe-all-build-libiberty
43951 info-stage3-gcc: maybe-all-build-libiberty
43952 info-stage4-gcc: maybe-all-build-libiberty
43953 info-stageprofile-gcc: maybe-all-build-libiberty
43954 info-stagefeedback-gcc: maybe-all-build-libiberty
43955 dvi-gcc: maybe-all-build-libiberty
43957 dvi-stage1-gcc: maybe-all-build-libiberty
43958 dvi-stage2-gcc: maybe-all-build-libiberty
43959 dvi-stage3-gcc: maybe-all-build-libiberty
43960 dvi-stage4-gcc: maybe-all-build-libiberty
43961 dvi-stageprofile-gcc: maybe-all-build-libiberty
43962 dvi-stagefeedback-gcc: maybe-all-build-libiberty
43963 pdf-gcc: maybe-all-build-libiberty
43965 pdf-stage1-gcc: maybe-all-build-libiberty
43966 pdf-stage2-gcc: maybe-all-build-libiberty
43967 pdf-stage3-gcc: maybe-all-build-libiberty
43968 pdf-stage4-gcc: maybe-all-build-libiberty
43969 pdf-stageprofile-gcc: maybe-all-build-libiberty
43970 pdf-stagefeedback-gcc: maybe-all-build-libiberty
43971 html-gcc: maybe-all-build-libiberty
43973 html-stage1-gcc: maybe-all-build-libiberty
43974 html-stage2-gcc: maybe-all-build-libiberty
43975 html-stage3-gcc: maybe-all-build-libiberty
43976 html-stage4-gcc: maybe-all-build-libiberty
43977 html-stageprofile-gcc: maybe-all-build-libiberty
43978 html-stagefeedback-gcc: maybe-all-build-libiberty
43979 install-gcc: maybe-install-fixincludes
43980 install-gcc: maybe-install-lto-plugin
43981 install-gcc: maybe-install-function_reordering_plugin
43982 install-strip-gcc: maybe-install-strip-fixincludes
43983 install-strip-gcc: maybe-install-strip-lto-plugin
43984 install-strip-gcc: maybe-install-strip-function_reordering_plugin
43985 configure-libcpp: configure-libiberty
43987 configure-stage1-libcpp: configure-stage1-libiberty
43988 configure-stage2-libcpp: configure-stage2-libiberty
43989 configure-stage3-libcpp: configure-stage3-libiberty
43990 configure-stage4-libcpp: configure-stage4-libiberty
43991 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43992 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43993 configure-libcpp: maybe-configure-intl
43995 configure-stage1-libcpp: maybe-configure-stage1-intl
43996 configure-stage2-libcpp: maybe-configure-stage2-intl
43997 configure-stage3-libcpp: maybe-configure-stage3-intl
43998 configure-stage4-libcpp: maybe-configure-stage4-intl
43999 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
44000 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
44001 all-libcpp: all-libiberty
44003 all-stage1-libcpp: all-stage1-libiberty
44004 all-stage2-libcpp: all-stage2-libiberty
44005 all-stage3-libcpp: all-stage3-libiberty
44006 all-stage4-libcpp: all-stage4-libiberty
44007 all-stageprofile-libcpp: all-stageprofile-libiberty
44008 all-stagefeedback-libcpp: all-stagefeedback-libiberty
44009 all-libcpp: maybe-all-intl
44011 all-stage1-libcpp: maybe-all-stage1-intl
44012 all-stage2-libcpp: maybe-all-stage2-intl
44013 all-stage3-libcpp: maybe-all-stage3-intl
44014 all-stage4-libcpp: maybe-all-stage4-intl
44015 all-stageprofile-libcpp: maybe-all-stageprofile-intl
44016 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
44017 all-fixincludes: maybe-all-libiberty
44018 all-gnattools: maybe-all-target-libada
44019 all-lto-plugin: maybe-all-libiberty
44021 all-stage1-lto-plugin: maybe-all-stage1-libiberty
44022 all-stage2-lto-plugin: maybe-all-stage2-libiberty
44023 all-stage3-lto-plugin: maybe-all-stage3-libiberty
44024 all-stage4-lto-plugin: maybe-all-stage4-libiberty
44025 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
44026 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
44027 all-function_reordering_plugin: maybe-all-libiberty
44029 all-stage1-function_reordering_plugin: maybe-all-stage1-libiberty
44030 all-stage2-function_reordering_plugin: maybe-all-stage2-libiberty
44031 all-stage3-function_reordering_plugin: maybe-all-stage3-libiberty
44032 all-stage4-function_reordering_plugin: maybe-all-stage4-libiberty
44033 all-stageprofile-function_reordering_plugin: maybe-all-stageprofile-libiberty
44034 all-stagefeedback-function_reordering_plugin: maybe-all-stagefeedback-libiberty
44035 all-utils: maybe-all-libiberty
44036 configure-mpfr: maybe-all-gmp
44038 configure-stage1-mpfr: maybe-all-stage1-gmp
44039 configure-stage2-mpfr: maybe-all-stage2-gmp
44040 configure-stage3-mpfr: maybe-all-stage3-gmp
44041 configure-stage4-mpfr: maybe-all-stage4-gmp
44042 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
44043 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
44044 configure-mpc: maybe-all-mpfr
44046 configure-stage1-mpc: maybe-all-stage1-mpfr
44047 configure-stage2-mpc: maybe-all-stage2-mpfr
44048 configure-stage3-mpc: maybe-all-stage3-mpfr
44049 configure-stage4-mpc: maybe-all-stage4-mpfr
44050 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
44051 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
44052 configure-ppl: maybe-all-gmp
44054 configure-stage1-ppl: maybe-all-stage1-gmp
44055 configure-stage2-ppl: maybe-all-stage2-gmp
44056 configure-stage3-ppl: maybe-all-stage3-gmp
44057 configure-stage4-ppl: maybe-all-stage4-gmp
44058 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
44059 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
44060 configure-ppl: maybe-all-mpfr
44062 configure-stage1-ppl: maybe-all-stage1-mpfr
44063 configure-stage2-ppl: maybe-all-stage2-mpfr
44064 configure-stage3-ppl: maybe-all-stage3-mpfr
44065 configure-stage4-ppl: maybe-all-stage4-mpfr
44066 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
44067 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
44068 configure-cloog: maybe-all-ppl
44070 configure-stage1-cloog: maybe-all-stage1-ppl
44071 configure-stage2-cloog: maybe-all-stage2-ppl
44072 configure-stage3-cloog: maybe-all-stage3-ppl
44073 configure-stage4-cloog: maybe-all-stage4-ppl
44074 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
44075 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
44076 configure-gdb: maybe-all-intl
44077 configure-gdb: maybe-configure-sim
44078 configure-gdb: maybe-all-bfd
44079 configure-gdb: maybe-all-libiconv
44080 all-gdb: maybe-all-libiberty
44081 all-gdb: maybe-all-libiconv
44082 all-gdb: maybe-all-opcodes
44083 all-gdb: maybe-all-readline
44084 all-gdb: maybe-all-build-bison
44085 all-gdb: maybe-all-sim
44086 all-gdb: maybe-all-libdecnumber
44087 all-gdb: maybe-all-libtermcap
44088 configure-libgui: maybe-configure-tcl
44089 configure-libgui: maybe-configure-tk
44090 all-libgui: maybe-all-tcl
44091 all-libgui: maybe-all-tk
44092 all-libgui: maybe-all-itcl
44093 configure-bfd: configure-libiberty
44095 configure-stage1-bfd: configure-stage1-libiberty
44096 configure-stage2-bfd: configure-stage2-libiberty
44097 configure-stage3-bfd: configure-stage3-libiberty
44098 configure-stage4-bfd: configure-stage4-libiberty
44099 configure-stageprofile-bfd: configure-stageprofile-libiberty
44100 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
44101 configure-bfd: maybe-configure-intl
44103 configure-stage1-bfd: maybe-configure-stage1-intl
44104 configure-stage2-bfd: maybe-configure-stage2-intl
44105 configure-stage3-bfd: maybe-configure-stage3-intl
44106 configure-stage4-bfd: maybe-configure-stage4-intl
44107 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
44108 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
44109 all-bfd: maybe-all-libiberty
44111 all-stage1-bfd: maybe-all-stage1-libiberty
44112 all-stage2-bfd: maybe-all-stage2-libiberty
44113 all-stage3-bfd: maybe-all-stage3-libiberty
44114 all-stage4-bfd: maybe-all-stage4-libiberty
44115 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
44116 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
44117 all-bfd: maybe-all-intl
44119 all-stage1-bfd: maybe-all-stage1-intl
44120 all-stage2-bfd: maybe-all-stage2-intl
44121 all-stage3-bfd: maybe-all-stage3-intl
44122 all-stage4-bfd: maybe-all-stage4-intl
44123 all-stageprofile-bfd: maybe-all-stageprofile-intl
44124 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
44125 configure-opcodes: configure-libiberty
44127 configure-stage1-opcodes: configure-stage1-libiberty
44128 configure-stage2-opcodes: configure-stage2-libiberty
44129 configure-stage3-opcodes: configure-stage3-libiberty
44130 configure-stage4-opcodes: configure-stage4-libiberty
44131 configure-stageprofile-opcodes: configure-stageprofile-libiberty
44132 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
44133 all-opcodes: maybe-all-libiberty
44135 all-stage1-opcodes: maybe-all-stage1-libiberty
44136 all-stage2-opcodes: maybe-all-stage2-libiberty
44137 all-stage3-opcodes: maybe-all-stage3-libiberty
44138 all-stage4-opcodes: maybe-all-stage4-libiberty
44139 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
44140 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
44141 configure-binutils: maybe-configure-intl
44143 configure-stage1-binutils: maybe-configure-stage1-intl
44144 configure-stage2-binutils: maybe-configure-stage2-intl
44145 configure-stage3-binutils: maybe-configure-stage3-intl
44146 configure-stage4-binutils: maybe-configure-stage4-intl
44147 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
44148 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
44149 all-binutils: maybe-all-libiberty
44151 all-stage1-binutils: maybe-all-stage1-libiberty
44152 all-stage2-binutils: maybe-all-stage2-libiberty
44153 all-stage3-binutils: maybe-all-stage3-libiberty
44154 all-stage4-binutils: maybe-all-stage4-libiberty
44155 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
44156 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
44157 all-binutils: maybe-all-opcodes
44159 all-stage1-binutils: maybe-all-stage1-opcodes
44160 all-stage2-binutils: maybe-all-stage2-opcodes
44161 all-stage3-binutils: maybe-all-stage3-opcodes
44162 all-stage4-binutils: maybe-all-stage4-opcodes
44163 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
44164 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
44165 all-binutils: maybe-all-bfd
44167 all-stage1-binutils: maybe-all-stage1-bfd
44168 all-stage2-binutils: maybe-all-stage2-bfd
44169 all-stage3-binutils: maybe-all-stage3-bfd
44170 all-stage4-binutils: maybe-all-stage4-bfd
44171 all-stageprofile-binutils: maybe-all-stageprofile-bfd
44172 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
44173 all-binutils: maybe-all-build-flex
44175 all-stage1-binutils: maybe-all-build-flex
44176 all-stage2-binutils: maybe-all-build-flex
44177 all-stage3-binutils: maybe-all-build-flex
44178 all-stage4-binutils: maybe-all-build-flex
44179 all-stageprofile-binutils: maybe-all-build-flex
44180 all-stagefeedback-binutils: maybe-all-build-flex
44181 all-binutils: maybe-all-build-bison
44183 all-stage1-binutils: maybe-all-build-bison
44184 all-stage2-binutils: maybe-all-build-bison
44185 all-stage3-binutils: maybe-all-build-bison
44186 all-stage4-binutils: maybe-all-build-bison
44187 all-stageprofile-binutils: maybe-all-build-bison
44188 all-stagefeedback-binutils: maybe-all-build-bison
44189 all-binutils: maybe-all-intl
44191 all-stage1-binutils: maybe-all-stage1-intl
44192 all-stage2-binutils: maybe-all-stage2-intl
44193 all-stage3-binutils: maybe-all-stage3-intl
44194 all-stage4-binutils: maybe-all-stage4-intl
44195 all-stageprofile-binutils: maybe-all-stageprofile-intl
44196 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
44197 install-binutils: maybe-install-opcodes
44198 install-strip-binutils: maybe-install-strip-opcodes
44199 install-opcodes: maybe-install-bfd
44200 install-strip-opcodes: maybe-install-strip-bfd
44201 configure-gas: maybe-configure-intl
44203 configure-stage1-gas: maybe-configure-stage1-intl
44204 configure-stage2-gas: maybe-configure-stage2-intl
44205 configure-stage3-gas: maybe-configure-stage3-intl
44206 configure-stage4-gas: maybe-configure-stage4-intl
44207 configure-stageprofile-gas: maybe-configure-stageprofile-intl
44208 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
44209 all-gas: maybe-all-libiberty
44211 all-stage1-gas: maybe-all-stage1-libiberty
44212 all-stage2-gas: maybe-all-stage2-libiberty
44213 all-stage3-gas: maybe-all-stage3-libiberty
44214 all-stage4-gas: maybe-all-stage4-libiberty
44215 all-stageprofile-gas: maybe-all-stageprofile-libiberty
44216 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
44217 all-gas: maybe-all-opcodes
44219 all-stage1-gas: maybe-all-stage1-opcodes
44220 all-stage2-gas: maybe-all-stage2-opcodes
44221 all-stage3-gas: maybe-all-stage3-opcodes
44222 all-stage4-gas: maybe-all-stage4-opcodes
44223 all-stageprofile-gas: maybe-all-stageprofile-opcodes
44224 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
44225 all-gas: maybe-all-bfd
44227 all-stage1-gas: maybe-all-stage1-bfd
44228 all-stage2-gas: maybe-all-stage2-bfd
44229 all-stage3-gas: maybe-all-stage3-bfd
44230 all-stage4-gas: maybe-all-stage4-bfd
44231 all-stageprofile-gas: maybe-all-stageprofile-bfd
44232 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
44233 all-gas: maybe-all-intl
44235 all-stage1-gas: maybe-all-stage1-intl
44236 all-stage2-gas: maybe-all-stage2-intl
44237 all-stage3-gas: maybe-all-stage3-intl
44238 all-stage4-gas: maybe-all-stage4-intl
44239 all-stageprofile-gas: maybe-all-stageprofile-intl
44240 all-stagefeedback-gas: maybe-all-stagefeedback-intl
44241 configure-gprof: maybe-configure-intl
44242 all-gprof: maybe-all-libiberty
44243 all-gprof: maybe-all-bfd
44244 all-gprof: maybe-all-opcodes
44245 all-gprof: maybe-all-intl
44246 configure-ld: maybe-configure-intl
44248 configure-stage1-ld: maybe-configure-stage1-intl
44249 configure-stage2-ld: maybe-configure-stage2-intl
44250 configure-stage3-ld: maybe-configure-stage3-intl
44251 configure-stage4-ld: maybe-configure-stage4-intl
44252 configure-stageprofile-ld: maybe-configure-stageprofile-intl
44253 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
44254 all-ld: maybe-all-libiberty
44256 all-stage1-ld: maybe-all-stage1-libiberty
44257 all-stage2-ld: maybe-all-stage2-libiberty
44258 all-stage3-ld: maybe-all-stage3-libiberty
44259 all-stage4-ld: maybe-all-stage4-libiberty
44260 all-stageprofile-ld: maybe-all-stageprofile-libiberty
44261 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
44262 all-ld: maybe-all-bfd
44264 all-stage1-ld: maybe-all-stage1-bfd
44265 all-stage2-ld: maybe-all-stage2-bfd
44266 all-stage3-ld: maybe-all-stage3-bfd
44267 all-stage4-ld: maybe-all-stage4-bfd
44268 all-stageprofile-ld: maybe-all-stageprofile-bfd
44269 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
44270 all-ld: maybe-all-opcodes
44272 all-stage1-ld: maybe-all-stage1-opcodes
44273 all-stage2-ld: maybe-all-stage2-opcodes
44274 all-stage3-ld: maybe-all-stage3-opcodes
44275 all-stage4-ld: maybe-all-stage4-opcodes
44276 all-stageprofile-ld: maybe-all-stageprofile-opcodes
44277 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
44278 all-ld: maybe-all-build-bison
44280 all-stage1-ld: maybe-all-build-bison
44281 all-stage2-ld: maybe-all-build-bison
44282 all-stage3-ld: maybe-all-build-bison
44283 all-stage4-ld: maybe-all-build-bison
44284 all-stageprofile-ld: maybe-all-build-bison
44285 all-stagefeedback-ld: maybe-all-build-bison
44286 all-ld: maybe-all-build-flex
44288 all-stage1-ld: maybe-all-build-flex
44289 all-stage2-ld: maybe-all-build-flex
44290 all-stage3-ld: maybe-all-build-flex
44291 all-stage4-ld: maybe-all-build-flex
44292 all-stageprofile-ld: maybe-all-build-flex
44293 all-stagefeedback-ld: maybe-all-build-flex
44294 all-ld: maybe-all-intl
44296 all-stage1-ld: maybe-all-stage1-intl
44297 all-stage2-ld: maybe-all-stage2-intl
44298 all-stage3-ld: maybe-all-stage3-intl
44299 all-stage4-ld: maybe-all-stage4-intl
44300 all-stageprofile-ld: maybe-all-stageprofile-intl
44301 all-stagefeedback-ld: maybe-all-stagefeedback-intl
44302 install-ld: maybe-install-gold
44303 install-strip-ld: maybe-install-strip-gold
44304 configure-gold: maybe-configure-intl
44306 configure-stage1-gold: maybe-configure-stage1-intl
44307 configure-stage2-gold: maybe-configure-stage2-intl
44308 configure-stage3-gold: maybe-configure-stage3-intl
44309 configure-stage4-gold: maybe-configure-stage4-intl
44310 configure-stageprofile-gold: maybe-configure-stageprofile-intl
44311 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
44312 all-gold: maybe-all-libiberty
44314 all-stage1-gold: maybe-all-stage1-libiberty
44315 all-stage2-gold: maybe-all-stage2-libiberty
44316 all-stage3-gold: maybe-all-stage3-libiberty
44317 all-stage4-gold: maybe-all-stage4-libiberty
44318 all-stageprofile-gold: maybe-all-stageprofile-libiberty
44319 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
44320 all-gold: maybe-all-intl
44322 all-stage1-gold: maybe-all-stage1-intl
44323 all-stage2-gold: maybe-all-stage2-intl
44324 all-stage3-gold: maybe-all-stage3-intl
44325 all-stage4-gold: maybe-all-stage4-intl
44326 all-stageprofile-gold: maybe-all-stageprofile-intl
44327 all-stagefeedback-gold: maybe-all-stagefeedback-intl
44328 all-gold: maybe-all-bfd
44330 all-stage1-gold: maybe-all-stage1-bfd
44331 all-stage2-gold: maybe-all-stage2-bfd
44332 all-stage3-gold: maybe-all-stage3-bfd
44333 all-stage4-gold: maybe-all-stage4-bfd
44334 all-stageprofile-gold: maybe-all-stageprofile-bfd
44335 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
44336 all-gold: maybe-all-build-bison
44338 all-stage1-gold: maybe-all-build-bison
44339 all-stage2-gold: maybe-all-build-bison
44340 all-stage3-gold: maybe-all-build-bison
44341 all-stage4-gold: maybe-all-build-bison
44342 all-stageprofile-gold: maybe-all-build-bison
44343 all-stagefeedback-gold: maybe-all-build-bison
44344 check-gold: maybe-all-binutils
44346 check-stage1-gold: maybe-all-stage1-binutils
44347 check-stage2-gold: maybe-all-stage2-binutils
44348 check-stage3-gold: maybe-all-stage3-binutils
44349 check-stage4-gold: maybe-all-stage4-binutils
44350 check-stageprofile-gold: maybe-all-stageprofile-binutils
44351 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
44352 check-gold: maybe-all-gas
44354 check-stage1-gold: maybe-all-stage1-gas
44355 check-stage2-gold: maybe-all-stage2-gas
44356 check-stage3-gold: maybe-all-stage3-gas
44357 check-stage4-gold: maybe-all-stage4-gas
44358 check-stageprofile-gold: maybe-all-stageprofile-gas
44359 check-stagefeedback-gold: maybe-all-stagefeedback-gas
44360 configure-opcodes: maybe-configure-intl
44362 configure-stage1-opcodes: maybe-configure-stage1-intl
44363 configure-stage2-opcodes: maybe-configure-stage2-intl
44364 configure-stage3-opcodes: maybe-configure-stage3-intl
44365 configure-stage4-opcodes: maybe-configure-stage4-intl
44366 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
44367 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
44368 all-opcodes: maybe-all-bfd
44370 all-stage1-opcodes: maybe-all-stage1-bfd
44371 all-stage2-opcodes: maybe-all-stage2-bfd
44372 all-stage3-opcodes: maybe-all-stage3-bfd
44373 all-stage4-opcodes: maybe-all-stage4-bfd
44374 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
44375 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
44376 all-opcodes: maybe-all-libiberty
44378 all-stage1-opcodes: maybe-all-stage1-libiberty
44379 all-stage2-opcodes: maybe-all-stage2-libiberty
44380 all-stage3-opcodes: maybe-all-stage3-libiberty
44381 all-stage4-opcodes: maybe-all-stage4-libiberty
44382 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
44383 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
44384 all-opcodes: maybe-all-intl
44386 all-stage1-opcodes: maybe-all-stage1-intl
44387 all-stage2-opcodes: maybe-all-stage2-intl
44388 all-stage3-opcodes: maybe-all-stage3-intl
44389 all-stage4-opcodes: maybe-all-stage4-intl
44390 all-stageprofile-opcodes: maybe-all-stageprofile-intl
44391 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
44392 all-dejagnu: maybe-all-tcl
44393 all-dejagnu: maybe-all-expect
44394 all-dejagnu: maybe-all-tk
44395 configure-expect: maybe-configure-tcl
44396 configure-expect: maybe-configure-tk
44397 all-expect: maybe-all-tcl
44398 all-expect: maybe-all-tk
44399 configure-itcl: maybe-configure-tcl
44400 configure-itcl: maybe-configure-tk
44401 all-itcl: maybe-all-tcl
44402 all-itcl: maybe-all-tk
44403 install-itcl: maybe-install-tcl
44404 install-strip-itcl: maybe-install-strip-tcl
44405 configure-tk: maybe-configure-tcl
44406 all-tk: maybe-all-tcl
44407 all-sid: maybe-all-libiberty
44408 all-sid: maybe-all-bfd
44409 all-sid: maybe-all-opcodes
44410 all-sid: maybe-all-tcl
44411 all-sid: maybe-all-tk
44412 install-sid: maybe-install-tcl
44413 install-strip-sid: maybe-install-strip-tcl
44414 install-sid: maybe-install-tk
44415 install-strip-sid: maybe-install-strip-tk
44416 configure-sim: maybe-configure-intl
44417 all-sim: maybe-all-intl
44418 all-sim: maybe-all-libiberty
44419 all-sim: maybe-all-bfd
44420 all-sim: maybe-all-opcodes
44421 all-sim: maybe-all-readline
44422 all-sim: maybe-configure-gdb
44423 all-fastjar: maybe-all-zlib
44424 all-fastjar: maybe-all-build-texinfo
44425 all-fastjar: maybe-all-libiberty
44426 all-bison: maybe-all-intl
44427 all-bison: maybe-all-build-texinfo
44428 all-flex: maybe-all-build-bison
44429 all-flex: maybe-all-intl
44430 all-flex: maybe-all-m4
44431 all-flex: maybe-all-build-texinfo
44432 all-m4: maybe-all-intl
44433 all-m4: maybe-all-build-texinfo
44434 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
44435 configure-target-fastjar: maybe-configure-target-zlib
44436 all-target-fastjar: maybe-all-target-zlib
44437 configure-target-libgo: maybe-configure-target-libffi
44438 configure-target-libgo: maybe-all-target-libstdc++-v3
44439 all-target-libgo: maybe-all-target-libffi
44440 configure-target-libjava: maybe-configure-target-zlib
44441 configure-target-libjava: maybe-configure-target-boehm-gc
44442 configure-target-libjava: maybe-configure-target-libffi
44443 all-target-libjava: maybe-all-fastjar
44444 all-target-libjava: maybe-all-target-zlib
44445 all-target-libjava: maybe-all-target-boehm-gc
44446 all-target-libjava: maybe-all-target-libffi
44447 configure-target-libobjc: maybe-configure-target-boehm-gc
44448 all-target-libobjc: maybe-all-target-boehm-gc
44449 configure-target-libmudflap: maybe-configure-target-libstdc++-v3
44450 configure-target-libstdc++-v3: maybe-configure-target-libgomp
44452 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
44453 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
44454 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
44455 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
44456 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
44457 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
44458 all-target-libstdc++-v3: maybe-configure-target-libgomp
44460 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
44461 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
44462 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
44463 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
44464 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
44465 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
44466 all-target-libgloss: maybe-all-target-newlib
44467 all-target-winsup: maybe-all-target-libtermcap
44468 configure-target-newlib: maybe-all-binutils
44469 configure-target-newlib: maybe-all-ld
44470 configure-target-libgfortran: maybe-all-target-libquadmath
44473 # Dependencies for target modules on other target modules are
44474 # described by lang_env_dependencies; the defaults apply to anything
44475 # not mentioned there.
44478 @if gcc-bootstrap
44479 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
44480 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
44481 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
44482 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
44483 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
44484 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
44485 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
44486 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
44487 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
44488 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
44489 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
44490 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
44491 @endif gcc-bootstrap
44493 @if gcc-no-bootstrap
44494 configure-target-libstdc++-v3: maybe-all-target-libgcc
44495 configure-target-libmudflap: maybe-all-target-libgcc
44496 configure-target-libssp: maybe-all-target-libgcc
44497 configure-target-newlib: maybe-all-target-libgcc
44498 configure-target-libquadmath: maybe-all-target-libgcc
44499 configure-target-libgfortran: maybe-all-target-libgcc
44500 configure-target-libobjc: maybe-all-target-libgcc
44501 configure-target-libgo: maybe-all-target-libgcc
44502 configure-target-libtermcap: maybe-all-target-libgcc
44503 configure-target-winsup: maybe-all-target-libgcc
44504 configure-target-libgloss: maybe-all-target-libgcc
44505 configure-target-libffi: maybe-all-target-libgcc
44506 configure-target-libjava: maybe-all-target-libgcc
44507 configure-target-zlib: maybe-all-target-libgcc
44508 configure-target-boehm-gc: maybe-all-target-libgcc
44509 configure-target-rda: maybe-all-target-libgcc
44510 configure-target-libada: maybe-all-target-libgcc
44511 configure-target-libgomp: maybe-all-target-libgcc
44512 configure-target-libitm: maybe-all-target-libgcc
44513 @endif gcc-no-bootstrap
44516 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
44518 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
44520 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
44524 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
44526 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
44528 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
44530 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
44532 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
44534 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
44537 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
44539 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
44540 configure-target-libjava: maybe-all-target-libstdc++-v3
44542 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
44544 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
44546 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
44548 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
44550 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
44552 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
44553 configure-target-libitm: maybe-all-target-libstdc++-v3
44556 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
44557 GDB_TK = @GDB_TK@
44558 INSTALL_GDB_TK = @INSTALL_GDB_TK@
44559 configure-gdb: $(CONFIGURE_GDB_TK)
44560 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
44561 install-gdb: $(INSTALL_GDB_TK)
44563 # Serialization dependencies. Host configures don't work well in parallel to
44564 # each other, due to contention over config.cache. Target configures and
44565 # build configures are similar.
44566 @serialization_dependencies@
44568 # --------------------------------
44569 # Regenerating top level configury
44570 # --------------------------------
44572 # Rebuilding Makefile.in, using autogen.
44573 AUTOGEN = autogen
44574 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
44575 cd $(srcdir) && $(AUTOGEN) Makefile.def
44577 # Rebuilding Makefile.
44578 Makefile: $(srcdir)/Makefile.in config.status
44579 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
44581 config.status: configure
44582 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
44584 # Rebuilding configure.
44585 AUTOCONF = autoconf
44586 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
44587 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
44588 cd $(srcdir) && $(AUTOCONF)
44590 # ------------------------------
44591 # Special directives to GNU Make
44592 # ------------------------------
44594 # Don't pass command-line variables to submakes.
44595 .NOEXPORT:
44596 MAKEOVERRIDES=
44598 # end of Makefile.in