utf8
[official-gcc.git] / Makefile.in
blobdef860e386d173d87b7352411591dc1d11f41b04
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
223 PPLINC="$(HOST_PPLINC)"; export PPLINC; \
224 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
225 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
228 @if gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
230 @endif gcc-bootstrap
231 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
233 POSTSTAGE1_CXX_EXPORT = \
234 CXX='$(CXX)'; export CXX; \
235 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
236 @if target-libstdc++-v3-bootstrap
237 # Override the above if we're bootstrapping C++.
238 POSTSTAGE1_CXX_EXPORT = \
239 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
240 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
242 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
243 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
244 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
245 -I$$s/libstdc++-v3/libsupc++ \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
247 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
248 export CXX; \
249 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
250 @endif target-libstdc++-v3-bootstrap
252 # Similar, for later GCC stages.
253 POSTSTAGE1_HOST_EXPORTS = \
254 $(HOST_EXPORTS) \
255 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
256 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
257 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
258 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
259 $(POSTSTAGE1_CXX_EXPORT) \
260 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
261 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
262 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
264 # Target libraries are put under this directory:
265 TARGET_SUBDIR = @target_subdir@
266 # This is set by the configure script to the arguments to use when configuring
267 # directories built for the target.
268 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
269 # This is the list of variables to export in the environment when
270 # configuring subdirectories for the target system.
271 BASE_TARGET_EXPORTS = \
272 $(BASE_EXPORTS) \
273 AR="$(AR_FOR_TARGET)"; export AR; \
274 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
275 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
276 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
277 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
278 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
280 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
281 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
282 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
283 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
284 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
285 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
286 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
287 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
288 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
289 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
290 READELF="$(READELF_FOR_TARGET)"; export READELF; \
291 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
292 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
293 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
294 @if gcc-bootstrap
295 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
296 @endif gcc-bootstrap
297 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
298 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
300 RAW_CXX_TARGET_EXPORTS = \
301 $(BASE_TARGET_EXPORTS) \
302 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
303 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
305 NORMAL_TARGET_EXPORTS = \
306 $(BASE_TARGET_EXPORTS) \
307 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
309 # Where to find GMP
310 HOST_GMPLIBS = @gmplibs@
311 HOST_GMPINC = @gmpinc@
313 # Where to find PPL
314 HOST_PPLLIBS = @ppllibs@
315 HOST_PPLINC = @pplinc@
317 # Where to find CLOOG
318 HOST_CLOOGLIBS = @clooglibs@
319 HOST_CLOOGINC = @clooginc@
321 # Where to find libelf
322 HOST_LIBELFLIBS = @libelflibs@
323 HOST_LIBELFINC = @libelfinc@
325 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
327 # ----------------------------------------------
328 # Programs producing files for the BUILD machine
329 # ----------------------------------------------
331 SHELL = @SHELL@
333 # pwd command to use. Allow user to override default by setting PWDCMD in
334 # the environment to account for automounters. The make variable must not
335 # be called PWDCMD, otherwise the value set here is passed to make
336 # subprocesses and overrides the setting from the user's environment.
337 # Don't use PWD since it is a common shell environment variable and we
338 # don't want to corrupt it.
339 PWD_COMMAND = $${PWDCMD-pwd}
341 # compilers to use to create programs which must be run in the build
342 # environment.
343 AR_FOR_BUILD = @AR_FOR_BUILD@
344 AS_FOR_BUILD = @AS_FOR_BUILD@
345 CC_FOR_BUILD = @CC_FOR_BUILD@
346 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
347 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
348 CXX_FOR_BUILD = @CXX_FOR_BUILD@
349 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
350 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
351 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
352 GOC_FOR_BUILD = @GOC_FOR_BUILD@
353 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
354 LD_FOR_BUILD = @LD_FOR_BUILD@
355 NM_FOR_BUILD = @NM_FOR_BUILD@
356 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
357 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
358 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
360 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
361 # here so that they can be overridden by Makefile fragments.
362 BUILD_PREFIX = @BUILD_PREFIX@
363 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
365 # Flags to pass to stage2 and later makes. They are defined
366 # here so that they can be overridden by Makefile fragments.
367 BOOT_CFLAGS= -g -O2
368 BOOT_LDFLAGS=
369 BOOT_ADAFLAGS=-gnatpg -gnata
371 AWK = @AWK@
372 SED = @SED@
373 BISON = @BISON@
374 YACC = @YACC@
375 FLEX = @FLEX@
376 LEX = @LEX@
377 M4 = @M4@
378 MAKEINFO = @MAKEINFO@
379 EXPECT = @EXPECT@
380 RUNTEST = @RUNTEST@
382 # This just becomes part of the MAKEINFO definition passed down to
383 # sub-makes. It lets flags be given on the command line while still
384 # using the makeinfo from the object tree.
385 # (Default to avoid splitting info files by setting the threshold high.)
386 MAKEINFOFLAGS = --split-size=5000000
388 # ---------------------------------------------
389 # Programs producing files for the HOST machine
390 # ---------------------------------------------
392 AS = @AS@
393 AR = @AR@
394 AR_FLAGS = rc
395 CC = @CC@
396 CXX = @CXX@
397 DLLTOOL = @DLLTOOL@
398 LD = @LD@
399 LIPO = @LIPO@
400 NM = @NM@
401 OBJDUMP = @OBJDUMP@
402 RANLIB = @RANLIB@
403 READELF = @READELF@
404 STRIP = @STRIP@
405 WINDRES = @WINDRES@
406 WINDMC = @WINDMC@
408 GNATBIND = @GNATBIND@
409 GNATMAKE = @GNATMAKE@
411 CFLAGS = @CFLAGS@
412 LDFLAGS = @LDFLAGS@
413 LIBCFLAGS = $(CFLAGS)
414 CXXFLAGS = @CXXFLAGS@
415 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
416 GOCFLAGS = $(CFLAGS)
418 TFLAGS =
420 # Defaults for all stages; some are overridden below.
422 STAGE_CFLAGS = $(BOOT_CFLAGS)
423 STAGE_TFLAGS = $(TFLAGS)
424 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
425 POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
428 # Defaults for stage 1; some are overridden below.
429 STAGE1_CFLAGS = $(STAGE_CFLAGS)
430 STAGE1_CXXFLAGS = $(CXXFLAGS)
431 @if target-libstdc++-v3-bootstrap
432 # Override the above if we're bootstrapping C++.
433 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
434 @endif target-libstdc++-v3-bootstrap
435 STAGE1_TFLAGS = $(STAGE_TFLAGS)
436 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
437 # POSTSTAGE1_CONFIGURE_FLAGS here.
438 STAGE1_CONFIGURE_FLAGS = \
439 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
441 # Defaults for stage 2; some are overridden below.
442 STAGE2_CFLAGS = $(STAGE_CFLAGS)
443 STAGE2_CXXFLAGS = $(CXXFLAGS)
444 @if target-libstdc++-v3-bootstrap
445 # Override the above if we're bootstrapping C++.
446 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
447 @endif target-libstdc++-v3-bootstrap
448 STAGE2_TFLAGS = $(STAGE_TFLAGS)
449 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
450 # POSTSTAGE1_CONFIGURE_FLAGS here.
451 STAGE2_CONFIGURE_FLAGS = \
452 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
454 # Defaults for stage 3; some are overridden below.
455 STAGE3_CFLAGS = $(STAGE_CFLAGS)
456 STAGE3_CXXFLAGS = $(CXXFLAGS)
457 @if target-libstdc++-v3-bootstrap
458 # Override the above if we're bootstrapping C++.
459 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
460 @endif target-libstdc++-v3-bootstrap
461 STAGE3_TFLAGS = $(STAGE_TFLAGS)
462 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
463 # POSTSTAGE1_CONFIGURE_FLAGS here.
464 STAGE3_CONFIGURE_FLAGS = \
465 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
467 # Defaults for stage 4; some are overridden below.
468 STAGE4_CFLAGS = $(STAGE_CFLAGS)
469 STAGE4_CXXFLAGS = $(CXXFLAGS)
470 @if target-libstdc++-v3-bootstrap
471 # Override the above if we're bootstrapping C++.
472 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
473 @endif target-libstdc++-v3-bootstrap
474 STAGE4_TFLAGS = $(STAGE_TFLAGS)
475 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
476 # POSTSTAGE1_CONFIGURE_FLAGS here.
477 STAGE4_CONFIGURE_FLAGS = \
478 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
480 # Defaults for stage profile; some are overridden below.
481 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
482 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
483 @if target-libstdc++-v3-bootstrap
484 # Override the above if we're bootstrapping C++.
485 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
486 @endif target-libstdc++-v3-bootstrap
487 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
488 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
489 # POSTSTAGE1_CONFIGURE_FLAGS here.
490 STAGEprofile_CONFIGURE_FLAGS = \
491 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
493 # Defaults for stage feedback; some are overridden below.
494 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
495 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
496 @if target-libstdc++-v3-bootstrap
497 # Override the above if we're bootstrapping C++.
498 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
499 @endif target-libstdc++-v3-bootstrap
500 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
501 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
502 # POSTSTAGE1_CONFIGURE_FLAGS here.
503 STAGEfeedback_CONFIGURE_FLAGS = \
504 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
507 # Only build the C compiler for stage1, because that is the only one that
508 # we can guarantee will build with the native compiler, and also it is the
509 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
510 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
511 # overrideable (for a bootstrap build stage1 also builds gcc.info).
513 STAGE1_CFLAGS = @stage1_cflags@
514 STAGE1_CHECKING = @stage1_checking@
515 STAGE1_LANGUAGES = @stage1_languages@
516 # * We force-disable intermodule optimizations, even if
517 # --enable-intermodule was passed, since the installed compiler
518 # probably can't handle them. Luckily, autoconf always respects
519 # the last argument when conflicting --enable arguments are passed.
520 # * Likewise, we force-disable coverage flags, since the installed
521 # compiler probably has never heard of them.
522 # * Don't remove this, because above we added
523 # POSTSTAGE1_CONFIGURE_FLAGS to STAGE_CONFIGURE_FLAGS, which
524 # we don't want for STAGE1_CONFIGURE_FLAGS.
525 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
526 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
528 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
529 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
531 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
532 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
534 do-compare = @do_compare@
535 do-compare3 = $(do-compare)
537 # -----------------------------------------------
538 # Programs producing files for the TARGET machine
539 # -----------------------------------------------
541 AR_FOR_TARGET=@AR_FOR_TARGET@
542 AS_FOR_TARGET=@AS_FOR_TARGET@
543 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
545 # If GCC_FOR_TARGET is not overriden on the command line, then this
546 # variable is passed down to the gcc Makefile, where it is used to
547 # build libgcc2.a. We define it here so that it can itself be
548 # overridden on the command line.
549 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
550 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
551 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
552 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
553 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
554 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
555 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
556 LD_FOR_TARGET=@LD_FOR_TARGET@
558 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
559 NM_FOR_TARGET=@NM_FOR_TARGET@
560 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
561 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
562 READELF_FOR_TARGET=@READELF_FOR_TARGET@
563 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
564 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
565 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
567 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
568 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
569 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
571 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
572 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
574 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
575 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
576 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
577 GOCFLAGS_FOR_TARGET = -O2 -g
579 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
580 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
581 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
583 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
585 # ------------------------------------
586 # Miscellaneous targets and flag lists
587 # ------------------------------------
589 # The first rule in the file had better be this one. Don't put any above it.
590 # This lives here to allow makefile fragments to contain dependencies.
591 all:
593 #### host and target specific makefile fragments come in here.
594 @target_makefile_frag@
595 @alphaieee_frag@
596 @ospace_frag@
597 @host_makefile_frag@
600 # This is the list of directories that may be needed in RPATH_ENVVAR
601 # so that programs built for the target machine work.
602 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
604 @if target-libstdc++-v3
605 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
606 @endif target-libstdc++-v3
608 @if target-libmudflap
609 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
610 @endif target-libmudflap
612 @if target-libssp
613 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
614 @endif target-libssp
616 @if target-libgomp
617 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
618 @endif target-libgomp
620 @if target-libitm
621 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
622 @endif target-libitm
624 @if target-libatomic
625 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
626 @endif target-libatomic
630 # This is the list of directories that may be needed in RPATH_ENVVAR
631 # so that programs built for the host machine work.
632 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)
634 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
635 @if gcc
636 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
637 @endif gcc
640 @if bfd
641 HOST_LIB_PATH_bfd = \
642 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
643 @endif bfd
645 @if opcodes
646 HOST_LIB_PATH_opcodes = \
647 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
648 @endif opcodes
650 @if gmp
651 HOST_LIB_PATH_gmp = \
652 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
653 @endif gmp
655 @if mpfr
656 HOST_LIB_PATH_mpfr = \
657 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
658 @endif mpfr
660 @if mpc
661 HOST_LIB_PATH_mpc = \
662 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
663 @endif mpc
665 @if ppl
666 HOST_LIB_PATH_ppl = \
667 $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
668 @endif ppl
670 @if cloog
671 HOST_LIB_PATH_cloog = \
672 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
673 @endif cloog
675 @if libelf
676 HOST_LIB_PATH_libelf = \
677 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
678 @endif libelf
681 CXX_FOR_TARGET_FLAG_TO_PASS = \
682 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
683 @if target-libstdc++-v3
684 # CXX_FOR_TARGET is tricky to get right for target libs that require a
685 # functional C++ compiler. When we recurse, if we expand
686 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
687 # libstdc++ include flags from the script. Instead, we get an
688 # -funconfigured-* word, so that we'll get errors if this invalid C++
689 # command line is used for anything, but also so that we can use the
690 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
691 # don't pass it on, sub-make will use the default definition, that
692 # re-expands it at the time of use, so we'll get it right when we need
693 # it. One potential exception is the expansion of CXX_FOR_TARGET
694 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
695 # really work, for C++ host programs can't depend on the current-stage
696 # C++ target library.
697 CXX_FOR_TARGET_FLAG_TO_PASS = \
698 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
699 @endif target-libstdc++-v3
701 # Flags to pass down to all sub-makes.
702 BASE_FLAGS_TO_PASS = \
703 "DESTDIR=$(DESTDIR)" \
704 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
705 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
706 "bindir=$(bindir)" \
707 "datadir=$(datadir)" \
708 "exec_prefix=$(exec_prefix)" \
709 "includedir=$(includedir)" \
710 "datarootdir=$(datarootdir)" \
711 "docdir=$(docdir)" \
712 "infodir=$(infodir)" \
713 "pdfdir=$(pdfdir)" \
714 "htmldir=$(htmldir)" \
715 "libdir=$(libdir)" \
716 "libexecdir=$(libexecdir)" \
717 "lispdir=$(lispdir)" \
718 "localstatedir=$(localstatedir)" \
719 "mandir=$(mandir)" \
720 "oldincludedir=$(oldincludedir)" \
721 "prefix=$(prefix)" \
722 "sbindir=$(sbindir)" \
723 "sharedstatedir=$(sharedstatedir)" \
724 "sysconfdir=$(sysconfdir)" \
725 "tooldir=$(tooldir)" \
726 "build_tooldir=$(build_tooldir)" \
727 "target_alias=$(target_alias)" \
728 "AWK=$(AWK)" \
729 "BISON=$(BISON)" \
730 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
731 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
732 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
733 "EXPECT=$(EXPECT)" \
734 "FLEX=$(FLEX)" \
735 "INSTALL=$(INSTALL)" \
736 "INSTALL_DATA=$(INSTALL_DATA)" \
737 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
738 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
739 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
740 "LEX=$(LEX)" \
741 "M4=$(M4)" \
742 "MAKE=$(MAKE)" \
743 "RUNTEST=$(RUNTEST)" \
744 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
745 "SED=$(SED)" \
746 "SHELL=$(SHELL)" \
747 "YACC=$(YACC)" \
748 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
749 "ADA_CFLAGS=$(ADA_CFLAGS)" \
750 "AR_FLAGS=$(AR_FLAGS)" \
751 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
752 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
753 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
754 "CFLAGS=$(CFLAGS)" \
755 "CXXFLAGS=$(CXXFLAGS)" \
756 "LDFLAGS=$(LDFLAGS)" \
757 "LIBCFLAGS=$(LIBCFLAGS)" \
758 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
759 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
760 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
761 "GNATBIND=$(GNATBIND)" \
762 "GNATMAKE=$(GNATMAKE)" \
763 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
764 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
765 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
766 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
767 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
768 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
769 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
770 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
771 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
772 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
773 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
774 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
775 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
776 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
777 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
778 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
779 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
780 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
781 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
782 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
783 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
784 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
785 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
786 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
787 "BUILD_CONFIG=$(BUILD_CONFIG)" \
788 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
789 "LEAN=$(LEAN)" \
790 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
791 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
792 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
793 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
794 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
795 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
796 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
797 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
798 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
799 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
800 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
801 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
802 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
803 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
804 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
805 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
806 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
807 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
808 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
809 "TFLAGS=$(TFLAGS)" \
810 "CONFIG_SHELL=$(SHELL)" \
811 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
813 # We leave this in just in case, but it is not needed anymore.
814 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
816 # Flags to pass down to most sub-makes, in which we're building with
817 # the host environment.
818 EXTRA_HOST_FLAGS = \
819 'AR=$(AR)' \
820 'AS=$(AS)' \
821 'CC=$(CC)' \
822 'CXX=$(CXX)' \
823 'DLLTOOL=$(DLLTOOL)' \
824 'GCJ=$(GCJ)' \
825 'GFORTRAN=$(GFORTRAN)' \
826 'GOC=$(GOC)' \
827 'LD=$(LD)' \
828 'LIPO=$(LIPO)' \
829 'NM=$(NM)' \
830 'OBJDUMP=$(OBJDUMP)' \
831 'RANLIB=$(RANLIB)' \
832 'READELF=$(READELF)' \
833 'STRIP=$(STRIP)' \
834 'WINDRES=$(WINDRES)' \
835 'WINDMC=$(WINDMC)'
837 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
839 # Flags to pass to stage2 and later makes.
841 POSTSTAGE1_FLAGS_TO_PASS = \
842 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
843 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
844 GNATBIND="$${GNATBIND}" \
845 LDFLAGS="$${LDFLAGS}" \
846 HOST_LIBS="$${HOST_LIBS}" \
847 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
849 # Flags to pass down to makes which are built with the target environment.
850 # The double $ decreases the length of the command line; those variables
851 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
852 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
853 # so we expand them here.
854 EXTRA_TARGET_FLAGS = \
855 'AR=$$(AR_FOR_TARGET)' \
856 'AS=$(COMPILER_AS_FOR_TARGET)' \
857 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
858 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
859 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
860 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
861 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
862 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
863 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
864 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
865 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
866 'LD=$(COMPILER_LD_FOR_TARGET)' \
867 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
868 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
869 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
870 'NM=$(COMPILER_NM_FOR_TARGET)' \
871 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
872 'RANLIB=$$(RANLIB_FOR_TARGET)' \
873 'READELF=$$(READELF_FOR_TARGET)' \
874 'WINDRES=$$(WINDRES_FOR_TARGET)' \
875 'WINDMC=$$(WINDMC_FOR_TARGET)' \
876 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
877 "TFLAGS=$$TFLAGS"
879 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
881 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
882 # unfortunately needs the native compiler and the target ar and
883 # ranlib.
884 # If any variables are added here, they must be added to do-*, below.
885 # The BUILD_* variables are a special case, which are used for the gcc
886 # cross-building scheme.
887 EXTRA_GCC_FLAGS = \
888 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
889 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
890 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
892 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
894 @if gcc
895 BUILD_CONFIG = @BUILD_CONFIG@
896 ifneq ($(BUILD_CONFIG),)
897 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
898 endif
899 @endif gcc
901 .PHONY: configure-host
902 configure-host: \
903 maybe-configure-bfd \
904 maybe-configure-opcodes \
905 maybe-configure-binutils \
906 maybe-configure-bison \
907 maybe-configure-cgen \
908 maybe-configure-dejagnu \
909 maybe-configure-etc \
910 maybe-configure-fastjar \
911 maybe-configure-fixincludes \
912 maybe-configure-flex \
913 maybe-configure-gas \
914 maybe-configure-gcc \
915 maybe-configure-gmp \
916 maybe-configure-mpfr \
917 maybe-configure-mpc \
918 maybe-configure-ppl \
919 maybe-configure-cloog \
920 maybe-configure-libelf \
921 maybe-configure-gold \
922 maybe-configure-gprof \
923 maybe-configure-intl \
924 maybe-configure-tcl \
925 maybe-configure-itcl \
926 maybe-configure-ld \
927 maybe-configure-libcpp \
928 maybe-configure-libdecnumber \
929 maybe-configure-libgui \
930 maybe-configure-libiberty \
931 maybe-configure-libiconv \
932 maybe-configure-m4 \
933 maybe-configure-readline \
934 maybe-configure-sid \
935 maybe-configure-sim \
936 maybe-configure-texinfo \
937 maybe-configure-zlib \
938 maybe-configure-gdb \
939 maybe-configure-expect \
940 maybe-configure-guile \
941 maybe-configure-tk \
942 maybe-configure-libtermcap \
943 maybe-configure-utils \
944 maybe-configure-gnattools \
945 maybe-configure-lto-plugin
946 .PHONY: configure-target
947 configure-target: \
948 maybe-configure-target-libstdc++-v3 \
949 maybe-configure-target-libmudflap \
950 maybe-configure-target-libssp \
951 maybe-configure-target-newlib \
952 maybe-configure-target-libgcc \
953 maybe-configure-target-libquadmath \
954 maybe-configure-target-libgfortran \
955 maybe-configure-target-libobjc \
956 maybe-configure-target-libgo \
957 maybe-configure-target-libtermcap \
958 maybe-configure-target-winsup \
959 maybe-configure-target-libgloss \
960 maybe-configure-target-libffi \
961 maybe-configure-target-libjava \
962 maybe-configure-target-zlib \
963 maybe-configure-target-boehm-gc \
964 maybe-configure-target-rda \
965 maybe-configure-target-libada \
966 maybe-configure-target-libgomp \
967 maybe-configure-target-libitm \
968 maybe-configure-target-libatomic
970 # The target built for a native non-bootstrap build.
971 .PHONY: all
972 all:
973 @if gcc-bootstrap
974 [ -f stage_final ] || echo stage3 > stage_final
975 @r=`${PWD_COMMAND}`; export r; \
976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
977 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
978 @endif gcc-bootstrap
979 @: $(MAKE); $(unstage)
980 @r=`${PWD_COMMAND}`; export r; \
981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
982 @if gcc-bootstrap
983 if [ -f stage_last ]; then \
984 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
985 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
986 else \
987 @endif gcc-bootstrap
988 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
989 @if gcc-bootstrap
991 fi \
992 @endif gcc-bootstrap
993 && :
995 .PHONY: all-build
997 all-build: maybe-all-build-libiberty
998 all-build: maybe-all-build-bison
999 all-build: maybe-all-build-flex
1000 all-build: maybe-all-build-m4
1001 all-build: maybe-all-build-texinfo
1002 all-build: maybe-all-build-fixincludes
1004 .PHONY: all-host
1006 @if bfd-no-bootstrap
1007 all-host: maybe-all-bfd
1008 @endif bfd-no-bootstrap
1009 @if opcodes-no-bootstrap
1010 all-host: maybe-all-opcodes
1011 @endif opcodes-no-bootstrap
1012 @if binutils-no-bootstrap
1013 all-host: maybe-all-binutils
1014 @endif binutils-no-bootstrap
1015 all-host: maybe-all-bison
1016 all-host: maybe-all-cgen
1017 all-host: maybe-all-dejagnu
1018 all-host: maybe-all-etc
1019 all-host: maybe-all-fastjar
1020 all-host: maybe-all-fixincludes
1021 all-host: maybe-all-flex
1022 @if gas-no-bootstrap
1023 all-host: maybe-all-gas
1024 @endif gas-no-bootstrap
1025 @if gcc-no-bootstrap
1026 all-host: maybe-all-gcc
1027 @endif gcc-no-bootstrap
1028 @if gmp-no-bootstrap
1029 all-host: maybe-all-gmp
1030 @endif gmp-no-bootstrap
1031 @if mpfr-no-bootstrap
1032 all-host: maybe-all-mpfr
1033 @endif mpfr-no-bootstrap
1034 @if mpc-no-bootstrap
1035 all-host: maybe-all-mpc
1036 @endif mpc-no-bootstrap
1037 @if ppl-no-bootstrap
1038 all-host: maybe-all-ppl
1039 @endif ppl-no-bootstrap
1040 @if cloog-no-bootstrap
1041 all-host: maybe-all-cloog
1042 @endif cloog-no-bootstrap
1043 @if libelf-no-bootstrap
1044 all-host: maybe-all-libelf
1045 @endif libelf-no-bootstrap
1046 @if gold-no-bootstrap
1047 all-host: maybe-all-gold
1048 @endif gold-no-bootstrap
1049 all-host: maybe-all-gprof
1050 @if intl-no-bootstrap
1051 all-host: maybe-all-intl
1052 @endif intl-no-bootstrap
1053 all-host: maybe-all-tcl
1054 all-host: maybe-all-itcl
1055 @if ld-no-bootstrap
1056 all-host: maybe-all-ld
1057 @endif ld-no-bootstrap
1058 @if libcpp-no-bootstrap
1059 all-host: maybe-all-libcpp
1060 @endif libcpp-no-bootstrap
1061 @if libdecnumber-no-bootstrap
1062 all-host: maybe-all-libdecnumber
1063 @endif libdecnumber-no-bootstrap
1064 all-host: maybe-all-libgui
1065 @if libiberty-no-bootstrap
1066 all-host: maybe-all-libiberty
1067 @endif libiberty-no-bootstrap
1068 all-host: maybe-all-libiconv
1069 all-host: maybe-all-m4
1070 all-host: maybe-all-readline
1071 all-host: maybe-all-sid
1072 all-host: maybe-all-sim
1073 all-host: maybe-all-texinfo
1074 @if zlib-no-bootstrap
1075 all-host: maybe-all-zlib
1076 @endif zlib-no-bootstrap
1077 all-host: maybe-all-gdb
1078 all-host: maybe-all-expect
1079 all-host: maybe-all-guile
1080 all-host: maybe-all-tk
1081 all-host: maybe-all-libtermcap
1082 all-host: maybe-all-utils
1083 all-host: maybe-all-gnattools
1084 @if lto-plugin-no-bootstrap
1085 all-host: maybe-all-lto-plugin
1086 @endif lto-plugin-no-bootstrap
1088 .PHONY: all-target
1090 @if target-libstdc++-v3-no-bootstrap
1091 all-target: maybe-all-target-libstdc++-v3
1092 @endif target-libstdc++-v3-no-bootstrap
1093 all-target: maybe-all-target-libmudflap
1094 all-target: maybe-all-target-libssp
1095 all-target: maybe-all-target-newlib
1096 @if target-libgcc-no-bootstrap
1097 all-target: maybe-all-target-libgcc
1098 @endif target-libgcc-no-bootstrap
1099 all-target: maybe-all-target-libquadmath
1100 all-target: maybe-all-target-libgfortran
1101 all-target: maybe-all-target-libobjc
1102 all-target: maybe-all-target-libgo
1103 all-target: maybe-all-target-libtermcap
1104 all-target: maybe-all-target-winsup
1105 all-target: maybe-all-target-libgloss
1106 all-target: maybe-all-target-libffi
1107 all-target: maybe-all-target-libjava
1108 all-target: maybe-all-target-zlib
1109 all-target: maybe-all-target-boehm-gc
1110 all-target: maybe-all-target-rda
1111 all-target: maybe-all-target-libada
1112 @if target-libgomp-no-bootstrap
1113 all-target: maybe-all-target-libgomp
1114 @endif target-libgomp-no-bootstrap
1115 all-target: maybe-all-target-libitm
1116 all-target: maybe-all-target-libatomic
1118 # Do a target for all the subdirectories. A ``make do-X'' will do a
1119 # ``make X'' in all subdirectories (because, in general, there is a
1120 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1121 # but it may do additional work as well).
1123 .PHONY: do-info
1124 do-info:
1125 @: $(MAKE); $(unstage)
1126 @r=`${PWD_COMMAND}`; export r; \
1127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1128 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1129 info-target
1132 .PHONY: info-host
1134 info-host: maybe-info-bfd
1135 info-host: maybe-info-opcodes
1136 info-host: maybe-info-binutils
1137 info-host: maybe-info-bison
1138 info-host: maybe-info-cgen
1139 info-host: maybe-info-dejagnu
1140 info-host: maybe-info-etc
1141 info-host: maybe-info-fastjar
1142 info-host: maybe-info-fixincludes
1143 info-host: maybe-info-flex
1144 info-host: maybe-info-gas
1145 info-host: maybe-info-gcc
1146 info-host: maybe-info-gmp
1147 info-host: maybe-info-mpfr
1148 info-host: maybe-info-mpc
1149 info-host: maybe-info-ppl
1150 info-host: maybe-info-cloog
1151 info-host: maybe-info-libelf
1152 info-host: maybe-info-gold
1153 info-host: maybe-info-gprof
1154 info-host: maybe-info-intl
1155 info-host: maybe-info-tcl
1156 info-host: maybe-info-itcl
1157 info-host: maybe-info-ld
1158 info-host: maybe-info-libcpp
1159 info-host: maybe-info-libdecnumber
1160 info-host: maybe-info-libgui
1161 info-host: maybe-info-libiberty
1162 info-host: maybe-info-libiconv
1163 info-host: maybe-info-m4
1164 info-host: maybe-info-readline
1165 info-host: maybe-info-sid
1166 info-host: maybe-info-sim
1167 info-host: maybe-info-texinfo
1168 info-host: maybe-info-zlib
1169 info-host: maybe-info-gdb
1170 info-host: maybe-info-expect
1171 info-host: maybe-info-guile
1172 info-host: maybe-info-tk
1173 info-host: maybe-info-libtermcap
1174 info-host: maybe-info-utils
1175 info-host: maybe-info-gnattools
1176 info-host: maybe-info-lto-plugin
1178 .PHONY: info-target
1180 info-target: maybe-info-target-libstdc++-v3
1181 info-target: maybe-info-target-libmudflap
1182 info-target: maybe-info-target-libssp
1183 info-target: maybe-info-target-newlib
1184 info-target: maybe-info-target-libgcc
1185 info-target: maybe-info-target-libquadmath
1186 info-target: maybe-info-target-libgfortran
1187 info-target: maybe-info-target-libobjc
1188 info-target: maybe-info-target-libgo
1189 info-target: maybe-info-target-libtermcap
1190 info-target: maybe-info-target-winsup
1191 info-target: maybe-info-target-libgloss
1192 info-target: maybe-info-target-libffi
1193 info-target: maybe-info-target-libjava
1194 info-target: maybe-info-target-zlib
1195 info-target: maybe-info-target-boehm-gc
1196 info-target: maybe-info-target-rda
1197 info-target: maybe-info-target-libada
1198 info-target: maybe-info-target-libgomp
1199 info-target: maybe-info-target-libitm
1200 info-target: maybe-info-target-libatomic
1202 .PHONY: do-dvi
1203 do-dvi:
1204 @: $(MAKE); $(unstage)
1205 @r=`${PWD_COMMAND}`; export r; \
1206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1207 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1208 dvi-target
1211 .PHONY: dvi-host
1213 dvi-host: maybe-dvi-bfd
1214 dvi-host: maybe-dvi-opcodes
1215 dvi-host: maybe-dvi-binutils
1216 dvi-host: maybe-dvi-bison
1217 dvi-host: maybe-dvi-cgen
1218 dvi-host: maybe-dvi-dejagnu
1219 dvi-host: maybe-dvi-etc
1220 dvi-host: maybe-dvi-fastjar
1221 dvi-host: maybe-dvi-fixincludes
1222 dvi-host: maybe-dvi-flex
1223 dvi-host: maybe-dvi-gas
1224 dvi-host: maybe-dvi-gcc
1225 dvi-host: maybe-dvi-gmp
1226 dvi-host: maybe-dvi-mpfr
1227 dvi-host: maybe-dvi-mpc
1228 dvi-host: maybe-dvi-ppl
1229 dvi-host: maybe-dvi-cloog
1230 dvi-host: maybe-dvi-libelf
1231 dvi-host: maybe-dvi-gold
1232 dvi-host: maybe-dvi-gprof
1233 dvi-host: maybe-dvi-intl
1234 dvi-host: maybe-dvi-tcl
1235 dvi-host: maybe-dvi-itcl
1236 dvi-host: maybe-dvi-ld
1237 dvi-host: maybe-dvi-libcpp
1238 dvi-host: maybe-dvi-libdecnumber
1239 dvi-host: maybe-dvi-libgui
1240 dvi-host: maybe-dvi-libiberty
1241 dvi-host: maybe-dvi-libiconv
1242 dvi-host: maybe-dvi-m4
1243 dvi-host: maybe-dvi-readline
1244 dvi-host: maybe-dvi-sid
1245 dvi-host: maybe-dvi-sim
1246 dvi-host: maybe-dvi-texinfo
1247 dvi-host: maybe-dvi-zlib
1248 dvi-host: maybe-dvi-gdb
1249 dvi-host: maybe-dvi-expect
1250 dvi-host: maybe-dvi-guile
1251 dvi-host: maybe-dvi-tk
1252 dvi-host: maybe-dvi-libtermcap
1253 dvi-host: maybe-dvi-utils
1254 dvi-host: maybe-dvi-gnattools
1255 dvi-host: maybe-dvi-lto-plugin
1257 .PHONY: dvi-target
1259 dvi-target: maybe-dvi-target-libstdc++-v3
1260 dvi-target: maybe-dvi-target-libmudflap
1261 dvi-target: maybe-dvi-target-libssp
1262 dvi-target: maybe-dvi-target-newlib
1263 dvi-target: maybe-dvi-target-libgcc
1264 dvi-target: maybe-dvi-target-libquadmath
1265 dvi-target: maybe-dvi-target-libgfortran
1266 dvi-target: maybe-dvi-target-libobjc
1267 dvi-target: maybe-dvi-target-libgo
1268 dvi-target: maybe-dvi-target-libtermcap
1269 dvi-target: maybe-dvi-target-winsup
1270 dvi-target: maybe-dvi-target-libgloss
1271 dvi-target: maybe-dvi-target-libffi
1272 dvi-target: maybe-dvi-target-libjava
1273 dvi-target: maybe-dvi-target-zlib
1274 dvi-target: maybe-dvi-target-boehm-gc
1275 dvi-target: maybe-dvi-target-rda
1276 dvi-target: maybe-dvi-target-libada
1277 dvi-target: maybe-dvi-target-libgomp
1278 dvi-target: maybe-dvi-target-libitm
1279 dvi-target: maybe-dvi-target-libatomic
1281 .PHONY: do-pdf
1282 do-pdf:
1283 @: $(MAKE); $(unstage)
1284 @r=`${PWD_COMMAND}`; export r; \
1285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1286 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1287 pdf-target
1290 .PHONY: pdf-host
1292 pdf-host: maybe-pdf-bfd
1293 pdf-host: maybe-pdf-opcodes
1294 pdf-host: maybe-pdf-binutils
1295 pdf-host: maybe-pdf-bison
1296 pdf-host: maybe-pdf-cgen
1297 pdf-host: maybe-pdf-dejagnu
1298 pdf-host: maybe-pdf-etc
1299 pdf-host: maybe-pdf-fastjar
1300 pdf-host: maybe-pdf-fixincludes
1301 pdf-host: maybe-pdf-flex
1302 pdf-host: maybe-pdf-gas
1303 pdf-host: maybe-pdf-gcc
1304 pdf-host: maybe-pdf-gmp
1305 pdf-host: maybe-pdf-mpfr
1306 pdf-host: maybe-pdf-mpc
1307 pdf-host: maybe-pdf-ppl
1308 pdf-host: maybe-pdf-cloog
1309 pdf-host: maybe-pdf-libelf
1310 pdf-host: maybe-pdf-gold
1311 pdf-host: maybe-pdf-gprof
1312 pdf-host: maybe-pdf-intl
1313 pdf-host: maybe-pdf-tcl
1314 pdf-host: maybe-pdf-itcl
1315 pdf-host: maybe-pdf-ld
1316 pdf-host: maybe-pdf-libcpp
1317 pdf-host: maybe-pdf-libdecnumber
1318 pdf-host: maybe-pdf-libgui
1319 pdf-host: maybe-pdf-libiberty
1320 pdf-host: maybe-pdf-libiconv
1321 pdf-host: maybe-pdf-m4
1322 pdf-host: maybe-pdf-readline
1323 pdf-host: maybe-pdf-sid
1324 pdf-host: maybe-pdf-sim
1325 pdf-host: maybe-pdf-texinfo
1326 pdf-host: maybe-pdf-zlib
1327 pdf-host: maybe-pdf-gdb
1328 pdf-host: maybe-pdf-expect
1329 pdf-host: maybe-pdf-guile
1330 pdf-host: maybe-pdf-tk
1331 pdf-host: maybe-pdf-libtermcap
1332 pdf-host: maybe-pdf-utils
1333 pdf-host: maybe-pdf-gnattools
1334 pdf-host: maybe-pdf-lto-plugin
1336 .PHONY: pdf-target
1338 pdf-target: maybe-pdf-target-libstdc++-v3
1339 pdf-target: maybe-pdf-target-libmudflap
1340 pdf-target: maybe-pdf-target-libssp
1341 pdf-target: maybe-pdf-target-newlib
1342 pdf-target: maybe-pdf-target-libgcc
1343 pdf-target: maybe-pdf-target-libquadmath
1344 pdf-target: maybe-pdf-target-libgfortran
1345 pdf-target: maybe-pdf-target-libobjc
1346 pdf-target: maybe-pdf-target-libgo
1347 pdf-target: maybe-pdf-target-libtermcap
1348 pdf-target: maybe-pdf-target-winsup
1349 pdf-target: maybe-pdf-target-libgloss
1350 pdf-target: maybe-pdf-target-libffi
1351 pdf-target: maybe-pdf-target-libjava
1352 pdf-target: maybe-pdf-target-zlib
1353 pdf-target: maybe-pdf-target-boehm-gc
1354 pdf-target: maybe-pdf-target-rda
1355 pdf-target: maybe-pdf-target-libada
1356 pdf-target: maybe-pdf-target-libgomp
1357 pdf-target: maybe-pdf-target-libitm
1358 pdf-target: maybe-pdf-target-libatomic
1360 .PHONY: do-html
1361 do-html:
1362 @: $(MAKE); $(unstage)
1363 @r=`${PWD_COMMAND}`; export r; \
1364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1365 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1366 html-target
1369 .PHONY: html-host
1371 html-host: maybe-html-bfd
1372 html-host: maybe-html-opcodes
1373 html-host: maybe-html-binutils
1374 html-host: maybe-html-bison
1375 html-host: maybe-html-cgen
1376 html-host: maybe-html-dejagnu
1377 html-host: maybe-html-etc
1378 html-host: maybe-html-fastjar
1379 html-host: maybe-html-fixincludes
1380 html-host: maybe-html-flex
1381 html-host: maybe-html-gas
1382 html-host: maybe-html-gcc
1383 html-host: maybe-html-gmp
1384 html-host: maybe-html-mpfr
1385 html-host: maybe-html-mpc
1386 html-host: maybe-html-ppl
1387 html-host: maybe-html-cloog
1388 html-host: maybe-html-libelf
1389 html-host: maybe-html-gold
1390 html-host: maybe-html-gprof
1391 html-host: maybe-html-intl
1392 html-host: maybe-html-tcl
1393 html-host: maybe-html-itcl
1394 html-host: maybe-html-ld
1395 html-host: maybe-html-libcpp
1396 html-host: maybe-html-libdecnumber
1397 html-host: maybe-html-libgui
1398 html-host: maybe-html-libiberty
1399 html-host: maybe-html-libiconv
1400 html-host: maybe-html-m4
1401 html-host: maybe-html-readline
1402 html-host: maybe-html-sid
1403 html-host: maybe-html-sim
1404 html-host: maybe-html-texinfo
1405 html-host: maybe-html-zlib
1406 html-host: maybe-html-gdb
1407 html-host: maybe-html-expect
1408 html-host: maybe-html-guile
1409 html-host: maybe-html-tk
1410 html-host: maybe-html-libtermcap
1411 html-host: maybe-html-utils
1412 html-host: maybe-html-gnattools
1413 html-host: maybe-html-lto-plugin
1415 .PHONY: html-target
1417 html-target: maybe-html-target-libstdc++-v3
1418 html-target: maybe-html-target-libmudflap
1419 html-target: maybe-html-target-libssp
1420 html-target: maybe-html-target-newlib
1421 html-target: maybe-html-target-libgcc
1422 html-target: maybe-html-target-libquadmath
1423 html-target: maybe-html-target-libgfortran
1424 html-target: maybe-html-target-libobjc
1425 html-target: maybe-html-target-libgo
1426 html-target: maybe-html-target-libtermcap
1427 html-target: maybe-html-target-winsup
1428 html-target: maybe-html-target-libgloss
1429 html-target: maybe-html-target-libffi
1430 html-target: maybe-html-target-libjava
1431 html-target: maybe-html-target-zlib
1432 html-target: maybe-html-target-boehm-gc
1433 html-target: maybe-html-target-rda
1434 html-target: maybe-html-target-libada
1435 html-target: maybe-html-target-libgomp
1436 html-target: maybe-html-target-libitm
1437 html-target: maybe-html-target-libatomic
1439 .PHONY: do-TAGS
1440 do-TAGS:
1441 @: $(MAKE); $(unstage)
1442 @r=`${PWD_COMMAND}`; export r; \
1443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1444 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1445 TAGS-target
1448 .PHONY: TAGS-host
1450 TAGS-host: maybe-TAGS-bfd
1451 TAGS-host: maybe-TAGS-opcodes
1452 TAGS-host: maybe-TAGS-binutils
1453 TAGS-host: maybe-TAGS-bison
1454 TAGS-host: maybe-TAGS-cgen
1455 TAGS-host: maybe-TAGS-dejagnu
1456 TAGS-host: maybe-TAGS-etc
1457 TAGS-host: maybe-TAGS-fastjar
1458 TAGS-host: maybe-TAGS-fixincludes
1459 TAGS-host: maybe-TAGS-flex
1460 TAGS-host: maybe-TAGS-gas
1461 TAGS-host: maybe-TAGS-gcc
1462 TAGS-host: maybe-TAGS-gmp
1463 TAGS-host: maybe-TAGS-mpfr
1464 TAGS-host: maybe-TAGS-mpc
1465 TAGS-host: maybe-TAGS-ppl
1466 TAGS-host: maybe-TAGS-cloog
1467 TAGS-host: maybe-TAGS-libelf
1468 TAGS-host: maybe-TAGS-gold
1469 TAGS-host: maybe-TAGS-gprof
1470 TAGS-host: maybe-TAGS-intl
1471 TAGS-host: maybe-TAGS-tcl
1472 TAGS-host: maybe-TAGS-itcl
1473 TAGS-host: maybe-TAGS-ld
1474 TAGS-host: maybe-TAGS-libcpp
1475 TAGS-host: maybe-TAGS-libdecnumber
1476 TAGS-host: maybe-TAGS-libgui
1477 TAGS-host: maybe-TAGS-libiberty
1478 TAGS-host: maybe-TAGS-libiconv
1479 TAGS-host: maybe-TAGS-m4
1480 TAGS-host: maybe-TAGS-readline
1481 TAGS-host: maybe-TAGS-sid
1482 TAGS-host: maybe-TAGS-sim
1483 TAGS-host: maybe-TAGS-texinfo
1484 TAGS-host: maybe-TAGS-zlib
1485 TAGS-host: maybe-TAGS-gdb
1486 TAGS-host: maybe-TAGS-expect
1487 TAGS-host: maybe-TAGS-guile
1488 TAGS-host: maybe-TAGS-tk
1489 TAGS-host: maybe-TAGS-libtermcap
1490 TAGS-host: maybe-TAGS-utils
1491 TAGS-host: maybe-TAGS-gnattools
1492 TAGS-host: maybe-TAGS-lto-plugin
1494 .PHONY: TAGS-target
1496 TAGS-target: maybe-TAGS-target-libstdc++-v3
1497 TAGS-target: maybe-TAGS-target-libmudflap
1498 TAGS-target: maybe-TAGS-target-libssp
1499 TAGS-target: maybe-TAGS-target-newlib
1500 TAGS-target: maybe-TAGS-target-libgcc
1501 TAGS-target: maybe-TAGS-target-libquadmath
1502 TAGS-target: maybe-TAGS-target-libgfortran
1503 TAGS-target: maybe-TAGS-target-libobjc
1504 TAGS-target: maybe-TAGS-target-libgo
1505 TAGS-target: maybe-TAGS-target-libtermcap
1506 TAGS-target: maybe-TAGS-target-winsup
1507 TAGS-target: maybe-TAGS-target-libgloss
1508 TAGS-target: maybe-TAGS-target-libffi
1509 TAGS-target: maybe-TAGS-target-libjava
1510 TAGS-target: maybe-TAGS-target-zlib
1511 TAGS-target: maybe-TAGS-target-boehm-gc
1512 TAGS-target: maybe-TAGS-target-rda
1513 TAGS-target: maybe-TAGS-target-libada
1514 TAGS-target: maybe-TAGS-target-libgomp
1515 TAGS-target: maybe-TAGS-target-libitm
1516 TAGS-target: maybe-TAGS-target-libatomic
1518 .PHONY: do-install-info
1519 do-install-info:
1520 @: $(MAKE); $(unstage)
1521 @r=`${PWD_COMMAND}`; export r; \
1522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1523 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1524 install-info-target
1527 .PHONY: install-info-host
1529 install-info-host: maybe-install-info-bfd
1530 install-info-host: maybe-install-info-opcodes
1531 install-info-host: maybe-install-info-binutils
1532 install-info-host: maybe-install-info-bison
1533 install-info-host: maybe-install-info-cgen
1534 install-info-host: maybe-install-info-dejagnu
1535 install-info-host: maybe-install-info-etc
1536 install-info-host: maybe-install-info-fastjar
1537 install-info-host: maybe-install-info-fixincludes
1538 install-info-host: maybe-install-info-flex
1539 install-info-host: maybe-install-info-gas
1540 install-info-host: maybe-install-info-gcc
1541 install-info-host: maybe-install-info-gmp
1542 install-info-host: maybe-install-info-mpfr
1543 install-info-host: maybe-install-info-mpc
1544 install-info-host: maybe-install-info-ppl
1545 install-info-host: maybe-install-info-cloog
1546 install-info-host: maybe-install-info-libelf
1547 install-info-host: maybe-install-info-gold
1548 install-info-host: maybe-install-info-gprof
1549 install-info-host: maybe-install-info-intl
1550 install-info-host: maybe-install-info-tcl
1551 install-info-host: maybe-install-info-itcl
1552 install-info-host: maybe-install-info-ld
1553 install-info-host: maybe-install-info-libcpp
1554 install-info-host: maybe-install-info-libdecnumber
1555 install-info-host: maybe-install-info-libgui
1556 install-info-host: maybe-install-info-libiberty
1557 install-info-host: maybe-install-info-libiconv
1558 install-info-host: maybe-install-info-m4
1559 install-info-host: maybe-install-info-readline
1560 install-info-host: maybe-install-info-sid
1561 install-info-host: maybe-install-info-sim
1562 install-info-host: maybe-install-info-texinfo
1563 install-info-host: maybe-install-info-zlib
1564 install-info-host: maybe-install-info-gdb
1565 install-info-host: maybe-install-info-expect
1566 install-info-host: maybe-install-info-guile
1567 install-info-host: maybe-install-info-tk
1568 install-info-host: maybe-install-info-libtermcap
1569 install-info-host: maybe-install-info-utils
1570 install-info-host: maybe-install-info-gnattools
1571 install-info-host: maybe-install-info-lto-plugin
1573 .PHONY: install-info-target
1575 install-info-target: maybe-install-info-target-libstdc++-v3
1576 install-info-target: maybe-install-info-target-libmudflap
1577 install-info-target: maybe-install-info-target-libssp
1578 install-info-target: maybe-install-info-target-newlib
1579 install-info-target: maybe-install-info-target-libgcc
1580 install-info-target: maybe-install-info-target-libquadmath
1581 install-info-target: maybe-install-info-target-libgfortran
1582 install-info-target: maybe-install-info-target-libobjc
1583 install-info-target: maybe-install-info-target-libgo
1584 install-info-target: maybe-install-info-target-libtermcap
1585 install-info-target: maybe-install-info-target-winsup
1586 install-info-target: maybe-install-info-target-libgloss
1587 install-info-target: maybe-install-info-target-libffi
1588 install-info-target: maybe-install-info-target-libjava
1589 install-info-target: maybe-install-info-target-zlib
1590 install-info-target: maybe-install-info-target-boehm-gc
1591 install-info-target: maybe-install-info-target-rda
1592 install-info-target: maybe-install-info-target-libada
1593 install-info-target: maybe-install-info-target-libgomp
1594 install-info-target: maybe-install-info-target-libitm
1595 install-info-target: maybe-install-info-target-libatomic
1597 .PHONY: do-install-pdf
1598 do-install-pdf:
1599 @: $(MAKE); $(unstage)
1600 @r=`${PWD_COMMAND}`; export r; \
1601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1602 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1603 install-pdf-target
1606 .PHONY: install-pdf-host
1608 install-pdf-host: maybe-install-pdf-bfd
1609 install-pdf-host: maybe-install-pdf-opcodes
1610 install-pdf-host: maybe-install-pdf-binutils
1611 install-pdf-host: maybe-install-pdf-bison
1612 install-pdf-host: maybe-install-pdf-cgen
1613 install-pdf-host: maybe-install-pdf-dejagnu
1614 install-pdf-host: maybe-install-pdf-etc
1615 install-pdf-host: maybe-install-pdf-fastjar
1616 install-pdf-host: maybe-install-pdf-fixincludes
1617 install-pdf-host: maybe-install-pdf-flex
1618 install-pdf-host: maybe-install-pdf-gas
1619 install-pdf-host: maybe-install-pdf-gcc
1620 install-pdf-host: maybe-install-pdf-gmp
1621 install-pdf-host: maybe-install-pdf-mpfr
1622 install-pdf-host: maybe-install-pdf-mpc
1623 install-pdf-host: maybe-install-pdf-ppl
1624 install-pdf-host: maybe-install-pdf-cloog
1625 install-pdf-host: maybe-install-pdf-libelf
1626 install-pdf-host: maybe-install-pdf-gold
1627 install-pdf-host: maybe-install-pdf-gprof
1628 install-pdf-host: maybe-install-pdf-intl
1629 install-pdf-host: maybe-install-pdf-tcl
1630 install-pdf-host: maybe-install-pdf-itcl
1631 install-pdf-host: maybe-install-pdf-ld
1632 install-pdf-host: maybe-install-pdf-libcpp
1633 install-pdf-host: maybe-install-pdf-libdecnumber
1634 install-pdf-host: maybe-install-pdf-libgui
1635 install-pdf-host: maybe-install-pdf-libiberty
1636 install-pdf-host: maybe-install-pdf-libiconv
1637 install-pdf-host: maybe-install-pdf-m4
1638 install-pdf-host: maybe-install-pdf-readline
1639 install-pdf-host: maybe-install-pdf-sid
1640 install-pdf-host: maybe-install-pdf-sim
1641 install-pdf-host: maybe-install-pdf-texinfo
1642 install-pdf-host: maybe-install-pdf-zlib
1643 install-pdf-host: maybe-install-pdf-gdb
1644 install-pdf-host: maybe-install-pdf-expect
1645 install-pdf-host: maybe-install-pdf-guile
1646 install-pdf-host: maybe-install-pdf-tk
1647 install-pdf-host: maybe-install-pdf-libtermcap
1648 install-pdf-host: maybe-install-pdf-utils
1649 install-pdf-host: maybe-install-pdf-gnattools
1650 install-pdf-host: maybe-install-pdf-lto-plugin
1652 .PHONY: install-pdf-target
1654 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1655 install-pdf-target: maybe-install-pdf-target-libmudflap
1656 install-pdf-target: maybe-install-pdf-target-libssp
1657 install-pdf-target: maybe-install-pdf-target-newlib
1658 install-pdf-target: maybe-install-pdf-target-libgcc
1659 install-pdf-target: maybe-install-pdf-target-libquadmath
1660 install-pdf-target: maybe-install-pdf-target-libgfortran
1661 install-pdf-target: maybe-install-pdf-target-libobjc
1662 install-pdf-target: maybe-install-pdf-target-libgo
1663 install-pdf-target: maybe-install-pdf-target-libtermcap
1664 install-pdf-target: maybe-install-pdf-target-winsup
1665 install-pdf-target: maybe-install-pdf-target-libgloss
1666 install-pdf-target: maybe-install-pdf-target-libffi
1667 install-pdf-target: maybe-install-pdf-target-libjava
1668 install-pdf-target: maybe-install-pdf-target-zlib
1669 install-pdf-target: maybe-install-pdf-target-boehm-gc
1670 install-pdf-target: maybe-install-pdf-target-rda
1671 install-pdf-target: maybe-install-pdf-target-libada
1672 install-pdf-target: maybe-install-pdf-target-libgomp
1673 install-pdf-target: maybe-install-pdf-target-libitm
1674 install-pdf-target: maybe-install-pdf-target-libatomic
1676 .PHONY: do-install-html
1677 do-install-html:
1678 @: $(MAKE); $(unstage)
1679 @r=`${PWD_COMMAND}`; export r; \
1680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1681 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1682 install-html-target
1685 .PHONY: install-html-host
1687 install-html-host: maybe-install-html-bfd
1688 install-html-host: maybe-install-html-opcodes
1689 install-html-host: maybe-install-html-binutils
1690 install-html-host: maybe-install-html-bison
1691 install-html-host: maybe-install-html-cgen
1692 install-html-host: maybe-install-html-dejagnu
1693 install-html-host: maybe-install-html-etc
1694 install-html-host: maybe-install-html-fastjar
1695 install-html-host: maybe-install-html-fixincludes
1696 install-html-host: maybe-install-html-flex
1697 install-html-host: maybe-install-html-gas
1698 install-html-host: maybe-install-html-gcc
1699 install-html-host: maybe-install-html-gmp
1700 install-html-host: maybe-install-html-mpfr
1701 install-html-host: maybe-install-html-mpc
1702 install-html-host: maybe-install-html-ppl
1703 install-html-host: maybe-install-html-cloog
1704 install-html-host: maybe-install-html-libelf
1705 install-html-host: maybe-install-html-gold
1706 install-html-host: maybe-install-html-gprof
1707 install-html-host: maybe-install-html-intl
1708 install-html-host: maybe-install-html-tcl
1709 install-html-host: maybe-install-html-itcl
1710 install-html-host: maybe-install-html-ld
1711 install-html-host: maybe-install-html-libcpp
1712 install-html-host: maybe-install-html-libdecnumber
1713 install-html-host: maybe-install-html-libgui
1714 install-html-host: maybe-install-html-libiberty
1715 install-html-host: maybe-install-html-libiconv
1716 install-html-host: maybe-install-html-m4
1717 install-html-host: maybe-install-html-readline
1718 install-html-host: maybe-install-html-sid
1719 install-html-host: maybe-install-html-sim
1720 install-html-host: maybe-install-html-texinfo
1721 install-html-host: maybe-install-html-zlib
1722 install-html-host: maybe-install-html-gdb
1723 install-html-host: maybe-install-html-expect
1724 install-html-host: maybe-install-html-guile
1725 install-html-host: maybe-install-html-tk
1726 install-html-host: maybe-install-html-libtermcap
1727 install-html-host: maybe-install-html-utils
1728 install-html-host: maybe-install-html-gnattools
1729 install-html-host: maybe-install-html-lto-plugin
1731 .PHONY: install-html-target
1733 install-html-target: maybe-install-html-target-libstdc++-v3
1734 install-html-target: maybe-install-html-target-libmudflap
1735 install-html-target: maybe-install-html-target-libssp
1736 install-html-target: maybe-install-html-target-newlib
1737 install-html-target: maybe-install-html-target-libgcc
1738 install-html-target: maybe-install-html-target-libquadmath
1739 install-html-target: maybe-install-html-target-libgfortran
1740 install-html-target: maybe-install-html-target-libobjc
1741 install-html-target: maybe-install-html-target-libgo
1742 install-html-target: maybe-install-html-target-libtermcap
1743 install-html-target: maybe-install-html-target-winsup
1744 install-html-target: maybe-install-html-target-libgloss
1745 install-html-target: maybe-install-html-target-libffi
1746 install-html-target: maybe-install-html-target-libjava
1747 install-html-target: maybe-install-html-target-zlib
1748 install-html-target: maybe-install-html-target-boehm-gc
1749 install-html-target: maybe-install-html-target-rda
1750 install-html-target: maybe-install-html-target-libada
1751 install-html-target: maybe-install-html-target-libgomp
1752 install-html-target: maybe-install-html-target-libitm
1753 install-html-target: maybe-install-html-target-libatomic
1755 .PHONY: do-installcheck
1756 do-installcheck:
1757 @: $(MAKE); $(unstage)
1758 @r=`${PWD_COMMAND}`; export r; \
1759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1760 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1761 installcheck-target
1764 .PHONY: installcheck-host
1766 installcheck-host: maybe-installcheck-bfd
1767 installcheck-host: maybe-installcheck-opcodes
1768 installcheck-host: maybe-installcheck-binutils
1769 installcheck-host: maybe-installcheck-bison
1770 installcheck-host: maybe-installcheck-cgen
1771 installcheck-host: maybe-installcheck-dejagnu
1772 installcheck-host: maybe-installcheck-etc
1773 installcheck-host: maybe-installcheck-fastjar
1774 installcheck-host: maybe-installcheck-fixincludes
1775 installcheck-host: maybe-installcheck-flex
1776 installcheck-host: maybe-installcheck-gas
1777 installcheck-host: maybe-installcheck-gcc
1778 installcheck-host: maybe-installcheck-gmp
1779 installcheck-host: maybe-installcheck-mpfr
1780 installcheck-host: maybe-installcheck-mpc
1781 installcheck-host: maybe-installcheck-ppl
1782 installcheck-host: maybe-installcheck-cloog
1783 installcheck-host: maybe-installcheck-libelf
1784 installcheck-host: maybe-installcheck-gold
1785 installcheck-host: maybe-installcheck-gprof
1786 installcheck-host: maybe-installcheck-intl
1787 installcheck-host: maybe-installcheck-tcl
1788 installcheck-host: maybe-installcheck-itcl
1789 installcheck-host: maybe-installcheck-ld
1790 installcheck-host: maybe-installcheck-libcpp
1791 installcheck-host: maybe-installcheck-libdecnumber
1792 installcheck-host: maybe-installcheck-libgui
1793 installcheck-host: maybe-installcheck-libiberty
1794 installcheck-host: maybe-installcheck-libiconv
1795 installcheck-host: maybe-installcheck-m4
1796 installcheck-host: maybe-installcheck-readline
1797 installcheck-host: maybe-installcheck-sid
1798 installcheck-host: maybe-installcheck-sim
1799 installcheck-host: maybe-installcheck-texinfo
1800 installcheck-host: maybe-installcheck-zlib
1801 installcheck-host: maybe-installcheck-gdb
1802 installcheck-host: maybe-installcheck-expect
1803 installcheck-host: maybe-installcheck-guile
1804 installcheck-host: maybe-installcheck-tk
1805 installcheck-host: maybe-installcheck-libtermcap
1806 installcheck-host: maybe-installcheck-utils
1807 installcheck-host: maybe-installcheck-gnattools
1808 installcheck-host: maybe-installcheck-lto-plugin
1810 .PHONY: installcheck-target
1812 installcheck-target: maybe-installcheck-target-libstdc++-v3
1813 installcheck-target: maybe-installcheck-target-libmudflap
1814 installcheck-target: maybe-installcheck-target-libssp
1815 installcheck-target: maybe-installcheck-target-newlib
1816 installcheck-target: maybe-installcheck-target-libgcc
1817 installcheck-target: maybe-installcheck-target-libquadmath
1818 installcheck-target: maybe-installcheck-target-libgfortran
1819 installcheck-target: maybe-installcheck-target-libobjc
1820 installcheck-target: maybe-installcheck-target-libgo
1821 installcheck-target: maybe-installcheck-target-libtermcap
1822 installcheck-target: maybe-installcheck-target-winsup
1823 installcheck-target: maybe-installcheck-target-libgloss
1824 installcheck-target: maybe-installcheck-target-libffi
1825 installcheck-target: maybe-installcheck-target-libjava
1826 installcheck-target: maybe-installcheck-target-zlib
1827 installcheck-target: maybe-installcheck-target-boehm-gc
1828 installcheck-target: maybe-installcheck-target-rda
1829 installcheck-target: maybe-installcheck-target-libada
1830 installcheck-target: maybe-installcheck-target-libgomp
1831 installcheck-target: maybe-installcheck-target-libitm
1832 installcheck-target: maybe-installcheck-target-libatomic
1834 .PHONY: do-mostlyclean
1835 do-mostlyclean:
1836 @: $(MAKE); $(unstage)
1837 @r=`${PWD_COMMAND}`; export r; \
1838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1839 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1840 mostlyclean-target
1843 .PHONY: mostlyclean-host
1845 mostlyclean-host: maybe-mostlyclean-bfd
1846 mostlyclean-host: maybe-mostlyclean-opcodes
1847 mostlyclean-host: maybe-mostlyclean-binutils
1848 mostlyclean-host: maybe-mostlyclean-bison
1849 mostlyclean-host: maybe-mostlyclean-cgen
1850 mostlyclean-host: maybe-mostlyclean-dejagnu
1851 mostlyclean-host: maybe-mostlyclean-etc
1852 mostlyclean-host: maybe-mostlyclean-fastjar
1853 mostlyclean-host: maybe-mostlyclean-fixincludes
1854 mostlyclean-host: maybe-mostlyclean-flex
1855 mostlyclean-host: maybe-mostlyclean-gas
1856 mostlyclean-host: maybe-mostlyclean-gcc
1857 mostlyclean-host: maybe-mostlyclean-gmp
1858 mostlyclean-host: maybe-mostlyclean-mpfr
1859 mostlyclean-host: maybe-mostlyclean-mpc
1860 mostlyclean-host: maybe-mostlyclean-ppl
1861 mostlyclean-host: maybe-mostlyclean-cloog
1862 mostlyclean-host: maybe-mostlyclean-libelf
1863 mostlyclean-host: maybe-mostlyclean-gold
1864 mostlyclean-host: maybe-mostlyclean-gprof
1865 mostlyclean-host: maybe-mostlyclean-intl
1866 mostlyclean-host: maybe-mostlyclean-tcl
1867 mostlyclean-host: maybe-mostlyclean-itcl
1868 mostlyclean-host: maybe-mostlyclean-ld
1869 mostlyclean-host: maybe-mostlyclean-libcpp
1870 mostlyclean-host: maybe-mostlyclean-libdecnumber
1871 mostlyclean-host: maybe-mostlyclean-libgui
1872 mostlyclean-host: maybe-mostlyclean-libiberty
1873 mostlyclean-host: maybe-mostlyclean-libiconv
1874 mostlyclean-host: maybe-mostlyclean-m4
1875 mostlyclean-host: maybe-mostlyclean-readline
1876 mostlyclean-host: maybe-mostlyclean-sid
1877 mostlyclean-host: maybe-mostlyclean-sim
1878 mostlyclean-host: maybe-mostlyclean-texinfo
1879 mostlyclean-host: maybe-mostlyclean-zlib
1880 mostlyclean-host: maybe-mostlyclean-gdb
1881 mostlyclean-host: maybe-mostlyclean-expect
1882 mostlyclean-host: maybe-mostlyclean-guile
1883 mostlyclean-host: maybe-mostlyclean-tk
1884 mostlyclean-host: maybe-mostlyclean-libtermcap
1885 mostlyclean-host: maybe-mostlyclean-utils
1886 mostlyclean-host: maybe-mostlyclean-gnattools
1887 mostlyclean-host: maybe-mostlyclean-lto-plugin
1889 .PHONY: mostlyclean-target
1891 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1892 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1893 mostlyclean-target: maybe-mostlyclean-target-libssp
1894 mostlyclean-target: maybe-mostlyclean-target-newlib
1895 mostlyclean-target: maybe-mostlyclean-target-libgcc
1896 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1897 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1898 mostlyclean-target: maybe-mostlyclean-target-libobjc
1899 mostlyclean-target: maybe-mostlyclean-target-libgo
1900 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1901 mostlyclean-target: maybe-mostlyclean-target-winsup
1902 mostlyclean-target: maybe-mostlyclean-target-libgloss
1903 mostlyclean-target: maybe-mostlyclean-target-libffi
1904 mostlyclean-target: maybe-mostlyclean-target-libjava
1905 mostlyclean-target: maybe-mostlyclean-target-zlib
1906 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1907 mostlyclean-target: maybe-mostlyclean-target-rda
1908 mostlyclean-target: maybe-mostlyclean-target-libada
1909 mostlyclean-target: maybe-mostlyclean-target-libgomp
1910 mostlyclean-target: maybe-mostlyclean-target-libitm
1911 mostlyclean-target: maybe-mostlyclean-target-libatomic
1913 .PHONY: do-clean
1914 do-clean:
1915 @: $(MAKE); $(unstage)
1916 @r=`${PWD_COMMAND}`; export r; \
1917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1918 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1919 clean-target
1922 .PHONY: clean-host
1924 clean-host: maybe-clean-bfd
1925 clean-host: maybe-clean-opcodes
1926 clean-host: maybe-clean-binutils
1927 clean-host: maybe-clean-bison
1928 clean-host: maybe-clean-cgen
1929 clean-host: maybe-clean-dejagnu
1930 clean-host: maybe-clean-etc
1931 clean-host: maybe-clean-fastjar
1932 clean-host: maybe-clean-fixincludes
1933 clean-host: maybe-clean-flex
1934 clean-host: maybe-clean-gas
1935 clean-host: maybe-clean-gcc
1936 clean-host: maybe-clean-gmp
1937 clean-host: maybe-clean-mpfr
1938 clean-host: maybe-clean-mpc
1939 clean-host: maybe-clean-ppl
1940 clean-host: maybe-clean-cloog
1941 clean-host: maybe-clean-libelf
1942 clean-host: maybe-clean-gold
1943 clean-host: maybe-clean-gprof
1944 clean-host: maybe-clean-intl
1945 clean-host: maybe-clean-tcl
1946 clean-host: maybe-clean-itcl
1947 clean-host: maybe-clean-ld
1948 clean-host: maybe-clean-libcpp
1949 clean-host: maybe-clean-libdecnumber
1950 clean-host: maybe-clean-libgui
1951 clean-host: maybe-clean-libiberty
1952 clean-host: maybe-clean-libiconv
1953 clean-host: maybe-clean-m4
1954 clean-host: maybe-clean-readline
1955 clean-host: maybe-clean-sid
1956 clean-host: maybe-clean-sim
1957 clean-host: maybe-clean-texinfo
1958 clean-host: maybe-clean-zlib
1959 clean-host: maybe-clean-gdb
1960 clean-host: maybe-clean-expect
1961 clean-host: maybe-clean-guile
1962 clean-host: maybe-clean-tk
1963 clean-host: maybe-clean-libtermcap
1964 clean-host: maybe-clean-utils
1965 clean-host: maybe-clean-gnattools
1966 clean-host: maybe-clean-lto-plugin
1968 .PHONY: clean-target
1970 clean-target: maybe-clean-target-libstdc++-v3
1971 clean-target: maybe-clean-target-libmudflap
1972 clean-target: maybe-clean-target-libssp
1973 clean-target: maybe-clean-target-newlib
1974 clean-target: maybe-clean-target-libgcc
1975 clean-target: maybe-clean-target-libquadmath
1976 clean-target: maybe-clean-target-libgfortran
1977 clean-target: maybe-clean-target-libobjc
1978 clean-target: maybe-clean-target-libgo
1979 clean-target: maybe-clean-target-libtermcap
1980 clean-target: maybe-clean-target-winsup
1981 clean-target: maybe-clean-target-libgloss
1982 clean-target: maybe-clean-target-libffi
1983 clean-target: maybe-clean-target-libjava
1984 clean-target: maybe-clean-target-zlib
1985 clean-target: maybe-clean-target-boehm-gc
1986 clean-target: maybe-clean-target-rda
1987 clean-target: maybe-clean-target-libada
1988 clean-target: maybe-clean-target-libgomp
1989 clean-target: maybe-clean-target-libitm
1990 clean-target: maybe-clean-target-libatomic
1992 .PHONY: do-distclean
1993 do-distclean:
1994 @: $(MAKE); $(unstage)
1995 @r=`${PWD_COMMAND}`; export r; \
1996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1997 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1998 distclean-target
2001 .PHONY: distclean-host
2003 distclean-host: maybe-distclean-bfd
2004 distclean-host: maybe-distclean-opcodes
2005 distclean-host: maybe-distclean-binutils
2006 distclean-host: maybe-distclean-bison
2007 distclean-host: maybe-distclean-cgen
2008 distclean-host: maybe-distclean-dejagnu
2009 distclean-host: maybe-distclean-etc
2010 distclean-host: maybe-distclean-fastjar
2011 distclean-host: maybe-distclean-fixincludes
2012 distclean-host: maybe-distclean-flex
2013 distclean-host: maybe-distclean-gas
2014 distclean-host: maybe-distclean-gcc
2015 distclean-host: maybe-distclean-gmp
2016 distclean-host: maybe-distclean-mpfr
2017 distclean-host: maybe-distclean-mpc
2018 distclean-host: maybe-distclean-ppl
2019 distclean-host: maybe-distclean-cloog
2020 distclean-host: maybe-distclean-libelf
2021 distclean-host: maybe-distclean-gold
2022 distclean-host: maybe-distclean-gprof
2023 distclean-host: maybe-distclean-intl
2024 distclean-host: maybe-distclean-tcl
2025 distclean-host: maybe-distclean-itcl
2026 distclean-host: maybe-distclean-ld
2027 distclean-host: maybe-distclean-libcpp
2028 distclean-host: maybe-distclean-libdecnumber
2029 distclean-host: maybe-distclean-libgui
2030 distclean-host: maybe-distclean-libiberty
2031 distclean-host: maybe-distclean-libiconv
2032 distclean-host: maybe-distclean-m4
2033 distclean-host: maybe-distclean-readline
2034 distclean-host: maybe-distclean-sid
2035 distclean-host: maybe-distclean-sim
2036 distclean-host: maybe-distclean-texinfo
2037 distclean-host: maybe-distclean-zlib
2038 distclean-host: maybe-distclean-gdb
2039 distclean-host: maybe-distclean-expect
2040 distclean-host: maybe-distclean-guile
2041 distclean-host: maybe-distclean-tk
2042 distclean-host: maybe-distclean-libtermcap
2043 distclean-host: maybe-distclean-utils
2044 distclean-host: maybe-distclean-gnattools
2045 distclean-host: maybe-distclean-lto-plugin
2047 .PHONY: distclean-target
2049 distclean-target: maybe-distclean-target-libstdc++-v3
2050 distclean-target: maybe-distclean-target-libmudflap
2051 distclean-target: maybe-distclean-target-libssp
2052 distclean-target: maybe-distclean-target-newlib
2053 distclean-target: maybe-distclean-target-libgcc
2054 distclean-target: maybe-distclean-target-libquadmath
2055 distclean-target: maybe-distclean-target-libgfortran
2056 distclean-target: maybe-distclean-target-libobjc
2057 distclean-target: maybe-distclean-target-libgo
2058 distclean-target: maybe-distclean-target-libtermcap
2059 distclean-target: maybe-distclean-target-winsup
2060 distclean-target: maybe-distclean-target-libgloss
2061 distclean-target: maybe-distclean-target-libffi
2062 distclean-target: maybe-distclean-target-libjava
2063 distclean-target: maybe-distclean-target-zlib
2064 distclean-target: maybe-distclean-target-boehm-gc
2065 distclean-target: maybe-distclean-target-rda
2066 distclean-target: maybe-distclean-target-libada
2067 distclean-target: maybe-distclean-target-libgomp
2068 distclean-target: maybe-distclean-target-libitm
2069 distclean-target: maybe-distclean-target-libatomic
2071 .PHONY: do-maintainer-clean
2072 do-maintainer-clean:
2073 @: $(MAKE); $(unstage)
2074 @r=`${PWD_COMMAND}`; export r; \
2075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2076 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2077 maintainer-clean-target
2080 .PHONY: maintainer-clean-host
2082 maintainer-clean-host: maybe-maintainer-clean-bfd
2083 maintainer-clean-host: maybe-maintainer-clean-opcodes
2084 maintainer-clean-host: maybe-maintainer-clean-binutils
2085 maintainer-clean-host: maybe-maintainer-clean-bison
2086 maintainer-clean-host: maybe-maintainer-clean-cgen
2087 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2088 maintainer-clean-host: maybe-maintainer-clean-etc
2089 maintainer-clean-host: maybe-maintainer-clean-fastjar
2090 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2091 maintainer-clean-host: maybe-maintainer-clean-flex
2092 maintainer-clean-host: maybe-maintainer-clean-gas
2093 maintainer-clean-host: maybe-maintainer-clean-gcc
2094 maintainer-clean-host: maybe-maintainer-clean-gmp
2095 maintainer-clean-host: maybe-maintainer-clean-mpfr
2096 maintainer-clean-host: maybe-maintainer-clean-mpc
2097 maintainer-clean-host: maybe-maintainer-clean-ppl
2098 maintainer-clean-host: maybe-maintainer-clean-cloog
2099 maintainer-clean-host: maybe-maintainer-clean-libelf
2100 maintainer-clean-host: maybe-maintainer-clean-gold
2101 maintainer-clean-host: maybe-maintainer-clean-gprof
2102 maintainer-clean-host: maybe-maintainer-clean-intl
2103 maintainer-clean-host: maybe-maintainer-clean-tcl
2104 maintainer-clean-host: maybe-maintainer-clean-itcl
2105 maintainer-clean-host: maybe-maintainer-clean-ld
2106 maintainer-clean-host: maybe-maintainer-clean-libcpp
2107 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2108 maintainer-clean-host: maybe-maintainer-clean-libgui
2109 maintainer-clean-host: maybe-maintainer-clean-libiberty
2110 maintainer-clean-host: maybe-maintainer-clean-libiconv
2111 maintainer-clean-host: maybe-maintainer-clean-m4
2112 maintainer-clean-host: maybe-maintainer-clean-readline
2113 maintainer-clean-host: maybe-maintainer-clean-sid
2114 maintainer-clean-host: maybe-maintainer-clean-sim
2115 maintainer-clean-host: maybe-maintainer-clean-texinfo
2116 maintainer-clean-host: maybe-maintainer-clean-zlib
2117 maintainer-clean-host: maybe-maintainer-clean-gdb
2118 maintainer-clean-host: maybe-maintainer-clean-expect
2119 maintainer-clean-host: maybe-maintainer-clean-guile
2120 maintainer-clean-host: maybe-maintainer-clean-tk
2121 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2122 maintainer-clean-host: maybe-maintainer-clean-utils
2123 maintainer-clean-host: maybe-maintainer-clean-gnattools
2124 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2126 .PHONY: maintainer-clean-target
2128 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2129 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2130 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2131 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2132 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2133 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2134 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2135 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2136 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2137 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2138 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2139 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2140 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2141 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2142 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2143 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2144 maintainer-clean-target: maybe-maintainer-clean-target-rda
2145 maintainer-clean-target: maybe-maintainer-clean-target-libada
2146 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2147 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2148 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2151 # Here are the targets which correspond to the do-X targets.
2153 .PHONY: info installcheck dvi pdf html
2154 .PHONY: install-info install-pdf install-html
2155 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2156 .PHONY: local-clean local-distclean local-maintainer-clean
2157 info: do-info
2158 installcheck: do-installcheck
2159 dvi: do-dvi
2160 pdf: do-pdf
2161 html: do-html
2163 # Make sure makeinfo is built before we do a `make info', if we're
2164 # in fact building texinfo.
2165 do-info: maybe-all-texinfo
2167 install-info: do-install-info dir.info
2168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2169 if [ -f dir.info ] ; then \
2170 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2171 else true ; fi
2173 install-pdf: do-install-pdf
2175 install-html: do-install-html
2177 local-clean:
2178 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2180 local-distclean:
2181 -rm -f Makefile config.status config.cache mh-frag mt-frag
2182 -rm -f maybedep.tmp serdep.tmp
2183 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2184 rm -rf $(TARGET_SUBDIR); \
2185 else true; fi
2186 -rm -rf $(BUILD_SUBDIR)
2187 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2188 rm -rf $(HOST_SUBDIR); \
2189 else true; fi
2190 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2191 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2192 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2193 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2194 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2195 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2197 local-maintainer-clean:
2198 @echo "This command is intended for maintainers to use;"
2199 @echo "it deletes files that may require special tools to rebuild."
2201 clean: do-clean local-clean
2202 mostlyclean: do-mostlyclean local-clean
2203 distclean: do-distclean local-clean local-distclean
2204 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2205 maintainer-clean: local-distclean
2206 realclean: maintainer-clean
2208 # Check target.
2210 .PHONY: check do-check
2211 check: do-check
2213 # Only include modules actually being configured and built.
2214 .PHONY: check-host
2215 check-host: \
2216 maybe-check-bfd \
2217 maybe-check-opcodes \
2218 maybe-check-binutils \
2219 maybe-check-bison \
2220 maybe-check-cgen \
2221 maybe-check-dejagnu \
2222 maybe-check-etc \
2223 maybe-check-fastjar \
2224 maybe-check-fixincludes \
2225 maybe-check-flex \
2226 maybe-check-gas \
2227 maybe-check-gcc \
2228 maybe-check-gmp \
2229 maybe-check-mpfr \
2230 maybe-check-mpc \
2231 maybe-check-ppl \
2232 maybe-check-cloog \
2233 maybe-check-libelf \
2234 maybe-check-gold \
2235 maybe-check-gprof \
2236 maybe-check-intl \
2237 maybe-check-tcl \
2238 maybe-check-itcl \
2239 maybe-check-ld \
2240 maybe-check-libcpp \
2241 maybe-check-libdecnumber \
2242 maybe-check-libgui \
2243 maybe-check-libiberty \
2244 maybe-check-libiconv \
2245 maybe-check-m4 \
2246 maybe-check-readline \
2247 maybe-check-sid \
2248 maybe-check-sim \
2249 maybe-check-texinfo \
2250 maybe-check-zlib \
2251 maybe-check-gdb \
2252 maybe-check-expect \
2253 maybe-check-guile \
2254 maybe-check-tk \
2255 maybe-check-libtermcap \
2256 maybe-check-utils \
2257 maybe-check-gnattools \
2258 maybe-check-lto-plugin
2260 .PHONY: check-target
2261 check-target: \
2262 maybe-check-target-libstdc++-v3 \
2263 maybe-check-target-libmudflap \
2264 maybe-check-target-libssp \
2265 maybe-check-target-newlib \
2266 maybe-check-target-libgcc \
2267 maybe-check-target-libquadmath \
2268 maybe-check-target-libgfortran \
2269 maybe-check-target-libobjc \
2270 maybe-check-target-libgo \
2271 maybe-check-target-libtermcap \
2272 maybe-check-target-winsup \
2273 maybe-check-target-libgloss \
2274 maybe-check-target-libffi \
2275 maybe-check-target-libjava \
2276 maybe-check-target-zlib \
2277 maybe-check-target-boehm-gc \
2278 maybe-check-target-rda \
2279 maybe-check-target-libada \
2280 maybe-check-target-libgomp \
2281 maybe-check-target-libitm \
2282 maybe-check-target-libatomic
2284 do-check:
2285 @: $(MAKE); $(unstage)
2286 @r=`${PWD_COMMAND}`; export r; \
2287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2288 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2290 # Automated reporting of test results.
2292 warning.log: build.log
2293 $(srcdir)/contrib/warn_summary build.log > $@
2295 mail-report.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 >$@
2300 chmod +x $@
2301 echo If you really want to send e-mail, run ./$@ now
2303 mail-report-with-warnings.log: warning.log
2304 if test x'$(BOOT_CFLAGS)' != x''; then \
2305 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2306 fi; \
2307 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2308 chmod +x $@
2309 echo If you really want to send e-mail, run ./$@ now
2311 # Installation targets.
2313 .PHONY: install uninstall
2314 install:
2315 @: $(MAKE); $(unstage)
2316 @r=`${PWD_COMMAND}`; export r; \
2317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2318 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2320 .PHONY: install-host-nogcc
2321 install-host-nogcc: \
2322 maybe-install-bfd \
2323 maybe-install-opcodes \
2324 maybe-install-binutils \
2325 maybe-install-bison \
2326 maybe-install-cgen \
2327 maybe-install-dejagnu \
2328 maybe-install-etc \
2329 maybe-install-fastjar \
2330 maybe-install-fixincludes \
2331 maybe-install-flex \
2332 maybe-install-gas \
2333 maybe-install-gmp \
2334 maybe-install-mpfr \
2335 maybe-install-mpc \
2336 maybe-install-ppl \
2337 maybe-install-cloog \
2338 maybe-install-libelf \
2339 maybe-install-gold \
2340 maybe-install-gprof \
2341 maybe-install-intl \
2342 maybe-install-tcl \
2343 maybe-install-itcl \
2344 maybe-install-ld \
2345 maybe-install-libcpp \
2346 maybe-install-libdecnumber \
2347 maybe-install-libgui \
2348 maybe-install-libiberty \
2349 maybe-install-libiconv \
2350 maybe-install-m4 \
2351 maybe-install-readline \
2352 maybe-install-sid \
2353 maybe-install-sim \
2354 maybe-install-texinfo \
2355 maybe-install-zlib \
2356 maybe-install-gdb \
2357 maybe-install-expect \
2358 maybe-install-guile \
2359 maybe-install-tk \
2360 maybe-install-libtermcap \
2361 maybe-install-utils \
2362 maybe-install-gnattools \
2363 maybe-install-lto-plugin
2365 .PHONY: install-host
2366 install-host: \
2367 maybe-install-bfd \
2368 maybe-install-opcodes \
2369 maybe-install-binutils \
2370 maybe-install-bison \
2371 maybe-install-cgen \
2372 maybe-install-dejagnu \
2373 maybe-install-etc \
2374 maybe-install-fastjar \
2375 maybe-install-fixincludes \
2376 maybe-install-flex \
2377 maybe-install-gas \
2378 maybe-install-gcc \
2379 maybe-install-gmp \
2380 maybe-install-mpfr \
2381 maybe-install-mpc \
2382 maybe-install-ppl \
2383 maybe-install-cloog \
2384 maybe-install-libelf \
2385 maybe-install-gold \
2386 maybe-install-gprof \
2387 maybe-install-intl \
2388 maybe-install-tcl \
2389 maybe-install-itcl \
2390 maybe-install-ld \
2391 maybe-install-libcpp \
2392 maybe-install-libdecnumber \
2393 maybe-install-libgui \
2394 maybe-install-libiberty \
2395 maybe-install-libiconv \
2396 maybe-install-m4 \
2397 maybe-install-readline \
2398 maybe-install-sid \
2399 maybe-install-sim \
2400 maybe-install-texinfo \
2401 maybe-install-zlib \
2402 maybe-install-gdb \
2403 maybe-install-expect \
2404 maybe-install-guile \
2405 maybe-install-tk \
2406 maybe-install-libtermcap \
2407 maybe-install-utils \
2408 maybe-install-gnattools \
2409 maybe-install-lto-plugin
2411 .PHONY: install-target
2412 install-target: \
2413 maybe-install-target-libstdc++-v3 \
2414 maybe-install-target-libmudflap \
2415 maybe-install-target-libssp \
2416 maybe-install-target-newlib \
2417 maybe-install-target-libgcc \
2418 maybe-install-target-libquadmath \
2419 maybe-install-target-libgfortran \
2420 maybe-install-target-libobjc \
2421 maybe-install-target-libgo \
2422 maybe-install-target-libtermcap \
2423 maybe-install-target-winsup \
2424 maybe-install-target-libgloss \
2425 maybe-install-target-libffi \
2426 maybe-install-target-libjava \
2427 maybe-install-target-zlib \
2428 maybe-install-target-boehm-gc \
2429 maybe-install-target-rda \
2430 maybe-install-target-libada \
2431 maybe-install-target-libgomp \
2432 maybe-install-target-libitm \
2433 maybe-install-target-libatomic
2435 uninstall:
2436 @echo "the uninstall target is not supported in this tree"
2438 .PHONY: install.all
2439 install.all: install-no-fixedincludes
2440 @if [ -f ./gcc/Makefile ] ; then \
2441 r=`${PWD_COMMAND}` ; export r ; \
2442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2443 $(HOST_EXPORTS) \
2444 (cd ./gcc && \
2445 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2446 else \
2447 true ; \
2450 # install-no-fixedincludes is used to allow the elaboration of binary packages
2451 # suitable for distribution, where we cannot include the fixed system header
2452 # files.
2453 .PHONY: install-no-fixedincludes
2454 install-no-fixedincludes: installdirs install-host-nogcc \
2455 install-target gcc-install-no-fixedincludes
2457 .PHONY: install-strip
2458 install-strip:
2459 @: $(MAKE); $(unstage)
2460 @r=`${PWD_COMMAND}`; export r; \
2461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2462 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2464 .PHONY: install-strip-host
2465 install-strip-host: \
2466 maybe-install-strip-bfd \
2467 maybe-install-strip-opcodes \
2468 maybe-install-strip-binutils \
2469 maybe-install-strip-bison \
2470 maybe-install-strip-cgen \
2471 maybe-install-strip-dejagnu \
2472 maybe-install-strip-etc \
2473 maybe-install-strip-fastjar \
2474 maybe-install-strip-fixincludes \
2475 maybe-install-strip-flex \
2476 maybe-install-strip-gas \
2477 maybe-install-strip-gcc \
2478 maybe-install-strip-gmp \
2479 maybe-install-strip-mpfr \
2480 maybe-install-strip-mpc \
2481 maybe-install-strip-ppl \
2482 maybe-install-strip-cloog \
2483 maybe-install-strip-libelf \
2484 maybe-install-strip-gold \
2485 maybe-install-strip-gprof \
2486 maybe-install-strip-intl \
2487 maybe-install-strip-tcl \
2488 maybe-install-strip-itcl \
2489 maybe-install-strip-ld \
2490 maybe-install-strip-libcpp \
2491 maybe-install-strip-libdecnumber \
2492 maybe-install-strip-libgui \
2493 maybe-install-strip-libiberty \
2494 maybe-install-strip-libiconv \
2495 maybe-install-strip-m4 \
2496 maybe-install-strip-readline \
2497 maybe-install-strip-sid \
2498 maybe-install-strip-sim \
2499 maybe-install-strip-texinfo \
2500 maybe-install-strip-zlib \
2501 maybe-install-strip-gdb \
2502 maybe-install-strip-expect \
2503 maybe-install-strip-guile \
2504 maybe-install-strip-tk \
2505 maybe-install-strip-libtermcap \
2506 maybe-install-strip-utils \
2507 maybe-install-strip-gnattools \
2508 maybe-install-strip-lto-plugin
2510 .PHONY: install-strip-target
2511 install-strip-target: \
2512 maybe-install-strip-target-libstdc++-v3 \
2513 maybe-install-strip-target-libmudflap \
2514 maybe-install-strip-target-libssp \
2515 maybe-install-strip-target-newlib \
2516 maybe-install-strip-target-libgcc \
2517 maybe-install-strip-target-libquadmath \
2518 maybe-install-strip-target-libgfortran \
2519 maybe-install-strip-target-libobjc \
2520 maybe-install-strip-target-libgo \
2521 maybe-install-strip-target-libtermcap \
2522 maybe-install-strip-target-winsup \
2523 maybe-install-strip-target-libgloss \
2524 maybe-install-strip-target-libffi \
2525 maybe-install-strip-target-libjava \
2526 maybe-install-strip-target-zlib \
2527 maybe-install-strip-target-boehm-gc \
2528 maybe-install-strip-target-rda \
2529 maybe-install-strip-target-libada \
2530 maybe-install-strip-target-libgomp \
2531 maybe-install-strip-target-libitm \
2532 maybe-install-strip-target-libatomic
2535 ### other supporting targets
2537 MAKEDIRS= \
2538 $(DESTDIR)$(prefix) \
2539 $(DESTDIR)$(exec_prefix)
2540 .PHONY: installdirs
2541 installdirs: mkinstalldirs
2542 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2544 dir.info: do-install-info
2545 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2546 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2547 mv -f dir.info.new dir.info ; \
2548 else true ; \
2551 dist:
2552 @echo "Building a full distribution of this tree isn't done"
2553 @echo "via 'make dist'. Check out the etc/ subdirectory"
2555 etags tags: TAGS
2557 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2558 # ability to use several tags files at once, so there is probably no need
2559 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2560 # (if we felt like it) have this Makefile write a piece of elisp which
2561 # the user could load to tell emacs19 where all the TAGS files we just
2562 # built are.
2563 TAGS: do-TAGS
2565 # ------------------------------------
2566 # Macros for configure and all targets
2567 # ------------------------------------
2573 # --------------------------------------
2574 # Modules which run on the build machine
2575 # --------------------------------------
2578 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2579 maybe-configure-build-libiberty:
2580 @if gcc-bootstrap
2581 configure-build-libiberty: stage_current
2582 @endif gcc-bootstrap
2583 @if build-libiberty
2584 maybe-configure-build-libiberty: configure-build-libiberty
2585 configure-build-libiberty:
2586 @: $(MAKE); $(unstage)
2587 @r=`${PWD_COMMAND}`; export r; \
2588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2589 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2590 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2591 $(BUILD_EXPORTS) \
2592 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2593 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2594 case $(srcdir) in \
2595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2596 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2598 esac; \
2599 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2600 libsrcdir="$$s/libiberty"; \
2601 rm -f no-such-file || : ; \
2602 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2603 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2604 --target=${target_alias} $${srcdiroption} \
2605 || exit 1
2606 @endif build-libiberty
2612 .PHONY: all-build-libiberty maybe-all-build-libiberty
2613 maybe-all-build-libiberty:
2614 @if gcc-bootstrap
2615 all-build-libiberty: stage_current
2616 @endif gcc-bootstrap
2617 @if build-libiberty
2618 TARGET-build-libiberty=all
2619 maybe-all-build-libiberty: all-build-libiberty
2620 all-build-libiberty: configure-build-libiberty
2621 @: $(MAKE); $(unstage)
2622 @r=`${PWD_COMMAND}`; export r; \
2623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2624 $(BUILD_EXPORTS) \
2625 (cd $(BUILD_SUBDIR)/libiberty && \
2626 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2627 $(TARGET-build-libiberty))
2628 @endif build-libiberty
2634 .PHONY: configure-build-bison maybe-configure-build-bison
2635 maybe-configure-build-bison:
2636 @if gcc-bootstrap
2637 configure-build-bison: stage_current
2638 @endif gcc-bootstrap
2639 @if build-bison
2640 maybe-configure-build-bison: configure-build-bison
2641 configure-build-bison:
2642 @: $(MAKE); $(unstage)
2643 @r=`${PWD_COMMAND}`; export r; \
2644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2645 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2646 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2647 $(BUILD_EXPORTS) \
2648 echo Configuring in $(BUILD_SUBDIR)/bison; \
2649 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2650 case $(srcdir) in \
2651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2652 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2654 esac; \
2655 srcdiroption="--srcdir=$${topdir}/bison"; \
2656 libsrcdir="$$s/bison"; \
2657 rm -f no-such-file || : ; \
2658 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2659 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2660 --target=${target_alias} $${srcdiroption} \
2661 || exit 1
2662 @endif build-bison
2668 .PHONY: all-build-bison maybe-all-build-bison
2669 maybe-all-build-bison:
2670 @if gcc-bootstrap
2671 all-build-bison: stage_current
2672 @endif gcc-bootstrap
2673 @if build-bison
2674 TARGET-build-bison=all
2675 maybe-all-build-bison: all-build-bison
2676 all-build-bison: configure-build-bison
2677 @: $(MAKE); $(unstage)
2678 @r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680 $(BUILD_EXPORTS) \
2681 (cd $(BUILD_SUBDIR)/bison && \
2682 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2683 $(TARGET-build-bison))
2684 @endif build-bison
2690 .PHONY: configure-build-flex maybe-configure-build-flex
2691 maybe-configure-build-flex:
2692 @if gcc-bootstrap
2693 configure-build-flex: stage_current
2694 @endif gcc-bootstrap
2695 @if build-flex
2696 maybe-configure-build-flex: configure-build-flex
2697 configure-build-flex:
2698 @: $(MAKE); $(unstage)
2699 @r=`${PWD_COMMAND}`; export r; \
2700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2701 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2702 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2703 $(BUILD_EXPORTS) \
2704 echo Configuring in $(BUILD_SUBDIR)/flex; \
2705 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2706 case $(srcdir) in \
2707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2708 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2710 esac; \
2711 srcdiroption="--srcdir=$${topdir}/flex"; \
2712 libsrcdir="$$s/flex"; \
2713 rm -f no-such-file || : ; \
2714 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2715 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2716 --target=${target_alias} $${srcdiroption} \
2717 || exit 1
2718 @endif build-flex
2724 .PHONY: all-build-flex maybe-all-build-flex
2725 maybe-all-build-flex:
2726 @if gcc-bootstrap
2727 all-build-flex: stage_current
2728 @endif gcc-bootstrap
2729 @if build-flex
2730 TARGET-build-flex=all
2731 maybe-all-build-flex: all-build-flex
2732 all-build-flex: configure-build-flex
2733 @: $(MAKE); $(unstage)
2734 @r=`${PWD_COMMAND}`; export r; \
2735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2736 $(BUILD_EXPORTS) \
2737 (cd $(BUILD_SUBDIR)/flex && \
2738 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2739 $(TARGET-build-flex))
2740 @endif build-flex
2746 .PHONY: configure-build-m4 maybe-configure-build-m4
2747 maybe-configure-build-m4:
2748 @if gcc-bootstrap
2749 configure-build-m4: stage_current
2750 @endif gcc-bootstrap
2751 @if build-m4
2752 maybe-configure-build-m4: configure-build-m4
2753 configure-build-m4:
2754 @: $(MAKE); $(unstage)
2755 @r=`${PWD_COMMAND}`; export r; \
2756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2757 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2758 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2759 $(BUILD_EXPORTS) \
2760 echo Configuring in $(BUILD_SUBDIR)/m4; \
2761 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2762 case $(srcdir) in \
2763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2764 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2766 esac; \
2767 srcdiroption="--srcdir=$${topdir}/m4"; \
2768 libsrcdir="$$s/m4"; \
2769 rm -f no-such-file || : ; \
2770 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2771 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2772 --target=${target_alias} $${srcdiroption} \
2773 || exit 1
2774 @endif build-m4
2780 .PHONY: all-build-m4 maybe-all-build-m4
2781 maybe-all-build-m4:
2782 @if gcc-bootstrap
2783 all-build-m4: stage_current
2784 @endif gcc-bootstrap
2785 @if build-m4
2786 TARGET-build-m4=all
2787 maybe-all-build-m4: all-build-m4
2788 all-build-m4: configure-build-m4
2789 @: $(MAKE); $(unstage)
2790 @r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2792 $(BUILD_EXPORTS) \
2793 (cd $(BUILD_SUBDIR)/m4 && \
2794 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2795 $(TARGET-build-m4))
2796 @endif build-m4
2802 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2803 maybe-configure-build-texinfo:
2804 @if gcc-bootstrap
2805 configure-build-texinfo: stage_current
2806 @endif gcc-bootstrap
2807 @if build-texinfo
2808 maybe-configure-build-texinfo: configure-build-texinfo
2809 configure-build-texinfo:
2810 @: $(MAKE); $(unstage)
2811 @r=`${PWD_COMMAND}`; export r; \
2812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2813 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2814 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2815 $(BUILD_EXPORTS) \
2816 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2817 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2818 case $(srcdir) in \
2819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2820 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2822 esac; \
2823 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2824 libsrcdir="$$s/texinfo"; \
2825 rm -f no-such-file || : ; \
2826 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2827 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2828 --target=${target_alias} $${srcdiroption} \
2829 || exit 1
2830 @endif build-texinfo
2836 .PHONY: all-build-texinfo maybe-all-build-texinfo
2837 maybe-all-build-texinfo:
2838 @if gcc-bootstrap
2839 all-build-texinfo: stage_current
2840 @endif gcc-bootstrap
2841 @if build-texinfo
2842 TARGET-build-texinfo=all
2843 maybe-all-build-texinfo: all-build-texinfo
2844 all-build-texinfo: configure-build-texinfo
2845 @: $(MAKE); $(unstage)
2846 @r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2848 $(BUILD_EXPORTS) \
2849 (cd $(BUILD_SUBDIR)/texinfo && \
2850 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2851 $(TARGET-build-texinfo))
2852 @endif build-texinfo
2858 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2859 maybe-configure-build-fixincludes:
2860 @if gcc-bootstrap
2861 configure-build-fixincludes: stage_current
2862 @endif gcc-bootstrap
2863 @if build-fixincludes
2864 maybe-configure-build-fixincludes: configure-build-fixincludes
2865 configure-build-fixincludes:
2866 @: $(MAKE); $(unstage)
2867 @r=`${PWD_COMMAND}`; export r; \
2868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2869 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2870 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2871 $(BUILD_EXPORTS) \
2872 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2873 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2874 case $(srcdir) in \
2875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2876 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2878 esac; \
2879 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2880 libsrcdir="$$s/fixincludes"; \
2881 rm -f no-such-file || : ; \
2882 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2883 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2884 --target=${target_alias} $${srcdiroption} \
2885 || exit 1
2886 @endif build-fixincludes
2892 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2893 maybe-all-build-fixincludes:
2894 @if gcc-bootstrap
2895 all-build-fixincludes: stage_current
2896 @endif gcc-bootstrap
2897 @if build-fixincludes
2898 TARGET-build-fixincludes=all
2899 maybe-all-build-fixincludes: all-build-fixincludes
2900 all-build-fixincludes: configure-build-fixincludes
2901 @: $(MAKE); $(unstage)
2902 @r=`${PWD_COMMAND}`; export r; \
2903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2904 $(BUILD_EXPORTS) \
2905 (cd $(BUILD_SUBDIR)/fixincludes && \
2906 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2907 $(TARGET-build-fixincludes))
2908 @endif build-fixincludes
2914 # --------------------------------------
2915 # Modules which run on the host machine
2916 # --------------------------------------
2919 .PHONY: configure-bfd maybe-configure-bfd
2920 maybe-configure-bfd:
2921 @if gcc-bootstrap
2922 configure-bfd: stage_current
2923 @endif gcc-bootstrap
2924 @if bfd
2925 maybe-configure-bfd: configure-bfd
2926 configure-bfd:
2927 @r=`${PWD_COMMAND}`; export r; \
2928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2929 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2931 $(HOST_EXPORTS) \
2932 echo Configuring in $(HOST_SUBDIR)/bfd; \
2933 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2934 case $(srcdir) in \
2935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2936 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2938 esac; \
2939 srcdiroption="--srcdir=$${topdir}/bfd"; \
2940 libsrcdir="$$s/bfd"; \
2941 $(SHELL) $${libsrcdir}/configure \
2942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2943 --target=${target_alias} $${srcdiroption} \
2944 || exit 1
2945 @endif bfd
2949 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2950 maybe-configure-stage1-bfd:
2951 @if bfd-bootstrap
2952 maybe-configure-stage1-bfd: configure-stage1-bfd
2953 configure-stage1-bfd:
2954 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2955 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2956 @r=`${PWD_COMMAND}`; export r; \
2957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2958 TFLAGS="$(STAGE1_TFLAGS)"; \
2959 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2960 $(HOST_EXPORTS) \
2961 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2962 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2963 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2964 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2966 cd $(HOST_SUBDIR)/bfd || exit 1; \
2967 case $(srcdir) in \
2968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2969 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2971 esac; \
2972 srcdiroption="--srcdir=$${topdir}/bfd"; \
2973 libsrcdir="$$s/bfd"; \
2974 $(SHELL) $${libsrcdir}/configure \
2975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2976 --target=${target_alias} $${srcdiroption} \
2977 $(STAGE1_CONFIGURE_FLAGS)
2978 @endif bfd-bootstrap
2980 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2981 maybe-configure-stage2-bfd:
2982 @if bfd-bootstrap
2983 maybe-configure-stage2-bfd: configure-stage2-bfd
2984 configure-stage2-bfd:
2985 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2987 @r=`${PWD_COMMAND}`; export r; \
2988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2989 TFLAGS="$(STAGE2_TFLAGS)"; \
2990 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2991 $(HOST_EXPORTS) \
2992 $(POSTSTAGE1_HOST_EXPORTS) \
2993 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2994 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2995 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2996 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2998 cd $(HOST_SUBDIR)/bfd || exit 1; \
2999 case $(srcdir) in \
3000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3001 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3003 esac; \
3004 srcdiroption="--srcdir=$${topdir}/bfd"; \
3005 libsrcdir="$$s/bfd"; \
3006 $(SHELL) $${libsrcdir}/configure \
3007 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3008 --target=${target_alias} $${srcdiroption} \
3009 --with-build-libsubdir=$(HOST_SUBDIR) \
3010 $(STAGE2_CONFIGURE_FLAGS)
3011 @endif bfd-bootstrap
3013 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3014 maybe-configure-stage3-bfd:
3015 @if bfd-bootstrap
3016 maybe-configure-stage3-bfd: configure-stage3-bfd
3017 configure-stage3-bfd:
3018 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3020 @r=`${PWD_COMMAND}`; export r; \
3021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3022 TFLAGS="$(STAGE3_TFLAGS)"; \
3023 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3024 $(HOST_EXPORTS) \
3025 $(POSTSTAGE1_HOST_EXPORTS) \
3026 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3027 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3028 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3029 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3031 cd $(HOST_SUBDIR)/bfd || exit 1; \
3032 case $(srcdir) in \
3033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3034 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3036 esac; \
3037 srcdiroption="--srcdir=$${topdir}/bfd"; \
3038 libsrcdir="$$s/bfd"; \
3039 $(SHELL) $${libsrcdir}/configure \
3040 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3041 --target=${target_alias} $${srcdiroption} \
3042 --with-build-libsubdir=$(HOST_SUBDIR) \
3043 $(STAGE3_CONFIGURE_FLAGS)
3044 @endif bfd-bootstrap
3046 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3047 maybe-configure-stage4-bfd:
3048 @if bfd-bootstrap
3049 maybe-configure-stage4-bfd: configure-stage4-bfd
3050 configure-stage4-bfd:
3051 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3053 @r=`${PWD_COMMAND}`; export r; \
3054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3055 TFLAGS="$(STAGE4_TFLAGS)"; \
3056 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3057 $(HOST_EXPORTS) \
3058 $(POSTSTAGE1_HOST_EXPORTS) \
3059 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3060 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3061 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3062 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3064 cd $(HOST_SUBDIR)/bfd || exit 1; \
3065 case $(srcdir) in \
3066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3067 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3069 esac; \
3070 srcdiroption="--srcdir=$${topdir}/bfd"; \
3071 libsrcdir="$$s/bfd"; \
3072 $(SHELL) $${libsrcdir}/configure \
3073 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3074 --target=${target_alias} $${srcdiroption} \
3075 --with-build-libsubdir=$(HOST_SUBDIR) \
3076 $(STAGE4_CONFIGURE_FLAGS)
3077 @endif bfd-bootstrap
3079 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3080 maybe-configure-stageprofile-bfd:
3081 @if bfd-bootstrap
3082 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3083 configure-stageprofile-bfd:
3084 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3085 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3086 @r=`${PWD_COMMAND}`; export r; \
3087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3088 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3089 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3090 $(HOST_EXPORTS) \
3091 $(POSTSTAGE1_HOST_EXPORTS) \
3092 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3093 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3094 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3095 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3097 cd $(HOST_SUBDIR)/bfd || exit 1; \
3098 case $(srcdir) in \
3099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3100 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3102 esac; \
3103 srcdiroption="--srcdir=$${topdir}/bfd"; \
3104 libsrcdir="$$s/bfd"; \
3105 $(SHELL) $${libsrcdir}/configure \
3106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3107 --target=${target_alias} $${srcdiroption} \
3108 --with-build-libsubdir=$(HOST_SUBDIR) \
3109 $(STAGEprofile_CONFIGURE_FLAGS)
3110 @endif bfd-bootstrap
3112 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3113 maybe-configure-stagefeedback-bfd:
3114 @if bfd-bootstrap
3115 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3116 configure-stagefeedback-bfd:
3117 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3119 @r=`${PWD_COMMAND}`; export r; \
3120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3121 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3122 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3123 $(HOST_EXPORTS) \
3124 $(POSTSTAGE1_HOST_EXPORTS) \
3125 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3126 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3127 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3128 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3130 cd $(HOST_SUBDIR)/bfd || exit 1; \
3131 case $(srcdir) in \
3132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3133 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3135 esac; \
3136 srcdiroption="--srcdir=$${topdir}/bfd"; \
3137 libsrcdir="$$s/bfd"; \
3138 $(SHELL) $${libsrcdir}/configure \
3139 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3140 --target=${target_alias} $${srcdiroption} \
3141 --with-build-libsubdir=$(HOST_SUBDIR) \
3142 $(STAGEfeedback_CONFIGURE_FLAGS)
3143 @endif bfd-bootstrap
3149 .PHONY: all-bfd maybe-all-bfd
3150 maybe-all-bfd:
3151 @if gcc-bootstrap
3152 all-bfd: stage_current
3153 @endif gcc-bootstrap
3154 @if bfd
3155 TARGET-bfd=all
3156 maybe-all-bfd: all-bfd
3157 all-bfd: configure-bfd
3158 @r=`${PWD_COMMAND}`; export r; \
3159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3160 $(HOST_EXPORTS) \
3161 (cd $(HOST_SUBDIR)/bfd && \
3162 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3163 $(TARGET-bfd))
3164 @endif bfd
3168 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3169 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3170 maybe-all-stage1-bfd:
3171 maybe-clean-stage1-bfd:
3172 @if bfd-bootstrap
3173 maybe-all-stage1-bfd: all-stage1-bfd
3174 all-stage1: all-stage1-bfd
3175 TARGET-stage1-bfd = $(TARGET-bfd)
3176 all-stage1-bfd: configure-stage1-bfd
3177 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3178 @r=`${PWD_COMMAND}`; export r; \
3179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3180 TFLAGS="$(STAGE1_TFLAGS)"; \
3181 $(HOST_EXPORTS) \
3182 cd $(HOST_SUBDIR)/bfd && \
3183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3184 CFLAGS="$(STAGE1_CFLAGS)" \
3185 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3186 LIBCFLAGS="$(LIBCFLAGS)" \
3187 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3188 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3189 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3190 $(EXTRA_HOST_FLAGS) \
3191 TFLAGS="$(STAGE1_TFLAGS)" \
3192 $(TARGET-stage1-bfd)
3194 maybe-clean-stage1-bfd: clean-stage1-bfd
3195 clean-stage1: clean-stage1-bfd
3196 clean-stage1-bfd:
3197 @if [ $(current_stage) = stage1 ]; then \
3198 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3199 else \
3200 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3201 $(MAKE) stage1-start; \
3202 fi; \
3203 cd $(HOST_SUBDIR)/bfd && \
3204 $(MAKE) $(EXTRA_HOST_FLAGS) \
3205 clean
3206 @endif bfd-bootstrap
3209 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3210 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3211 maybe-all-stage2-bfd:
3212 maybe-clean-stage2-bfd:
3213 @if bfd-bootstrap
3214 maybe-all-stage2-bfd: all-stage2-bfd
3215 all-stage2: all-stage2-bfd
3216 TARGET-stage2-bfd = $(TARGET-bfd)
3217 all-stage2-bfd: configure-stage2-bfd
3218 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3219 @r=`${PWD_COMMAND}`; export r; \
3220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3221 TFLAGS="$(STAGE2_TFLAGS)"; \
3222 $(HOST_EXPORTS) \
3223 $(POSTSTAGE1_HOST_EXPORTS) \
3224 cd $(HOST_SUBDIR)/bfd && \
3225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3226 CFLAGS="$(STAGE2_CFLAGS)" \
3227 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3228 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3232 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3233 TFLAGS="$(STAGE2_TFLAGS)" \
3234 $(TARGET-stage2-bfd)
3236 maybe-clean-stage2-bfd: clean-stage2-bfd
3237 clean-stage2: clean-stage2-bfd
3238 clean-stage2-bfd:
3239 @if [ $(current_stage) = stage2 ]; then \
3240 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3241 else \
3242 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3243 $(MAKE) stage2-start; \
3244 fi; \
3245 cd $(HOST_SUBDIR)/bfd && \
3246 $(MAKE) $(EXTRA_HOST_FLAGS) \
3247 $(POSTSTAGE1_FLAGS_TO_PASS) \
3248 clean
3249 @endif bfd-bootstrap
3252 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3253 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3254 maybe-all-stage3-bfd:
3255 maybe-clean-stage3-bfd:
3256 @if bfd-bootstrap
3257 maybe-all-stage3-bfd: all-stage3-bfd
3258 all-stage3: all-stage3-bfd
3259 TARGET-stage3-bfd = $(TARGET-bfd)
3260 all-stage3-bfd: configure-stage3-bfd
3261 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3262 @r=`${PWD_COMMAND}`; export r; \
3263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3264 TFLAGS="$(STAGE3_TFLAGS)"; \
3265 $(HOST_EXPORTS) \
3266 $(POSTSTAGE1_HOST_EXPORTS) \
3267 cd $(HOST_SUBDIR)/bfd && \
3268 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3269 CFLAGS="$(STAGE3_CFLAGS)" \
3270 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3271 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3272 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3273 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3274 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3275 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3276 TFLAGS="$(STAGE3_TFLAGS)" \
3277 $(TARGET-stage3-bfd)
3279 maybe-clean-stage3-bfd: clean-stage3-bfd
3280 clean-stage3: clean-stage3-bfd
3281 clean-stage3-bfd:
3282 @if [ $(current_stage) = stage3 ]; then \
3283 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3284 else \
3285 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3286 $(MAKE) stage3-start; \
3287 fi; \
3288 cd $(HOST_SUBDIR)/bfd && \
3289 $(MAKE) $(EXTRA_HOST_FLAGS) \
3290 $(POSTSTAGE1_FLAGS_TO_PASS) \
3291 clean
3292 @endif bfd-bootstrap
3295 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3296 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3297 maybe-all-stage4-bfd:
3298 maybe-clean-stage4-bfd:
3299 @if bfd-bootstrap
3300 maybe-all-stage4-bfd: all-stage4-bfd
3301 all-stage4: all-stage4-bfd
3302 TARGET-stage4-bfd = $(TARGET-bfd)
3303 all-stage4-bfd: configure-stage4-bfd
3304 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3305 @r=`${PWD_COMMAND}`; export r; \
3306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3307 TFLAGS="$(STAGE4_TFLAGS)"; \
3308 $(HOST_EXPORTS) \
3309 $(POSTSTAGE1_HOST_EXPORTS) \
3310 cd $(HOST_SUBDIR)/bfd && \
3311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3312 CFLAGS="$(STAGE4_CFLAGS)" \
3313 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3314 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3315 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3316 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3317 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3318 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3319 TFLAGS="$(STAGE4_TFLAGS)" \
3320 $(TARGET-stage4-bfd)
3322 maybe-clean-stage4-bfd: clean-stage4-bfd
3323 clean-stage4: clean-stage4-bfd
3324 clean-stage4-bfd:
3325 @if [ $(current_stage) = stage4 ]; then \
3326 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3327 else \
3328 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3329 $(MAKE) stage4-start; \
3330 fi; \
3331 cd $(HOST_SUBDIR)/bfd && \
3332 $(MAKE) $(EXTRA_HOST_FLAGS) \
3333 $(POSTSTAGE1_FLAGS_TO_PASS) \
3334 clean
3335 @endif bfd-bootstrap
3338 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3339 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3340 maybe-all-stageprofile-bfd:
3341 maybe-clean-stageprofile-bfd:
3342 @if bfd-bootstrap
3343 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3344 all-stageprofile: all-stageprofile-bfd
3345 TARGET-stageprofile-bfd = $(TARGET-bfd)
3346 all-stageprofile-bfd: configure-stageprofile-bfd
3347 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3348 @r=`${PWD_COMMAND}`; export r; \
3349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3350 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3351 $(HOST_EXPORTS) \
3352 $(POSTSTAGE1_HOST_EXPORTS) \
3353 cd $(HOST_SUBDIR)/bfd && \
3354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3355 CFLAGS="$(STAGEprofile_CFLAGS)" \
3356 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3357 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3362 TFLAGS="$(STAGEprofile_TFLAGS)" \
3363 $(TARGET-stageprofile-bfd)
3365 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3366 clean-stageprofile: clean-stageprofile-bfd
3367 clean-stageprofile-bfd:
3368 @if [ $(current_stage) = stageprofile ]; then \
3369 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3370 else \
3371 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3372 $(MAKE) stageprofile-start; \
3373 fi; \
3374 cd $(HOST_SUBDIR)/bfd && \
3375 $(MAKE) $(EXTRA_HOST_FLAGS) \
3376 $(POSTSTAGE1_FLAGS_TO_PASS) \
3377 clean
3378 @endif bfd-bootstrap
3381 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3382 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3383 maybe-all-stagefeedback-bfd:
3384 maybe-clean-stagefeedback-bfd:
3385 @if bfd-bootstrap
3386 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3387 all-stagefeedback: all-stagefeedback-bfd
3388 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3389 all-stagefeedback-bfd: configure-stagefeedback-bfd
3390 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3391 @r=`${PWD_COMMAND}`; export r; \
3392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3393 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3394 $(HOST_EXPORTS) \
3395 $(POSTSTAGE1_HOST_EXPORTS) \
3396 cd $(HOST_SUBDIR)/bfd && \
3397 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3398 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3399 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3400 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3401 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3402 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3403 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3404 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3405 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3406 $(TARGET-stagefeedback-bfd)
3408 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3409 clean-stagefeedback: clean-stagefeedback-bfd
3410 clean-stagefeedback-bfd:
3411 @if [ $(current_stage) = stagefeedback ]; then \
3412 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3413 else \
3414 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3415 $(MAKE) stagefeedback-start; \
3416 fi; \
3417 cd $(HOST_SUBDIR)/bfd && \
3418 $(MAKE) $(EXTRA_HOST_FLAGS) \
3419 $(POSTSTAGE1_FLAGS_TO_PASS) \
3420 clean
3421 @endif bfd-bootstrap
3427 .PHONY: check-bfd maybe-check-bfd
3428 maybe-check-bfd:
3429 @if bfd
3430 maybe-check-bfd: check-bfd
3432 check-bfd:
3433 @: $(MAKE); $(unstage)
3434 @r=`${PWD_COMMAND}`; export r; \
3435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3436 $(HOST_EXPORTS) \
3437 (cd $(HOST_SUBDIR)/bfd && \
3438 $(MAKE) $(FLAGS_TO_PASS) check)
3440 @endif bfd
3442 .PHONY: install-bfd maybe-install-bfd
3443 maybe-install-bfd:
3444 @if bfd
3445 maybe-install-bfd: install-bfd
3447 install-bfd: installdirs
3448 @: $(MAKE); $(unstage)
3449 @r=`${PWD_COMMAND}`; export r; \
3450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3451 $(HOST_EXPORTS) \
3452 (cd $(HOST_SUBDIR)/bfd && \
3453 $(MAKE) $(FLAGS_TO_PASS) install)
3455 @endif bfd
3457 .PHONY: install-strip-bfd maybe-install-strip-bfd
3458 maybe-install-strip-bfd:
3459 @if bfd
3460 maybe-install-strip-bfd: install-strip-bfd
3462 install-strip-bfd: installdirs
3463 @: $(MAKE); $(unstage)
3464 @r=`${PWD_COMMAND}`; export r; \
3465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3466 $(HOST_EXPORTS) \
3467 (cd $(HOST_SUBDIR)/bfd && \
3468 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3470 @endif bfd
3472 # Other targets (info, dvi, pdf, etc.)
3474 .PHONY: maybe-info-bfd info-bfd
3475 maybe-info-bfd:
3476 @if bfd
3477 maybe-info-bfd: info-bfd
3479 info-bfd: \
3480 configure-bfd
3481 @[ -f ./bfd/Makefile ] || exit 0; \
3482 r=`${PWD_COMMAND}`; export r; \
3483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3484 $(HOST_EXPORTS) \
3485 for flag in $(EXTRA_HOST_FLAGS) ; do \
3486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3487 done; \
3488 echo "Doing info in bfd" ; \
3489 (cd $(HOST_SUBDIR)/bfd && \
3490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3492 "RANLIB=$${RANLIB}" \
3493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3494 info) \
3495 || exit 1
3497 @endif bfd
3499 .PHONY: maybe-dvi-bfd dvi-bfd
3500 maybe-dvi-bfd:
3501 @if bfd
3502 maybe-dvi-bfd: dvi-bfd
3504 dvi-bfd: \
3505 configure-bfd
3506 @[ -f ./bfd/Makefile ] || exit 0; \
3507 r=`${PWD_COMMAND}`; export r; \
3508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3509 $(HOST_EXPORTS) \
3510 for flag in $(EXTRA_HOST_FLAGS) ; do \
3511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3512 done; \
3513 echo "Doing dvi in bfd" ; \
3514 (cd $(HOST_SUBDIR)/bfd && \
3515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3517 "RANLIB=$${RANLIB}" \
3518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3519 dvi) \
3520 || exit 1
3522 @endif bfd
3524 .PHONY: maybe-pdf-bfd pdf-bfd
3525 maybe-pdf-bfd:
3526 @if bfd
3527 maybe-pdf-bfd: pdf-bfd
3529 pdf-bfd: \
3530 configure-bfd
3531 @[ -f ./bfd/Makefile ] || exit 0; \
3532 r=`${PWD_COMMAND}`; export r; \
3533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3534 $(HOST_EXPORTS) \
3535 for flag in $(EXTRA_HOST_FLAGS) ; do \
3536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3537 done; \
3538 echo "Doing pdf in bfd" ; \
3539 (cd $(HOST_SUBDIR)/bfd && \
3540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3542 "RANLIB=$${RANLIB}" \
3543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3544 pdf) \
3545 || exit 1
3547 @endif bfd
3549 .PHONY: maybe-html-bfd html-bfd
3550 maybe-html-bfd:
3551 @if bfd
3552 maybe-html-bfd: html-bfd
3554 html-bfd: \
3555 configure-bfd
3556 @[ -f ./bfd/Makefile ] || exit 0; \
3557 r=`${PWD_COMMAND}`; export r; \
3558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3559 $(HOST_EXPORTS) \
3560 for flag in $(EXTRA_HOST_FLAGS) ; do \
3561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3562 done; \
3563 echo "Doing html in bfd" ; \
3564 (cd $(HOST_SUBDIR)/bfd && \
3565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3567 "RANLIB=$${RANLIB}" \
3568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3569 html) \
3570 || exit 1
3572 @endif bfd
3574 .PHONY: maybe-TAGS-bfd TAGS-bfd
3575 maybe-TAGS-bfd:
3576 @if bfd
3577 maybe-TAGS-bfd: TAGS-bfd
3579 TAGS-bfd: \
3580 configure-bfd
3581 @[ -f ./bfd/Makefile ] || exit 0; \
3582 r=`${PWD_COMMAND}`; export r; \
3583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3584 $(HOST_EXPORTS) \
3585 for flag in $(EXTRA_HOST_FLAGS) ; do \
3586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3587 done; \
3588 echo "Doing TAGS in bfd" ; \
3589 (cd $(HOST_SUBDIR)/bfd && \
3590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3592 "RANLIB=$${RANLIB}" \
3593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3594 TAGS) \
3595 || exit 1
3597 @endif bfd
3599 .PHONY: maybe-install-info-bfd install-info-bfd
3600 maybe-install-info-bfd:
3601 @if bfd
3602 maybe-install-info-bfd: install-info-bfd
3604 install-info-bfd: \
3605 configure-bfd \
3606 info-bfd
3607 @[ -f ./bfd/Makefile ] || exit 0; \
3608 r=`${PWD_COMMAND}`; export r; \
3609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3610 $(HOST_EXPORTS) \
3611 for flag in $(EXTRA_HOST_FLAGS) ; do \
3612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3613 done; \
3614 echo "Doing install-info in bfd" ; \
3615 (cd $(HOST_SUBDIR)/bfd && \
3616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3618 "RANLIB=$${RANLIB}" \
3619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3620 install-info) \
3621 || exit 1
3623 @endif bfd
3625 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3626 maybe-install-pdf-bfd:
3627 @if bfd
3628 maybe-install-pdf-bfd: install-pdf-bfd
3630 install-pdf-bfd: \
3631 configure-bfd \
3632 pdf-bfd
3633 @[ -f ./bfd/Makefile ] || exit 0; \
3634 r=`${PWD_COMMAND}`; export r; \
3635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3636 $(HOST_EXPORTS) \
3637 for flag in $(EXTRA_HOST_FLAGS) ; do \
3638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3639 done; \
3640 echo "Doing install-pdf in bfd" ; \
3641 (cd $(HOST_SUBDIR)/bfd && \
3642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3644 "RANLIB=$${RANLIB}" \
3645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3646 install-pdf) \
3647 || exit 1
3649 @endif bfd
3651 .PHONY: maybe-install-html-bfd install-html-bfd
3652 maybe-install-html-bfd:
3653 @if bfd
3654 maybe-install-html-bfd: install-html-bfd
3656 install-html-bfd: \
3657 configure-bfd \
3658 html-bfd
3659 @[ -f ./bfd/Makefile ] || exit 0; \
3660 r=`${PWD_COMMAND}`; export r; \
3661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3662 $(HOST_EXPORTS) \
3663 for flag in $(EXTRA_HOST_FLAGS) ; do \
3664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3665 done; \
3666 echo "Doing install-html in bfd" ; \
3667 (cd $(HOST_SUBDIR)/bfd && \
3668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3670 "RANLIB=$${RANLIB}" \
3671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3672 install-html) \
3673 || exit 1
3675 @endif bfd
3677 .PHONY: maybe-installcheck-bfd installcheck-bfd
3678 maybe-installcheck-bfd:
3679 @if bfd
3680 maybe-installcheck-bfd: installcheck-bfd
3682 installcheck-bfd: \
3683 configure-bfd
3684 @[ -f ./bfd/Makefile ] || exit 0; \
3685 r=`${PWD_COMMAND}`; export r; \
3686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3687 $(HOST_EXPORTS) \
3688 for flag in $(EXTRA_HOST_FLAGS) ; do \
3689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3690 done; \
3691 echo "Doing installcheck in bfd" ; \
3692 (cd $(HOST_SUBDIR)/bfd && \
3693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3695 "RANLIB=$${RANLIB}" \
3696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3697 installcheck) \
3698 || exit 1
3700 @endif bfd
3702 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3703 maybe-mostlyclean-bfd:
3704 @if bfd
3705 maybe-mostlyclean-bfd: mostlyclean-bfd
3707 mostlyclean-bfd:
3708 @[ -f ./bfd/Makefile ] || exit 0; \
3709 r=`${PWD_COMMAND}`; export r; \
3710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3711 $(HOST_EXPORTS) \
3712 for flag in $(EXTRA_HOST_FLAGS) ; do \
3713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3714 done; \
3715 echo "Doing mostlyclean in bfd" ; \
3716 (cd $(HOST_SUBDIR)/bfd && \
3717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3719 "RANLIB=$${RANLIB}" \
3720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3721 mostlyclean) \
3722 || exit 1
3724 @endif bfd
3726 .PHONY: maybe-clean-bfd clean-bfd
3727 maybe-clean-bfd:
3728 @if bfd
3729 maybe-clean-bfd: clean-bfd
3731 clean-bfd:
3732 @[ -f ./bfd/Makefile ] || exit 0; \
3733 r=`${PWD_COMMAND}`; export r; \
3734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3735 $(HOST_EXPORTS) \
3736 for flag in $(EXTRA_HOST_FLAGS) ; do \
3737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3738 done; \
3739 echo "Doing clean in bfd" ; \
3740 (cd $(HOST_SUBDIR)/bfd && \
3741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3743 "RANLIB=$${RANLIB}" \
3744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3745 clean) \
3746 || exit 1
3748 @endif bfd
3750 .PHONY: maybe-distclean-bfd distclean-bfd
3751 maybe-distclean-bfd:
3752 @if bfd
3753 maybe-distclean-bfd: distclean-bfd
3755 distclean-bfd:
3756 @[ -f ./bfd/Makefile ] || exit 0; \
3757 r=`${PWD_COMMAND}`; export r; \
3758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3759 $(HOST_EXPORTS) \
3760 for flag in $(EXTRA_HOST_FLAGS) ; do \
3761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3762 done; \
3763 echo "Doing distclean in bfd" ; \
3764 (cd $(HOST_SUBDIR)/bfd && \
3765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3767 "RANLIB=$${RANLIB}" \
3768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3769 distclean) \
3770 || exit 1
3772 @endif bfd
3774 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3775 maybe-maintainer-clean-bfd:
3776 @if bfd
3777 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3779 maintainer-clean-bfd:
3780 @[ -f ./bfd/Makefile ] || exit 0; \
3781 r=`${PWD_COMMAND}`; export r; \
3782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3783 $(HOST_EXPORTS) \
3784 for flag in $(EXTRA_HOST_FLAGS) ; do \
3785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3786 done; \
3787 echo "Doing maintainer-clean in bfd" ; \
3788 (cd $(HOST_SUBDIR)/bfd && \
3789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3791 "RANLIB=$${RANLIB}" \
3792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3793 maintainer-clean) \
3794 || exit 1
3796 @endif bfd
3800 .PHONY: configure-opcodes maybe-configure-opcodes
3801 maybe-configure-opcodes:
3802 @if gcc-bootstrap
3803 configure-opcodes: stage_current
3804 @endif gcc-bootstrap
3805 @if opcodes
3806 maybe-configure-opcodes: configure-opcodes
3807 configure-opcodes:
3808 @r=`${PWD_COMMAND}`; export r; \
3809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3810 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3812 $(HOST_EXPORTS) \
3813 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3814 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3815 case $(srcdir) in \
3816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3817 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3819 esac; \
3820 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3821 libsrcdir="$$s/opcodes"; \
3822 $(SHELL) $${libsrcdir}/configure \
3823 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3824 --target=${target_alias} $${srcdiroption} \
3825 || exit 1
3826 @endif opcodes
3830 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3831 maybe-configure-stage1-opcodes:
3832 @if opcodes-bootstrap
3833 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3834 configure-stage1-opcodes:
3835 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3836 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3837 @r=`${PWD_COMMAND}`; export r; \
3838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3839 TFLAGS="$(STAGE1_TFLAGS)"; \
3840 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3841 $(HOST_EXPORTS) \
3842 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3843 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3844 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3845 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3847 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3848 case $(srcdir) in \
3849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3850 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3852 esac; \
3853 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3854 libsrcdir="$$s/opcodes"; \
3855 $(SHELL) $${libsrcdir}/configure \
3856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3857 --target=${target_alias} $${srcdiroption} \
3858 $(STAGE1_CONFIGURE_FLAGS)
3859 @endif opcodes-bootstrap
3861 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3862 maybe-configure-stage2-opcodes:
3863 @if opcodes-bootstrap
3864 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3865 configure-stage2-opcodes:
3866 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3867 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3868 @r=`${PWD_COMMAND}`; export r; \
3869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3870 TFLAGS="$(STAGE2_TFLAGS)"; \
3871 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3872 $(HOST_EXPORTS) \
3873 $(POSTSTAGE1_HOST_EXPORTS) \
3874 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3875 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3876 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3877 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3879 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3880 case $(srcdir) in \
3881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3882 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3884 esac; \
3885 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3886 libsrcdir="$$s/opcodes"; \
3887 $(SHELL) $${libsrcdir}/configure \
3888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3889 --target=${target_alias} $${srcdiroption} \
3890 --with-build-libsubdir=$(HOST_SUBDIR) \
3891 $(STAGE2_CONFIGURE_FLAGS)
3892 @endif opcodes-bootstrap
3894 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3895 maybe-configure-stage3-opcodes:
3896 @if opcodes-bootstrap
3897 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3898 configure-stage3-opcodes:
3899 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3900 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3901 @r=`${PWD_COMMAND}`; export r; \
3902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3903 TFLAGS="$(STAGE3_TFLAGS)"; \
3904 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3905 $(HOST_EXPORTS) \
3906 $(POSTSTAGE1_HOST_EXPORTS) \
3907 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3908 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3909 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3910 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3912 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3913 case $(srcdir) in \
3914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3915 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3917 esac; \
3918 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3919 libsrcdir="$$s/opcodes"; \
3920 $(SHELL) $${libsrcdir}/configure \
3921 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3922 --target=${target_alias} $${srcdiroption} \
3923 --with-build-libsubdir=$(HOST_SUBDIR) \
3924 $(STAGE3_CONFIGURE_FLAGS)
3925 @endif opcodes-bootstrap
3927 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3928 maybe-configure-stage4-opcodes:
3929 @if opcodes-bootstrap
3930 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3931 configure-stage4-opcodes:
3932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3934 @r=`${PWD_COMMAND}`; export r; \
3935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3936 TFLAGS="$(STAGE4_TFLAGS)"; \
3937 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3938 $(HOST_EXPORTS) \
3939 $(POSTSTAGE1_HOST_EXPORTS) \
3940 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3941 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3942 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3943 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3945 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3946 case $(srcdir) in \
3947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3948 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3950 esac; \
3951 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3952 libsrcdir="$$s/opcodes"; \
3953 $(SHELL) $${libsrcdir}/configure \
3954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3955 --target=${target_alias} $${srcdiroption} \
3956 --with-build-libsubdir=$(HOST_SUBDIR) \
3957 $(STAGE4_CONFIGURE_FLAGS)
3958 @endif opcodes-bootstrap
3960 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3961 maybe-configure-stageprofile-opcodes:
3962 @if opcodes-bootstrap
3963 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3964 configure-stageprofile-opcodes:
3965 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3966 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3967 @r=`${PWD_COMMAND}`; export r; \
3968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3969 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3970 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3971 $(HOST_EXPORTS) \
3972 $(POSTSTAGE1_HOST_EXPORTS) \
3973 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3974 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3975 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3976 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3978 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3979 case $(srcdir) in \
3980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3981 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3983 esac; \
3984 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3985 libsrcdir="$$s/opcodes"; \
3986 $(SHELL) $${libsrcdir}/configure \
3987 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3988 --target=${target_alias} $${srcdiroption} \
3989 --with-build-libsubdir=$(HOST_SUBDIR) \
3990 $(STAGEprofile_CONFIGURE_FLAGS)
3991 @endif opcodes-bootstrap
3993 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3994 maybe-configure-stagefeedback-opcodes:
3995 @if opcodes-bootstrap
3996 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3997 configure-stagefeedback-opcodes:
3998 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4000 @r=`${PWD_COMMAND}`; export r; \
4001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4002 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4003 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4004 $(HOST_EXPORTS) \
4005 $(POSTSTAGE1_HOST_EXPORTS) \
4006 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4007 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4008 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4009 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4011 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4012 case $(srcdir) in \
4013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4014 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4016 esac; \
4017 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4018 libsrcdir="$$s/opcodes"; \
4019 $(SHELL) $${libsrcdir}/configure \
4020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4021 --target=${target_alias} $${srcdiroption} \
4022 --with-build-libsubdir=$(HOST_SUBDIR) \
4023 $(STAGEfeedback_CONFIGURE_FLAGS)
4024 @endif opcodes-bootstrap
4030 .PHONY: all-opcodes maybe-all-opcodes
4031 maybe-all-opcodes:
4032 @if gcc-bootstrap
4033 all-opcodes: stage_current
4034 @endif gcc-bootstrap
4035 @if opcodes
4036 TARGET-opcodes=all
4037 maybe-all-opcodes: all-opcodes
4038 all-opcodes: configure-opcodes
4039 @r=`${PWD_COMMAND}`; export r; \
4040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4041 $(HOST_EXPORTS) \
4042 (cd $(HOST_SUBDIR)/opcodes && \
4043 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4044 $(TARGET-opcodes))
4045 @endif opcodes
4049 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4050 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4051 maybe-all-stage1-opcodes:
4052 maybe-clean-stage1-opcodes:
4053 @if opcodes-bootstrap
4054 maybe-all-stage1-opcodes: all-stage1-opcodes
4055 all-stage1: all-stage1-opcodes
4056 TARGET-stage1-opcodes = $(TARGET-opcodes)
4057 all-stage1-opcodes: configure-stage1-opcodes
4058 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4059 @r=`${PWD_COMMAND}`; export r; \
4060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4061 TFLAGS="$(STAGE1_TFLAGS)"; \
4062 $(HOST_EXPORTS) \
4063 cd $(HOST_SUBDIR)/opcodes && \
4064 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4065 CFLAGS="$(STAGE1_CFLAGS)" \
4066 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4067 LIBCFLAGS="$(LIBCFLAGS)" \
4068 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4069 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4070 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4071 $(EXTRA_HOST_FLAGS) \
4072 TFLAGS="$(STAGE1_TFLAGS)" \
4073 $(TARGET-stage1-opcodes)
4075 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4076 clean-stage1: clean-stage1-opcodes
4077 clean-stage1-opcodes:
4078 @if [ $(current_stage) = stage1 ]; then \
4079 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4080 else \
4081 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4082 $(MAKE) stage1-start; \
4083 fi; \
4084 cd $(HOST_SUBDIR)/opcodes && \
4085 $(MAKE) $(EXTRA_HOST_FLAGS) \
4086 clean
4087 @endif opcodes-bootstrap
4090 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4091 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4092 maybe-all-stage2-opcodes:
4093 maybe-clean-stage2-opcodes:
4094 @if opcodes-bootstrap
4095 maybe-all-stage2-opcodes: all-stage2-opcodes
4096 all-stage2: all-stage2-opcodes
4097 TARGET-stage2-opcodes = $(TARGET-opcodes)
4098 all-stage2-opcodes: configure-stage2-opcodes
4099 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4100 @r=`${PWD_COMMAND}`; export r; \
4101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4102 TFLAGS="$(STAGE2_TFLAGS)"; \
4103 $(HOST_EXPORTS) \
4104 $(POSTSTAGE1_HOST_EXPORTS) \
4105 cd $(HOST_SUBDIR)/opcodes && \
4106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4107 CFLAGS="$(STAGE2_CFLAGS)" \
4108 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4109 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4113 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4114 TFLAGS="$(STAGE2_TFLAGS)" \
4115 $(TARGET-stage2-opcodes)
4117 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4118 clean-stage2: clean-stage2-opcodes
4119 clean-stage2-opcodes:
4120 @if [ $(current_stage) = stage2 ]; then \
4121 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4122 else \
4123 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4124 $(MAKE) stage2-start; \
4125 fi; \
4126 cd $(HOST_SUBDIR)/opcodes && \
4127 $(MAKE) $(EXTRA_HOST_FLAGS) \
4128 $(POSTSTAGE1_FLAGS_TO_PASS) \
4129 clean
4130 @endif opcodes-bootstrap
4133 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4134 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4135 maybe-all-stage3-opcodes:
4136 maybe-clean-stage3-opcodes:
4137 @if opcodes-bootstrap
4138 maybe-all-stage3-opcodes: all-stage3-opcodes
4139 all-stage3: all-stage3-opcodes
4140 TARGET-stage3-opcodes = $(TARGET-opcodes)
4141 all-stage3-opcodes: configure-stage3-opcodes
4142 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4143 @r=`${PWD_COMMAND}`; export r; \
4144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4145 TFLAGS="$(STAGE3_TFLAGS)"; \
4146 $(HOST_EXPORTS) \
4147 $(POSTSTAGE1_HOST_EXPORTS) \
4148 cd $(HOST_SUBDIR)/opcodes && \
4149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4150 CFLAGS="$(STAGE3_CFLAGS)" \
4151 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4152 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4156 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4157 TFLAGS="$(STAGE3_TFLAGS)" \
4158 $(TARGET-stage3-opcodes)
4160 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4161 clean-stage3: clean-stage3-opcodes
4162 clean-stage3-opcodes:
4163 @if [ $(current_stage) = stage3 ]; then \
4164 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4165 else \
4166 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4167 $(MAKE) stage3-start; \
4168 fi; \
4169 cd $(HOST_SUBDIR)/opcodes && \
4170 $(MAKE) $(EXTRA_HOST_FLAGS) \
4171 $(POSTSTAGE1_FLAGS_TO_PASS) \
4172 clean
4173 @endif opcodes-bootstrap
4176 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4177 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4178 maybe-all-stage4-opcodes:
4179 maybe-clean-stage4-opcodes:
4180 @if opcodes-bootstrap
4181 maybe-all-stage4-opcodes: all-stage4-opcodes
4182 all-stage4: all-stage4-opcodes
4183 TARGET-stage4-opcodes = $(TARGET-opcodes)
4184 all-stage4-opcodes: configure-stage4-opcodes
4185 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4186 @r=`${PWD_COMMAND}`; export r; \
4187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4188 TFLAGS="$(STAGE4_TFLAGS)"; \
4189 $(HOST_EXPORTS) \
4190 $(POSTSTAGE1_HOST_EXPORTS) \
4191 cd $(HOST_SUBDIR)/opcodes && \
4192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4193 CFLAGS="$(STAGE4_CFLAGS)" \
4194 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4195 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4200 TFLAGS="$(STAGE4_TFLAGS)" \
4201 $(TARGET-stage4-opcodes)
4203 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4204 clean-stage4: clean-stage4-opcodes
4205 clean-stage4-opcodes:
4206 @if [ $(current_stage) = stage4 ]; then \
4207 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4208 else \
4209 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4210 $(MAKE) stage4-start; \
4211 fi; \
4212 cd $(HOST_SUBDIR)/opcodes && \
4213 $(MAKE) $(EXTRA_HOST_FLAGS) \
4214 $(POSTSTAGE1_FLAGS_TO_PASS) \
4215 clean
4216 @endif opcodes-bootstrap
4219 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4220 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4221 maybe-all-stageprofile-opcodes:
4222 maybe-clean-stageprofile-opcodes:
4223 @if opcodes-bootstrap
4224 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4225 all-stageprofile: all-stageprofile-opcodes
4226 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4227 all-stageprofile-opcodes: configure-stageprofile-opcodes
4228 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4229 @r=`${PWD_COMMAND}`; export r; \
4230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4231 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4232 $(HOST_EXPORTS) \
4233 $(POSTSTAGE1_HOST_EXPORTS) \
4234 cd $(HOST_SUBDIR)/opcodes && \
4235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4236 CFLAGS="$(STAGEprofile_CFLAGS)" \
4237 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4238 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4243 TFLAGS="$(STAGEprofile_TFLAGS)" \
4244 $(TARGET-stageprofile-opcodes)
4246 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4247 clean-stageprofile: clean-stageprofile-opcodes
4248 clean-stageprofile-opcodes:
4249 @if [ $(current_stage) = stageprofile ]; then \
4250 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4251 else \
4252 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4253 $(MAKE) stageprofile-start; \
4254 fi; \
4255 cd $(HOST_SUBDIR)/opcodes && \
4256 $(MAKE) $(EXTRA_HOST_FLAGS) \
4257 $(POSTSTAGE1_FLAGS_TO_PASS) \
4258 clean
4259 @endif opcodes-bootstrap
4262 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4263 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4264 maybe-all-stagefeedback-opcodes:
4265 maybe-clean-stagefeedback-opcodes:
4266 @if opcodes-bootstrap
4267 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4268 all-stagefeedback: all-stagefeedback-opcodes
4269 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4270 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4271 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4272 @r=`${PWD_COMMAND}`; export r; \
4273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4274 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4275 $(HOST_EXPORTS) \
4276 $(POSTSTAGE1_HOST_EXPORTS) \
4277 cd $(HOST_SUBDIR)/opcodes && \
4278 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4279 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4280 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4281 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4282 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4283 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4284 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4285 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4286 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4287 $(TARGET-stagefeedback-opcodes)
4289 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4290 clean-stagefeedback: clean-stagefeedback-opcodes
4291 clean-stagefeedback-opcodes:
4292 @if [ $(current_stage) = stagefeedback ]; then \
4293 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4294 else \
4295 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4296 $(MAKE) stagefeedback-start; \
4297 fi; \
4298 cd $(HOST_SUBDIR)/opcodes && \
4299 $(MAKE) $(EXTRA_HOST_FLAGS) \
4300 $(POSTSTAGE1_FLAGS_TO_PASS) \
4301 clean
4302 @endif opcodes-bootstrap
4308 .PHONY: check-opcodes maybe-check-opcodes
4309 maybe-check-opcodes:
4310 @if opcodes
4311 maybe-check-opcodes: check-opcodes
4313 check-opcodes:
4314 @: $(MAKE); $(unstage)
4315 @r=`${PWD_COMMAND}`; export r; \
4316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4317 $(HOST_EXPORTS) \
4318 (cd $(HOST_SUBDIR)/opcodes && \
4319 $(MAKE) $(FLAGS_TO_PASS) check)
4321 @endif opcodes
4323 .PHONY: install-opcodes maybe-install-opcodes
4324 maybe-install-opcodes:
4325 @if opcodes
4326 maybe-install-opcodes: install-opcodes
4328 install-opcodes: installdirs
4329 @: $(MAKE); $(unstage)
4330 @r=`${PWD_COMMAND}`; export r; \
4331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4332 $(HOST_EXPORTS) \
4333 (cd $(HOST_SUBDIR)/opcodes && \
4334 $(MAKE) $(FLAGS_TO_PASS) install)
4336 @endif opcodes
4338 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4339 maybe-install-strip-opcodes:
4340 @if opcodes
4341 maybe-install-strip-opcodes: install-strip-opcodes
4343 install-strip-opcodes: installdirs
4344 @: $(MAKE); $(unstage)
4345 @r=`${PWD_COMMAND}`; export r; \
4346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4347 $(HOST_EXPORTS) \
4348 (cd $(HOST_SUBDIR)/opcodes && \
4349 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4351 @endif opcodes
4353 # Other targets (info, dvi, pdf, etc.)
4355 .PHONY: maybe-info-opcodes info-opcodes
4356 maybe-info-opcodes:
4357 @if opcodes
4358 maybe-info-opcodes: info-opcodes
4360 info-opcodes: \
4361 configure-opcodes
4362 @[ -f ./opcodes/Makefile ] || exit 0; \
4363 r=`${PWD_COMMAND}`; export r; \
4364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4365 $(HOST_EXPORTS) \
4366 for flag in $(EXTRA_HOST_FLAGS) ; do \
4367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4368 done; \
4369 echo "Doing info in opcodes" ; \
4370 (cd $(HOST_SUBDIR)/opcodes && \
4371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4373 "RANLIB=$${RANLIB}" \
4374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4375 info) \
4376 || exit 1
4378 @endif opcodes
4380 .PHONY: maybe-dvi-opcodes dvi-opcodes
4381 maybe-dvi-opcodes:
4382 @if opcodes
4383 maybe-dvi-opcodes: dvi-opcodes
4385 dvi-opcodes: \
4386 configure-opcodes
4387 @[ -f ./opcodes/Makefile ] || exit 0; \
4388 r=`${PWD_COMMAND}`; export r; \
4389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4390 $(HOST_EXPORTS) \
4391 for flag in $(EXTRA_HOST_FLAGS) ; do \
4392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4393 done; \
4394 echo "Doing dvi in opcodes" ; \
4395 (cd $(HOST_SUBDIR)/opcodes && \
4396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4398 "RANLIB=$${RANLIB}" \
4399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4400 dvi) \
4401 || exit 1
4403 @endif opcodes
4405 .PHONY: maybe-pdf-opcodes pdf-opcodes
4406 maybe-pdf-opcodes:
4407 @if opcodes
4408 maybe-pdf-opcodes: pdf-opcodes
4410 pdf-opcodes: \
4411 configure-opcodes
4412 @[ -f ./opcodes/Makefile ] || exit 0; \
4413 r=`${PWD_COMMAND}`; export r; \
4414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4415 $(HOST_EXPORTS) \
4416 for flag in $(EXTRA_HOST_FLAGS) ; do \
4417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4418 done; \
4419 echo "Doing pdf in opcodes" ; \
4420 (cd $(HOST_SUBDIR)/opcodes && \
4421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4423 "RANLIB=$${RANLIB}" \
4424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4425 pdf) \
4426 || exit 1
4428 @endif opcodes
4430 .PHONY: maybe-html-opcodes html-opcodes
4431 maybe-html-opcodes:
4432 @if opcodes
4433 maybe-html-opcodes: html-opcodes
4435 html-opcodes: \
4436 configure-opcodes
4437 @[ -f ./opcodes/Makefile ] || exit 0; \
4438 r=`${PWD_COMMAND}`; export r; \
4439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4440 $(HOST_EXPORTS) \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 done; \
4444 echo "Doing html in opcodes" ; \
4445 (cd $(HOST_SUBDIR)/opcodes && \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4450 html) \
4451 || exit 1
4453 @endif opcodes
4455 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4456 maybe-TAGS-opcodes:
4457 @if opcodes
4458 maybe-TAGS-opcodes: TAGS-opcodes
4460 TAGS-opcodes: \
4461 configure-opcodes
4462 @[ -f ./opcodes/Makefile ] || exit 0; \
4463 r=`${PWD_COMMAND}`; export r; \
4464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4465 $(HOST_EXPORTS) \
4466 for flag in $(EXTRA_HOST_FLAGS) ; do \
4467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4468 done; \
4469 echo "Doing TAGS in opcodes" ; \
4470 (cd $(HOST_SUBDIR)/opcodes && \
4471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4473 "RANLIB=$${RANLIB}" \
4474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4475 TAGS) \
4476 || exit 1
4478 @endif opcodes
4480 .PHONY: maybe-install-info-opcodes install-info-opcodes
4481 maybe-install-info-opcodes:
4482 @if opcodes
4483 maybe-install-info-opcodes: install-info-opcodes
4485 install-info-opcodes: \
4486 configure-opcodes \
4487 info-opcodes
4488 @[ -f ./opcodes/Makefile ] || exit 0; \
4489 r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4491 $(HOST_EXPORTS) \
4492 for flag in $(EXTRA_HOST_FLAGS) ; do \
4493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4494 done; \
4495 echo "Doing install-info in opcodes" ; \
4496 (cd $(HOST_SUBDIR)/opcodes && \
4497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4499 "RANLIB=$${RANLIB}" \
4500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4501 install-info) \
4502 || exit 1
4504 @endif opcodes
4506 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4507 maybe-install-pdf-opcodes:
4508 @if opcodes
4509 maybe-install-pdf-opcodes: install-pdf-opcodes
4511 install-pdf-opcodes: \
4512 configure-opcodes \
4513 pdf-opcodes
4514 @[ -f ./opcodes/Makefile ] || exit 0; \
4515 r=`${PWD_COMMAND}`; export r; \
4516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4517 $(HOST_EXPORTS) \
4518 for flag in $(EXTRA_HOST_FLAGS) ; do \
4519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4520 done; \
4521 echo "Doing install-pdf in opcodes" ; \
4522 (cd $(HOST_SUBDIR)/opcodes && \
4523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4525 "RANLIB=$${RANLIB}" \
4526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4527 install-pdf) \
4528 || exit 1
4530 @endif opcodes
4532 .PHONY: maybe-install-html-opcodes install-html-opcodes
4533 maybe-install-html-opcodes:
4534 @if opcodes
4535 maybe-install-html-opcodes: install-html-opcodes
4537 install-html-opcodes: \
4538 configure-opcodes \
4539 html-opcodes
4540 @[ -f ./opcodes/Makefile ] || exit 0; \
4541 r=`${PWD_COMMAND}`; export r; \
4542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4543 $(HOST_EXPORTS) \
4544 for flag in $(EXTRA_HOST_FLAGS) ; do \
4545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4546 done; \
4547 echo "Doing install-html in opcodes" ; \
4548 (cd $(HOST_SUBDIR)/opcodes && \
4549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4551 "RANLIB=$${RANLIB}" \
4552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4553 install-html) \
4554 || exit 1
4556 @endif opcodes
4558 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4559 maybe-installcheck-opcodes:
4560 @if opcodes
4561 maybe-installcheck-opcodes: installcheck-opcodes
4563 installcheck-opcodes: \
4564 configure-opcodes
4565 @[ -f ./opcodes/Makefile ] || exit 0; \
4566 r=`${PWD_COMMAND}`; export r; \
4567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4568 $(HOST_EXPORTS) \
4569 for flag in $(EXTRA_HOST_FLAGS) ; do \
4570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4571 done; \
4572 echo "Doing installcheck in opcodes" ; \
4573 (cd $(HOST_SUBDIR)/opcodes && \
4574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4576 "RANLIB=$${RANLIB}" \
4577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4578 installcheck) \
4579 || exit 1
4581 @endif opcodes
4583 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4584 maybe-mostlyclean-opcodes:
4585 @if opcodes
4586 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4588 mostlyclean-opcodes:
4589 @[ -f ./opcodes/Makefile ] || exit 0; \
4590 r=`${PWD_COMMAND}`; export r; \
4591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4592 $(HOST_EXPORTS) \
4593 for flag in $(EXTRA_HOST_FLAGS) ; do \
4594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4595 done; \
4596 echo "Doing mostlyclean in opcodes" ; \
4597 (cd $(HOST_SUBDIR)/opcodes && \
4598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4600 "RANLIB=$${RANLIB}" \
4601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4602 mostlyclean) \
4603 || exit 1
4605 @endif opcodes
4607 .PHONY: maybe-clean-opcodes clean-opcodes
4608 maybe-clean-opcodes:
4609 @if opcodes
4610 maybe-clean-opcodes: clean-opcodes
4612 clean-opcodes:
4613 @[ -f ./opcodes/Makefile ] || exit 0; \
4614 r=`${PWD_COMMAND}`; export r; \
4615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4616 $(HOST_EXPORTS) \
4617 for flag in $(EXTRA_HOST_FLAGS) ; do \
4618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4619 done; \
4620 echo "Doing clean in opcodes" ; \
4621 (cd $(HOST_SUBDIR)/opcodes && \
4622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4624 "RANLIB=$${RANLIB}" \
4625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4626 clean) \
4627 || exit 1
4629 @endif opcodes
4631 .PHONY: maybe-distclean-opcodes distclean-opcodes
4632 maybe-distclean-opcodes:
4633 @if opcodes
4634 maybe-distclean-opcodes: distclean-opcodes
4636 distclean-opcodes:
4637 @[ -f ./opcodes/Makefile ] || exit 0; \
4638 r=`${PWD_COMMAND}`; export r; \
4639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4640 $(HOST_EXPORTS) \
4641 for flag in $(EXTRA_HOST_FLAGS) ; do \
4642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4643 done; \
4644 echo "Doing distclean in opcodes" ; \
4645 (cd $(HOST_SUBDIR)/opcodes && \
4646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4648 "RANLIB=$${RANLIB}" \
4649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4650 distclean) \
4651 || exit 1
4653 @endif opcodes
4655 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4656 maybe-maintainer-clean-opcodes:
4657 @if opcodes
4658 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4660 maintainer-clean-opcodes:
4661 @[ -f ./opcodes/Makefile ] || exit 0; \
4662 r=`${PWD_COMMAND}`; export r; \
4663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4664 $(HOST_EXPORTS) \
4665 for flag in $(EXTRA_HOST_FLAGS) ; do \
4666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4667 done; \
4668 echo "Doing maintainer-clean in opcodes" ; \
4669 (cd $(HOST_SUBDIR)/opcodes && \
4670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4672 "RANLIB=$${RANLIB}" \
4673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4674 maintainer-clean) \
4675 || exit 1
4677 @endif opcodes
4681 .PHONY: configure-binutils maybe-configure-binutils
4682 maybe-configure-binutils:
4683 @if gcc-bootstrap
4684 configure-binutils: stage_current
4685 @endif gcc-bootstrap
4686 @if binutils
4687 maybe-configure-binutils: configure-binutils
4688 configure-binutils:
4689 @r=`${PWD_COMMAND}`; export r; \
4690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4691 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4693 $(HOST_EXPORTS) \
4694 echo Configuring in $(HOST_SUBDIR)/binutils; \
4695 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4696 case $(srcdir) in \
4697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4698 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4700 esac; \
4701 srcdiroption="--srcdir=$${topdir}/binutils"; \
4702 libsrcdir="$$s/binutils"; \
4703 $(SHELL) $${libsrcdir}/configure \
4704 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4705 --target=${target_alias} $${srcdiroption} \
4706 || exit 1
4707 @endif binutils
4711 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4712 maybe-configure-stage1-binutils:
4713 @if binutils-bootstrap
4714 maybe-configure-stage1-binutils: configure-stage1-binutils
4715 configure-stage1-binutils:
4716 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4717 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4718 @r=`${PWD_COMMAND}`; export r; \
4719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4720 TFLAGS="$(STAGE1_TFLAGS)"; \
4721 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4722 $(HOST_EXPORTS) \
4723 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4724 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4725 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4726 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4728 cd $(HOST_SUBDIR)/binutils || exit 1; \
4729 case $(srcdir) in \
4730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4731 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4733 esac; \
4734 srcdiroption="--srcdir=$${topdir}/binutils"; \
4735 libsrcdir="$$s/binutils"; \
4736 $(SHELL) $${libsrcdir}/configure \
4737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4738 --target=${target_alias} $${srcdiroption} \
4739 $(STAGE1_CONFIGURE_FLAGS)
4740 @endif binutils-bootstrap
4742 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4743 maybe-configure-stage2-binutils:
4744 @if binutils-bootstrap
4745 maybe-configure-stage2-binutils: configure-stage2-binutils
4746 configure-stage2-binutils:
4747 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4749 @r=`${PWD_COMMAND}`; export r; \
4750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4751 TFLAGS="$(STAGE2_TFLAGS)"; \
4752 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4753 $(HOST_EXPORTS) \
4754 $(POSTSTAGE1_HOST_EXPORTS) \
4755 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4756 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4757 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4758 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4760 cd $(HOST_SUBDIR)/binutils || exit 1; \
4761 case $(srcdir) in \
4762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4763 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4765 esac; \
4766 srcdiroption="--srcdir=$${topdir}/binutils"; \
4767 libsrcdir="$$s/binutils"; \
4768 $(SHELL) $${libsrcdir}/configure \
4769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4770 --target=${target_alias} $${srcdiroption} \
4771 --with-build-libsubdir=$(HOST_SUBDIR) \
4772 $(STAGE2_CONFIGURE_FLAGS)
4773 @endif binutils-bootstrap
4775 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4776 maybe-configure-stage3-binutils:
4777 @if binutils-bootstrap
4778 maybe-configure-stage3-binutils: configure-stage3-binutils
4779 configure-stage3-binutils:
4780 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4782 @r=`${PWD_COMMAND}`; export r; \
4783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4784 TFLAGS="$(STAGE3_TFLAGS)"; \
4785 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4786 $(HOST_EXPORTS) \
4787 $(POSTSTAGE1_HOST_EXPORTS) \
4788 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4789 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4790 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4791 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4793 cd $(HOST_SUBDIR)/binutils || exit 1; \
4794 case $(srcdir) in \
4795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4796 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4798 esac; \
4799 srcdiroption="--srcdir=$${topdir}/binutils"; \
4800 libsrcdir="$$s/binutils"; \
4801 $(SHELL) $${libsrcdir}/configure \
4802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4803 --target=${target_alias} $${srcdiroption} \
4804 --with-build-libsubdir=$(HOST_SUBDIR) \
4805 $(STAGE3_CONFIGURE_FLAGS)
4806 @endif binutils-bootstrap
4808 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4809 maybe-configure-stage4-binutils:
4810 @if binutils-bootstrap
4811 maybe-configure-stage4-binutils: configure-stage4-binutils
4812 configure-stage4-binutils:
4813 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4815 @r=`${PWD_COMMAND}`; export r; \
4816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4817 TFLAGS="$(STAGE4_TFLAGS)"; \
4818 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4819 $(HOST_EXPORTS) \
4820 $(POSTSTAGE1_HOST_EXPORTS) \
4821 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4822 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4823 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4824 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4826 cd $(HOST_SUBDIR)/binutils || exit 1; \
4827 case $(srcdir) in \
4828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4829 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4831 esac; \
4832 srcdiroption="--srcdir=$${topdir}/binutils"; \
4833 libsrcdir="$$s/binutils"; \
4834 $(SHELL) $${libsrcdir}/configure \
4835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4836 --target=${target_alias} $${srcdiroption} \
4837 --with-build-libsubdir=$(HOST_SUBDIR) \
4838 $(STAGE4_CONFIGURE_FLAGS)
4839 @endif binutils-bootstrap
4841 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4842 maybe-configure-stageprofile-binutils:
4843 @if binutils-bootstrap
4844 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4845 configure-stageprofile-binutils:
4846 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4847 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4848 @r=`${PWD_COMMAND}`; export r; \
4849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4850 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4851 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4852 $(HOST_EXPORTS) \
4853 $(POSTSTAGE1_HOST_EXPORTS) \
4854 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4855 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4856 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4857 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4859 cd $(HOST_SUBDIR)/binutils || exit 1; \
4860 case $(srcdir) in \
4861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4862 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4864 esac; \
4865 srcdiroption="--srcdir=$${topdir}/binutils"; \
4866 libsrcdir="$$s/binutils"; \
4867 $(SHELL) $${libsrcdir}/configure \
4868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4869 --target=${target_alias} $${srcdiroption} \
4870 --with-build-libsubdir=$(HOST_SUBDIR) \
4871 $(STAGEprofile_CONFIGURE_FLAGS)
4872 @endif binutils-bootstrap
4874 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4875 maybe-configure-stagefeedback-binutils:
4876 @if binutils-bootstrap
4877 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4878 configure-stagefeedback-binutils:
4879 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4880 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4881 @r=`${PWD_COMMAND}`; export r; \
4882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4883 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4884 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4885 $(HOST_EXPORTS) \
4886 $(POSTSTAGE1_HOST_EXPORTS) \
4887 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4888 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4889 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4890 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4892 cd $(HOST_SUBDIR)/binutils || exit 1; \
4893 case $(srcdir) in \
4894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4895 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4897 esac; \
4898 srcdiroption="--srcdir=$${topdir}/binutils"; \
4899 libsrcdir="$$s/binutils"; \
4900 $(SHELL) $${libsrcdir}/configure \
4901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4902 --target=${target_alias} $${srcdiroption} \
4903 --with-build-libsubdir=$(HOST_SUBDIR) \
4904 $(STAGEfeedback_CONFIGURE_FLAGS)
4905 @endif binutils-bootstrap
4911 .PHONY: all-binutils maybe-all-binutils
4912 maybe-all-binutils:
4913 @if gcc-bootstrap
4914 all-binutils: stage_current
4915 @endif gcc-bootstrap
4916 @if binutils
4917 TARGET-binutils=all
4918 maybe-all-binutils: all-binutils
4919 all-binutils: configure-binutils
4920 @r=`${PWD_COMMAND}`; export r; \
4921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4922 $(HOST_EXPORTS) \
4923 (cd $(HOST_SUBDIR)/binutils && \
4924 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4925 $(TARGET-binutils))
4926 @endif binutils
4930 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4931 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4932 maybe-all-stage1-binutils:
4933 maybe-clean-stage1-binutils:
4934 @if binutils-bootstrap
4935 maybe-all-stage1-binutils: all-stage1-binutils
4936 all-stage1: all-stage1-binutils
4937 TARGET-stage1-binutils = $(TARGET-binutils)
4938 all-stage1-binutils: configure-stage1-binutils
4939 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4940 @r=`${PWD_COMMAND}`; export r; \
4941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4942 TFLAGS="$(STAGE1_TFLAGS)"; \
4943 $(HOST_EXPORTS) \
4944 cd $(HOST_SUBDIR)/binutils && \
4945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4946 CFLAGS="$(STAGE1_CFLAGS)" \
4947 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4948 LIBCFLAGS="$(LIBCFLAGS)" \
4949 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4950 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4951 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4952 $(EXTRA_HOST_FLAGS) \
4953 TFLAGS="$(STAGE1_TFLAGS)" \
4954 $(TARGET-stage1-binutils)
4956 maybe-clean-stage1-binutils: clean-stage1-binutils
4957 clean-stage1: clean-stage1-binutils
4958 clean-stage1-binutils:
4959 @if [ $(current_stage) = stage1 ]; then \
4960 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4961 else \
4962 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4963 $(MAKE) stage1-start; \
4964 fi; \
4965 cd $(HOST_SUBDIR)/binutils && \
4966 $(MAKE) $(EXTRA_HOST_FLAGS) \
4967 clean
4968 @endif binutils-bootstrap
4971 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4972 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4973 maybe-all-stage2-binutils:
4974 maybe-clean-stage2-binutils:
4975 @if binutils-bootstrap
4976 maybe-all-stage2-binutils: all-stage2-binutils
4977 all-stage2: all-stage2-binutils
4978 TARGET-stage2-binutils = $(TARGET-binutils)
4979 all-stage2-binutils: configure-stage2-binutils
4980 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4981 @r=`${PWD_COMMAND}`; export r; \
4982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4983 TFLAGS="$(STAGE2_TFLAGS)"; \
4984 $(HOST_EXPORTS) \
4985 $(POSTSTAGE1_HOST_EXPORTS) \
4986 cd $(HOST_SUBDIR)/binutils && \
4987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4988 CFLAGS="$(STAGE2_CFLAGS)" \
4989 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4990 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4994 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4995 TFLAGS="$(STAGE2_TFLAGS)" \
4996 $(TARGET-stage2-binutils)
4998 maybe-clean-stage2-binutils: clean-stage2-binutils
4999 clean-stage2: clean-stage2-binutils
5000 clean-stage2-binutils:
5001 @if [ $(current_stage) = stage2 ]; then \
5002 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5003 else \
5004 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5005 $(MAKE) stage2-start; \
5006 fi; \
5007 cd $(HOST_SUBDIR)/binutils && \
5008 $(MAKE) $(EXTRA_HOST_FLAGS) \
5009 $(POSTSTAGE1_FLAGS_TO_PASS) \
5010 clean
5011 @endif binutils-bootstrap
5014 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5015 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5016 maybe-all-stage3-binutils:
5017 maybe-clean-stage3-binutils:
5018 @if binutils-bootstrap
5019 maybe-all-stage3-binutils: all-stage3-binutils
5020 all-stage3: all-stage3-binutils
5021 TARGET-stage3-binutils = $(TARGET-binutils)
5022 all-stage3-binutils: configure-stage3-binutils
5023 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5024 @r=`${PWD_COMMAND}`; export r; \
5025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5026 TFLAGS="$(STAGE3_TFLAGS)"; \
5027 $(HOST_EXPORTS) \
5028 $(POSTSTAGE1_HOST_EXPORTS) \
5029 cd $(HOST_SUBDIR)/binutils && \
5030 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5031 CFLAGS="$(STAGE3_CFLAGS)" \
5032 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5033 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5037 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5038 TFLAGS="$(STAGE3_TFLAGS)" \
5039 $(TARGET-stage3-binutils)
5041 maybe-clean-stage3-binutils: clean-stage3-binutils
5042 clean-stage3: clean-stage3-binutils
5043 clean-stage3-binutils:
5044 @if [ $(current_stage) = stage3 ]; then \
5045 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5046 else \
5047 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5048 $(MAKE) stage3-start; \
5049 fi; \
5050 cd $(HOST_SUBDIR)/binutils && \
5051 $(MAKE) $(EXTRA_HOST_FLAGS) \
5052 $(POSTSTAGE1_FLAGS_TO_PASS) \
5053 clean
5054 @endif binutils-bootstrap
5057 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5058 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5059 maybe-all-stage4-binutils:
5060 maybe-clean-stage4-binutils:
5061 @if binutils-bootstrap
5062 maybe-all-stage4-binutils: all-stage4-binutils
5063 all-stage4: all-stage4-binutils
5064 TARGET-stage4-binutils = $(TARGET-binutils)
5065 all-stage4-binutils: configure-stage4-binutils
5066 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5067 @r=`${PWD_COMMAND}`; export r; \
5068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5069 TFLAGS="$(STAGE4_TFLAGS)"; \
5070 $(HOST_EXPORTS) \
5071 $(POSTSTAGE1_HOST_EXPORTS) \
5072 cd $(HOST_SUBDIR)/binutils && \
5073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5074 CFLAGS="$(STAGE4_CFLAGS)" \
5075 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5076 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5077 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5078 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5079 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5080 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5081 TFLAGS="$(STAGE4_TFLAGS)" \
5082 $(TARGET-stage4-binutils)
5084 maybe-clean-stage4-binutils: clean-stage4-binutils
5085 clean-stage4: clean-stage4-binutils
5086 clean-stage4-binutils:
5087 @if [ $(current_stage) = stage4 ]; then \
5088 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5089 else \
5090 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5091 $(MAKE) stage4-start; \
5092 fi; \
5093 cd $(HOST_SUBDIR)/binutils && \
5094 $(MAKE) $(EXTRA_HOST_FLAGS) \
5095 $(POSTSTAGE1_FLAGS_TO_PASS) \
5096 clean
5097 @endif binutils-bootstrap
5100 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5101 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5102 maybe-all-stageprofile-binutils:
5103 maybe-clean-stageprofile-binutils:
5104 @if binutils-bootstrap
5105 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5106 all-stageprofile: all-stageprofile-binutils
5107 TARGET-stageprofile-binutils = $(TARGET-binutils)
5108 all-stageprofile-binutils: configure-stageprofile-binutils
5109 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5110 @r=`${PWD_COMMAND}`; export r; \
5111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5112 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5113 $(HOST_EXPORTS) \
5114 $(POSTSTAGE1_HOST_EXPORTS) \
5115 cd $(HOST_SUBDIR)/binutils && \
5116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5117 CFLAGS="$(STAGEprofile_CFLAGS)" \
5118 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5119 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5120 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5121 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5122 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5123 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5124 TFLAGS="$(STAGEprofile_TFLAGS)" \
5125 $(TARGET-stageprofile-binutils)
5127 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5128 clean-stageprofile: clean-stageprofile-binutils
5129 clean-stageprofile-binutils:
5130 @if [ $(current_stage) = stageprofile ]; then \
5131 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5132 else \
5133 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5134 $(MAKE) stageprofile-start; \
5135 fi; \
5136 cd $(HOST_SUBDIR)/binutils && \
5137 $(MAKE) $(EXTRA_HOST_FLAGS) \
5138 $(POSTSTAGE1_FLAGS_TO_PASS) \
5139 clean
5140 @endif binutils-bootstrap
5143 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5144 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5145 maybe-all-stagefeedback-binutils:
5146 maybe-clean-stagefeedback-binutils:
5147 @if binutils-bootstrap
5148 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5149 all-stagefeedback: all-stagefeedback-binutils
5150 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5151 all-stagefeedback-binutils: configure-stagefeedback-binutils
5152 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5153 @r=`${PWD_COMMAND}`; export r; \
5154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5155 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5156 $(HOST_EXPORTS) \
5157 $(POSTSTAGE1_HOST_EXPORTS) \
5158 cd $(HOST_SUBDIR)/binutils && \
5159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5160 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5161 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5162 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5166 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5167 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5168 $(TARGET-stagefeedback-binutils)
5170 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5171 clean-stagefeedback: clean-stagefeedback-binutils
5172 clean-stagefeedback-binutils:
5173 @if [ $(current_stage) = stagefeedback ]; then \
5174 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5175 else \
5176 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5177 $(MAKE) stagefeedback-start; \
5178 fi; \
5179 cd $(HOST_SUBDIR)/binutils && \
5180 $(MAKE) $(EXTRA_HOST_FLAGS) \
5181 $(POSTSTAGE1_FLAGS_TO_PASS) \
5182 clean
5183 @endif binutils-bootstrap
5189 .PHONY: check-binutils maybe-check-binutils
5190 maybe-check-binutils:
5191 @if binutils
5192 maybe-check-binutils: check-binutils
5194 check-binutils:
5195 @: $(MAKE); $(unstage)
5196 @r=`${PWD_COMMAND}`; export r; \
5197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5198 $(HOST_EXPORTS) \
5199 (cd $(HOST_SUBDIR)/binutils && \
5200 $(MAKE) $(FLAGS_TO_PASS) check)
5202 @endif binutils
5204 .PHONY: install-binutils maybe-install-binutils
5205 maybe-install-binutils:
5206 @if binutils
5207 maybe-install-binutils: install-binutils
5209 install-binutils: installdirs
5210 @: $(MAKE); $(unstage)
5211 @r=`${PWD_COMMAND}`; export r; \
5212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5213 $(HOST_EXPORTS) \
5214 (cd $(HOST_SUBDIR)/binutils && \
5215 $(MAKE) $(FLAGS_TO_PASS) install)
5217 @endif binutils
5219 .PHONY: install-strip-binutils maybe-install-strip-binutils
5220 maybe-install-strip-binutils:
5221 @if binutils
5222 maybe-install-strip-binutils: install-strip-binutils
5224 install-strip-binutils: installdirs
5225 @: $(MAKE); $(unstage)
5226 @r=`${PWD_COMMAND}`; export r; \
5227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5228 $(HOST_EXPORTS) \
5229 (cd $(HOST_SUBDIR)/binutils && \
5230 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5232 @endif binutils
5234 # Other targets (info, dvi, pdf, etc.)
5236 .PHONY: maybe-info-binutils info-binutils
5237 maybe-info-binutils:
5238 @if binutils
5239 maybe-info-binutils: info-binutils
5241 info-binutils: \
5242 configure-binutils
5243 @[ -f ./binutils/Makefile ] || exit 0; \
5244 r=`${PWD_COMMAND}`; export r; \
5245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5246 $(HOST_EXPORTS) \
5247 for flag in $(EXTRA_HOST_FLAGS) ; do \
5248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5249 done; \
5250 echo "Doing info in binutils" ; \
5251 (cd $(HOST_SUBDIR)/binutils && \
5252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5254 "RANLIB=$${RANLIB}" \
5255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5256 info) \
5257 || exit 1
5259 @endif binutils
5261 .PHONY: maybe-dvi-binutils dvi-binutils
5262 maybe-dvi-binutils:
5263 @if binutils
5264 maybe-dvi-binutils: dvi-binutils
5266 dvi-binutils: \
5267 configure-binutils
5268 @[ -f ./binutils/Makefile ] || exit 0; \
5269 r=`${PWD_COMMAND}`; export r; \
5270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5271 $(HOST_EXPORTS) \
5272 for flag in $(EXTRA_HOST_FLAGS) ; do \
5273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5274 done; \
5275 echo "Doing dvi in binutils" ; \
5276 (cd $(HOST_SUBDIR)/binutils && \
5277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5279 "RANLIB=$${RANLIB}" \
5280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5281 dvi) \
5282 || exit 1
5284 @endif binutils
5286 .PHONY: maybe-pdf-binutils pdf-binutils
5287 maybe-pdf-binutils:
5288 @if binutils
5289 maybe-pdf-binutils: pdf-binutils
5291 pdf-binutils: \
5292 configure-binutils
5293 @[ -f ./binutils/Makefile ] || exit 0; \
5294 r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5296 $(HOST_EXPORTS) \
5297 for flag in $(EXTRA_HOST_FLAGS) ; do \
5298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5299 done; \
5300 echo "Doing pdf in binutils" ; \
5301 (cd $(HOST_SUBDIR)/binutils && \
5302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5304 "RANLIB=$${RANLIB}" \
5305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5306 pdf) \
5307 || exit 1
5309 @endif binutils
5311 .PHONY: maybe-html-binutils html-binutils
5312 maybe-html-binutils:
5313 @if binutils
5314 maybe-html-binutils: html-binutils
5316 html-binutils: \
5317 configure-binutils
5318 @[ -f ./binutils/Makefile ] || exit 0; \
5319 r=`${PWD_COMMAND}`; export r; \
5320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5321 $(HOST_EXPORTS) \
5322 for flag in $(EXTRA_HOST_FLAGS) ; do \
5323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5324 done; \
5325 echo "Doing html in binutils" ; \
5326 (cd $(HOST_SUBDIR)/binutils && \
5327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5329 "RANLIB=$${RANLIB}" \
5330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5331 html) \
5332 || exit 1
5334 @endif binutils
5336 .PHONY: maybe-TAGS-binutils TAGS-binutils
5337 maybe-TAGS-binutils:
5338 @if binutils
5339 maybe-TAGS-binutils: TAGS-binutils
5341 TAGS-binutils: \
5342 configure-binutils
5343 @[ -f ./binutils/Makefile ] || exit 0; \
5344 r=`${PWD_COMMAND}`; export r; \
5345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5346 $(HOST_EXPORTS) \
5347 for flag in $(EXTRA_HOST_FLAGS) ; do \
5348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5349 done; \
5350 echo "Doing TAGS in binutils" ; \
5351 (cd $(HOST_SUBDIR)/binutils && \
5352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5354 "RANLIB=$${RANLIB}" \
5355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5356 TAGS) \
5357 || exit 1
5359 @endif binutils
5361 .PHONY: maybe-install-info-binutils install-info-binutils
5362 maybe-install-info-binutils:
5363 @if binutils
5364 maybe-install-info-binutils: install-info-binutils
5366 install-info-binutils: \
5367 configure-binutils \
5368 info-binutils
5369 @[ -f ./binutils/Makefile ] || exit 0; \
5370 r=`${PWD_COMMAND}`; export r; \
5371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5372 $(HOST_EXPORTS) \
5373 for flag in $(EXTRA_HOST_FLAGS) ; do \
5374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5375 done; \
5376 echo "Doing install-info in binutils" ; \
5377 (cd $(HOST_SUBDIR)/binutils && \
5378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5380 "RANLIB=$${RANLIB}" \
5381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5382 install-info) \
5383 || exit 1
5385 @endif binutils
5387 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5388 maybe-install-pdf-binutils:
5389 @if binutils
5390 maybe-install-pdf-binutils: install-pdf-binutils
5392 install-pdf-binutils: \
5393 configure-binutils \
5394 pdf-binutils
5395 @[ -f ./binutils/Makefile ] || exit 0; \
5396 r=`${PWD_COMMAND}`; export r; \
5397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5398 $(HOST_EXPORTS) \
5399 for flag in $(EXTRA_HOST_FLAGS) ; do \
5400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5401 done; \
5402 echo "Doing install-pdf in binutils" ; \
5403 (cd $(HOST_SUBDIR)/binutils && \
5404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5406 "RANLIB=$${RANLIB}" \
5407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5408 install-pdf) \
5409 || exit 1
5411 @endif binutils
5413 .PHONY: maybe-install-html-binutils install-html-binutils
5414 maybe-install-html-binutils:
5415 @if binutils
5416 maybe-install-html-binutils: install-html-binutils
5418 install-html-binutils: \
5419 configure-binutils \
5420 html-binutils
5421 @[ -f ./binutils/Makefile ] || exit 0; \
5422 r=`${PWD_COMMAND}`; export r; \
5423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5424 $(HOST_EXPORTS) \
5425 for flag in $(EXTRA_HOST_FLAGS) ; do \
5426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5427 done; \
5428 echo "Doing install-html in binutils" ; \
5429 (cd $(HOST_SUBDIR)/binutils && \
5430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5432 "RANLIB=$${RANLIB}" \
5433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5434 install-html) \
5435 || exit 1
5437 @endif binutils
5439 .PHONY: maybe-installcheck-binutils installcheck-binutils
5440 maybe-installcheck-binutils:
5441 @if binutils
5442 maybe-installcheck-binutils: installcheck-binutils
5444 installcheck-binutils: \
5445 configure-binutils
5446 @[ -f ./binutils/Makefile ] || exit 0; \
5447 r=`${PWD_COMMAND}`; export r; \
5448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5449 $(HOST_EXPORTS) \
5450 for flag in $(EXTRA_HOST_FLAGS) ; do \
5451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5452 done; \
5453 echo "Doing installcheck in binutils" ; \
5454 (cd $(HOST_SUBDIR)/binutils && \
5455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5457 "RANLIB=$${RANLIB}" \
5458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5459 installcheck) \
5460 || exit 1
5462 @endif binutils
5464 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5465 maybe-mostlyclean-binutils:
5466 @if binutils
5467 maybe-mostlyclean-binutils: mostlyclean-binutils
5469 mostlyclean-binutils:
5470 @[ -f ./binutils/Makefile ] || exit 0; \
5471 r=`${PWD_COMMAND}`; export r; \
5472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5473 $(HOST_EXPORTS) \
5474 for flag in $(EXTRA_HOST_FLAGS) ; do \
5475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5476 done; \
5477 echo "Doing mostlyclean in binutils" ; \
5478 (cd $(HOST_SUBDIR)/binutils && \
5479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5481 "RANLIB=$${RANLIB}" \
5482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5483 mostlyclean) \
5484 || exit 1
5486 @endif binutils
5488 .PHONY: maybe-clean-binutils clean-binutils
5489 maybe-clean-binutils:
5490 @if binutils
5491 maybe-clean-binutils: clean-binutils
5493 clean-binutils:
5494 @[ -f ./binutils/Makefile ] || exit 0; \
5495 r=`${PWD_COMMAND}`; export r; \
5496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5497 $(HOST_EXPORTS) \
5498 for flag in $(EXTRA_HOST_FLAGS) ; do \
5499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5500 done; \
5501 echo "Doing clean in binutils" ; \
5502 (cd $(HOST_SUBDIR)/binutils && \
5503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5505 "RANLIB=$${RANLIB}" \
5506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5507 clean) \
5508 || exit 1
5510 @endif binutils
5512 .PHONY: maybe-distclean-binutils distclean-binutils
5513 maybe-distclean-binutils:
5514 @if binutils
5515 maybe-distclean-binutils: distclean-binutils
5517 distclean-binutils:
5518 @[ -f ./binutils/Makefile ] || exit 0; \
5519 r=`${PWD_COMMAND}`; export r; \
5520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5521 $(HOST_EXPORTS) \
5522 for flag in $(EXTRA_HOST_FLAGS) ; do \
5523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5524 done; \
5525 echo "Doing distclean in binutils" ; \
5526 (cd $(HOST_SUBDIR)/binutils && \
5527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5529 "RANLIB=$${RANLIB}" \
5530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5531 distclean) \
5532 || exit 1
5534 @endif binutils
5536 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5537 maybe-maintainer-clean-binutils:
5538 @if binutils
5539 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5541 maintainer-clean-binutils:
5542 @[ -f ./binutils/Makefile ] || exit 0; \
5543 r=`${PWD_COMMAND}`; export r; \
5544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5545 $(HOST_EXPORTS) \
5546 for flag in $(EXTRA_HOST_FLAGS) ; do \
5547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5548 done; \
5549 echo "Doing maintainer-clean in binutils" ; \
5550 (cd $(HOST_SUBDIR)/binutils && \
5551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5553 "RANLIB=$${RANLIB}" \
5554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5555 maintainer-clean) \
5556 || exit 1
5558 @endif binutils
5562 .PHONY: configure-bison maybe-configure-bison
5563 maybe-configure-bison:
5564 @if gcc-bootstrap
5565 configure-bison: stage_current
5566 @endif gcc-bootstrap
5567 @if bison
5568 maybe-configure-bison: configure-bison
5569 configure-bison:
5570 @: $(MAKE); $(unstage)
5571 @r=`${PWD_COMMAND}`; export r; \
5572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5573 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5575 $(HOST_EXPORTS) \
5576 echo Configuring in $(HOST_SUBDIR)/bison; \
5577 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5578 case $(srcdir) in \
5579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5580 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5582 esac; \
5583 srcdiroption="--srcdir=$${topdir}/bison"; \
5584 libsrcdir="$$s/bison"; \
5585 $(SHELL) $${libsrcdir}/configure \
5586 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5587 --target=${target_alias} $${srcdiroption} \
5588 || exit 1
5589 @endif bison
5595 .PHONY: all-bison maybe-all-bison
5596 maybe-all-bison:
5597 @if gcc-bootstrap
5598 all-bison: stage_current
5599 @endif gcc-bootstrap
5600 @if bison
5601 TARGET-bison=all
5602 maybe-all-bison: all-bison
5603 all-bison: configure-bison
5604 @: $(MAKE); $(unstage)
5605 @r=`${PWD_COMMAND}`; export r; \
5606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5607 $(HOST_EXPORTS) \
5608 (cd $(HOST_SUBDIR)/bison && \
5609 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5610 $(TARGET-bison))
5611 @endif bison
5616 .PHONY: check-bison maybe-check-bison
5617 maybe-check-bison:
5618 @if bison
5619 maybe-check-bison: check-bison
5621 # This module is only tested in a native toolchain.
5622 check-bison:
5623 @: $(MAKE); $(unstage)
5624 @if [ '$(host)' = '$(target)' ] ; then \
5625 r=`${PWD_COMMAND}`; export r; \
5626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5627 $(HOST_EXPORTS) \
5628 (cd $(HOST_SUBDIR)/bison && \
5629 $(MAKE) $(FLAGS_TO_PASS) check); \
5632 @endif bison
5634 .PHONY: install-bison maybe-install-bison
5635 maybe-install-bison:
5636 @if bison
5637 maybe-install-bison: install-bison
5639 install-bison: installdirs
5640 @: $(MAKE); $(unstage)
5641 @r=`${PWD_COMMAND}`; export r; \
5642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5643 $(HOST_EXPORTS) \
5644 (cd $(HOST_SUBDIR)/bison && \
5645 $(MAKE) $(FLAGS_TO_PASS) install)
5647 @endif bison
5649 .PHONY: install-strip-bison maybe-install-strip-bison
5650 maybe-install-strip-bison:
5651 @if bison
5652 maybe-install-strip-bison: install-strip-bison
5654 install-strip-bison: installdirs
5655 @: $(MAKE); $(unstage)
5656 @r=`${PWD_COMMAND}`; export r; \
5657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5658 $(HOST_EXPORTS) \
5659 (cd $(HOST_SUBDIR)/bison && \
5660 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5662 @endif bison
5664 # Other targets (info, dvi, pdf, etc.)
5666 .PHONY: maybe-info-bison info-bison
5667 maybe-info-bison:
5668 @if bison
5669 maybe-info-bison: info-bison
5671 info-bison: \
5672 configure-bison
5673 @: $(MAKE); $(unstage)
5674 @[ -f ./bison/Makefile ] || exit 0; \
5675 r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677 $(HOST_EXPORTS) \
5678 for flag in $(EXTRA_HOST_FLAGS) ; do \
5679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5680 done; \
5681 echo "Doing info in bison" ; \
5682 (cd $(HOST_SUBDIR)/bison && \
5683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5685 "RANLIB=$${RANLIB}" \
5686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5687 info) \
5688 || exit 1
5690 @endif bison
5692 .PHONY: maybe-dvi-bison dvi-bison
5693 maybe-dvi-bison:
5694 @if bison
5695 maybe-dvi-bison: dvi-bison
5697 dvi-bison: \
5698 configure-bison
5699 @: $(MAKE); $(unstage)
5700 @[ -f ./bison/Makefile ] || exit 0; \
5701 r=`${PWD_COMMAND}`; export r; \
5702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5703 $(HOST_EXPORTS) \
5704 for flag in $(EXTRA_HOST_FLAGS) ; do \
5705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5706 done; \
5707 echo "Doing dvi in bison" ; \
5708 (cd $(HOST_SUBDIR)/bison && \
5709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5711 "RANLIB=$${RANLIB}" \
5712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5713 dvi) \
5714 || exit 1
5716 @endif bison
5718 .PHONY: maybe-pdf-bison pdf-bison
5719 maybe-pdf-bison:
5720 @if bison
5721 maybe-pdf-bison: pdf-bison
5723 pdf-bison: \
5724 configure-bison
5725 @: $(MAKE); $(unstage)
5726 @[ -f ./bison/Makefile ] || exit 0; \
5727 r=`${PWD_COMMAND}`; export r; \
5728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5729 $(HOST_EXPORTS) \
5730 for flag in $(EXTRA_HOST_FLAGS) ; do \
5731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5732 done; \
5733 echo "Doing pdf in bison" ; \
5734 (cd $(HOST_SUBDIR)/bison && \
5735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5737 "RANLIB=$${RANLIB}" \
5738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5739 pdf) \
5740 || exit 1
5742 @endif bison
5744 .PHONY: maybe-html-bison html-bison
5745 maybe-html-bison:
5746 @if bison
5747 maybe-html-bison: html-bison
5749 html-bison: \
5750 configure-bison
5751 @: $(MAKE); $(unstage)
5752 @[ -f ./bison/Makefile ] || exit 0; \
5753 r=`${PWD_COMMAND}`; export r; \
5754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5755 $(HOST_EXPORTS) \
5756 for flag in $(EXTRA_HOST_FLAGS) ; do \
5757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5758 done; \
5759 echo "Doing html in bison" ; \
5760 (cd $(HOST_SUBDIR)/bison && \
5761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5763 "RANLIB=$${RANLIB}" \
5764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5765 html) \
5766 || exit 1
5768 @endif bison
5770 .PHONY: maybe-TAGS-bison TAGS-bison
5771 maybe-TAGS-bison:
5772 @if bison
5773 maybe-TAGS-bison: TAGS-bison
5775 TAGS-bison: \
5776 configure-bison
5777 @: $(MAKE); $(unstage)
5778 @[ -f ./bison/Makefile ] || exit 0; \
5779 r=`${PWD_COMMAND}`; export r; \
5780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5781 $(HOST_EXPORTS) \
5782 for flag in $(EXTRA_HOST_FLAGS) ; do \
5783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5784 done; \
5785 echo "Doing TAGS in bison" ; \
5786 (cd $(HOST_SUBDIR)/bison && \
5787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5789 "RANLIB=$${RANLIB}" \
5790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5791 TAGS) \
5792 || exit 1
5794 @endif bison
5796 .PHONY: maybe-install-info-bison install-info-bison
5797 maybe-install-info-bison:
5798 @if bison
5799 maybe-install-info-bison: install-info-bison
5801 install-info-bison: \
5802 configure-bison \
5803 info-bison
5804 @: $(MAKE); $(unstage)
5805 @[ -f ./bison/Makefile ] || exit 0; \
5806 r=`${PWD_COMMAND}`; export r; \
5807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5808 $(HOST_EXPORTS) \
5809 for flag in $(EXTRA_HOST_FLAGS) ; do \
5810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5811 done; \
5812 echo "Doing install-info in bison" ; \
5813 (cd $(HOST_SUBDIR)/bison && \
5814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5816 "RANLIB=$${RANLIB}" \
5817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5818 install-info) \
5819 || exit 1
5821 @endif bison
5823 .PHONY: maybe-install-pdf-bison install-pdf-bison
5824 maybe-install-pdf-bison:
5825 @if bison
5826 maybe-install-pdf-bison: install-pdf-bison
5828 install-pdf-bison: \
5829 configure-bison \
5830 pdf-bison
5831 @: $(MAKE); $(unstage)
5832 @[ -f ./bison/Makefile ] || exit 0; \
5833 r=`${PWD_COMMAND}`; export r; \
5834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5835 $(HOST_EXPORTS) \
5836 for flag in $(EXTRA_HOST_FLAGS) ; do \
5837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5838 done; \
5839 echo "Doing install-pdf in bison" ; \
5840 (cd $(HOST_SUBDIR)/bison && \
5841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5843 "RANLIB=$${RANLIB}" \
5844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5845 install-pdf) \
5846 || exit 1
5848 @endif bison
5850 .PHONY: maybe-install-html-bison install-html-bison
5851 maybe-install-html-bison:
5852 @if bison
5853 maybe-install-html-bison: install-html-bison
5855 install-html-bison: \
5856 configure-bison \
5857 html-bison
5858 @: $(MAKE); $(unstage)
5859 @[ -f ./bison/Makefile ] || exit 0; \
5860 r=`${PWD_COMMAND}`; export r; \
5861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5862 $(HOST_EXPORTS) \
5863 for flag in $(EXTRA_HOST_FLAGS) ; do \
5864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5865 done; \
5866 echo "Doing install-html in bison" ; \
5867 (cd $(HOST_SUBDIR)/bison && \
5868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5870 "RANLIB=$${RANLIB}" \
5871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5872 install-html) \
5873 || exit 1
5875 @endif bison
5877 .PHONY: maybe-installcheck-bison installcheck-bison
5878 maybe-installcheck-bison:
5879 @if bison
5880 maybe-installcheck-bison: installcheck-bison
5882 installcheck-bison: \
5883 configure-bison
5884 @: $(MAKE); $(unstage)
5885 @[ -f ./bison/Makefile ] || exit 0; \
5886 r=`${PWD_COMMAND}`; export r; \
5887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5888 $(HOST_EXPORTS) \
5889 for flag in $(EXTRA_HOST_FLAGS) ; do \
5890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5891 done; \
5892 echo "Doing installcheck in bison" ; \
5893 (cd $(HOST_SUBDIR)/bison && \
5894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5896 "RANLIB=$${RANLIB}" \
5897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5898 installcheck) \
5899 || exit 1
5901 @endif bison
5903 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5904 maybe-mostlyclean-bison:
5905 @if bison
5906 maybe-mostlyclean-bison: mostlyclean-bison
5908 mostlyclean-bison:
5909 @: $(MAKE); $(unstage)
5910 @[ -f ./bison/Makefile ] || exit 0; \
5911 r=`${PWD_COMMAND}`; export r; \
5912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5913 $(HOST_EXPORTS) \
5914 for flag in $(EXTRA_HOST_FLAGS) ; do \
5915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5916 done; \
5917 echo "Doing mostlyclean in bison" ; \
5918 (cd $(HOST_SUBDIR)/bison && \
5919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5921 "RANLIB=$${RANLIB}" \
5922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5923 mostlyclean) \
5924 || exit 1
5926 @endif bison
5928 .PHONY: maybe-clean-bison clean-bison
5929 maybe-clean-bison:
5930 @if bison
5931 maybe-clean-bison: clean-bison
5933 clean-bison:
5934 @: $(MAKE); $(unstage)
5935 @[ -f ./bison/Makefile ] || exit 0; \
5936 r=`${PWD_COMMAND}`; export r; \
5937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5938 $(HOST_EXPORTS) \
5939 for flag in $(EXTRA_HOST_FLAGS) ; do \
5940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5941 done; \
5942 echo "Doing clean in bison" ; \
5943 (cd $(HOST_SUBDIR)/bison && \
5944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5946 "RANLIB=$${RANLIB}" \
5947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5948 clean) \
5949 || exit 1
5951 @endif bison
5953 .PHONY: maybe-distclean-bison distclean-bison
5954 maybe-distclean-bison:
5955 @if bison
5956 maybe-distclean-bison: distclean-bison
5958 distclean-bison:
5959 @: $(MAKE); $(unstage)
5960 @[ -f ./bison/Makefile ] || exit 0; \
5961 r=`${PWD_COMMAND}`; export r; \
5962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5963 $(HOST_EXPORTS) \
5964 for flag in $(EXTRA_HOST_FLAGS) ; do \
5965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5966 done; \
5967 echo "Doing distclean in bison" ; \
5968 (cd $(HOST_SUBDIR)/bison && \
5969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5971 "RANLIB=$${RANLIB}" \
5972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5973 distclean) \
5974 || exit 1
5976 @endif bison
5978 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5979 maybe-maintainer-clean-bison:
5980 @if bison
5981 maybe-maintainer-clean-bison: maintainer-clean-bison
5983 maintainer-clean-bison:
5984 @: $(MAKE); $(unstage)
5985 @[ -f ./bison/Makefile ] || exit 0; \
5986 r=`${PWD_COMMAND}`; export r; \
5987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5988 $(HOST_EXPORTS) \
5989 for flag in $(EXTRA_HOST_FLAGS) ; do \
5990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5991 done; \
5992 echo "Doing maintainer-clean in bison" ; \
5993 (cd $(HOST_SUBDIR)/bison && \
5994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5996 "RANLIB=$${RANLIB}" \
5997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5998 maintainer-clean) \
5999 || exit 1
6001 @endif bison
6005 .PHONY: configure-cgen maybe-configure-cgen
6006 maybe-configure-cgen:
6007 @if gcc-bootstrap
6008 configure-cgen: stage_current
6009 @endif gcc-bootstrap
6010 @if cgen
6011 maybe-configure-cgen: configure-cgen
6012 configure-cgen:
6013 @: $(MAKE); $(unstage)
6014 @r=`${PWD_COMMAND}`; export r; \
6015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6016 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6018 $(HOST_EXPORTS) \
6019 echo Configuring in $(HOST_SUBDIR)/cgen; \
6020 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6021 case $(srcdir) in \
6022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6023 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6025 esac; \
6026 srcdiroption="--srcdir=$${topdir}/cgen"; \
6027 libsrcdir="$$s/cgen"; \
6028 $(SHELL) $${libsrcdir}/configure \
6029 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6030 --target=${target_alias} $${srcdiroption} \
6031 || exit 1
6032 @endif cgen
6038 .PHONY: all-cgen maybe-all-cgen
6039 maybe-all-cgen:
6040 @if gcc-bootstrap
6041 all-cgen: stage_current
6042 @endif gcc-bootstrap
6043 @if cgen
6044 TARGET-cgen=all
6045 maybe-all-cgen: all-cgen
6046 all-cgen: configure-cgen
6047 @: $(MAKE); $(unstage)
6048 @r=`${PWD_COMMAND}`; export r; \
6049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6050 $(HOST_EXPORTS) \
6051 (cd $(HOST_SUBDIR)/cgen && \
6052 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6053 $(TARGET-cgen))
6054 @endif cgen
6059 .PHONY: check-cgen maybe-check-cgen
6060 maybe-check-cgen:
6061 @if cgen
6062 maybe-check-cgen: check-cgen
6064 check-cgen:
6065 @: $(MAKE); $(unstage)
6066 @r=`${PWD_COMMAND}`; export r; \
6067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6068 $(HOST_EXPORTS) \
6069 (cd $(HOST_SUBDIR)/cgen && \
6070 $(MAKE) $(FLAGS_TO_PASS) check)
6072 @endif cgen
6074 .PHONY: install-cgen maybe-install-cgen
6075 maybe-install-cgen:
6076 @if cgen
6077 maybe-install-cgen: install-cgen
6079 install-cgen: installdirs
6080 @: $(MAKE); $(unstage)
6081 @r=`${PWD_COMMAND}`; export r; \
6082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6083 $(HOST_EXPORTS) \
6084 (cd $(HOST_SUBDIR)/cgen && \
6085 $(MAKE) $(FLAGS_TO_PASS) install)
6087 @endif cgen
6089 .PHONY: install-strip-cgen maybe-install-strip-cgen
6090 maybe-install-strip-cgen:
6091 @if cgen
6092 maybe-install-strip-cgen: install-strip-cgen
6094 install-strip-cgen: installdirs
6095 @: $(MAKE); $(unstage)
6096 @r=`${PWD_COMMAND}`; export r; \
6097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6098 $(HOST_EXPORTS) \
6099 (cd $(HOST_SUBDIR)/cgen && \
6100 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6102 @endif cgen
6104 # Other targets (info, dvi, pdf, etc.)
6106 .PHONY: maybe-info-cgen info-cgen
6107 maybe-info-cgen:
6108 @if cgen
6109 maybe-info-cgen: info-cgen
6111 info-cgen: \
6112 configure-cgen
6113 @: $(MAKE); $(unstage)
6114 @[ -f ./cgen/Makefile ] || exit 0; \
6115 r=`${PWD_COMMAND}`; export r; \
6116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6117 $(HOST_EXPORTS) \
6118 for flag in $(EXTRA_HOST_FLAGS) ; do \
6119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6120 done; \
6121 echo "Doing info in cgen" ; \
6122 (cd $(HOST_SUBDIR)/cgen && \
6123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6125 "RANLIB=$${RANLIB}" \
6126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6127 info) \
6128 || exit 1
6130 @endif cgen
6132 .PHONY: maybe-dvi-cgen dvi-cgen
6133 maybe-dvi-cgen:
6134 @if cgen
6135 maybe-dvi-cgen: dvi-cgen
6137 dvi-cgen: \
6138 configure-cgen
6139 @: $(MAKE); $(unstage)
6140 @[ -f ./cgen/Makefile ] || exit 0; \
6141 r=`${PWD_COMMAND}`; export r; \
6142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6143 $(HOST_EXPORTS) \
6144 for flag in $(EXTRA_HOST_FLAGS) ; do \
6145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6146 done; \
6147 echo "Doing dvi in cgen" ; \
6148 (cd $(HOST_SUBDIR)/cgen && \
6149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6151 "RANLIB=$${RANLIB}" \
6152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6153 dvi) \
6154 || exit 1
6156 @endif cgen
6158 .PHONY: maybe-pdf-cgen pdf-cgen
6159 maybe-pdf-cgen:
6160 @if cgen
6161 maybe-pdf-cgen: pdf-cgen
6163 pdf-cgen: \
6164 configure-cgen
6165 @: $(MAKE); $(unstage)
6166 @[ -f ./cgen/Makefile ] || exit 0; \
6167 r=`${PWD_COMMAND}`; export r; \
6168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6169 $(HOST_EXPORTS) \
6170 for flag in $(EXTRA_HOST_FLAGS) ; do \
6171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6172 done; \
6173 echo "Doing pdf in cgen" ; \
6174 (cd $(HOST_SUBDIR)/cgen && \
6175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6177 "RANLIB=$${RANLIB}" \
6178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6179 pdf) \
6180 || exit 1
6182 @endif cgen
6184 .PHONY: maybe-html-cgen html-cgen
6185 maybe-html-cgen:
6186 @if cgen
6187 maybe-html-cgen: html-cgen
6189 html-cgen: \
6190 configure-cgen
6191 @: $(MAKE); $(unstage)
6192 @[ -f ./cgen/Makefile ] || exit 0; \
6193 r=`${PWD_COMMAND}`; export r; \
6194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6195 $(HOST_EXPORTS) \
6196 for flag in $(EXTRA_HOST_FLAGS) ; do \
6197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6198 done; \
6199 echo "Doing html in cgen" ; \
6200 (cd $(HOST_SUBDIR)/cgen && \
6201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6203 "RANLIB=$${RANLIB}" \
6204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6205 html) \
6206 || exit 1
6208 @endif cgen
6210 .PHONY: maybe-TAGS-cgen TAGS-cgen
6211 maybe-TAGS-cgen:
6212 @if cgen
6213 maybe-TAGS-cgen: TAGS-cgen
6215 TAGS-cgen: \
6216 configure-cgen
6217 @: $(MAKE); $(unstage)
6218 @[ -f ./cgen/Makefile ] || exit 0; \
6219 r=`${PWD_COMMAND}`; export r; \
6220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6221 $(HOST_EXPORTS) \
6222 for flag in $(EXTRA_HOST_FLAGS) ; do \
6223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6224 done; \
6225 echo "Doing TAGS in cgen" ; \
6226 (cd $(HOST_SUBDIR)/cgen && \
6227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6229 "RANLIB=$${RANLIB}" \
6230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6231 TAGS) \
6232 || exit 1
6234 @endif cgen
6236 .PHONY: maybe-install-info-cgen install-info-cgen
6237 maybe-install-info-cgen:
6238 @if cgen
6239 maybe-install-info-cgen: install-info-cgen
6241 install-info-cgen: \
6242 configure-cgen \
6243 info-cgen
6244 @: $(MAKE); $(unstage)
6245 @[ -f ./cgen/Makefile ] || exit 0; \
6246 r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248 $(HOST_EXPORTS) \
6249 for flag in $(EXTRA_HOST_FLAGS) ; do \
6250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6251 done; \
6252 echo "Doing install-info in cgen" ; \
6253 (cd $(HOST_SUBDIR)/cgen && \
6254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6256 "RANLIB=$${RANLIB}" \
6257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6258 install-info) \
6259 || exit 1
6261 @endif cgen
6263 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6264 maybe-install-pdf-cgen:
6265 @if cgen
6266 maybe-install-pdf-cgen: install-pdf-cgen
6268 install-pdf-cgen: \
6269 configure-cgen \
6270 pdf-cgen
6271 @: $(MAKE); $(unstage)
6272 @[ -f ./cgen/Makefile ] || exit 0; \
6273 r=`${PWD_COMMAND}`; export r; \
6274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6275 $(HOST_EXPORTS) \
6276 for flag in $(EXTRA_HOST_FLAGS) ; do \
6277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6278 done; \
6279 echo "Doing install-pdf in cgen" ; \
6280 (cd $(HOST_SUBDIR)/cgen && \
6281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6283 "RANLIB=$${RANLIB}" \
6284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6285 install-pdf) \
6286 || exit 1
6288 @endif cgen
6290 .PHONY: maybe-install-html-cgen install-html-cgen
6291 maybe-install-html-cgen:
6292 @if cgen
6293 maybe-install-html-cgen: install-html-cgen
6295 install-html-cgen: \
6296 configure-cgen \
6297 html-cgen
6298 @: $(MAKE); $(unstage)
6299 @[ -f ./cgen/Makefile ] || exit 0; \
6300 r=`${PWD_COMMAND}`; export r; \
6301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6302 $(HOST_EXPORTS) \
6303 for flag in $(EXTRA_HOST_FLAGS) ; do \
6304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6305 done; \
6306 echo "Doing install-html in cgen" ; \
6307 (cd $(HOST_SUBDIR)/cgen && \
6308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6310 "RANLIB=$${RANLIB}" \
6311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6312 install-html) \
6313 || exit 1
6315 @endif cgen
6317 .PHONY: maybe-installcheck-cgen installcheck-cgen
6318 maybe-installcheck-cgen:
6319 @if cgen
6320 maybe-installcheck-cgen: installcheck-cgen
6322 installcheck-cgen: \
6323 configure-cgen
6324 @: $(MAKE); $(unstage)
6325 @[ -f ./cgen/Makefile ] || exit 0; \
6326 r=`${PWD_COMMAND}`; export r; \
6327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6328 $(HOST_EXPORTS) \
6329 for flag in $(EXTRA_HOST_FLAGS) ; do \
6330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6331 done; \
6332 echo "Doing installcheck in cgen" ; \
6333 (cd $(HOST_SUBDIR)/cgen && \
6334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6336 "RANLIB=$${RANLIB}" \
6337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6338 installcheck) \
6339 || exit 1
6341 @endif cgen
6343 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6344 maybe-mostlyclean-cgen:
6345 @if cgen
6346 maybe-mostlyclean-cgen: mostlyclean-cgen
6348 mostlyclean-cgen:
6349 @: $(MAKE); $(unstage)
6350 @[ -f ./cgen/Makefile ] || exit 0; \
6351 r=`${PWD_COMMAND}`; export r; \
6352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6353 $(HOST_EXPORTS) \
6354 for flag in $(EXTRA_HOST_FLAGS) ; do \
6355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6356 done; \
6357 echo "Doing mostlyclean in cgen" ; \
6358 (cd $(HOST_SUBDIR)/cgen && \
6359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6361 "RANLIB=$${RANLIB}" \
6362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6363 mostlyclean) \
6364 || exit 1
6366 @endif cgen
6368 .PHONY: maybe-clean-cgen clean-cgen
6369 maybe-clean-cgen:
6370 @if cgen
6371 maybe-clean-cgen: clean-cgen
6373 clean-cgen:
6374 @: $(MAKE); $(unstage)
6375 @[ -f ./cgen/Makefile ] || exit 0; \
6376 r=`${PWD_COMMAND}`; export r; \
6377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6378 $(HOST_EXPORTS) \
6379 for flag in $(EXTRA_HOST_FLAGS) ; do \
6380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6381 done; \
6382 echo "Doing clean in cgen" ; \
6383 (cd $(HOST_SUBDIR)/cgen && \
6384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6386 "RANLIB=$${RANLIB}" \
6387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6388 clean) \
6389 || exit 1
6391 @endif cgen
6393 .PHONY: maybe-distclean-cgen distclean-cgen
6394 maybe-distclean-cgen:
6395 @if cgen
6396 maybe-distclean-cgen: distclean-cgen
6398 distclean-cgen:
6399 @: $(MAKE); $(unstage)
6400 @[ -f ./cgen/Makefile ] || exit 0; \
6401 r=`${PWD_COMMAND}`; export r; \
6402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6403 $(HOST_EXPORTS) \
6404 for flag in $(EXTRA_HOST_FLAGS) ; do \
6405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6406 done; \
6407 echo "Doing distclean in cgen" ; \
6408 (cd $(HOST_SUBDIR)/cgen && \
6409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6411 "RANLIB=$${RANLIB}" \
6412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6413 distclean) \
6414 || exit 1
6416 @endif cgen
6418 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6419 maybe-maintainer-clean-cgen:
6420 @if cgen
6421 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6423 maintainer-clean-cgen:
6424 @: $(MAKE); $(unstage)
6425 @[ -f ./cgen/Makefile ] || exit 0; \
6426 r=`${PWD_COMMAND}`; export r; \
6427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6428 $(HOST_EXPORTS) \
6429 for flag in $(EXTRA_HOST_FLAGS) ; do \
6430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6431 done; \
6432 echo "Doing maintainer-clean in cgen" ; \
6433 (cd $(HOST_SUBDIR)/cgen && \
6434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6436 "RANLIB=$${RANLIB}" \
6437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6438 maintainer-clean) \
6439 || exit 1
6441 @endif cgen
6445 .PHONY: configure-dejagnu maybe-configure-dejagnu
6446 maybe-configure-dejagnu:
6447 @if gcc-bootstrap
6448 configure-dejagnu: stage_current
6449 @endif gcc-bootstrap
6450 @if dejagnu
6451 maybe-configure-dejagnu: configure-dejagnu
6452 configure-dejagnu:
6453 @: $(MAKE); $(unstage)
6454 @r=`${PWD_COMMAND}`; export r; \
6455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6456 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6458 $(HOST_EXPORTS) \
6459 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6460 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6461 case $(srcdir) in \
6462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6463 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6465 esac; \
6466 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6467 libsrcdir="$$s/dejagnu"; \
6468 $(SHELL) $${libsrcdir}/configure \
6469 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6470 --target=${target_alias} $${srcdiroption} \
6471 || exit 1
6472 @endif dejagnu
6478 .PHONY: all-dejagnu maybe-all-dejagnu
6479 maybe-all-dejagnu:
6480 @if gcc-bootstrap
6481 all-dejagnu: stage_current
6482 @endif gcc-bootstrap
6483 @if dejagnu
6484 TARGET-dejagnu=all
6485 maybe-all-dejagnu: all-dejagnu
6486 all-dejagnu: configure-dejagnu
6487 @: $(MAKE); $(unstage)
6488 @r=`${PWD_COMMAND}`; export r; \
6489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6490 $(HOST_EXPORTS) \
6491 (cd $(HOST_SUBDIR)/dejagnu && \
6492 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6493 $(TARGET-dejagnu))
6494 @endif dejagnu
6499 .PHONY: check-dejagnu maybe-check-dejagnu
6500 maybe-check-dejagnu:
6501 @if dejagnu
6502 maybe-check-dejagnu: check-dejagnu
6504 check-dejagnu:
6505 @: $(MAKE); $(unstage)
6506 @r=`${PWD_COMMAND}`; export r; \
6507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6508 $(HOST_EXPORTS) \
6509 (cd $(HOST_SUBDIR)/dejagnu && \
6510 $(MAKE) $(FLAGS_TO_PASS) check)
6512 @endif dejagnu
6514 .PHONY: install-dejagnu maybe-install-dejagnu
6515 maybe-install-dejagnu:
6516 @if dejagnu
6517 maybe-install-dejagnu: install-dejagnu
6519 install-dejagnu: installdirs
6520 @: $(MAKE); $(unstage)
6521 @r=`${PWD_COMMAND}`; export r; \
6522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6523 $(HOST_EXPORTS) \
6524 (cd $(HOST_SUBDIR)/dejagnu && \
6525 $(MAKE) $(FLAGS_TO_PASS) install)
6527 @endif dejagnu
6529 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6530 maybe-install-strip-dejagnu:
6531 @if dejagnu
6532 maybe-install-strip-dejagnu: install-strip-dejagnu
6534 install-strip-dejagnu: installdirs
6535 @: $(MAKE); $(unstage)
6536 @r=`${PWD_COMMAND}`; export r; \
6537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6538 $(HOST_EXPORTS) \
6539 (cd $(HOST_SUBDIR)/dejagnu && \
6540 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6542 @endif dejagnu
6544 # Other targets (info, dvi, pdf, etc.)
6546 .PHONY: maybe-info-dejagnu info-dejagnu
6547 maybe-info-dejagnu:
6548 @if dejagnu
6549 maybe-info-dejagnu: info-dejagnu
6551 info-dejagnu: \
6552 configure-dejagnu
6553 @: $(MAKE); $(unstage)
6554 @[ -f ./dejagnu/Makefile ] || exit 0; \
6555 r=`${PWD_COMMAND}`; export r; \
6556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6557 $(HOST_EXPORTS) \
6558 for flag in $(EXTRA_HOST_FLAGS) ; do \
6559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6560 done; \
6561 echo "Doing info in dejagnu" ; \
6562 (cd $(HOST_SUBDIR)/dejagnu && \
6563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6565 "RANLIB=$${RANLIB}" \
6566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6567 info) \
6568 || exit 1
6570 @endif dejagnu
6572 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6573 maybe-dvi-dejagnu:
6574 @if dejagnu
6575 maybe-dvi-dejagnu: dvi-dejagnu
6577 dvi-dejagnu: \
6578 configure-dejagnu
6579 @: $(MAKE); $(unstage)
6580 @[ -f ./dejagnu/Makefile ] || exit 0; \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6583 $(HOST_EXPORTS) \
6584 for flag in $(EXTRA_HOST_FLAGS) ; do \
6585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6586 done; \
6587 echo "Doing dvi in dejagnu" ; \
6588 (cd $(HOST_SUBDIR)/dejagnu && \
6589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6591 "RANLIB=$${RANLIB}" \
6592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6593 dvi) \
6594 || exit 1
6596 @endif dejagnu
6598 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6599 maybe-pdf-dejagnu:
6600 @if dejagnu
6601 maybe-pdf-dejagnu: pdf-dejagnu
6603 pdf-dejagnu: \
6604 configure-dejagnu
6605 @: $(MAKE); $(unstage)
6606 @[ -f ./dejagnu/Makefile ] || exit 0; \
6607 r=`${PWD_COMMAND}`; export r; \
6608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6609 $(HOST_EXPORTS) \
6610 for flag in $(EXTRA_HOST_FLAGS) ; do \
6611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6612 done; \
6613 echo "Doing pdf in dejagnu" ; \
6614 (cd $(HOST_SUBDIR)/dejagnu && \
6615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6617 "RANLIB=$${RANLIB}" \
6618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6619 pdf) \
6620 || exit 1
6622 @endif dejagnu
6624 .PHONY: maybe-html-dejagnu html-dejagnu
6625 maybe-html-dejagnu:
6626 @if dejagnu
6627 maybe-html-dejagnu: html-dejagnu
6629 html-dejagnu: \
6630 configure-dejagnu
6631 @: $(MAKE); $(unstage)
6632 @[ -f ./dejagnu/Makefile ] || exit 0; \
6633 r=`${PWD_COMMAND}`; export r; \
6634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6635 $(HOST_EXPORTS) \
6636 for flag in $(EXTRA_HOST_FLAGS) ; do \
6637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6638 done; \
6639 echo "Doing html in dejagnu" ; \
6640 (cd $(HOST_SUBDIR)/dejagnu && \
6641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6643 "RANLIB=$${RANLIB}" \
6644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6645 html) \
6646 || exit 1
6648 @endif dejagnu
6650 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6651 maybe-TAGS-dejagnu:
6652 @if dejagnu
6653 maybe-TAGS-dejagnu: TAGS-dejagnu
6655 TAGS-dejagnu: \
6656 configure-dejagnu
6657 @: $(MAKE); $(unstage)
6658 @[ -f ./dejagnu/Makefile ] || exit 0; \
6659 r=`${PWD_COMMAND}`; export r; \
6660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6661 $(HOST_EXPORTS) \
6662 for flag in $(EXTRA_HOST_FLAGS) ; do \
6663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6664 done; \
6665 echo "Doing TAGS in dejagnu" ; \
6666 (cd $(HOST_SUBDIR)/dejagnu && \
6667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6669 "RANLIB=$${RANLIB}" \
6670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6671 TAGS) \
6672 || exit 1
6674 @endif dejagnu
6676 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6677 maybe-install-info-dejagnu:
6678 @if dejagnu
6679 maybe-install-info-dejagnu: install-info-dejagnu
6681 install-info-dejagnu: \
6682 configure-dejagnu \
6683 info-dejagnu
6684 @: $(MAKE); $(unstage)
6685 @[ -f ./dejagnu/Makefile ] || exit 0; \
6686 r=`${PWD_COMMAND}`; export r; \
6687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6688 $(HOST_EXPORTS) \
6689 for flag in $(EXTRA_HOST_FLAGS) ; do \
6690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6691 done; \
6692 echo "Doing install-info in dejagnu" ; \
6693 (cd $(HOST_SUBDIR)/dejagnu && \
6694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6696 "RANLIB=$${RANLIB}" \
6697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6698 install-info) \
6699 || exit 1
6701 @endif dejagnu
6703 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6704 maybe-install-pdf-dejagnu:
6705 @if dejagnu
6706 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6708 install-pdf-dejagnu: \
6709 configure-dejagnu \
6710 pdf-dejagnu
6711 @: $(MAKE); $(unstage)
6712 @[ -f ./dejagnu/Makefile ] || exit 0; \
6713 r=`${PWD_COMMAND}`; export r; \
6714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6715 $(HOST_EXPORTS) \
6716 for flag in $(EXTRA_HOST_FLAGS) ; do \
6717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6718 done; \
6719 echo "Doing install-pdf in dejagnu" ; \
6720 (cd $(HOST_SUBDIR)/dejagnu && \
6721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6723 "RANLIB=$${RANLIB}" \
6724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6725 install-pdf) \
6726 || exit 1
6728 @endif dejagnu
6730 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6731 maybe-install-html-dejagnu:
6732 @if dejagnu
6733 maybe-install-html-dejagnu: install-html-dejagnu
6735 install-html-dejagnu: \
6736 configure-dejagnu \
6737 html-dejagnu
6738 @: $(MAKE); $(unstage)
6739 @[ -f ./dejagnu/Makefile ] || exit 0; \
6740 r=`${PWD_COMMAND}`; export r; \
6741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6742 $(HOST_EXPORTS) \
6743 for flag in $(EXTRA_HOST_FLAGS) ; do \
6744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6745 done; \
6746 echo "Doing install-html in dejagnu" ; \
6747 (cd $(HOST_SUBDIR)/dejagnu && \
6748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6750 "RANLIB=$${RANLIB}" \
6751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6752 install-html) \
6753 || exit 1
6755 @endif dejagnu
6757 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6758 maybe-installcheck-dejagnu:
6759 @if dejagnu
6760 maybe-installcheck-dejagnu: installcheck-dejagnu
6762 installcheck-dejagnu: \
6763 configure-dejagnu
6764 @: $(MAKE); $(unstage)
6765 @[ -f ./dejagnu/Makefile ] || exit 0; \
6766 r=`${PWD_COMMAND}`; export r; \
6767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6768 $(HOST_EXPORTS) \
6769 for flag in $(EXTRA_HOST_FLAGS) ; do \
6770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6771 done; \
6772 echo "Doing installcheck in dejagnu" ; \
6773 (cd $(HOST_SUBDIR)/dejagnu && \
6774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6776 "RANLIB=$${RANLIB}" \
6777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6778 installcheck) \
6779 || exit 1
6781 @endif dejagnu
6783 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6784 maybe-mostlyclean-dejagnu:
6785 @if dejagnu
6786 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6788 mostlyclean-dejagnu:
6789 @: $(MAKE); $(unstage)
6790 @[ -f ./dejagnu/Makefile ] || exit 0; \
6791 r=`${PWD_COMMAND}`; export r; \
6792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6793 $(HOST_EXPORTS) \
6794 for flag in $(EXTRA_HOST_FLAGS) ; do \
6795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6796 done; \
6797 echo "Doing mostlyclean in dejagnu" ; \
6798 (cd $(HOST_SUBDIR)/dejagnu && \
6799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6801 "RANLIB=$${RANLIB}" \
6802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6803 mostlyclean) \
6804 || exit 1
6806 @endif dejagnu
6808 .PHONY: maybe-clean-dejagnu clean-dejagnu
6809 maybe-clean-dejagnu:
6810 @if dejagnu
6811 maybe-clean-dejagnu: clean-dejagnu
6813 clean-dejagnu:
6814 @: $(MAKE); $(unstage)
6815 @[ -f ./dejagnu/Makefile ] || exit 0; \
6816 r=`${PWD_COMMAND}`; export r; \
6817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6818 $(HOST_EXPORTS) \
6819 for flag in $(EXTRA_HOST_FLAGS) ; do \
6820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6821 done; \
6822 echo "Doing clean in dejagnu" ; \
6823 (cd $(HOST_SUBDIR)/dejagnu && \
6824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6826 "RANLIB=$${RANLIB}" \
6827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6828 clean) \
6829 || exit 1
6831 @endif dejagnu
6833 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6834 maybe-distclean-dejagnu:
6835 @if dejagnu
6836 maybe-distclean-dejagnu: distclean-dejagnu
6838 distclean-dejagnu:
6839 @: $(MAKE); $(unstage)
6840 @[ -f ./dejagnu/Makefile ] || exit 0; \
6841 r=`${PWD_COMMAND}`; export r; \
6842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6843 $(HOST_EXPORTS) \
6844 for flag in $(EXTRA_HOST_FLAGS) ; do \
6845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6846 done; \
6847 echo "Doing distclean in dejagnu" ; \
6848 (cd $(HOST_SUBDIR)/dejagnu && \
6849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6851 "RANLIB=$${RANLIB}" \
6852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6853 distclean) \
6854 || exit 1
6856 @endif dejagnu
6858 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6859 maybe-maintainer-clean-dejagnu:
6860 @if dejagnu
6861 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6863 maintainer-clean-dejagnu:
6864 @: $(MAKE); $(unstage)
6865 @[ -f ./dejagnu/Makefile ] || exit 0; \
6866 r=`${PWD_COMMAND}`; export r; \
6867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6868 $(HOST_EXPORTS) \
6869 for flag in $(EXTRA_HOST_FLAGS) ; do \
6870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6871 done; \
6872 echo "Doing maintainer-clean in dejagnu" ; \
6873 (cd $(HOST_SUBDIR)/dejagnu && \
6874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6876 "RANLIB=$${RANLIB}" \
6877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6878 maintainer-clean) \
6879 || exit 1
6881 @endif dejagnu
6885 .PHONY: configure-etc maybe-configure-etc
6886 maybe-configure-etc:
6887 @if gcc-bootstrap
6888 configure-etc: stage_current
6889 @endif gcc-bootstrap
6890 @if etc
6891 maybe-configure-etc: configure-etc
6892 configure-etc:
6893 @: $(MAKE); $(unstage)
6894 @r=`${PWD_COMMAND}`; export r; \
6895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6896 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6898 $(HOST_EXPORTS) \
6899 echo Configuring in $(HOST_SUBDIR)/etc; \
6900 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6901 case $(srcdir) in \
6902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6903 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6905 esac; \
6906 srcdiroption="--srcdir=$${topdir}/etc"; \
6907 libsrcdir="$$s/etc"; \
6908 $(SHELL) $${libsrcdir}/configure \
6909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6910 --target=${target_alias} $${srcdiroption} \
6911 || exit 1
6912 @endif etc
6918 .PHONY: all-etc maybe-all-etc
6919 maybe-all-etc:
6920 @if gcc-bootstrap
6921 all-etc: stage_current
6922 @endif gcc-bootstrap
6923 @if etc
6924 TARGET-etc=all
6925 maybe-all-etc: all-etc
6926 all-etc: configure-etc
6927 @: $(MAKE); $(unstage)
6928 @r=`${PWD_COMMAND}`; export r; \
6929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6930 $(HOST_EXPORTS) \
6931 (cd $(HOST_SUBDIR)/etc && \
6932 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6933 $(TARGET-etc))
6934 @endif etc
6939 .PHONY: check-etc maybe-check-etc
6940 maybe-check-etc:
6941 @if etc
6942 maybe-check-etc: check-etc
6944 check-etc:
6945 @: $(MAKE); $(unstage)
6946 @r=`${PWD_COMMAND}`; export r; \
6947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6948 $(HOST_EXPORTS) \
6949 (cd $(HOST_SUBDIR)/etc && \
6950 $(MAKE) $(FLAGS_TO_PASS) check)
6952 @endif etc
6954 .PHONY: install-etc maybe-install-etc
6955 maybe-install-etc:
6956 @if etc
6957 maybe-install-etc: install-etc
6959 install-etc: installdirs
6960 @: $(MAKE); $(unstage)
6961 @r=`${PWD_COMMAND}`; export r; \
6962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6963 $(HOST_EXPORTS) \
6964 (cd $(HOST_SUBDIR)/etc && \
6965 $(MAKE) $(FLAGS_TO_PASS) install)
6967 @endif etc
6969 .PHONY: install-strip-etc maybe-install-strip-etc
6970 maybe-install-strip-etc:
6971 @if etc
6972 maybe-install-strip-etc: install-strip-etc
6974 install-strip-etc: installdirs
6975 @: $(MAKE); $(unstage)
6976 @r=`${PWD_COMMAND}`; export r; \
6977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6978 $(HOST_EXPORTS) \
6979 (cd $(HOST_SUBDIR)/etc && \
6980 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6982 @endif etc
6984 # Other targets (info, dvi, pdf, etc.)
6986 .PHONY: maybe-info-etc info-etc
6987 maybe-info-etc:
6988 @if etc
6989 maybe-info-etc: info-etc
6991 info-etc: \
6992 configure-etc
6993 @: $(MAKE); $(unstage)
6994 @[ -f ./etc/Makefile ] || exit 0; \
6995 r=`${PWD_COMMAND}`; export r; \
6996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6997 $(HOST_EXPORTS) \
6998 for flag in $(EXTRA_HOST_FLAGS) ; do \
6999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7000 done; \
7001 echo "Doing info in etc" ; \
7002 (cd $(HOST_SUBDIR)/etc && \
7003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7005 "RANLIB=$${RANLIB}" \
7006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7007 info) \
7008 || exit 1
7010 @endif etc
7012 .PHONY: maybe-dvi-etc dvi-etc
7013 maybe-dvi-etc:
7014 @if etc
7015 maybe-dvi-etc: dvi-etc
7017 dvi-etc: \
7018 configure-etc
7019 @: $(MAKE); $(unstage)
7020 @[ -f ./etc/Makefile ] || exit 0; \
7021 r=`${PWD_COMMAND}`; export r; \
7022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7023 $(HOST_EXPORTS) \
7024 for flag in $(EXTRA_HOST_FLAGS) ; do \
7025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7026 done; \
7027 echo "Doing dvi in etc" ; \
7028 (cd $(HOST_SUBDIR)/etc && \
7029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7031 "RANLIB=$${RANLIB}" \
7032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7033 dvi) \
7034 || exit 1
7036 @endif etc
7038 .PHONY: maybe-pdf-etc pdf-etc
7039 maybe-pdf-etc:
7040 @if etc
7041 maybe-pdf-etc: pdf-etc
7043 pdf-etc: \
7044 configure-etc
7045 @: $(MAKE); $(unstage)
7046 @[ -f ./etc/Makefile ] || exit 0; \
7047 r=`${PWD_COMMAND}`; export r; \
7048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7049 $(HOST_EXPORTS) \
7050 for flag in $(EXTRA_HOST_FLAGS) ; do \
7051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7052 done; \
7053 echo "Doing pdf in etc" ; \
7054 (cd $(HOST_SUBDIR)/etc && \
7055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7057 "RANLIB=$${RANLIB}" \
7058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7059 pdf) \
7060 || exit 1
7062 @endif etc
7064 .PHONY: maybe-html-etc html-etc
7065 maybe-html-etc:
7066 @if etc
7067 maybe-html-etc: html-etc
7069 html-etc: \
7070 configure-etc
7071 @: $(MAKE); $(unstage)
7072 @[ -f ./etc/Makefile ] || exit 0; \
7073 r=`${PWD_COMMAND}`; export r; \
7074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7075 $(HOST_EXPORTS) \
7076 for flag in $(EXTRA_HOST_FLAGS) ; do \
7077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7078 done; \
7079 echo "Doing html in etc" ; \
7080 (cd $(HOST_SUBDIR)/etc && \
7081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7083 "RANLIB=$${RANLIB}" \
7084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7085 html) \
7086 || exit 1
7088 @endif etc
7090 .PHONY: maybe-TAGS-etc TAGS-etc
7091 maybe-TAGS-etc:
7092 @if etc
7093 maybe-TAGS-etc: TAGS-etc
7095 TAGS-etc: \
7096 configure-etc
7097 @: $(MAKE); $(unstage)
7098 @[ -f ./etc/Makefile ] || exit 0; \
7099 r=`${PWD_COMMAND}`; export r; \
7100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7101 $(HOST_EXPORTS) \
7102 for flag in $(EXTRA_HOST_FLAGS) ; do \
7103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7104 done; \
7105 echo "Doing TAGS in etc" ; \
7106 (cd $(HOST_SUBDIR)/etc && \
7107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7109 "RANLIB=$${RANLIB}" \
7110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7111 TAGS) \
7112 || exit 1
7114 @endif etc
7116 .PHONY: maybe-install-info-etc install-info-etc
7117 maybe-install-info-etc:
7118 @if etc
7119 maybe-install-info-etc: install-info-etc
7121 install-info-etc: \
7122 configure-etc \
7123 info-etc
7124 @: $(MAKE); $(unstage)
7125 @[ -f ./etc/Makefile ] || exit 0; \
7126 r=`${PWD_COMMAND}`; export r; \
7127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7128 $(HOST_EXPORTS) \
7129 for flag in $(EXTRA_HOST_FLAGS) ; do \
7130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7131 done; \
7132 echo "Doing install-info in etc" ; \
7133 (cd $(HOST_SUBDIR)/etc && \
7134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7136 "RANLIB=$${RANLIB}" \
7137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7138 install-info) \
7139 || exit 1
7141 @endif etc
7143 .PHONY: maybe-install-pdf-etc install-pdf-etc
7144 maybe-install-pdf-etc:
7145 @if etc
7146 maybe-install-pdf-etc: install-pdf-etc
7148 install-pdf-etc: \
7149 configure-etc \
7150 pdf-etc
7151 @: $(MAKE); $(unstage)
7152 @[ -f ./etc/Makefile ] || exit 0; \
7153 r=`${PWD_COMMAND}`; export r; \
7154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7155 $(HOST_EXPORTS) \
7156 for flag in $(EXTRA_HOST_FLAGS) ; do \
7157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7158 done; \
7159 echo "Doing install-pdf in etc" ; \
7160 (cd $(HOST_SUBDIR)/etc && \
7161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7163 "RANLIB=$${RANLIB}" \
7164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7165 install-pdf) \
7166 || exit 1
7168 @endif etc
7170 .PHONY: maybe-install-html-etc install-html-etc
7171 maybe-install-html-etc:
7172 @if etc
7173 maybe-install-html-etc: install-html-etc
7175 install-html-etc: \
7176 configure-etc \
7177 html-etc
7178 @: $(MAKE); $(unstage)
7179 @[ -f ./etc/Makefile ] || exit 0; \
7180 r=`${PWD_COMMAND}`; export r; \
7181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7182 $(HOST_EXPORTS) \
7183 for flag in $(EXTRA_HOST_FLAGS) ; do \
7184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7185 done; \
7186 echo "Doing install-html in etc" ; \
7187 (cd $(HOST_SUBDIR)/etc && \
7188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7190 "RANLIB=$${RANLIB}" \
7191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7192 install-html) \
7193 || exit 1
7195 @endif etc
7197 .PHONY: maybe-installcheck-etc installcheck-etc
7198 maybe-installcheck-etc:
7199 @if etc
7200 maybe-installcheck-etc: installcheck-etc
7202 installcheck-etc: \
7203 configure-etc
7204 @: $(MAKE); $(unstage)
7205 @[ -f ./etc/Makefile ] || exit 0; \
7206 r=`${PWD_COMMAND}`; export r; \
7207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7208 $(HOST_EXPORTS) \
7209 for flag in $(EXTRA_HOST_FLAGS) ; do \
7210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7211 done; \
7212 echo "Doing installcheck in etc" ; \
7213 (cd $(HOST_SUBDIR)/etc && \
7214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7216 "RANLIB=$${RANLIB}" \
7217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7218 installcheck) \
7219 || exit 1
7221 @endif etc
7223 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7224 maybe-mostlyclean-etc:
7225 @if etc
7226 maybe-mostlyclean-etc: mostlyclean-etc
7228 mostlyclean-etc:
7229 @: $(MAKE); $(unstage)
7230 @[ -f ./etc/Makefile ] || exit 0; \
7231 r=`${PWD_COMMAND}`; export r; \
7232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7233 $(HOST_EXPORTS) \
7234 for flag in $(EXTRA_HOST_FLAGS) ; do \
7235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7236 done; \
7237 echo "Doing mostlyclean in etc" ; \
7238 (cd $(HOST_SUBDIR)/etc && \
7239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7241 "RANLIB=$${RANLIB}" \
7242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7243 mostlyclean) \
7244 || exit 1
7246 @endif etc
7248 .PHONY: maybe-clean-etc clean-etc
7249 maybe-clean-etc:
7250 @if etc
7251 maybe-clean-etc: clean-etc
7253 clean-etc:
7254 @: $(MAKE); $(unstage)
7255 @[ -f ./etc/Makefile ] || exit 0; \
7256 r=`${PWD_COMMAND}`; export r; \
7257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7258 $(HOST_EXPORTS) \
7259 for flag in $(EXTRA_HOST_FLAGS) ; do \
7260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7261 done; \
7262 echo "Doing clean in etc" ; \
7263 (cd $(HOST_SUBDIR)/etc && \
7264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7266 "RANLIB=$${RANLIB}" \
7267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7268 clean) \
7269 || exit 1
7271 @endif etc
7273 .PHONY: maybe-distclean-etc distclean-etc
7274 maybe-distclean-etc:
7275 @if etc
7276 maybe-distclean-etc: distclean-etc
7278 distclean-etc:
7279 @: $(MAKE); $(unstage)
7280 @[ -f ./etc/Makefile ] || exit 0; \
7281 r=`${PWD_COMMAND}`; export r; \
7282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7283 $(HOST_EXPORTS) \
7284 for flag in $(EXTRA_HOST_FLAGS) ; do \
7285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7286 done; \
7287 echo "Doing distclean in etc" ; \
7288 (cd $(HOST_SUBDIR)/etc && \
7289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7291 "RANLIB=$${RANLIB}" \
7292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7293 distclean) \
7294 || exit 1
7296 @endif etc
7298 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7299 maybe-maintainer-clean-etc:
7300 @if etc
7301 maybe-maintainer-clean-etc: maintainer-clean-etc
7303 maintainer-clean-etc:
7304 @: $(MAKE); $(unstage)
7305 @[ -f ./etc/Makefile ] || exit 0; \
7306 r=`${PWD_COMMAND}`; export r; \
7307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7308 $(HOST_EXPORTS) \
7309 for flag in $(EXTRA_HOST_FLAGS) ; do \
7310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7311 done; \
7312 echo "Doing maintainer-clean in etc" ; \
7313 (cd $(HOST_SUBDIR)/etc && \
7314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7316 "RANLIB=$${RANLIB}" \
7317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7318 maintainer-clean) \
7319 || exit 1
7321 @endif etc
7325 .PHONY: configure-fastjar maybe-configure-fastjar
7326 maybe-configure-fastjar:
7327 @if gcc-bootstrap
7328 configure-fastjar: stage_current
7329 @endif gcc-bootstrap
7330 @if fastjar
7331 maybe-configure-fastjar: configure-fastjar
7332 configure-fastjar:
7333 @: $(MAKE); $(unstage)
7334 @r=`${PWD_COMMAND}`; export r; \
7335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7336 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7338 $(HOST_EXPORTS) \
7339 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7340 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7341 case $(srcdir) in \
7342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7343 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7345 esac; \
7346 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7347 libsrcdir="$$s/fastjar"; \
7348 $(SHELL) $${libsrcdir}/configure \
7349 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7350 --target=${target_alias} $${srcdiroption} \
7351 || exit 1
7352 @endif fastjar
7358 .PHONY: all-fastjar maybe-all-fastjar
7359 maybe-all-fastjar:
7360 @if gcc-bootstrap
7361 all-fastjar: stage_current
7362 @endif gcc-bootstrap
7363 @if fastjar
7364 TARGET-fastjar=all
7365 maybe-all-fastjar: all-fastjar
7366 all-fastjar: configure-fastjar
7367 @: $(MAKE); $(unstage)
7368 @r=`${PWD_COMMAND}`; export r; \
7369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7370 $(HOST_EXPORTS) \
7371 (cd $(HOST_SUBDIR)/fastjar && \
7372 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7373 $(TARGET-fastjar))
7374 @endif fastjar
7379 .PHONY: check-fastjar maybe-check-fastjar
7380 maybe-check-fastjar:
7381 @if fastjar
7382 maybe-check-fastjar: check-fastjar
7384 # This module is only tested in a native toolchain.
7385 check-fastjar:
7386 @: $(MAKE); $(unstage)
7387 @if [ '$(host)' = '$(target)' ] ; then \
7388 r=`${PWD_COMMAND}`; export r; \
7389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7390 $(HOST_EXPORTS) \
7391 (cd $(HOST_SUBDIR)/fastjar && \
7392 $(MAKE) $(FLAGS_TO_PASS) check); \
7395 @endif fastjar
7397 .PHONY: install-fastjar maybe-install-fastjar
7398 maybe-install-fastjar:
7399 @if fastjar
7400 maybe-install-fastjar: install-fastjar
7402 install-fastjar: installdirs
7403 @: $(MAKE); $(unstage)
7404 @r=`${PWD_COMMAND}`; export r; \
7405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7406 $(HOST_EXPORTS) \
7407 (cd $(HOST_SUBDIR)/fastjar && \
7408 $(MAKE) $(FLAGS_TO_PASS) install)
7410 @endif fastjar
7412 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7413 maybe-install-strip-fastjar:
7414 @if fastjar
7415 maybe-install-strip-fastjar: install-strip-fastjar
7417 install-strip-fastjar: installdirs
7418 @: $(MAKE); $(unstage)
7419 @r=`${PWD_COMMAND}`; export r; \
7420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7421 $(HOST_EXPORTS) \
7422 (cd $(HOST_SUBDIR)/fastjar && \
7423 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7425 @endif fastjar
7427 # Other targets (info, dvi, pdf, etc.)
7429 .PHONY: maybe-info-fastjar info-fastjar
7430 maybe-info-fastjar:
7431 @if fastjar
7432 maybe-info-fastjar: info-fastjar
7434 info-fastjar: \
7435 configure-fastjar
7436 @: $(MAKE); $(unstage)
7437 @[ -f ./fastjar/Makefile ] || exit 0; \
7438 r=`${PWD_COMMAND}`; export r; \
7439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7440 $(HOST_EXPORTS) \
7441 for flag in $(EXTRA_HOST_FLAGS) ; do \
7442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7443 done; \
7444 echo "Doing info in fastjar" ; \
7445 (cd $(HOST_SUBDIR)/fastjar && \
7446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7448 "RANLIB=$${RANLIB}" \
7449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7450 info) \
7451 || exit 1
7453 @endif fastjar
7455 .PHONY: maybe-dvi-fastjar dvi-fastjar
7456 maybe-dvi-fastjar:
7457 @if fastjar
7458 maybe-dvi-fastjar: dvi-fastjar
7460 dvi-fastjar: \
7461 configure-fastjar
7462 @: $(MAKE); $(unstage)
7463 @[ -f ./fastjar/Makefile ] || exit 0; \
7464 r=`${PWD_COMMAND}`; export r; \
7465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7466 $(HOST_EXPORTS) \
7467 for flag in $(EXTRA_HOST_FLAGS) ; do \
7468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7469 done; \
7470 echo "Doing dvi in fastjar" ; \
7471 (cd $(HOST_SUBDIR)/fastjar && \
7472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7474 "RANLIB=$${RANLIB}" \
7475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7476 dvi) \
7477 || exit 1
7479 @endif fastjar
7481 .PHONY: maybe-pdf-fastjar pdf-fastjar
7482 maybe-pdf-fastjar:
7483 @if fastjar
7484 maybe-pdf-fastjar: pdf-fastjar
7486 pdf-fastjar: \
7487 configure-fastjar
7488 @: $(MAKE); $(unstage)
7489 @[ -f ./fastjar/Makefile ] || exit 0; \
7490 r=`${PWD_COMMAND}`; export r; \
7491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7492 $(HOST_EXPORTS) \
7493 for flag in $(EXTRA_HOST_FLAGS) ; do \
7494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7495 done; \
7496 echo "Doing pdf in fastjar" ; \
7497 (cd $(HOST_SUBDIR)/fastjar && \
7498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7500 "RANLIB=$${RANLIB}" \
7501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7502 pdf) \
7503 || exit 1
7505 @endif fastjar
7507 .PHONY: maybe-html-fastjar html-fastjar
7508 maybe-html-fastjar:
7509 @if fastjar
7510 maybe-html-fastjar: html-fastjar
7512 html-fastjar: \
7513 configure-fastjar
7514 @: $(MAKE); $(unstage)
7515 @[ -f ./fastjar/Makefile ] || exit 0; \
7516 r=`${PWD_COMMAND}`; export r; \
7517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7518 $(HOST_EXPORTS) \
7519 for flag in $(EXTRA_HOST_FLAGS) ; do \
7520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7521 done; \
7522 echo "Doing html in fastjar" ; \
7523 (cd $(HOST_SUBDIR)/fastjar && \
7524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7526 "RANLIB=$${RANLIB}" \
7527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7528 html) \
7529 || exit 1
7531 @endif fastjar
7533 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7534 maybe-TAGS-fastjar:
7535 @if fastjar
7536 maybe-TAGS-fastjar: TAGS-fastjar
7538 TAGS-fastjar: \
7539 configure-fastjar
7540 @: $(MAKE); $(unstage)
7541 @[ -f ./fastjar/Makefile ] || exit 0; \
7542 r=`${PWD_COMMAND}`; export r; \
7543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7544 $(HOST_EXPORTS) \
7545 for flag in $(EXTRA_HOST_FLAGS) ; do \
7546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7547 done; \
7548 echo "Doing TAGS in fastjar" ; \
7549 (cd $(HOST_SUBDIR)/fastjar && \
7550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7552 "RANLIB=$${RANLIB}" \
7553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7554 TAGS) \
7555 || exit 1
7557 @endif fastjar
7559 .PHONY: maybe-install-info-fastjar install-info-fastjar
7560 maybe-install-info-fastjar:
7561 @if fastjar
7562 maybe-install-info-fastjar: install-info-fastjar
7564 install-info-fastjar: \
7565 configure-fastjar \
7566 info-fastjar
7567 @: $(MAKE); $(unstage)
7568 @[ -f ./fastjar/Makefile ] || exit 0; \
7569 r=`${PWD_COMMAND}`; export r; \
7570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7571 $(HOST_EXPORTS) \
7572 for flag in $(EXTRA_HOST_FLAGS) ; do \
7573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7574 done; \
7575 echo "Doing install-info in fastjar" ; \
7576 (cd $(HOST_SUBDIR)/fastjar && \
7577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7579 "RANLIB=$${RANLIB}" \
7580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7581 install-info) \
7582 || exit 1
7584 @endif fastjar
7586 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7587 maybe-install-pdf-fastjar:
7588 @if fastjar
7589 maybe-install-pdf-fastjar: install-pdf-fastjar
7591 install-pdf-fastjar: \
7592 configure-fastjar \
7593 pdf-fastjar
7594 @: $(MAKE); $(unstage)
7595 @[ -f ./fastjar/Makefile ] || exit 0; \
7596 r=`${PWD_COMMAND}`; export r; \
7597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7598 $(HOST_EXPORTS) \
7599 for flag in $(EXTRA_HOST_FLAGS) ; do \
7600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7601 done; \
7602 echo "Doing install-pdf in fastjar" ; \
7603 (cd $(HOST_SUBDIR)/fastjar && \
7604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7606 "RANLIB=$${RANLIB}" \
7607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7608 install-pdf) \
7609 || exit 1
7611 @endif fastjar
7613 .PHONY: maybe-install-html-fastjar install-html-fastjar
7614 maybe-install-html-fastjar:
7615 @if fastjar
7616 maybe-install-html-fastjar: install-html-fastjar
7618 install-html-fastjar: \
7619 configure-fastjar \
7620 html-fastjar
7621 @: $(MAKE); $(unstage)
7622 @[ -f ./fastjar/Makefile ] || exit 0; \
7623 r=`${PWD_COMMAND}`; export r; \
7624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7625 $(HOST_EXPORTS) \
7626 for flag in $(EXTRA_HOST_FLAGS) ; do \
7627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7628 done; \
7629 echo "Doing install-html in fastjar" ; \
7630 (cd $(HOST_SUBDIR)/fastjar && \
7631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7633 "RANLIB=$${RANLIB}" \
7634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7635 install-html) \
7636 || exit 1
7638 @endif fastjar
7640 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7641 maybe-installcheck-fastjar:
7642 @if fastjar
7643 maybe-installcheck-fastjar: installcheck-fastjar
7645 installcheck-fastjar: \
7646 configure-fastjar
7647 @: $(MAKE); $(unstage)
7648 @[ -f ./fastjar/Makefile ] || exit 0; \
7649 r=`${PWD_COMMAND}`; export r; \
7650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7651 $(HOST_EXPORTS) \
7652 for flag in $(EXTRA_HOST_FLAGS) ; do \
7653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7654 done; \
7655 echo "Doing installcheck in fastjar" ; \
7656 (cd $(HOST_SUBDIR)/fastjar && \
7657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7659 "RANLIB=$${RANLIB}" \
7660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7661 installcheck) \
7662 || exit 1
7664 @endif fastjar
7666 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7667 maybe-mostlyclean-fastjar:
7668 @if fastjar
7669 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7671 mostlyclean-fastjar:
7672 @: $(MAKE); $(unstage)
7673 @[ -f ./fastjar/Makefile ] || exit 0; \
7674 r=`${PWD_COMMAND}`; export r; \
7675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7676 $(HOST_EXPORTS) \
7677 for flag in $(EXTRA_HOST_FLAGS) ; do \
7678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7679 done; \
7680 echo "Doing mostlyclean in fastjar" ; \
7681 (cd $(HOST_SUBDIR)/fastjar && \
7682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7684 "RANLIB=$${RANLIB}" \
7685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7686 mostlyclean) \
7687 || exit 1
7689 @endif fastjar
7691 .PHONY: maybe-clean-fastjar clean-fastjar
7692 maybe-clean-fastjar:
7693 @if fastjar
7694 maybe-clean-fastjar: clean-fastjar
7696 clean-fastjar:
7697 @: $(MAKE); $(unstage)
7698 @[ -f ./fastjar/Makefile ] || exit 0; \
7699 r=`${PWD_COMMAND}`; export r; \
7700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7701 $(HOST_EXPORTS) \
7702 for flag in $(EXTRA_HOST_FLAGS) ; do \
7703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7704 done; \
7705 echo "Doing clean in fastjar" ; \
7706 (cd $(HOST_SUBDIR)/fastjar && \
7707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7709 "RANLIB=$${RANLIB}" \
7710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7711 clean) \
7712 || exit 1
7714 @endif fastjar
7716 .PHONY: maybe-distclean-fastjar distclean-fastjar
7717 maybe-distclean-fastjar:
7718 @if fastjar
7719 maybe-distclean-fastjar: distclean-fastjar
7721 distclean-fastjar:
7722 @: $(MAKE); $(unstage)
7723 @[ -f ./fastjar/Makefile ] || exit 0; \
7724 r=`${PWD_COMMAND}`; export r; \
7725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7726 $(HOST_EXPORTS) \
7727 for flag in $(EXTRA_HOST_FLAGS) ; do \
7728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7729 done; \
7730 echo "Doing distclean in fastjar" ; \
7731 (cd $(HOST_SUBDIR)/fastjar && \
7732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7734 "RANLIB=$${RANLIB}" \
7735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7736 distclean) \
7737 || exit 1
7739 @endif fastjar
7741 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7742 maybe-maintainer-clean-fastjar:
7743 @if fastjar
7744 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7746 maintainer-clean-fastjar:
7747 @: $(MAKE); $(unstage)
7748 @[ -f ./fastjar/Makefile ] || exit 0; \
7749 r=`${PWD_COMMAND}`; export r; \
7750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7751 $(HOST_EXPORTS) \
7752 for flag in $(EXTRA_HOST_FLAGS) ; do \
7753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7754 done; \
7755 echo "Doing maintainer-clean in fastjar" ; \
7756 (cd $(HOST_SUBDIR)/fastjar && \
7757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7759 "RANLIB=$${RANLIB}" \
7760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7761 maintainer-clean) \
7762 || exit 1
7764 @endif fastjar
7768 .PHONY: configure-fixincludes maybe-configure-fixincludes
7769 maybe-configure-fixincludes:
7770 @if gcc-bootstrap
7771 configure-fixincludes: stage_current
7772 @endif gcc-bootstrap
7773 @if fixincludes
7774 maybe-configure-fixincludes: configure-fixincludes
7775 configure-fixincludes:
7776 @: $(MAKE); $(unstage)
7777 @r=`${PWD_COMMAND}`; export r; \
7778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7779 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7781 $(HOST_EXPORTS) \
7782 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7783 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7784 case $(srcdir) in \
7785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7786 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7788 esac; \
7789 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7790 libsrcdir="$$s/fixincludes"; \
7791 $(SHELL) $${libsrcdir}/configure \
7792 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7793 --target=${target_alias} $${srcdiroption} \
7794 || exit 1
7795 @endif fixincludes
7801 .PHONY: all-fixincludes maybe-all-fixincludes
7802 maybe-all-fixincludes:
7803 @if gcc-bootstrap
7804 all-fixincludes: stage_current
7805 @endif gcc-bootstrap
7806 @if fixincludes
7807 TARGET-fixincludes=all
7808 maybe-all-fixincludes: all-fixincludes
7809 all-fixincludes: configure-fixincludes
7810 @: $(MAKE); $(unstage)
7811 @r=`${PWD_COMMAND}`; export r; \
7812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7813 $(HOST_EXPORTS) \
7814 (cd $(HOST_SUBDIR)/fixincludes && \
7815 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7816 $(TARGET-fixincludes))
7817 @endif fixincludes
7822 .PHONY: check-fixincludes maybe-check-fixincludes
7823 maybe-check-fixincludes:
7824 @if fixincludes
7825 maybe-check-fixincludes: check-fixincludes
7827 check-fixincludes:
7828 @: $(MAKE); $(unstage)
7829 @r=`${PWD_COMMAND}`; export r; \
7830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7831 $(HOST_EXPORTS) \
7832 (cd $(HOST_SUBDIR)/fixincludes && \
7833 $(MAKE) $(FLAGS_TO_PASS) check)
7835 @endif fixincludes
7837 .PHONY: install-fixincludes maybe-install-fixincludes
7838 maybe-install-fixincludes:
7839 @if fixincludes
7840 maybe-install-fixincludes: install-fixincludes
7842 install-fixincludes: installdirs
7843 @: $(MAKE); $(unstage)
7844 @r=`${PWD_COMMAND}`; export r; \
7845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7846 $(HOST_EXPORTS) \
7847 (cd $(HOST_SUBDIR)/fixincludes && \
7848 $(MAKE) $(FLAGS_TO_PASS) install)
7850 @endif fixincludes
7852 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7853 maybe-install-strip-fixincludes:
7854 @if fixincludes
7855 maybe-install-strip-fixincludes: install-strip-fixincludes
7857 install-strip-fixincludes: installdirs
7858 @: $(MAKE); $(unstage)
7859 @r=`${PWD_COMMAND}`; export r; \
7860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7861 $(HOST_EXPORTS) \
7862 (cd $(HOST_SUBDIR)/fixincludes && \
7863 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7865 @endif fixincludes
7867 # Other targets (info, dvi, pdf, etc.)
7869 .PHONY: maybe-info-fixincludes info-fixincludes
7870 maybe-info-fixincludes:
7871 @if fixincludes
7872 maybe-info-fixincludes: info-fixincludes
7874 info-fixincludes: \
7875 configure-fixincludes
7876 @: $(MAKE); $(unstage)
7877 @[ -f ./fixincludes/Makefile ] || exit 0; \
7878 r=`${PWD_COMMAND}`; export r; \
7879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7880 $(HOST_EXPORTS) \
7881 for flag in $(EXTRA_HOST_FLAGS) ; do \
7882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7883 done; \
7884 echo "Doing info in fixincludes" ; \
7885 (cd $(HOST_SUBDIR)/fixincludes && \
7886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7888 "RANLIB=$${RANLIB}" \
7889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7890 info) \
7891 || exit 1
7893 @endif fixincludes
7895 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7896 maybe-dvi-fixincludes:
7897 @if fixincludes
7898 maybe-dvi-fixincludes: dvi-fixincludes
7900 dvi-fixincludes: \
7901 configure-fixincludes
7902 @: $(MAKE); $(unstage)
7903 @[ -f ./fixincludes/Makefile ] || exit 0; \
7904 r=`${PWD_COMMAND}`; export r; \
7905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7906 $(HOST_EXPORTS) \
7907 for flag in $(EXTRA_HOST_FLAGS) ; do \
7908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7909 done; \
7910 echo "Doing dvi in fixincludes" ; \
7911 (cd $(HOST_SUBDIR)/fixincludes && \
7912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7914 "RANLIB=$${RANLIB}" \
7915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7916 dvi) \
7917 || exit 1
7919 @endif fixincludes
7921 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7922 maybe-pdf-fixincludes:
7923 @if fixincludes
7924 maybe-pdf-fixincludes: pdf-fixincludes
7926 pdf-fixincludes: \
7927 configure-fixincludes
7928 @: $(MAKE); $(unstage)
7929 @[ -f ./fixincludes/Makefile ] || exit 0; \
7930 r=`${PWD_COMMAND}`; export r; \
7931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7932 $(HOST_EXPORTS) \
7933 for flag in $(EXTRA_HOST_FLAGS) ; do \
7934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7935 done; \
7936 echo "Doing pdf in fixincludes" ; \
7937 (cd $(HOST_SUBDIR)/fixincludes && \
7938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7940 "RANLIB=$${RANLIB}" \
7941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7942 pdf) \
7943 || exit 1
7945 @endif fixincludes
7947 .PHONY: maybe-html-fixincludes html-fixincludes
7948 maybe-html-fixincludes:
7949 @if fixincludes
7950 maybe-html-fixincludes: html-fixincludes
7952 html-fixincludes: \
7953 configure-fixincludes
7954 @: $(MAKE); $(unstage)
7955 @[ -f ./fixincludes/Makefile ] || exit 0; \
7956 r=`${PWD_COMMAND}`; export r; \
7957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7958 $(HOST_EXPORTS) \
7959 for flag in $(EXTRA_HOST_FLAGS) ; do \
7960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7961 done; \
7962 echo "Doing html in fixincludes" ; \
7963 (cd $(HOST_SUBDIR)/fixincludes && \
7964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7966 "RANLIB=$${RANLIB}" \
7967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7968 html) \
7969 || exit 1
7971 @endif fixincludes
7973 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7974 maybe-TAGS-fixincludes:
7975 @if fixincludes
7976 maybe-TAGS-fixincludes: TAGS-fixincludes
7978 # fixincludes doesn't support TAGS.
7979 TAGS-fixincludes:
7981 @endif fixincludes
7983 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7984 maybe-install-info-fixincludes:
7985 @if fixincludes
7986 maybe-install-info-fixincludes: install-info-fixincludes
7988 install-info-fixincludes: \
7989 configure-fixincludes \
7990 info-fixincludes
7991 @: $(MAKE); $(unstage)
7992 @[ -f ./fixincludes/Makefile ] || exit 0; \
7993 r=`${PWD_COMMAND}`; export r; \
7994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7995 $(HOST_EXPORTS) \
7996 for flag in $(EXTRA_HOST_FLAGS) ; do \
7997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7998 done; \
7999 echo "Doing install-info in fixincludes" ; \
8000 (cd $(HOST_SUBDIR)/fixincludes && \
8001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8003 "RANLIB=$${RANLIB}" \
8004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8005 install-info) \
8006 || exit 1
8008 @endif fixincludes
8010 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8011 maybe-install-pdf-fixincludes:
8012 @if fixincludes
8013 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8015 install-pdf-fixincludes: \
8016 configure-fixincludes \
8017 pdf-fixincludes
8018 @: $(MAKE); $(unstage)
8019 @[ -f ./fixincludes/Makefile ] || exit 0; \
8020 r=`${PWD_COMMAND}`; export r; \
8021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8022 $(HOST_EXPORTS) \
8023 for flag in $(EXTRA_HOST_FLAGS) ; do \
8024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8025 done; \
8026 echo "Doing install-pdf in fixincludes" ; \
8027 (cd $(HOST_SUBDIR)/fixincludes && \
8028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8030 "RANLIB=$${RANLIB}" \
8031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8032 install-pdf) \
8033 || exit 1
8035 @endif fixincludes
8037 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8038 maybe-install-html-fixincludes:
8039 @if fixincludes
8040 maybe-install-html-fixincludes: install-html-fixincludes
8042 install-html-fixincludes: \
8043 configure-fixincludes \
8044 html-fixincludes
8045 @: $(MAKE); $(unstage)
8046 @[ -f ./fixincludes/Makefile ] || exit 0; \
8047 r=`${PWD_COMMAND}`; export r; \
8048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8049 $(HOST_EXPORTS) \
8050 for flag in $(EXTRA_HOST_FLAGS) ; do \
8051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8052 done; \
8053 echo "Doing install-html in fixincludes" ; \
8054 (cd $(HOST_SUBDIR)/fixincludes && \
8055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8057 "RANLIB=$${RANLIB}" \
8058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8059 install-html) \
8060 || exit 1
8062 @endif fixincludes
8064 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8065 maybe-installcheck-fixincludes:
8066 @if fixincludes
8067 maybe-installcheck-fixincludes: installcheck-fixincludes
8069 installcheck-fixincludes: \
8070 configure-fixincludes
8071 @: $(MAKE); $(unstage)
8072 @[ -f ./fixincludes/Makefile ] || exit 0; \
8073 r=`${PWD_COMMAND}`; export r; \
8074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8075 $(HOST_EXPORTS) \
8076 for flag in $(EXTRA_HOST_FLAGS) ; do \
8077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8078 done; \
8079 echo "Doing installcheck in fixincludes" ; \
8080 (cd $(HOST_SUBDIR)/fixincludes && \
8081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8083 "RANLIB=$${RANLIB}" \
8084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8085 installcheck) \
8086 || exit 1
8088 @endif fixincludes
8090 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8091 maybe-mostlyclean-fixincludes:
8092 @if fixincludes
8093 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8095 mostlyclean-fixincludes:
8096 @: $(MAKE); $(unstage)
8097 @[ -f ./fixincludes/Makefile ] || exit 0; \
8098 r=`${PWD_COMMAND}`; export r; \
8099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8100 $(HOST_EXPORTS) \
8101 for flag in $(EXTRA_HOST_FLAGS) ; do \
8102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8103 done; \
8104 echo "Doing mostlyclean in fixincludes" ; \
8105 (cd $(HOST_SUBDIR)/fixincludes && \
8106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8108 "RANLIB=$${RANLIB}" \
8109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8110 mostlyclean) \
8111 || exit 1
8113 @endif fixincludes
8115 .PHONY: maybe-clean-fixincludes clean-fixincludes
8116 maybe-clean-fixincludes:
8117 @if fixincludes
8118 maybe-clean-fixincludes: clean-fixincludes
8120 clean-fixincludes:
8121 @: $(MAKE); $(unstage)
8122 @[ -f ./fixincludes/Makefile ] || exit 0; \
8123 r=`${PWD_COMMAND}`; export r; \
8124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8125 $(HOST_EXPORTS) \
8126 for flag in $(EXTRA_HOST_FLAGS) ; do \
8127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8128 done; \
8129 echo "Doing clean in fixincludes" ; \
8130 (cd $(HOST_SUBDIR)/fixincludes && \
8131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8133 "RANLIB=$${RANLIB}" \
8134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8135 clean) \
8136 || exit 1
8138 @endif fixincludes
8140 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8141 maybe-distclean-fixincludes:
8142 @if fixincludes
8143 maybe-distclean-fixincludes: distclean-fixincludes
8145 distclean-fixincludes:
8146 @: $(MAKE); $(unstage)
8147 @[ -f ./fixincludes/Makefile ] || exit 0; \
8148 r=`${PWD_COMMAND}`; export r; \
8149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8150 $(HOST_EXPORTS) \
8151 for flag in $(EXTRA_HOST_FLAGS) ; do \
8152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8153 done; \
8154 echo "Doing distclean in fixincludes" ; \
8155 (cd $(HOST_SUBDIR)/fixincludes && \
8156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8158 "RANLIB=$${RANLIB}" \
8159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8160 distclean) \
8161 || exit 1
8163 @endif fixincludes
8165 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8166 maybe-maintainer-clean-fixincludes:
8167 @if fixincludes
8168 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8170 maintainer-clean-fixincludes:
8171 @: $(MAKE); $(unstage)
8172 @[ -f ./fixincludes/Makefile ] || exit 0; \
8173 r=`${PWD_COMMAND}`; export r; \
8174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8175 $(HOST_EXPORTS) \
8176 for flag in $(EXTRA_HOST_FLAGS) ; do \
8177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8178 done; \
8179 echo "Doing maintainer-clean in fixincludes" ; \
8180 (cd $(HOST_SUBDIR)/fixincludes && \
8181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8183 "RANLIB=$${RANLIB}" \
8184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8185 maintainer-clean) \
8186 || exit 1
8188 @endif fixincludes
8192 .PHONY: configure-flex maybe-configure-flex
8193 maybe-configure-flex:
8194 @if gcc-bootstrap
8195 configure-flex: stage_current
8196 @endif gcc-bootstrap
8197 @if flex
8198 maybe-configure-flex: configure-flex
8199 configure-flex:
8200 @: $(MAKE); $(unstage)
8201 @r=`${PWD_COMMAND}`; export r; \
8202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8203 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8205 $(HOST_EXPORTS) \
8206 echo Configuring in $(HOST_SUBDIR)/flex; \
8207 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8208 case $(srcdir) in \
8209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8210 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8212 esac; \
8213 srcdiroption="--srcdir=$${topdir}/flex"; \
8214 libsrcdir="$$s/flex"; \
8215 $(SHELL) $${libsrcdir}/configure \
8216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8217 --target=${target_alias} $${srcdiroption} \
8218 || exit 1
8219 @endif flex
8225 .PHONY: all-flex maybe-all-flex
8226 maybe-all-flex:
8227 @if gcc-bootstrap
8228 all-flex: stage_current
8229 @endif gcc-bootstrap
8230 @if flex
8231 TARGET-flex=all
8232 maybe-all-flex: all-flex
8233 all-flex: configure-flex
8234 @: $(MAKE); $(unstage)
8235 @r=`${PWD_COMMAND}`; export r; \
8236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8237 $(HOST_EXPORTS) \
8238 (cd $(HOST_SUBDIR)/flex && \
8239 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8240 $(TARGET-flex))
8241 @endif flex
8246 .PHONY: check-flex maybe-check-flex
8247 maybe-check-flex:
8248 @if flex
8249 maybe-check-flex: check-flex
8251 # This module is only tested in a native toolchain.
8252 check-flex:
8253 @: $(MAKE); $(unstage)
8254 @if [ '$(host)' = '$(target)' ] ; then \
8255 r=`${PWD_COMMAND}`; export r; \
8256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8257 $(HOST_EXPORTS) \
8258 (cd $(HOST_SUBDIR)/flex && \
8259 $(MAKE) $(FLAGS_TO_PASS) check); \
8262 @endif flex
8264 .PHONY: install-flex maybe-install-flex
8265 maybe-install-flex:
8266 @if flex
8267 maybe-install-flex: install-flex
8269 install-flex: installdirs
8270 @: $(MAKE); $(unstage)
8271 @r=`${PWD_COMMAND}`; export r; \
8272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8273 $(HOST_EXPORTS) \
8274 (cd $(HOST_SUBDIR)/flex && \
8275 $(MAKE) $(FLAGS_TO_PASS) install)
8277 @endif flex
8279 .PHONY: install-strip-flex maybe-install-strip-flex
8280 maybe-install-strip-flex:
8281 @if flex
8282 maybe-install-strip-flex: install-strip-flex
8284 install-strip-flex: installdirs
8285 @: $(MAKE); $(unstage)
8286 @r=`${PWD_COMMAND}`; export r; \
8287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8288 $(HOST_EXPORTS) \
8289 (cd $(HOST_SUBDIR)/flex && \
8290 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8292 @endif flex
8294 # Other targets (info, dvi, pdf, etc.)
8296 .PHONY: maybe-info-flex info-flex
8297 maybe-info-flex:
8298 @if flex
8299 maybe-info-flex: info-flex
8301 info-flex: \
8302 configure-flex
8303 @: $(MAKE); $(unstage)
8304 @[ -f ./flex/Makefile ] || exit 0; \
8305 r=`${PWD_COMMAND}`; export r; \
8306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8307 $(HOST_EXPORTS) \
8308 for flag in $(EXTRA_HOST_FLAGS) ; do \
8309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8310 done; \
8311 echo "Doing info in flex" ; \
8312 (cd $(HOST_SUBDIR)/flex && \
8313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8315 "RANLIB=$${RANLIB}" \
8316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8317 info) \
8318 || exit 1
8320 @endif flex
8322 .PHONY: maybe-dvi-flex dvi-flex
8323 maybe-dvi-flex:
8324 @if flex
8325 maybe-dvi-flex: dvi-flex
8327 dvi-flex: \
8328 configure-flex
8329 @: $(MAKE); $(unstage)
8330 @[ -f ./flex/Makefile ] || exit 0; \
8331 r=`${PWD_COMMAND}`; export r; \
8332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8333 $(HOST_EXPORTS) \
8334 for flag in $(EXTRA_HOST_FLAGS) ; do \
8335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8336 done; \
8337 echo "Doing dvi in flex" ; \
8338 (cd $(HOST_SUBDIR)/flex && \
8339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8341 "RANLIB=$${RANLIB}" \
8342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8343 dvi) \
8344 || exit 1
8346 @endif flex
8348 .PHONY: maybe-pdf-flex pdf-flex
8349 maybe-pdf-flex:
8350 @if flex
8351 maybe-pdf-flex: pdf-flex
8353 pdf-flex: \
8354 configure-flex
8355 @: $(MAKE); $(unstage)
8356 @[ -f ./flex/Makefile ] || exit 0; \
8357 r=`${PWD_COMMAND}`; export r; \
8358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8359 $(HOST_EXPORTS) \
8360 for flag in $(EXTRA_HOST_FLAGS) ; do \
8361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8362 done; \
8363 echo "Doing pdf in flex" ; \
8364 (cd $(HOST_SUBDIR)/flex && \
8365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8367 "RANLIB=$${RANLIB}" \
8368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8369 pdf) \
8370 || exit 1
8372 @endif flex
8374 .PHONY: maybe-html-flex html-flex
8375 maybe-html-flex:
8376 @if flex
8377 maybe-html-flex: html-flex
8379 html-flex: \
8380 configure-flex
8381 @: $(MAKE); $(unstage)
8382 @[ -f ./flex/Makefile ] || exit 0; \
8383 r=`${PWD_COMMAND}`; export r; \
8384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8385 $(HOST_EXPORTS) \
8386 for flag in $(EXTRA_HOST_FLAGS) ; do \
8387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8388 done; \
8389 echo "Doing html in flex" ; \
8390 (cd $(HOST_SUBDIR)/flex && \
8391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8393 "RANLIB=$${RANLIB}" \
8394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8395 html) \
8396 || exit 1
8398 @endif flex
8400 .PHONY: maybe-TAGS-flex TAGS-flex
8401 maybe-TAGS-flex:
8402 @if flex
8403 maybe-TAGS-flex: TAGS-flex
8405 TAGS-flex: \
8406 configure-flex
8407 @: $(MAKE); $(unstage)
8408 @[ -f ./flex/Makefile ] || exit 0; \
8409 r=`${PWD_COMMAND}`; export r; \
8410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8411 $(HOST_EXPORTS) \
8412 for flag in $(EXTRA_HOST_FLAGS) ; do \
8413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8414 done; \
8415 echo "Doing TAGS in flex" ; \
8416 (cd $(HOST_SUBDIR)/flex && \
8417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8419 "RANLIB=$${RANLIB}" \
8420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8421 TAGS) \
8422 || exit 1
8424 @endif flex
8426 .PHONY: maybe-install-info-flex install-info-flex
8427 maybe-install-info-flex:
8428 @if flex
8429 maybe-install-info-flex: install-info-flex
8431 install-info-flex: \
8432 configure-flex \
8433 info-flex
8434 @: $(MAKE); $(unstage)
8435 @[ -f ./flex/Makefile ] || exit 0; \
8436 r=`${PWD_COMMAND}`; export r; \
8437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8438 $(HOST_EXPORTS) \
8439 for flag in $(EXTRA_HOST_FLAGS) ; do \
8440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8441 done; \
8442 echo "Doing install-info in flex" ; \
8443 (cd $(HOST_SUBDIR)/flex && \
8444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8446 "RANLIB=$${RANLIB}" \
8447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8448 install-info) \
8449 || exit 1
8451 @endif flex
8453 .PHONY: maybe-install-pdf-flex install-pdf-flex
8454 maybe-install-pdf-flex:
8455 @if flex
8456 maybe-install-pdf-flex: install-pdf-flex
8458 install-pdf-flex: \
8459 configure-flex \
8460 pdf-flex
8461 @: $(MAKE); $(unstage)
8462 @[ -f ./flex/Makefile ] || exit 0; \
8463 r=`${PWD_COMMAND}`; export r; \
8464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8465 $(HOST_EXPORTS) \
8466 for flag in $(EXTRA_HOST_FLAGS) ; do \
8467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8468 done; \
8469 echo "Doing install-pdf in flex" ; \
8470 (cd $(HOST_SUBDIR)/flex && \
8471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8473 "RANLIB=$${RANLIB}" \
8474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8475 install-pdf) \
8476 || exit 1
8478 @endif flex
8480 .PHONY: maybe-install-html-flex install-html-flex
8481 maybe-install-html-flex:
8482 @if flex
8483 maybe-install-html-flex: install-html-flex
8485 install-html-flex: \
8486 configure-flex \
8487 html-flex
8488 @: $(MAKE); $(unstage)
8489 @[ -f ./flex/Makefile ] || exit 0; \
8490 r=`${PWD_COMMAND}`; export r; \
8491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8492 $(HOST_EXPORTS) \
8493 for flag in $(EXTRA_HOST_FLAGS) ; do \
8494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8495 done; \
8496 echo "Doing install-html in flex" ; \
8497 (cd $(HOST_SUBDIR)/flex && \
8498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8500 "RANLIB=$${RANLIB}" \
8501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8502 install-html) \
8503 || exit 1
8505 @endif flex
8507 .PHONY: maybe-installcheck-flex installcheck-flex
8508 maybe-installcheck-flex:
8509 @if flex
8510 maybe-installcheck-flex: installcheck-flex
8512 installcheck-flex: \
8513 configure-flex
8514 @: $(MAKE); $(unstage)
8515 @[ -f ./flex/Makefile ] || exit 0; \
8516 r=`${PWD_COMMAND}`; export r; \
8517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8518 $(HOST_EXPORTS) \
8519 for flag in $(EXTRA_HOST_FLAGS) ; do \
8520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8521 done; \
8522 echo "Doing installcheck in flex" ; \
8523 (cd $(HOST_SUBDIR)/flex && \
8524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8526 "RANLIB=$${RANLIB}" \
8527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8528 installcheck) \
8529 || exit 1
8531 @endif flex
8533 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8534 maybe-mostlyclean-flex:
8535 @if flex
8536 maybe-mostlyclean-flex: mostlyclean-flex
8538 mostlyclean-flex:
8539 @: $(MAKE); $(unstage)
8540 @[ -f ./flex/Makefile ] || exit 0; \
8541 r=`${PWD_COMMAND}`; export r; \
8542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8543 $(HOST_EXPORTS) \
8544 for flag in $(EXTRA_HOST_FLAGS) ; do \
8545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8546 done; \
8547 echo "Doing mostlyclean in flex" ; \
8548 (cd $(HOST_SUBDIR)/flex && \
8549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8551 "RANLIB=$${RANLIB}" \
8552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8553 mostlyclean) \
8554 || exit 1
8556 @endif flex
8558 .PHONY: maybe-clean-flex clean-flex
8559 maybe-clean-flex:
8560 @if flex
8561 maybe-clean-flex: clean-flex
8563 clean-flex:
8564 @: $(MAKE); $(unstage)
8565 @[ -f ./flex/Makefile ] || exit 0; \
8566 r=`${PWD_COMMAND}`; export r; \
8567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8568 $(HOST_EXPORTS) \
8569 for flag in $(EXTRA_HOST_FLAGS) ; do \
8570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8571 done; \
8572 echo "Doing clean in flex" ; \
8573 (cd $(HOST_SUBDIR)/flex && \
8574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8576 "RANLIB=$${RANLIB}" \
8577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8578 clean) \
8579 || exit 1
8581 @endif flex
8583 .PHONY: maybe-distclean-flex distclean-flex
8584 maybe-distclean-flex:
8585 @if flex
8586 maybe-distclean-flex: distclean-flex
8588 distclean-flex:
8589 @: $(MAKE); $(unstage)
8590 @[ -f ./flex/Makefile ] || exit 0; \
8591 r=`${PWD_COMMAND}`; export r; \
8592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8593 $(HOST_EXPORTS) \
8594 for flag in $(EXTRA_HOST_FLAGS) ; do \
8595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8596 done; \
8597 echo "Doing distclean in flex" ; \
8598 (cd $(HOST_SUBDIR)/flex && \
8599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8601 "RANLIB=$${RANLIB}" \
8602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8603 distclean) \
8604 || exit 1
8606 @endif flex
8608 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8609 maybe-maintainer-clean-flex:
8610 @if flex
8611 maybe-maintainer-clean-flex: maintainer-clean-flex
8613 maintainer-clean-flex:
8614 @: $(MAKE); $(unstage)
8615 @[ -f ./flex/Makefile ] || exit 0; \
8616 r=`${PWD_COMMAND}`; export r; \
8617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8618 $(HOST_EXPORTS) \
8619 for flag in $(EXTRA_HOST_FLAGS) ; do \
8620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8621 done; \
8622 echo "Doing maintainer-clean in flex" ; \
8623 (cd $(HOST_SUBDIR)/flex && \
8624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8626 "RANLIB=$${RANLIB}" \
8627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8628 maintainer-clean) \
8629 || exit 1
8631 @endif flex
8635 .PHONY: configure-gas maybe-configure-gas
8636 maybe-configure-gas:
8637 @if gcc-bootstrap
8638 configure-gas: stage_current
8639 @endif gcc-bootstrap
8640 @if gas
8641 maybe-configure-gas: configure-gas
8642 configure-gas:
8643 @r=`${PWD_COMMAND}`; export r; \
8644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8645 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8647 $(HOST_EXPORTS) \
8648 echo Configuring in $(HOST_SUBDIR)/gas; \
8649 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8650 case $(srcdir) in \
8651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8652 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8654 esac; \
8655 srcdiroption="--srcdir=$${topdir}/gas"; \
8656 libsrcdir="$$s/gas"; \
8657 $(SHELL) $${libsrcdir}/configure \
8658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8659 --target=${target_alias} $${srcdiroption} \
8660 || exit 1
8661 @endif gas
8665 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8666 maybe-configure-stage1-gas:
8667 @if gas-bootstrap
8668 maybe-configure-stage1-gas: configure-stage1-gas
8669 configure-stage1-gas:
8670 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8672 @r=`${PWD_COMMAND}`; export r; \
8673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8674 TFLAGS="$(STAGE1_TFLAGS)"; \
8675 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8676 $(HOST_EXPORTS) \
8677 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8678 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8679 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8680 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8682 cd $(HOST_SUBDIR)/gas || exit 1; \
8683 case $(srcdir) in \
8684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8685 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8687 esac; \
8688 srcdiroption="--srcdir=$${topdir}/gas"; \
8689 libsrcdir="$$s/gas"; \
8690 $(SHELL) $${libsrcdir}/configure \
8691 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8692 --target=${target_alias} $${srcdiroption} \
8693 $(STAGE1_CONFIGURE_FLAGS)
8694 @endif gas-bootstrap
8696 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8697 maybe-configure-stage2-gas:
8698 @if gas-bootstrap
8699 maybe-configure-stage2-gas: configure-stage2-gas
8700 configure-stage2-gas:
8701 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8703 @r=`${PWD_COMMAND}`; export r; \
8704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8705 TFLAGS="$(STAGE2_TFLAGS)"; \
8706 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8707 $(HOST_EXPORTS) \
8708 $(POSTSTAGE1_HOST_EXPORTS) \
8709 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8710 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8711 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8712 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8714 cd $(HOST_SUBDIR)/gas || exit 1; \
8715 case $(srcdir) in \
8716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8717 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8719 esac; \
8720 srcdiroption="--srcdir=$${topdir}/gas"; \
8721 libsrcdir="$$s/gas"; \
8722 $(SHELL) $${libsrcdir}/configure \
8723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8724 --target=${target_alias} $${srcdiroption} \
8725 --with-build-libsubdir=$(HOST_SUBDIR) \
8726 $(STAGE2_CONFIGURE_FLAGS)
8727 @endif gas-bootstrap
8729 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8730 maybe-configure-stage3-gas:
8731 @if gas-bootstrap
8732 maybe-configure-stage3-gas: configure-stage3-gas
8733 configure-stage3-gas:
8734 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8736 @r=`${PWD_COMMAND}`; export r; \
8737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8738 TFLAGS="$(STAGE3_TFLAGS)"; \
8739 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8740 $(HOST_EXPORTS) \
8741 $(POSTSTAGE1_HOST_EXPORTS) \
8742 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8743 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8744 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8745 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8747 cd $(HOST_SUBDIR)/gas || exit 1; \
8748 case $(srcdir) in \
8749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8750 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8752 esac; \
8753 srcdiroption="--srcdir=$${topdir}/gas"; \
8754 libsrcdir="$$s/gas"; \
8755 $(SHELL) $${libsrcdir}/configure \
8756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8757 --target=${target_alias} $${srcdiroption} \
8758 --with-build-libsubdir=$(HOST_SUBDIR) \
8759 $(STAGE3_CONFIGURE_FLAGS)
8760 @endif gas-bootstrap
8762 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8763 maybe-configure-stage4-gas:
8764 @if gas-bootstrap
8765 maybe-configure-stage4-gas: configure-stage4-gas
8766 configure-stage4-gas:
8767 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8769 @r=`${PWD_COMMAND}`; export r; \
8770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8771 TFLAGS="$(STAGE4_TFLAGS)"; \
8772 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8773 $(HOST_EXPORTS) \
8774 $(POSTSTAGE1_HOST_EXPORTS) \
8775 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8776 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8777 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8778 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8780 cd $(HOST_SUBDIR)/gas || exit 1; \
8781 case $(srcdir) in \
8782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8783 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8785 esac; \
8786 srcdiroption="--srcdir=$${topdir}/gas"; \
8787 libsrcdir="$$s/gas"; \
8788 $(SHELL) $${libsrcdir}/configure \
8789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8790 --target=${target_alias} $${srcdiroption} \
8791 --with-build-libsubdir=$(HOST_SUBDIR) \
8792 $(STAGE4_CONFIGURE_FLAGS)
8793 @endif gas-bootstrap
8795 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8796 maybe-configure-stageprofile-gas:
8797 @if gas-bootstrap
8798 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8799 configure-stageprofile-gas:
8800 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8802 @r=`${PWD_COMMAND}`; export r; \
8803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8804 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8805 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8806 $(HOST_EXPORTS) \
8807 $(POSTSTAGE1_HOST_EXPORTS) \
8808 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8809 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8810 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8811 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8813 cd $(HOST_SUBDIR)/gas || exit 1; \
8814 case $(srcdir) in \
8815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8816 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8818 esac; \
8819 srcdiroption="--srcdir=$${topdir}/gas"; \
8820 libsrcdir="$$s/gas"; \
8821 $(SHELL) $${libsrcdir}/configure \
8822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8823 --target=${target_alias} $${srcdiroption} \
8824 --with-build-libsubdir=$(HOST_SUBDIR) \
8825 $(STAGEprofile_CONFIGURE_FLAGS)
8826 @endif gas-bootstrap
8828 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8829 maybe-configure-stagefeedback-gas:
8830 @if gas-bootstrap
8831 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8832 configure-stagefeedback-gas:
8833 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8834 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8835 @r=`${PWD_COMMAND}`; export r; \
8836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8837 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8838 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8839 $(HOST_EXPORTS) \
8840 $(POSTSTAGE1_HOST_EXPORTS) \
8841 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8842 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8843 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8844 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8845 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8846 cd $(HOST_SUBDIR)/gas || exit 1; \
8847 case $(srcdir) in \
8848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8849 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8851 esac; \
8852 srcdiroption="--srcdir=$${topdir}/gas"; \
8853 libsrcdir="$$s/gas"; \
8854 $(SHELL) $${libsrcdir}/configure \
8855 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8856 --target=${target_alias} $${srcdiroption} \
8857 --with-build-libsubdir=$(HOST_SUBDIR) \
8858 $(STAGEfeedback_CONFIGURE_FLAGS)
8859 @endif gas-bootstrap
8865 .PHONY: all-gas maybe-all-gas
8866 maybe-all-gas:
8867 @if gcc-bootstrap
8868 all-gas: stage_current
8869 @endif gcc-bootstrap
8870 @if gas
8871 TARGET-gas=all
8872 maybe-all-gas: all-gas
8873 all-gas: configure-gas
8874 @r=`${PWD_COMMAND}`; export r; \
8875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8876 $(HOST_EXPORTS) \
8877 (cd $(HOST_SUBDIR)/gas && \
8878 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8879 $(TARGET-gas))
8880 @endif gas
8884 .PHONY: all-stage1-gas maybe-all-stage1-gas
8885 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8886 maybe-all-stage1-gas:
8887 maybe-clean-stage1-gas:
8888 @if gas-bootstrap
8889 maybe-all-stage1-gas: all-stage1-gas
8890 all-stage1: all-stage1-gas
8891 TARGET-stage1-gas = $(TARGET-gas)
8892 all-stage1-gas: configure-stage1-gas
8893 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8894 @r=`${PWD_COMMAND}`; export r; \
8895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8896 TFLAGS="$(STAGE1_TFLAGS)"; \
8897 $(HOST_EXPORTS) \
8898 cd $(HOST_SUBDIR)/gas && \
8899 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8900 CFLAGS="$(STAGE1_CFLAGS)" \
8901 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8902 LIBCFLAGS="$(LIBCFLAGS)" \
8903 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8904 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8905 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8906 $(EXTRA_HOST_FLAGS) \
8907 TFLAGS="$(STAGE1_TFLAGS)" \
8908 $(TARGET-stage1-gas)
8910 maybe-clean-stage1-gas: clean-stage1-gas
8911 clean-stage1: clean-stage1-gas
8912 clean-stage1-gas:
8913 @if [ $(current_stage) = stage1 ]; then \
8914 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8915 else \
8916 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8917 $(MAKE) stage1-start; \
8918 fi; \
8919 cd $(HOST_SUBDIR)/gas && \
8920 $(MAKE) $(EXTRA_HOST_FLAGS) \
8921 clean
8922 @endif gas-bootstrap
8925 .PHONY: all-stage2-gas maybe-all-stage2-gas
8926 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8927 maybe-all-stage2-gas:
8928 maybe-clean-stage2-gas:
8929 @if gas-bootstrap
8930 maybe-all-stage2-gas: all-stage2-gas
8931 all-stage2: all-stage2-gas
8932 TARGET-stage2-gas = $(TARGET-gas)
8933 all-stage2-gas: configure-stage2-gas
8934 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8935 @r=`${PWD_COMMAND}`; export r; \
8936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8937 TFLAGS="$(STAGE2_TFLAGS)"; \
8938 $(HOST_EXPORTS) \
8939 $(POSTSTAGE1_HOST_EXPORTS) \
8940 cd $(HOST_SUBDIR)/gas && \
8941 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8942 CFLAGS="$(STAGE2_CFLAGS)" \
8943 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8944 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8945 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8946 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8947 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8948 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8949 TFLAGS="$(STAGE2_TFLAGS)" \
8950 $(TARGET-stage2-gas)
8952 maybe-clean-stage2-gas: clean-stage2-gas
8953 clean-stage2: clean-stage2-gas
8954 clean-stage2-gas:
8955 @if [ $(current_stage) = stage2 ]; then \
8956 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8957 else \
8958 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8959 $(MAKE) stage2-start; \
8960 fi; \
8961 cd $(HOST_SUBDIR)/gas && \
8962 $(MAKE) $(EXTRA_HOST_FLAGS) \
8963 $(POSTSTAGE1_FLAGS_TO_PASS) \
8964 clean
8965 @endif gas-bootstrap
8968 .PHONY: all-stage3-gas maybe-all-stage3-gas
8969 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8970 maybe-all-stage3-gas:
8971 maybe-clean-stage3-gas:
8972 @if gas-bootstrap
8973 maybe-all-stage3-gas: all-stage3-gas
8974 all-stage3: all-stage3-gas
8975 TARGET-stage3-gas = $(TARGET-gas)
8976 all-stage3-gas: configure-stage3-gas
8977 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8978 @r=`${PWD_COMMAND}`; export r; \
8979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8980 TFLAGS="$(STAGE3_TFLAGS)"; \
8981 $(HOST_EXPORTS) \
8982 $(POSTSTAGE1_HOST_EXPORTS) \
8983 cd $(HOST_SUBDIR)/gas && \
8984 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8985 CFLAGS="$(STAGE3_CFLAGS)" \
8986 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8987 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8991 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8992 TFLAGS="$(STAGE3_TFLAGS)" \
8993 $(TARGET-stage3-gas)
8995 maybe-clean-stage3-gas: clean-stage3-gas
8996 clean-stage3: clean-stage3-gas
8997 clean-stage3-gas:
8998 @if [ $(current_stage) = stage3 ]; then \
8999 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9000 else \
9001 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9002 $(MAKE) stage3-start; \
9003 fi; \
9004 cd $(HOST_SUBDIR)/gas && \
9005 $(MAKE) $(EXTRA_HOST_FLAGS) \
9006 $(POSTSTAGE1_FLAGS_TO_PASS) \
9007 clean
9008 @endif gas-bootstrap
9011 .PHONY: all-stage4-gas maybe-all-stage4-gas
9012 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9013 maybe-all-stage4-gas:
9014 maybe-clean-stage4-gas:
9015 @if gas-bootstrap
9016 maybe-all-stage4-gas: all-stage4-gas
9017 all-stage4: all-stage4-gas
9018 TARGET-stage4-gas = $(TARGET-gas)
9019 all-stage4-gas: configure-stage4-gas
9020 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9021 @r=`${PWD_COMMAND}`; export r; \
9022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9023 TFLAGS="$(STAGE4_TFLAGS)"; \
9024 $(HOST_EXPORTS) \
9025 $(POSTSTAGE1_HOST_EXPORTS) \
9026 cd $(HOST_SUBDIR)/gas && \
9027 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9028 CFLAGS="$(STAGE4_CFLAGS)" \
9029 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9030 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9034 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9035 TFLAGS="$(STAGE4_TFLAGS)" \
9036 $(TARGET-stage4-gas)
9038 maybe-clean-stage4-gas: clean-stage4-gas
9039 clean-stage4: clean-stage4-gas
9040 clean-stage4-gas:
9041 @if [ $(current_stage) = stage4 ]; then \
9042 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9043 else \
9044 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9045 $(MAKE) stage4-start; \
9046 fi; \
9047 cd $(HOST_SUBDIR)/gas && \
9048 $(MAKE) $(EXTRA_HOST_FLAGS) \
9049 $(POSTSTAGE1_FLAGS_TO_PASS) \
9050 clean
9051 @endif gas-bootstrap
9054 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9055 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9056 maybe-all-stageprofile-gas:
9057 maybe-clean-stageprofile-gas:
9058 @if gas-bootstrap
9059 maybe-all-stageprofile-gas: all-stageprofile-gas
9060 all-stageprofile: all-stageprofile-gas
9061 TARGET-stageprofile-gas = $(TARGET-gas)
9062 all-stageprofile-gas: configure-stageprofile-gas
9063 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9064 @r=`${PWD_COMMAND}`; export r; \
9065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9066 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9067 $(HOST_EXPORTS) \
9068 $(POSTSTAGE1_HOST_EXPORTS) \
9069 cd $(HOST_SUBDIR)/gas && \
9070 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9071 CFLAGS="$(STAGEprofile_CFLAGS)" \
9072 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9073 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9074 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9075 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9076 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9077 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9078 TFLAGS="$(STAGEprofile_TFLAGS)" \
9079 $(TARGET-stageprofile-gas)
9081 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9082 clean-stageprofile: clean-stageprofile-gas
9083 clean-stageprofile-gas:
9084 @if [ $(current_stage) = stageprofile ]; then \
9085 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9086 else \
9087 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9088 $(MAKE) stageprofile-start; \
9089 fi; \
9090 cd $(HOST_SUBDIR)/gas && \
9091 $(MAKE) $(EXTRA_HOST_FLAGS) \
9092 $(POSTSTAGE1_FLAGS_TO_PASS) \
9093 clean
9094 @endif gas-bootstrap
9097 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9098 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9099 maybe-all-stagefeedback-gas:
9100 maybe-clean-stagefeedback-gas:
9101 @if gas-bootstrap
9102 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9103 all-stagefeedback: all-stagefeedback-gas
9104 TARGET-stagefeedback-gas = $(TARGET-gas)
9105 all-stagefeedback-gas: configure-stagefeedback-gas
9106 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9107 @r=`${PWD_COMMAND}`; export r; \
9108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9109 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9110 $(HOST_EXPORTS) \
9111 $(POSTSTAGE1_HOST_EXPORTS) \
9112 cd $(HOST_SUBDIR)/gas && \
9113 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9114 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9115 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9116 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9120 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9121 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9122 $(TARGET-stagefeedback-gas)
9124 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9125 clean-stagefeedback: clean-stagefeedback-gas
9126 clean-stagefeedback-gas:
9127 @if [ $(current_stage) = stagefeedback ]; then \
9128 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9129 else \
9130 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9131 $(MAKE) stagefeedback-start; \
9132 fi; \
9133 cd $(HOST_SUBDIR)/gas && \
9134 $(MAKE) $(EXTRA_HOST_FLAGS) \
9135 $(POSTSTAGE1_FLAGS_TO_PASS) \
9136 clean
9137 @endif gas-bootstrap
9143 .PHONY: check-gas maybe-check-gas
9144 maybe-check-gas:
9145 @if gas
9146 maybe-check-gas: check-gas
9148 check-gas:
9149 @: $(MAKE); $(unstage)
9150 @r=`${PWD_COMMAND}`; export r; \
9151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9152 $(HOST_EXPORTS) \
9153 (cd $(HOST_SUBDIR)/gas && \
9154 $(MAKE) $(FLAGS_TO_PASS) check)
9156 @endif gas
9158 .PHONY: install-gas maybe-install-gas
9159 maybe-install-gas:
9160 @if gas
9161 maybe-install-gas: install-gas
9163 install-gas: installdirs
9164 @: $(MAKE); $(unstage)
9165 @r=`${PWD_COMMAND}`; export r; \
9166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9167 $(HOST_EXPORTS) \
9168 (cd $(HOST_SUBDIR)/gas && \
9169 $(MAKE) $(FLAGS_TO_PASS) install)
9171 @endif gas
9173 .PHONY: install-strip-gas maybe-install-strip-gas
9174 maybe-install-strip-gas:
9175 @if gas
9176 maybe-install-strip-gas: install-strip-gas
9178 install-strip-gas: installdirs
9179 @: $(MAKE); $(unstage)
9180 @r=`${PWD_COMMAND}`; export r; \
9181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 $(HOST_EXPORTS) \
9183 (cd $(HOST_SUBDIR)/gas && \
9184 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9186 @endif gas
9188 # Other targets (info, dvi, pdf, etc.)
9190 .PHONY: maybe-info-gas info-gas
9191 maybe-info-gas:
9192 @if gas
9193 maybe-info-gas: info-gas
9195 info-gas: \
9196 configure-gas
9197 @[ -f ./gas/Makefile ] || exit 0; \
9198 r=`${PWD_COMMAND}`; export r; \
9199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9200 $(HOST_EXPORTS) \
9201 for flag in $(EXTRA_HOST_FLAGS) ; do \
9202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9203 done; \
9204 echo "Doing info in gas" ; \
9205 (cd $(HOST_SUBDIR)/gas && \
9206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9208 "RANLIB=$${RANLIB}" \
9209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9210 info) \
9211 || exit 1
9213 @endif gas
9215 .PHONY: maybe-dvi-gas dvi-gas
9216 maybe-dvi-gas:
9217 @if gas
9218 maybe-dvi-gas: dvi-gas
9220 dvi-gas: \
9221 configure-gas
9222 @[ -f ./gas/Makefile ] || exit 0; \
9223 r=`${PWD_COMMAND}`; export r; \
9224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 $(HOST_EXPORTS) \
9226 for flag in $(EXTRA_HOST_FLAGS) ; do \
9227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9228 done; \
9229 echo "Doing dvi in gas" ; \
9230 (cd $(HOST_SUBDIR)/gas && \
9231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9233 "RANLIB=$${RANLIB}" \
9234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9235 dvi) \
9236 || exit 1
9238 @endif gas
9240 .PHONY: maybe-pdf-gas pdf-gas
9241 maybe-pdf-gas:
9242 @if gas
9243 maybe-pdf-gas: pdf-gas
9245 pdf-gas: \
9246 configure-gas
9247 @[ -f ./gas/Makefile ] || exit 0; \
9248 r=`${PWD_COMMAND}`; export r; \
9249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9250 $(HOST_EXPORTS) \
9251 for flag in $(EXTRA_HOST_FLAGS) ; do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9253 done; \
9254 echo "Doing pdf in gas" ; \
9255 (cd $(HOST_SUBDIR)/gas && \
9256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9258 "RANLIB=$${RANLIB}" \
9259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9260 pdf) \
9261 || exit 1
9263 @endif gas
9265 .PHONY: maybe-html-gas html-gas
9266 maybe-html-gas:
9267 @if gas
9268 maybe-html-gas: html-gas
9270 html-gas: \
9271 configure-gas
9272 @[ -f ./gas/Makefile ] || exit 0; \
9273 r=`${PWD_COMMAND}`; export r; \
9274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9275 $(HOST_EXPORTS) \
9276 for flag in $(EXTRA_HOST_FLAGS) ; do \
9277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9278 done; \
9279 echo "Doing html in gas" ; \
9280 (cd $(HOST_SUBDIR)/gas && \
9281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9283 "RANLIB=$${RANLIB}" \
9284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9285 html) \
9286 || exit 1
9288 @endif gas
9290 .PHONY: maybe-TAGS-gas TAGS-gas
9291 maybe-TAGS-gas:
9292 @if gas
9293 maybe-TAGS-gas: TAGS-gas
9295 TAGS-gas: \
9296 configure-gas
9297 @[ -f ./gas/Makefile ] || exit 0; \
9298 r=`${PWD_COMMAND}`; export r; \
9299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9300 $(HOST_EXPORTS) \
9301 for flag in $(EXTRA_HOST_FLAGS) ; do \
9302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9303 done; \
9304 echo "Doing TAGS in gas" ; \
9305 (cd $(HOST_SUBDIR)/gas && \
9306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9308 "RANLIB=$${RANLIB}" \
9309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9310 TAGS) \
9311 || exit 1
9313 @endif gas
9315 .PHONY: maybe-install-info-gas install-info-gas
9316 maybe-install-info-gas:
9317 @if gas
9318 maybe-install-info-gas: install-info-gas
9320 install-info-gas: \
9321 configure-gas \
9322 info-gas
9323 @[ -f ./gas/Makefile ] || exit 0; \
9324 r=`${PWD_COMMAND}`; export r; \
9325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9326 $(HOST_EXPORTS) \
9327 for flag in $(EXTRA_HOST_FLAGS) ; do \
9328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9329 done; \
9330 echo "Doing install-info in gas" ; \
9331 (cd $(HOST_SUBDIR)/gas && \
9332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9334 "RANLIB=$${RANLIB}" \
9335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9336 install-info) \
9337 || exit 1
9339 @endif gas
9341 .PHONY: maybe-install-pdf-gas install-pdf-gas
9342 maybe-install-pdf-gas:
9343 @if gas
9344 maybe-install-pdf-gas: install-pdf-gas
9346 install-pdf-gas: \
9347 configure-gas \
9348 pdf-gas
9349 @[ -f ./gas/Makefile ] || exit 0; \
9350 r=`${PWD_COMMAND}`; export r; \
9351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9352 $(HOST_EXPORTS) \
9353 for flag in $(EXTRA_HOST_FLAGS) ; do \
9354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9355 done; \
9356 echo "Doing install-pdf in gas" ; \
9357 (cd $(HOST_SUBDIR)/gas && \
9358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9360 "RANLIB=$${RANLIB}" \
9361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9362 install-pdf) \
9363 || exit 1
9365 @endif gas
9367 .PHONY: maybe-install-html-gas install-html-gas
9368 maybe-install-html-gas:
9369 @if gas
9370 maybe-install-html-gas: install-html-gas
9372 install-html-gas: \
9373 configure-gas \
9374 html-gas
9375 @[ -f ./gas/Makefile ] || exit 0; \
9376 r=`${PWD_COMMAND}`; export r; \
9377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9378 $(HOST_EXPORTS) \
9379 for flag in $(EXTRA_HOST_FLAGS) ; do \
9380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9381 done; \
9382 echo "Doing install-html in gas" ; \
9383 (cd $(HOST_SUBDIR)/gas && \
9384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9386 "RANLIB=$${RANLIB}" \
9387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9388 install-html) \
9389 || exit 1
9391 @endif gas
9393 .PHONY: maybe-installcheck-gas installcheck-gas
9394 maybe-installcheck-gas:
9395 @if gas
9396 maybe-installcheck-gas: installcheck-gas
9398 installcheck-gas: \
9399 configure-gas
9400 @[ -f ./gas/Makefile ] || exit 0; \
9401 r=`${PWD_COMMAND}`; export r; \
9402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9403 $(HOST_EXPORTS) \
9404 for flag in $(EXTRA_HOST_FLAGS) ; do \
9405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9406 done; \
9407 echo "Doing installcheck in gas" ; \
9408 (cd $(HOST_SUBDIR)/gas && \
9409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9411 "RANLIB=$${RANLIB}" \
9412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9413 installcheck) \
9414 || exit 1
9416 @endif gas
9418 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9419 maybe-mostlyclean-gas:
9420 @if gas
9421 maybe-mostlyclean-gas: mostlyclean-gas
9423 mostlyclean-gas:
9424 @[ -f ./gas/Makefile ] || exit 0; \
9425 r=`${PWD_COMMAND}`; export r; \
9426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9427 $(HOST_EXPORTS) \
9428 for flag in $(EXTRA_HOST_FLAGS) ; do \
9429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9430 done; \
9431 echo "Doing mostlyclean in gas" ; \
9432 (cd $(HOST_SUBDIR)/gas && \
9433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9435 "RANLIB=$${RANLIB}" \
9436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9437 mostlyclean) \
9438 || exit 1
9440 @endif gas
9442 .PHONY: maybe-clean-gas clean-gas
9443 maybe-clean-gas:
9444 @if gas
9445 maybe-clean-gas: clean-gas
9447 clean-gas:
9448 @[ -f ./gas/Makefile ] || exit 0; \
9449 r=`${PWD_COMMAND}`; export r; \
9450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9451 $(HOST_EXPORTS) \
9452 for flag in $(EXTRA_HOST_FLAGS) ; do \
9453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9454 done; \
9455 echo "Doing clean in gas" ; \
9456 (cd $(HOST_SUBDIR)/gas && \
9457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9459 "RANLIB=$${RANLIB}" \
9460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9461 clean) \
9462 || exit 1
9464 @endif gas
9466 .PHONY: maybe-distclean-gas distclean-gas
9467 maybe-distclean-gas:
9468 @if gas
9469 maybe-distclean-gas: distclean-gas
9471 distclean-gas:
9472 @[ -f ./gas/Makefile ] || exit 0; \
9473 r=`${PWD_COMMAND}`; export r; \
9474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9475 $(HOST_EXPORTS) \
9476 for flag in $(EXTRA_HOST_FLAGS) ; do \
9477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9478 done; \
9479 echo "Doing distclean in gas" ; \
9480 (cd $(HOST_SUBDIR)/gas && \
9481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9483 "RANLIB=$${RANLIB}" \
9484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9485 distclean) \
9486 || exit 1
9488 @endif gas
9490 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9491 maybe-maintainer-clean-gas:
9492 @if gas
9493 maybe-maintainer-clean-gas: maintainer-clean-gas
9495 maintainer-clean-gas:
9496 @[ -f ./gas/Makefile ] || exit 0; \
9497 r=`${PWD_COMMAND}`; export r; \
9498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9499 $(HOST_EXPORTS) \
9500 for flag in $(EXTRA_HOST_FLAGS) ; do \
9501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9502 done; \
9503 echo "Doing maintainer-clean in gas" ; \
9504 (cd $(HOST_SUBDIR)/gas && \
9505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9507 "RANLIB=$${RANLIB}" \
9508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9509 maintainer-clean) \
9510 || exit 1
9512 @endif gas
9516 .PHONY: configure-gcc maybe-configure-gcc
9517 maybe-configure-gcc:
9518 @if gcc-bootstrap
9519 configure-gcc: stage_current
9520 @endif gcc-bootstrap
9521 @if gcc
9522 maybe-configure-gcc: configure-gcc
9523 configure-gcc:
9524 @r=`${PWD_COMMAND}`; export r; \
9525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9526 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9527 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9528 $(HOST_EXPORTS) \
9529 echo Configuring in $(HOST_SUBDIR)/gcc; \
9530 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9531 case $(srcdir) in \
9532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9533 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9535 esac; \
9536 srcdiroption="--srcdir=$${topdir}/gcc"; \
9537 libsrcdir="$$s/gcc"; \
9538 $(SHELL) $${libsrcdir}/configure \
9539 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9540 --target=${target_alias} $${srcdiroption} \
9541 || exit 1
9542 @endif gcc
9546 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9547 maybe-configure-stage1-gcc:
9548 @if gcc-bootstrap
9549 maybe-configure-stage1-gcc: configure-stage1-gcc
9550 configure-stage1-gcc:
9551 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9552 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9553 @r=`${PWD_COMMAND}`; export r; \
9554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9555 TFLAGS="$(STAGE1_TFLAGS)"; \
9556 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9557 $(HOST_EXPORTS) \
9558 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9559 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9560 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9561 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9563 cd $(HOST_SUBDIR)/gcc || exit 1; \
9564 case $(srcdir) in \
9565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9566 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9568 esac; \
9569 srcdiroption="--srcdir=$${topdir}/gcc"; \
9570 libsrcdir="$$s/gcc"; \
9571 $(SHELL) $${libsrcdir}/configure \
9572 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9573 --target=${target_alias} $${srcdiroption} \
9574 $(STAGE1_CONFIGURE_FLAGS)
9575 @endif gcc-bootstrap
9577 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9578 maybe-configure-stage2-gcc:
9579 @if gcc-bootstrap
9580 maybe-configure-stage2-gcc: configure-stage2-gcc
9581 configure-stage2-gcc:
9582 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9584 @r=`${PWD_COMMAND}`; export r; \
9585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9586 TFLAGS="$(STAGE2_TFLAGS)"; \
9587 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9588 $(HOST_EXPORTS) \
9589 $(POSTSTAGE1_HOST_EXPORTS) \
9590 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9591 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9592 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9593 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9595 cd $(HOST_SUBDIR)/gcc || exit 1; \
9596 case $(srcdir) in \
9597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9598 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9600 esac; \
9601 srcdiroption="--srcdir=$${topdir}/gcc"; \
9602 libsrcdir="$$s/gcc"; \
9603 $(SHELL) $${libsrcdir}/configure \
9604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9605 --target=${target_alias} $${srcdiroption} \
9606 --with-build-libsubdir=$(HOST_SUBDIR) \
9607 $(STAGE2_CONFIGURE_FLAGS)
9608 @endif gcc-bootstrap
9610 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9611 maybe-configure-stage3-gcc:
9612 @if gcc-bootstrap
9613 maybe-configure-stage3-gcc: configure-stage3-gcc
9614 configure-stage3-gcc:
9615 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9617 @r=`${PWD_COMMAND}`; export r; \
9618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9619 TFLAGS="$(STAGE3_TFLAGS)"; \
9620 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9621 $(HOST_EXPORTS) \
9622 $(POSTSTAGE1_HOST_EXPORTS) \
9623 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9624 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9625 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9626 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9628 cd $(HOST_SUBDIR)/gcc || exit 1; \
9629 case $(srcdir) in \
9630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9631 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9633 esac; \
9634 srcdiroption="--srcdir=$${topdir}/gcc"; \
9635 libsrcdir="$$s/gcc"; \
9636 $(SHELL) $${libsrcdir}/configure \
9637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9638 --target=${target_alias} $${srcdiroption} \
9639 --with-build-libsubdir=$(HOST_SUBDIR) \
9640 $(STAGE3_CONFIGURE_FLAGS)
9641 @endif gcc-bootstrap
9643 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9644 maybe-configure-stage4-gcc:
9645 @if gcc-bootstrap
9646 maybe-configure-stage4-gcc: configure-stage4-gcc
9647 configure-stage4-gcc:
9648 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9649 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9650 @r=`${PWD_COMMAND}`; export r; \
9651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9652 TFLAGS="$(STAGE4_TFLAGS)"; \
9653 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9654 $(HOST_EXPORTS) \
9655 $(POSTSTAGE1_HOST_EXPORTS) \
9656 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9657 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9658 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9659 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9661 cd $(HOST_SUBDIR)/gcc || exit 1; \
9662 case $(srcdir) in \
9663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9664 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9666 esac; \
9667 srcdiroption="--srcdir=$${topdir}/gcc"; \
9668 libsrcdir="$$s/gcc"; \
9669 $(SHELL) $${libsrcdir}/configure \
9670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9671 --target=${target_alias} $${srcdiroption} \
9672 --with-build-libsubdir=$(HOST_SUBDIR) \
9673 $(STAGE4_CONFIGURE_FLAGS)
9674 @endif gcc-bootstrap
9676 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9677 maybe-configure-stageprofile-gcc:
9678 @if gcc-bootstrap
9679 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9680 configure-stageprofile-gcc:
9681 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9683 @r=`${PWD_COMMAND}`; export r; \
9684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9685 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9686 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9687 $(HOST_EXPORTS) \
9688 $(POSTSTAGE1_HOST_EXPORTS) \
9689 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9690 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9691 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9692 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9694 cd $(HOST_SUBDIR)/gcc || exit 1; \
9695 case $(srcdir) in \
9696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9697 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9699 esac; \
9700 srcdiroption="--srcdir=$${topdir}/gcc"; \
9701 libsrcdir="$$s/gcc"; \
9702 $(SHELL) $${libsrcdir}/configure \
9703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9704 --target=${target_alias} $${srcdiroption} \
9705 --with-build-libsubdir=$(HOST_SUBDIR) \
9706 $(STAGEprofile_CONFIGURE_FLAGS)
9707 @endif gcc-bootstrap
9709 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9710 maybe-configure-stagefeedback-gcc:
9711 @if gcc-bootstrap
9712 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9713 configure-stagefeedback-gcc:
9714 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9716 @r=`${PWD_COMMAND}`; export r; \
9717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9718 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9719 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9720 $(HOST_EXPORTS) \
9721 $(POSTSTAGE1_HOST_EXPORTS) \
9722 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9723 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9724 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9725 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9727 cd $(HOST_SUBDIR)/gcc || exit 1; \
9728 case $(srcdir) in \
9729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9730 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9732 esac; \
9733 srcdiroption="--srcdir=$${topdir}/gcc"; \
9734 libsrcdir="$$s/gcc"; \
9735 $(SHELL) $${libsrcdir}/configure \
9736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9737 --target=${target_alias} $${srcdiroption} \
9738 --with-build-libsubdir=$(HOST_SUBDIR) \
9739 $(STAGEfeedback_CONFIGURE_FLAGS)
9740 @endif gcc-bootstrap
9746 .PHONY: all-gcc maybe-all-gcc
9747 maybe-all-gcc:
9748 @if gcc-bootstrap
9749 all-gcc: stage_current
9750 @endif gcc-bootstrap
9751 @if gcc
9752 TARGET-gcc=all
9753 maybe-all-gcc: all-gcc
9754 all-gcc: configure-gcc
9755 @r=`${PWD_COMMAND}`; export r; \
9756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9757 $(HOST_EXPORTS) \
9758 (cd $(HOST_SUBDIR)/gcc && \
9759 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9760 $(TARGET-gcc))
9761 @endif gcc
9765 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9766 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9767 maybe-all-stage1-gcc:
9768 maybe-clean-stage1-gcc:
9769 @if gcc-bootstrap
9770 maybe-all-stage1-gcc: all-stage1-gcc
9771 all-stage1: all-stage1-gcc
9772 TARGET-stage1-gcc = $(TARGET-gcc)
9773 all-stage1-gcc: configure-stage1-gcc
9774 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9775 @r=`${PWD_COMMAND}`; export r; \
9776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9777 TFLAGS="$(STAGE1_TFLAGS)"; \
9778 $(HOST_EXPORTS) \
9779 cd $(HOST_SUBDIR)/gcc && \
9780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9781 CFLAGS="$(STAGE1_CFLAGS)" \
9782 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9783 LIBCFLAGS="$(LIBCFLAGS)" \
9784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9787 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9788 TFLAGS="$(STAGE1_TFLAGS)" \
9789 $(TARGET-stage1-gcc)
9791 maybe-clean-stage1-gcc: clean-stage1-gcc
9792 clean-stage1: clean-stage1-gcc
9793 clean-stage1-gcc:
9794 @if [ $(current_stage) = stage1 ]; then \
9795 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9796 else \
9797 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9798 $(MAKE) stage1-start; \
9799 fi; \
9800 cd $(HOST_SUBDIR)/gcc && \
9801 $(MAKE) $(EXTRA_HOST_FLAGS) \
9802 $(EXTRA_GCC_FLAGS) clean
9803 @endif gcc-bootstrap
9806 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9807 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9808 maybe-all-stage2-gcc:
9809 maybe-clean-stage2-gcc:
9810 @if gcc-bootstrap
9811 maybe-all-stage2-gcc: all-stage2-gcc
9812 all-stage2: all-stage2-gcc
9813 TARGET-stage2-gcc = $(TARGET-gcc)
9814 all-stage2-gcc: configure-stage2-gcc
9815 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9816 @r=`${PWD_COMMAND}`; export r; \
9817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9818 TFLAGS="$(STAGE2_TFLAGS)"; \
9819 $(HOST_EXPORTS) \
9820 $(POSTSTAGE1_HOST_EXPORTS) \
9821 cd $(HOST_SUBDIR)/gcc && \
9822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9823 CFLAGS="$(STAGE2_CFLAGS)" \
9824 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9825 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9830 TFLAGS="$(STAGE2_TFLAGS)" \
9831 $(TARGET-stage2-gcc)
9833 maybe-clean-stage2-gcc: clean-stage2-gcc
9834 clean-stage2: clean-stage2-gcc
9835 clean-stage2-gcc:
9836 @if [ $(current_stage) = stage2 ]; then \
9837 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9838 else \
9839 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9840 $(MAKE) stage2-start; \
9841 fi; \
9842 cd $(HOST_SUBDIR)/gcc && \
9843 $(MAKE) $(EXTRA_HOST_FLAGS) \
9844 $(POSTSTAGE1_FLAGS_TO_PASS) \
9845 $(EXTRA_GCC_FLAGS) clean
9846 @endif gcc-bootstrap
9849 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9850 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9851 maybe-all-stage3-gcc:
9852 maybe-clean-stage3-gcc:
9853 @if gcc-bootstrap
9854 maybe-all-stage3-gcc: all-stage3-gcc
9855 all-stage3: all-stage3-gcc
9856 TARGET-stage3-gcc = $(TARGET-gcc)
9857 all-stage3-gcc: configure-stage3-gcc
9858 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9859 @r=`${PWD_COMMAND}`; export r; \
9860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9861 TFLAGS="$(STAGE3_TFLAGS)"; \
9862 $(HOST_EXPORTS) \
9863 $(POSTSTAGE1_HOST_EXPORTS) \
9864 cd $(HOST_SUBDIR)/gcc && \
9865 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9866 CFLAGS="$(STAGE3_CFLAGS)" \
9867 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9868 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9869 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9870 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9871 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9872 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9873 TFLAGS="$(STAGE3_TFLAGS)" \
9874 $(TARGET-stage3-gcc)
9876 maybe-clean-stage3-gcc: clean-stage3-gcc
9877 clean-stage3: clean-stage3-gcc
9878 clean-stage3-gcc:
9879 @if [ $(current_stage) = stage3 ]; then \
9880 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9881 else \
9882 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9883 $(MAKE) stage3-start; \
9884 fi; \
9885 cd $(HOST_SUBDIR)/gcc && \
9886 $(MAKE) $(EXTRA_HOST_FLAGS) \
9887 $(POSTSTAGE1_FLAGS_TO_PASS) \
9888 $(EXTRA_GCC_FLAGS) clean
9889 @endif gcc-bootstrap
9892 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9893 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9894 maybe-all-stage4-gcc:
9895 maybe-clean-stage4-gcc:
9896 @if gcc-bootstrap
9897 maybe-all-stage4-gcc: all-stage4-gcc
9898 all-stage4: all-stage4-gcc
9899 TARGET-stage4-gcc = $(TARGET-gcc)
9900 all-stage4-gcc: configure-stage4-gcc
9901 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9902 @r=`${PWD_COMMAND}`; export r; \
9903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9904 TFLAGS="$(STAGE4_TFLAGS)"; \
9905 $(HOST_EXPORTS) \
9906 $(POSTSTAGE1_HOST_EXPORTS) \
9907 cd $(HOST_SUBDIR)/gcc && \
9908 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9909 CFLAGS="$(STAGE4_CFLAGS)" \
9910 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9911 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9912 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9913 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9914 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9915 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9916 TFLAGS="$(STAGE4_TFLAGS)" \
9917 $(TARGET-stage4-gcc)
9919 maybe-clean-stage4-gcc: clean-stage4-gcc
9920 clean-stage4: clean-stage4-gcc
9921 clean-stage4-gcc:
9922 @if [ $(current_stage) = stage4 ]; then \
9923 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9924 else \
9925 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9926 $(MAKE) stage4-start; \
9927 fi; \
9928 cd $(HOST_SUBDIR)/gcc && \
9929 $(MAKE) $(EXTRA_HOST_FLAGS) \
9930 $(POSTSTAGE1_FLAGS_TO_PASS) \
9931 $(EXTRA_GCC_FLAGS) clean
9932 @endif gcc-bootstrap
9935 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9936 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9937 maybe-all-stageprofile-gcc:
9938 maybe-clean-stageprofile-gcc:
9939 @if gcc-bootstrap
9940 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9941 all-stageprofile: all-stageprofile-gcc
9942 TARGET-stageprofile-gcc = $(TARGET-gcc)
9943 all-stageprofile-gcc: configure-stageprofile-gcc
9944 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9945 @r=`${PWD_COMMAND}`; export r; \
9946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9947 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9948 $(HOST_EXPORTS) \
9949 $(POSTSTAGE1_HOST_EXPORTS) \
9950 cd $(HOST_SUBDIR)/gcc && \
9951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9952 CFLAGS="$(STAGEprofile_CFLAGS)" \
9953 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9954 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9955 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9956 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9957 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9958 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9959 TFLAGS="$(STAGEprofile_TFLAGS)" \
9960 $(TARGET-stageprofile-gcc)
9962 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9963 clean-stageprofile: clean-stageprofile-gcc
9964 clean-stageprofile-gcc:
9965 @if [ $(current_stage) = stageprofile ]; then \
9966 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9967 else \
9968 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9969 $(MAKE) stageprofile-start; \
9970 fi; \
9971 cd $(HOST_SUBDIR)/gcc && \
9972 $(MAKE) $(EXTRA_HOST_FLAGS) \
9973 $(POSTSTAGE1_FLAGS_TO_PASS) \
9974 $(EXTRA_GCC_FLAGS) clean
9975 @endif gcc-bootstrap
9978 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9979 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9980 maybe-all-stagefeedback-gcc:
9981 maybe-clean-stagefeedback-gcc:
9982 @if gcc-bootstrap
9983 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9984 all-stagefeedback: all-stagefeedback-gcc
9985 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9986 all-stagefeedback-gcc: configure-stagefeedback-gcc
9987 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9988 @r=`${PWD_COMMAND}`; export r; \
9989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9990 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9991 $(HOST_EXPORTS) \
9992 $(POSTSTAGE1_HOST_EXPORTS) \
9993 cd $(HOST_SUBDIR)/gcc && \
9994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9995 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9996 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9997 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10002 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10003 $(TARGET-stagefeedback-gcc)
10005 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10006 clean-stagefeedback: clean-stagefeedback-gcc
10007 clean-stagefeedback-gcc:
10008 @if [ $(current_stage) = stagefeedback ]; then \
10009 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10010 else \
10011 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10012 $(MAKE) stagefeedback-start; \
10013 fi; \
10014 cd $(HOST_SUBDIR)/gcc && \
10015 $(MAKE) $(EXTRA_HOST_FLAGS) \
10016 $(POSTSTAGE1_FLAGS_TO_PASS) \
10017 $(EXTRA_GCC_FLAGS) clean
10018 @endif gcc-bootstrap
10024 .PHONY: check-gcc maybe-check-gcc
10025 maybe-check-gcc:
10026 @if gcc
10027 maybe-check-gcc: check-gcc
10029 check-gcc:
10030 @: $(MAKE); $(unstage)
10031 @r=`${PWD_COMMAND}`; export r; \
10032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10033 $(HOST_EXPORTS) \
10034 (cd $(HOST_SUBDIR)/gcc && \
10035 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10037 @endif gcc
10039 .PHONY: install-gcc maybe-install-gcc
10040 maybe-install-gcc:
10041 @if gcc
10042 maybe-install-gcc: install-gcc
10044 install-gcc: installdirs
10045 @: $(MAKE); $(unstage)
10046 @r=`${PWD_COMMAND}`; export r; \
10047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10048 $(HOST_EXPORTS) \
10049 (cd $(HOST_SUBDIR)/gcc && \
10050 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10052 @endif gcc
10054 .PHONY: install-strip-gcc maybe-install-strip-gcc
10055 maybe-install-strip-gcc:
10056 @if gcc
10057 maybe-install-strip-gcc: install-strip-gcc
10059 install-strip-gcc: installdirs
10060 @: $(MAKE); $(unstage)
10061 @r=`${PWD_COMMAND}`; export r; \
10062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10063 $(HOST_EXPORTS) \
10064 (cd $(HOST_SUBDIR)/gcc && \
10065 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10067 @endif gcc
10069 # Other targets (info, dvi, pdf, etc.)
10071 .PHONY: maybe-info-gcc info-gcc
10072 maybe-info-gcc:
10073 @if gcc
10074 maybe-info-gcc: info-gcc
10076 info-gcc: \
10077 configure-gcc
10078 @[ -f ./gcc/Makefile ] || exit 0; \
10079 r=`${PWD_COMMAND}`; export r; \
10080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10081 $(HOST_EXPORTS) \
10082 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10084 done; \
10085 echo "Doing info in gcc" ; \
10086 (cd $(HOST_SUBDIR)/gcc && \
10087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10089 "RANLIB=$${RANLIB}" \
10090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10091 info) \
10092 || exit 1
10094 @endif gcc
10096 .PHONY: maybe-dvi-gcc dvi-gcc
10097 maybe-dvi-gcc:
10098 @if gcc
10099 maybe-dvi-gcc: dvi-gcc
10101 dvi-gcc: \
10102 configure-gcc
10103 @[ -f ./gcc/Makefile ] || exit 0; \
10104 r=`${PWD_COMMAND}`; export r; \
10105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10106 $(HOST_EXPORTS) \
10107 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10109 done; \
10110 echo "Doing dvi in gcc" ; \
10111 (cd $(HOST_SUBDIR)/gcc && \
10112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10114 "RANLIB=$${RANLIB}" \
10115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10116 dvi) \
10117 || exit 1
10119 @endif gcc
10121 .PHONY: maybe-pdf-gcc pdf-gcc
10122 maybe-pdf-gcc:
10123 @if gcc
10124 maybe-pdf-gcc: pdf-gcc
10126 pdf-gcc: \
10127 configure-gcc
10128 @[ -f ./gcc/Makefile ] || exit 0; \
10129 r=`${PWD_COMMAND}`; export r; \
10130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 $(HOST_EXPORTS) \
10132 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10134 done; \
10135 echo "Doing pdf in gcc" ; \
10136 (cd $(HOST_SUBDIR)/gcc && \
10137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10139 "RANLIB=$${RANLIB}" \
10140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10141 pdf) \
10142 || exit 1
10144 @endif gcc
10146 .PHONY: maybe-html-gcc html-gcc
10147 maybe-html-gcc:
10148 @if gcc
10149 maybe-html-gcc: html-gcc
10151 html-gcc: \
10152 configure-gcc
10153 @[ -f ./gcc/Makefile ] || exit 0; \
10154 r=`${PWD_COMMAND}`; export r; \
10155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10156 $(HOST_EXPORTS) \
10157 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10159 done; \
10160 echo "Doing html in gcc" ; \
10161 (cd $(HOST_SUBDIR)/gcc && \
10162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10164 "RANLIB=$${RANLIB}" \
10165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10166 html) \
10167 || exit 1
10169 @endif gcc
10171 .PHONY: maybe-TAGS-gcc TAGS-gcc
10172 maybe-TAGS-gcc:
10173 @if gcc
10174 maybe-TAGS-gcc: TAGS-gcc
10176 TAGS-gcc: \
10177 configure-gcc
10178 @[ -f ./gcc/Makefile ] || exit 0; \
10179 r=`${PWD_COMMAND}`; export r; \
10180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10181 $(HOST_EXPORTS) \
10182 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10184 done; \
10185 echo "Doing TAGS in gcc" ; \
10186 (cd $(HOST_SUBDIR)/gcc && \
10187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10189 "RANLIB=$${RANLIB}" \
10190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10191 TAGS) \
10192 || exit 1
10194 @endif gcc
10196 .PHONY: maybe-install-info-gcc install-info-gcc
10197 maybe-install-info-gcc:
10198 @if gcc
10199 maybe-install-info-gcc: install-info-gcc
10201 install-info-gcc: \
10202 configure-gcc \
10203 info-gcc
10204 @[ -f ./gcc/Makefile ] || exit 0; \
10205 r=`${PWD_COMMAND}`; export r; \
10206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10207 $(HOST_EXPORTS) \
10208 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10210 done; \
10211 echo "Doing install-info in gcc" ; \
10212 (cd $(HOST_SUBDIR)/gcc && \
10213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10215 "RANLIB=$${RANLIB}" \
10216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10217 install-info) \
10218 || exit 1
10220 @endif gcc
10222 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10223 maybe-install-pdf-gcc:
10224 @if gcc
10225 maybe-install-pdf-gcc: install-pdf-gcc
10227 install-pdf-gcc: \
10228 configure-gcc \
10229 pdf-gcc
10230 @[ -f ./gcc/Makefile ] || exit 0; \
10231 r=`${PWD_COMMAND}`; export r; \
10232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10233 $(HOST_EXPORTS) \
10234 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10236 done; \
10237 echo "Doing install-pdf in gcc" ; \
10238 (cd $(HOST_SUBDIR)/gcc && \
10239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10241 "RANLIB=$${RANLIB}" \
10242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10243 install-pdf) \
10244 || exit 1
10246 @endif gcc
10248 .PHONY: maybe-install-html-gcc install-html-gcc
10249 maybe-install-html-gcc:
10250 @if gcc
10251 maybe-install-html-gcc: install-html-gcc
10253 install-html-gcc: \
10254 configure-gcc \
10255 html-gcc
10256 @[ -f ./gcc/Makefile ] || exit 0; \
10257 r=`${PWD_COMMAND}`; export r; \
10258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10259 $(HOST_EXPORTS) \
10260 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10262 done; \
10263 echo "Doing install-html in gcc" ; \
10264 (cd $(HOST_SUBDIR)/gcc && \
10265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10267 "RANLIB=$${RANLIB}" \
10268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10269 install-html) \
10270 || exit 1
10272 @endif gcc
10274 .PHONY: maybe-installcheck-gcc installcheck-gcc
10275 maybe-installcheck-gcc:
10276 @if gcc
10277 maybe-installcheck-gcc: installcheck-gcc
10279 installcheck-gcc: \
10280 configure-gcc
10281 @[ -f ./gcc/Makefile ] || exit 0; \
10282 r=`${PWD_COMMAND}`; export r; \
10283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10284 $(HOST_EXPORTS) \
10285 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10287 done; \
10288 echo "Doing installcheck in gcc" ; \
10289 (cd $(HOST_SUBDIR)/gcc && \
10290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10292 "RANLIB=$${RANLIB}" \
10293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10294 installcheck) \
10295 || exit 1
10297 @endif gcc
10299 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10300 maybe-mostlyclean-gcc:
10301 @if gcc
10302 maybe-mostlyclean-gcc: mostlyclean-gcc
10304 mostlyclean-gcc:
10305 @[ -f ./gcc/Makefile ] || exit 0; \
10306 r=`${PWD_COMMAND}`; export r; \
10307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10308 $(HOST_EXPORTS) \
10309 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10311 done; \
10312 echo "Doing mostlyclean in gcc" ; \
10313 (cd $(HOST_SUBDIR)/gcc && \
10314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10316 "RANLIB=$${RANLIB}" \
10317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10318 mostlyclean) \
10319 || exit 1
10321 @endif gcc
10323 .PHONY: maybe-clean-gcc clean-gcc
10324 maybe-clean-gcc:
10325 @if gcc
10326 maybe-clean-gcc: clean-gcc
10328 clean-gcc:
10329 @[ -f ./gcc/Makefile ] || exit 0; \
10330 r=`${PWD_COMMAND}`; export r; \
10331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10332 $(HOST_EXPORTS) \
10333 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10335 done; \
10336 echo "Doing clean in gcc" ; \
10337 (cd $(HOST_SUBDIR)/gcc && \
10338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10340 "RANLIB=$${RANLIB}" \
10341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10342 clean) \
10343 || exit 1
10345 @endif gcc
10347 .PHONY: maybe-distclean-gcc distclean-gcc
10348 maybe-distclean-gcc:
10349 @if gcc
10350 maybe-distclean-gcc: distclean-gcc
10352 distclean-gcc:
10353 @[ -f ./gcc/Makefile ] || exit 0; \
10354 r=`${PWD_COMMAND}`; export r; \
10355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10356 $(HOST_EXPORTS) \
10357 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10359 done; \
10360 echo "Doing distclean in gcc" ; \
10361 (cd $(HOST_SUBDIR)/gcc && \
10362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10364 "RANLIB=$${RANLIB}" \
10365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10366 distclean) \
10367 || exit 1
10369 @endif gcc
10371 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10372 maybe-maintainer-clean-gcc:
10373 @if gcc
10374 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10376 maintainer-clean-gcc:
10377 @[ -f ./gcc/Makefile ] || exit 0; \
10378 r=`${PWD_COMMAND}`; export r; \
10379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10380 $(HOST_EXPORTS) \
10381 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10383 done; \
10384 echo "Doing maintainer-clean in gcc" ; \
10385 (cd $(HOST_SUBDIR)/gcc && \
10386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10388 "RANLIB=$${RANLIB}" \
10389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10390 maintainer-clean) \
10391 || exit 1
10393 @endif gcc
10397 .PHONY: configure-gmp maybe-configure-gmp
10398 maybe-configure-gmp:
10399 @if gcc-bootstrap
10400 configure-gmp: stage_current
10401 @endif gcc-bootstrap
10402 @if gmp
10403 maybe-configure-gmp: configure-gmp
10404 configure-gmp:
10405 @r=`${PWD_COMMAND}`; export r; \
10406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10407 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10409 $(HOST_EXPORTS) \
10410 echo Configuring in $(HOST_SUBDIR)/gmp; \
10411 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10412 case $(srcdir) in \
10413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10414 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10416 esac; \
10417 srcdiroption="--srcdir=$${topdir}/gmp"; \
10418 libsrcdir="$$s/gmp"; \
10419 $(SHELL) $${libsrcdir}/configure \
10420 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10421 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10422 || exit 1
10423 @endif gmp
10427 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10428 maybe-configure-stage1-gmp:
10429 @if gmp-bootstrap
10430 maybe-configure-stage1-gmp: configure-stage1-gmp
10431 configure-stage1-gmp:
10432 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10433 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10434 @r=`${PWD_COMMAND}`; export r; \
10435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10436 TFLAGS="$(STAGE1_TFLAGS)"; \
10437 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10438 $(HOST_EXPORTS) \
10439 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10440 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10441 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10442 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10443 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10444 cd $(HOST_SUBDIR)/gmp || exit 1; \
10445 case $(srcdir) in \
10446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10447 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10449 esac; \
10450 srcdiroption="--srcdir=$${topdir}/gmp"; \
10451 libsrcdir="$$s/gmp"; \
10452 $(SHELL) $${libsrcdir}/configure \
10453 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10454 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10455 $(STAGE1_CONFIGURE_FLAGS) \
10456 --disable-shared
10457 @endif gmp-bootstrap
10459 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10460 maybe-configure-stage2-gmp:
10461 @if gmp-bootstrap
10462 maybe-configure-stage2-gmp: configure-stage2-gmp
10463 configure-stage2-gmp:
10464 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10465 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10466 @r=`${PWD_COMMAND}`; export r; \
10467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10468 TFLAGS="$(STAGE2_TFLAGS)"; \
10469 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10470 $(HOST_EXPORTS) \
10471 $(POSTSTAGE1_HOST_EXPORTS) \
10472 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10473 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10474 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10475 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10477 cd $(HOST_SUBDIR)/gmp || exit 1; \
10478 case $(srcdir) in \
10479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10480 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10482 esac; \
10483 srcdiroption="--srcdir=$${topdir}/gmp"; \
10484 libsrcdir="$$s/gmp"; \
10485 $(SHELL) $${libsrcdir}/configure \
10486 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10487 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10488 --with-build-libsubdir=$(HOST_SUBDIR) \
10489 $(STAGE2_CONFIGURE_FLAGS) \
10490 --disable-shared
10491 @endif gmp-bootstrap
10493 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10494 maybe-configure-stage3-gmp:
10495 @if gmp-bootstrap
10496 maybe-configure-stage3-gmp: configure-stage3-gmp
10497 configure-stage3-gmp:
10498 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10499 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10500 @r=`${PWD_COMMAND}`; export r; \
10501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10502 TFLAGS="$(STAGE3_TFLAGS)"; \
10503 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10504 $(HOST_EXPORTS) \
10505 $(POSTSTAGE1_HOST_EXPORTS) \
10506 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10507 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10508 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10509 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10511 cd $(HOST_SUBDIR)/gmp || exit 1; \
10512 case $(srcdir) in \
10513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10514 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10516 esac; \
10517 srcdiroption="--srcdir=$${topdir}/gmp"; \
10518 libsrcdir="$$s/gmp"; \
10519 $(SHELL) $${libsrcdir}/configure \
10520 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10521 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10522 --with-build-libsubdir=$(HOST_SUBDIR) \
10523 $(STAGE3_CONFIGURE_FLAGS) \
10524 --disable-shared
10525 @endif gmp-bootstrap
10527 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10528 maybe-configure-stage4-gmp:
10529 @if gmp-bootstrap
10530 maybe-configure-stage4-gmp: configure-stage4-gmp
10531 configure-stage4-gmp:
10532 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10533 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10534 @r=`${PWD_COMMAND}`; export r; \
10535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10536 TFLAGS="$(STAGE4_TFLAGS)"; \
10537 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10538 $(HOST_EXPORTS) \
10539 $(POSTSTAGE1_HOST_EXPORTS) \
10540 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10541 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10542 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10543 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10545 cd $(HOST_SUBDIR)/gmp || exit 1; \
10546 case $(srcdir) in \
10547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10548 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10550 esac; \
10551 srcdiroption="--srcdir=$${topdir}/gmp"; \
10552 libsrcdir="$$s/gmp"; \
10553 $(SHELL) $${libsrcdir}/configure \
10554 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10555 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10556 --with-build-libsubdir=$(HOST_SUBDIR) \
10557 $(STAGE4_CONFIGURE_FLAGS) \
10558 --disable-shared
10559 @endif gmp-bootstrap
10561 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10562 maybe-configure-stageprofile-gmp:
10563 @if gmp-bootstrap
10564 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10565 configure-stageprofile-gmp:
10566 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10567 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10568 @r=`${PWD_COMMAND}`; export r; \
10569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10570 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10571 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10572 $(HOST_EXPORTS) \
10573 $(POSTSTAGE1_HOST_EXPORTS) \
10574 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10575 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10576 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10577 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10579 cd $(HOST_SUBDIR)/gmp || exit 1; \
10580 case $(srcdir) in \
10581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10582 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10584 esac; \
10585 srcdiroption="--srcdir=$${topdir}/gmp"; \
10586 libsrcdir="$$s/gmp"; \
10587 $(SHELL) $${libsrcdir}/configure \
10588 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10589 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10590 --with-build-libsubdir=$(HOST_SUBDIR) \
10591 $(STAGEprofile_CONFIGURE_FLAGS) \
10592 --disable-shared
10593 @endif gmp-bootstrap
10595 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10596 maybe-configure-stagefeedback-gmp:
10597 @if gmp-bootstrap
10598 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10599 configure-stagefeedback-gmp:
10600 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10602 @r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10604 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10605 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10606 $(HOST_EXPORTS) \
10607 $(POSTSTAGE1_HOST_EXPORTS) \
10608 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10609 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10610 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10611 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10613 cd $(HOST_SUBDIR)/gmp || exit 1; \
10614 case $(srcdir) in \
10615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10616 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10618 esac; \
10619 srcdiroption="--srcdir=$${topdir}/gmp"; \
10620 libsrcdir="$$s/gmp"; \
10621 $(SHELL) $${libsrcdir}/configure \
10622 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10623 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10624 --with-build-libsubdir=$(HOST_SUBDIR) \
10625 $(STAGEfeedback_CONFIGURE_FLAGS) \
10626 --disable-shared
10627 @endif gmp-bootstrap
10633 .PHONY: all-gmp maybe-all-gmp
10634 maybe-all-gmp:
10635 @if gcc-bootstrap
10636 all-gmp: stage_current
10637 @endif gcc-bootstrap
10638 @if gmp
10639 TARGET-gmp=all
10640 maybe-all-gmp: all-gmp
10641 all-gmp: configure-gmp
10642 @r=`${PWD_COMMAND}`; export r; \
10643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10644 $(HOST_EXPORTS) \
10645 (cd $(HOST_SUBDIR)/gmp && \
10646 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10647 $(TARGET-gmp))
10648 @endif gmp
10652 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10653 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10654 maybe-all-stage1-gmp:
10655 maybe-clean-stage1-gmp:
10656 @if gmp-bootstrap
10657 maybe-all-stage1-gmp: all-stage1-gmp
10658 all-stage1: all-stage1-gmp
10659 TARGET-stage1-gmp = $(TARGET-gmp)
10660 all-stage1-gmp: configure-stage1-gmp
10661 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10662 @r=`${PWD_COMMAND}`; export r; \
10663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10664 TFLAGS="$(STAGE1_TFLAGS)"; \
10665 $(HOST_EXPORTS) \
10666 cd $(HOST_SUBDIR)/gmp && \
10667 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10668 CFLAGS="$(STAGE1_CFLAGS)" \
10669 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10670 LIBCFLAGS="$(LIBCFLAGS)" \
10671 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10672 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10673 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10674 $(EXTRA_HOST_FLAGS) \
10675 TFLAGS="$(STAGE1_TFLAGS)" \
10676 $(TARGET-stage1-gmp)
10678 maybe-clean-stage1-gmp: clean-stage1-gmp
10679 clean-stage1: clean-stage1-gmp
10680 clean-stage1-gmp:
10681 @if [ $(current_stage) = stage1 ]; then \
10682 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10683 else \
10684 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10685 $(MAKE) stage1-start; \
10686 fi; \
10687 cd $(HOST_SUBDIR)/gmp && \
10688 $(MAKE) $(EXTRA_HOST_FLAGS) \
10689 clean
10690 @endif gmp-bootstrap
10693 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10694 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10695 maybe-all-stage2-gmp:
10696 maybe-clean-stage2-gmp:
10697 @if gmp-bootstrap
10698 maybe-all-stage2-gmp: all-stage2-gmp
10699 all-stage2: all-stage2-gmp
10700 TARGET-stage2-gmp = $(TARGET-gmp)
10701 all-stage2-gmp: configure-stage2-gmp
10702 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10703 @r=`${PWD_COMMAND}`; export r; \
10704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10705 TFLAGS="$(STAGE2_TFLAGS)"; \
10706 $(HOST_EXPORTS) \
10707 $(POSTSTAGE1_HOST_EXPORTS) \
10708 cd $(HOST_SUBDIR)/gmp && \
10709 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10710 CFLAGS="$(STAGE2_CFLAGS)" \
10711 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10712 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10713 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10714 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10715 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10716 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10717 TFLAGS="$(STAGE2_TFLAGS)" \
10718 $(TARGET-stage2-gmp)
10720 maybe-clean-stage2-gmp: clean-stage2-gmp
10721 clean-stage2: clean-stage2-gmp
10722 clean-stage2-gmp:
10723 @if [ $(current_stage) = stage2 ]; then \
10724 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10725 else \
10726 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10727 $(MAKE) stage2-start; \
10728 fi; \
10729 cd $(HOST_SUBDIR)/gmp && \
10730 $(MAKE) $(EXTRA_HOST_FLAGS) \
10731 $(POSTSTAGE1_FLAGS_TO_PASS) \
10732 clean
10733 @endif gmp-bootstrap
10736 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10737 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10738 maybe-all-stage3-gmp:
10739 maybe-clean-stage3-gmp:
10740 @if gmp-bootstrap
10741 maybe-all-stage3-gmp: all-stage3-gmp
10742 all-stage3: all-stage3-gmp
10743 TARGET-stage3-gmp = $(TARGET-gmp)
10744 all-stage3-gmp: configure-stage3-gmp
10745 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10746 @r=`${PWD_COMMAND}`; export r; \
10747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10748 TFLAGS="$(STAGE3_TFLAGS)"; \
10749 $(HOST_EXPORTS) \
10750 $(POSTSTAGE1_HOST_EXPORTS) \
10751 cd $(HOST_SUBDIR)/gmp && \
10752 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10753 CFLAGS="$(STAGE3_CFLAGS)" \
10754 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10755 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10756 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10757 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10758 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10759 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10760 TFLAGS="$(STAGE3_TFLAGS)" \
10761 $(TARGET-stage3-gmp)
10763 maybe-clean-stage3-gmp: clean-stage3-gmp
10764 clean-stage3: clean-stage3-gmp
10765 clean-stage3-gmp:
10766 @if [ $(current_stage) = stage3 ]; then \
10767 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10768 else \
10769 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10770 $(MAKE) stage3-start; \
10771 fi; \
10772 cd $(HOST_SUBDIR)/gmp && \
10773 $(MAKE) $(EXTRA_HOST_FLAGS) \
10774 $(POSTSTAGE1_FLAGS_TO_PASS) \
10775 clean
10776 @endif gmp-bootstrap
10779 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10780 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10781 maybe-all-stage4-gmp:
10782 maybe-clean-stage4-gmp:
10783 @if gmp-bootstrap
10784 maybe-all-stage4-gmp: all-stage4-gmp
10785 all-stage4: all-stage4-gmp
10786 TARGET-stage4-gmp = $(TARGET-gmp)
10787 all-stage4-gmp: configure-stage4-gmp
10788 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10789 @r=`${PWD_COMMAND}`; export r; \
10790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10791 TFLAGS="$(STAGE4_TFLAGS)"; \
10792 $(HOST_EXPORTS) \
10793 $(POSTSTAGE1_HOST_EXPORTS) \
10794 cd $(HOST_SUBDIR)/gmp && \
10795 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10796 CFLAGS="$(STAGE4_CFLAGS)" \
10797 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10798 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10799 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10800 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10801 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10802 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10803 TFLAGS="$(STAGE4_TFLAGS)" \
10804 $(TARGET-stage4-gmp)
10806 maybe-clean-stage4-gmp: clean-stage4-gmp
10807 clean-stage4: clean-stage4-gmp
10808 clean-stage4-gmp:
10809 @if [ $(current_stage) = stage4 ]; then \
10810 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10811 else \
10812 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10813 $(MAKE) stage4-start; \
10814 fi; \
10815 cd $(HOST_SUBDIR)/gmp && \
10816 $(MAKE) $(EXTRA_HOST_FLAGS) \
10817 $(POSTSTAGE1_FLAGS_TO_PASS) \
10818 clean
10819 @endif gmp-bootstrap
10822 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10823 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10824 maybe-all-stageprofile-gmp:
10825 maybe-clean-stageprofile-gmp:
10826 @if gmp-bootstrap
10827 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10828 all-stageprofile: all-stageprofile-gmp
10829 TARGET-stageprofile-gmp = $(TARGET-gmp)
10830 all-stageprofile-gmp: configure-stageprofile-gmp
10831 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10832 @r=`${PWD_COMMAND}`; export r; \
10833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10834 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10835 $(HOST_EXPORTS) \
10836 $(POSTSTAGE1_HOST_EXPORTS) \
10837 cd $(HOST_SUBDIR)/gmp && \
10838 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10839 CFLAGS="$(STAGEprofile_CFLAGS)" \
10840 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10841 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10842 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10843 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10844 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10845 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10846 TFLAGS="$(STAGEprofile_TFLAGS)" \
10847 $(TARGET-stageprofile-gmp)
10849 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10850 clean-stageprofile: clean-stageprofile-gmp
10851 clean-stageprofile-gmp:
10852 @if [ $(current_stage) = stageprofile ]; then \
10853 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10854 else \
10855 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10856 $(MAKE) stageprofile-start; \
10857 fi; \
10858 cd $(HOST_SUBDIR)/gmp && \
10859 $(MAKE) $(EXTRA_HOST_FLAGS) \
10860 $(POSTSTAGE1_FLAGS_TO_PASS) \
10861 clean
10862 @endif gmp-bootstrap
10865 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10866 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10867 maybe-all-stagefeedback-gmp:
10868 maybe-clean-stagefeedback-gmp:
10869 @if gmp-bootstrap
10870 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10871 all-stagefeedback: all-stagefeedback-gmp
10872 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10873 all-stagefeedback-gmp: configure-stagefeedback-gmp
10874 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10875 @r=`${PWD_COMMAND}`; export r; \
10876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10877 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10878 $(HOST_EXPORTS) \
10879 $(POSTSTAGE1_HOST_EXPORTS) \
10880 cd $(HOST_SUBDIR)/gmp && \
10881 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10882 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10883 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10884 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10885 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10886 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10887 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10888 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10889 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10890 $(TARGET-stagefeedback-gmp)
10892 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10893 clean-stagefeedback: clean-stagefeedback-gmp
10894 clean-stagefeedback-gmp:
10895 @if [ $(current_stage) = stagefeedback ]; then \
10896 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10897 else \
10898 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10899 $(MAKE) stagefeedback-start; \
10900 fi; \
10901 cd $(HOST_SUBDIR)/gmp && \
10902 $(MAKE) $(EXTRA_HOST_FLAGS) \
10903 $(POSTSTAGE1_FLAGS_TO_PASS) \
10904 clean
10905 @endif gmp-bootstrap
10911 .PHONY: check-gmp maybe-check-gmp
10912 maybe-check-gmp:
10913 @if gmp
10914 maybe-check-gmp: check-gmp
10916 check-gmp:
10917 @: $(MAKE); $(unstage)
10918 @r=`${PWD_COMMAND}`; export r; \
10919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10920 $(HOST_EXPORTS) \
10921 (cd $(HOST_SUBDIR)/gmp && \
10922 $(MAKE) $(FLAGS_TO_PASS) check)
10924 @endif gmp
10926 .PHONY: install-gmp maybe-install-gmp
10927 maybe-install-gmp:
10928 @if gmp
10929 maybe-install-gmp: install-gmp
10931 install-gmp:
10933 @endif gmp
10935 .PHONY: install-strip-gmp maybe-install-strip-gmp
10936 maybe-install-strip-gmp:
10937 @if gmp
10938 maybe-install-strip-gmp: install-strip-gmp
10940 install-strip-gmp:
10942 @endif gmp
10944 # Other targets (info, dvi, pdf, etc.)
10946 .PHONY: maybe-info-gmp info-gmp
10947 maybe-info-gmp:
10948 @if gmp
10949 maybe-info-gmp: info-gmp
10951 info-gmp: \
10952 configure-gmp
10953 @[ -f ./gmp/Makefile ] || exit 0; \
10954 r=`${PWD_COMMAND}`; export r; \
10955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10956 $(HOST_EXPORTS) \
10957 for flag in $(EXTRA_HOST_FLAGS) ; do \
10958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10959 done; \
10960 echo "Doing info in gmp" ; \
10961 (cd $(HOST_SUBDIR)/gmp && \
10962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10964 "RANLIB=$${RANLIB}" \
10965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10966 info) \
10967 || exit 1
10969 @endif gmp
10971 .PHONY: maybe-dvi-gmp dvi-gmp
10972 maybe-dvi-gmp:
10973 @if gmp
10974 maybe-dvi-gmp: dvi-gmp
10976 dvi-gmp: \
10977 configure-gmp
10978 @[ -f ./gmp/Makefile ] || exit 0; \
10979 r=`${PWD_COMMAND}`; export r; \
10980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10981 $(HOST_EXPORTS) \
10982 for flag in $(EXTRA_HOST_FLAGS) ; do \
10983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10984 done; \
10985 echo "Doing dvi in gmp" ; \
10986 (cd $(HOST_SUBDIR)/gmp && \
10987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10989 "RANLIB=$${RANLIB}" \
10990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10991 dvi) \
10992 || exit 1
10994 @endif gmp
10996 .PHONY: maybe-pdf-gmp pdf-gmp
10997 maybe-pdf-gmp:
10998 @if gmp
10999 maybe-pdf-gmp: pdf-gmp
11001 pdf-gmp: \
11002 configure-gmp
11003 @[ -f ./gmp/Makefile ] || exit 0; \
11004 r=`${PWD_COMMAND}`; export r; \
11005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11006 $(HOST_EXPORTS) \
11007 for flag in $(EXTRA_HOST_FLAGS) ; do \
11008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11009 done; \
11010 echo "Doing pdf in gmp" ; \
11011 (cd $(HOST_SUBDIR)/gmp && \
11012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11014 "RANLIB=$${RANLIB}" \
11015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11016 pdf) \
11017 || exit 1
11019 @endif gmp
11021 .PHONY: maybe-html-gmp html-gmp
11022 maybe-html-gmp:
11023 @if gmp
11024 maybe-html-gmp: html-gmp
11026 html-gmp: \
11027 configure-gmp
11028 @[ -f ./gmp/Makefile ] || exit 0; \
11029 r=`${PWD_COMMAND}`; export r; \
11030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11031 $(HOST_EXPORTS) \
11032 for flag in $(EXTRA_HOST_FLAGS) ; do \
11033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11034 done; \
11035 echo "Doing html in gmp" ; \
11036 (cd $(HOST_SUBDIR)/gmp && \
11037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11039 "RANLIB=$${RANLIB}" \
11040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11041 html) \
11042 || exit 1
11044 @endif gmp
11046 .PHONY: maybe-TAGS-gmp TAGS-gmp
11047 maybe-TAGS-gmp:
11048 @if gmp
11049 maybe-TAGS-gmp: TAGS-gmp
11051 TAGS-gmp: \
11052 configure-gmp
11053 @[ -f ./gmp/Makefile ] || exit 0; \
11054 r=`${PWD_COMMAND}`; export r; \
11055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11056 $(HOST_EXPORTS) \
11057 for flag in $(EXTRA_HOST_FLAGS) ; do \
11058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11059 done; \
11060 echo "Doing TAGS in gmp" ; \
11061 (cd $(HOST_SUBDIR)/gmp && \
11062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11064 "RANLIB=$${RANLIB}" \
11065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11066 TAGS) \
11067 || exit 1
11069 @endif gmp
11071 .PHONY: maybe-install-info-gmp install-info-gmp
11072 maybe-install-info-gmp:
11073 @if gmp
11074 maybe-install-info-gmp: install-info-gmp
11076 install-info-gmp: \
11077 configure-gmp \
11078 info-gmp
11079 @[ -f ./gmp/Makefile ] || exit 0; \
11080 r=`${PWD_COMMAND}`; export r; \
11081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11082 $(HOST_EXPORTS) \
11083 for flag in $(EXTRA_HOST_FLAGS) ; do \
11084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11085 done; \
11086 echo "Doing install-info in gmp" ; \
11087 (cd $(HOST_SUBDIR)/gmp && \
11088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11090 "RANLIB=$${RANLIB}" \
11091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11092 install-info) \
11093 || exit 1
11095 @endif gmp
11097 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11098 maybe-install-pdf-gmp:
11099 @if gmp
11100 maybe-install-pdf-gmp: install-pdf-gmp
11102 install-pdf-gmp: \
11103 configure-gmp \
11104 pdf-gmp
11105 @[ -f ./gmp/Makefile ] || exit 0; \
11106 r=`${PWD_COMMAND}`; export r; \
11107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11108 $(HOST_EXPORTS) \
11109 for flag in $(EXTRA_HOST_FLAGS) ; do \
11110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11111 done; \
11112 echo "Doing install-pdf in gmp" ; \
11113 (cd $(HOST_SUBDIR)/gmp && \
11114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11116 "RANLIB=$${RANLIB}" \
11117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11118 install-pdf) \
11119 || exit 1
11121 @endif gmp
11123 .PHONY: maybe-install-html-gmp install-html-gmp
11124 maybe-install-html-gmp:
11125 @if gmp
11126 maybe-install-html-gmp: install-html-gmp
11128 install-html-gmp: \
11129 configure-gmp \
11130 html-gmp
11131 @[ -f ./gmp/Makefile ] || exit 0; \
11132 r=`${PWD_COMMAND}`; export r; \
11133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11134 $(HOST_EXPORTS) \
11135 for flag in $(EXTRA_HOST_FLAGS) ; do \
11136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11137 done; \
11138 echo "Doing install-html in gmp" ; \
11139 (cd $(HOST_SUBDIR)/gmp && \
11140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11142 "RANLIB=$${RANLIB}" \
11143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11144 install-html) \
11145 || exit 1
11147 @endif gmp
11149 .PHONY: maybe-installcheck-gmp installcheck-gmp
11150 maybe-installcheck-gmp:
11151 @if gmp
11152 maybe-installcheck-gmp: installcheck-gmp
11154 installcheck-gmp: \
11155 configure-gmp
11156 @[ -f ./gmp/Makefile ] || exit 0; \
11157 r=`${PWD_COMMAND}`; export r; \
11158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11159 $(HOST_EXPORTS) \
11160 for flag in $(EXTRA_HOST_FLAGS) ; do \
11161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11162 done; \
11163 echo "Doing installcheck in gmp" ; \
11164 (cd $(HOST_SUBDIR)/gmp && \
11165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11167 "RANLIB=$${RANLIB}" \
11168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11169 installcheck) \
11170 || exit 1
11172 @endif gmp
11174 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11175 maybe-mostlyclean-gmp:
11176 @if gmp
11177 maybe-mostlyclean-gmp: mostlyclean-gmp
11179 mostlyclean-gmp:
11180 @[ -f ./gmp/Makefile ] || exit 0; \
11181 r=`${PWD_COMMAND}`; export r; \
11182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11183 $(HOST_EXPORTS) \
11184 for flag in $(EXTRA_HOST_FLAGS) ; do \
11185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11186 done; \
11187 echo "Doing mostlyclean in gmp" ; \
11188 (cd $(HOST_SUBDIR)/gmp && \
11189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11191 "RANLIB=$${RANLIB}" \
11192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11193 mostlyclean) \
11194 || exit 1
11196 @endif gmp
11198 .PHONY: maybe-clean-gmp clean-gmp
11199 maybe-clean-gmp:
11200 @if gmp
11201 maybe-clean-gmp: clean-gmp
11203 clean-gmp:
11204 @[ -f ./gmp/Makefile ] || exit 0; \
11205 r=`${PWD_COMMAND}`; export r; \
11206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 $(HOST_EXPORTS) \
11208 for flag in $(EXTRA_HOST_FLAGS) ; do \
11209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11210 done; \
11211 echo "Doing clean in gmp" ; \
11212 (cd $(HOST_SUBDIR)/gmp && \
11213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11215 "RANLIB=$${RANLIB}" \
11216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11217 clean) \
11218 || exit 1
11220 @endif gmp
11222 .PHONY: maybe-distclean-gmp distclean-gmp
11223 maybe-distclean-gmp:
11224 @if gmp
11225 maybe-distclean-gmp: distclean-gmp
11227 distclean-gmp:
11228 @[ -f ./gmp/Makefile ] || exit 0; \
11229 r=`${PWD_COMMAND}`; export r; \
11230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11231 $(HOST_EXPORTS) \
11232 for flag in $(EXTRA_HOST_FLAGS) ; do \
11233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11234 done; \
11235 echo "Doing distclean in gmp" ; \
11236 (cd $(HOST_SUBDIR)/gmp && \
11237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11239 "RANLIB=$${RANLIB}" \
11240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11241 distclean) \
11242 || exit 1
11244 @endif gmp
11246 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11247 maybe-maintainer-clean-gmp:
11248 @if gmp
11249 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11251 maintainer-clean-gmp:
11252 @[ -f ./gmp/Makefile ] || exit 0; \
11253 r=`${PWD_COMMAND}`; export r; \
11254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11255 $(HOST_EXPORTS) \
11256 for flag in $(EXTRA_HOST_FLAGS) ; do \
11257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11258 done; \
11259 echo "Doing maintainer-clean in gmp" ; \
11260 (cd $(HOST_SUBDIR)/gmp && \
11261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11263 "RANLIB=$${RANLIB}" \
11264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11265 maintainer-clean) \
11266 || exit 1
11268 @endif gmp
11272 .PHONY: configure-mpfr maybe-configure-mpfr
11273 maybe-configure-mpfr:
11274 @if gcc-bootstrap
11275 configure-mpfr: stage_current
11276 @endif gcc-bootstrap
11277 @if mpfr
11278 maybe-configure-mpfr: configure-mpfr
11279 configure-mpfr:
11280 @r=`${PWD_COMMAND}`; export r; \
11281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11282 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11284 $(HOST_EXPORTS) \
11285 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11286 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11287 case $(srcdir) in \
11288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11289 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11291 esac; \
11292 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11293 libsrcdir="$$s/mpfr"; \
11294 $(SHELL) $${libsrcdir}/configure \
11295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11296 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11297 || exit 1
11298 @endif mpfr
11302 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11303 maybe-configure-stage1-mpfr:
11304 @if mpfr-bootstrap
11305 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11306 configure-stage1-mpfr:
11307 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11308 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11309 @r=`${PWD_COMMAND}`; export r; \
11310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11311 TFLAGS="$(STAGE1_TFLAGS)"; \
11312 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11313 $(HOST_EXPORTS) \
11314 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11315 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11316 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11317 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11319 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11320 case $(srcdir) in \
11321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11322 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11324 esac; \
11325 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11326 libsrcdir="$$s/mpfr"; \
11327 $(SHELL) $${libsrcdir}/configure \
11328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11329 --target=${target_alias} $${srcdiroption} \
11330 $(STAGE1_CONFIGURE_FLAGS) \
11331 --disable-shared @extra_mpfr_configure_flags@
11332 @endif mpfr-bootstrap
11334 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11335 maybe-configure-stage2-mpfr:
11336 @if mpfr-bootstrap
11337 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11338 configure-stage2-mpfr:
11339 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11340 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11341 @r=`${PWD_COMMAND}`; export r; \
11342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11343 TFLAGS="$(STAGE2_TFLAGS)"; \
11344 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11345 $(HOST_EXPORTS) \
11346 $(POSTSTAGE1_HOST_EXPORTS) \
11347 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11348 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11349 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11350 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11352 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11353 case $(srcdir) in \
11354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11355 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11357 esac; \
11358 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11359 libsrcdir="$$s/mpfr"; \
11360 $(SHELL) $${libsrcdir}/configure \
11361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11362 --target=${target_alias} $${srcdiroption} \
11363 --with-build-libsubdir=$(HOST_SUBDIR) \
11364 $(STAGE2_CONFIGURE_FLAGS) \
11365 --disable-shared @extra_mpfr_configure_flags@
11366 @endif mpfr-bootstrap
11368 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11369 maybe-configure-stage3-mpfr:
11370 @if mpfr-bootstrap
11371 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11372 configure-stage3-mpfr:
11373 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11375 @r=`${PWD_COMMAND}`; export r; \
11376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11377 TFLAGS="$(STAGE3_TFLAGS)"; \
11378 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11379 $(HOST_EXPORTS) \
11380 $(POSTSTAGE1_HOST_EXPORTS) \
11381 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11382 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11383 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11384 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11386 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11387 case $(srcdir) in \
11388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11389 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11391 esac; \
11392 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11393 libsrcdir="$$s/mpfr"; \
11394 $(SHELL) $${libsrcdir}/configure \
11395 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11396 --target=${target_alias} $${srcdiroption} \
11397 --with-build-libsubdir=$(HOST_SUBDIR) \
11398 $(STAGE3_CONFIGURE_FLAGS) \
11399 --disable-shared @extra_mpfr_configure_flags@
11400 @endif mpfr-bootstrap
11402 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11403 maybe-configure-stage4-mpfr:
11404 @if mpfr-bootstrap
11405 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11406 configure-stage4-mpfr:
11407 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11408 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11409 @r=`${PWD_COMMAND}`; export r; \
11410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11411 TFLAGS="$(STAGE4_TFLAGS)"; \
11412 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11413 $(HOST_EXPORTS) \
11414 $(POSTSTAGE1_HOST_EXPORTS) \
11415 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11416 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11417 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11418 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11420 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11421 case $(srcdir) in \
11422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11423 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11425 esac; \
11426 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11427 libsrcdir="$$s/mpfr"; \
11428 $(SHELL) $${libsrcdir}/configure \
11429 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11430 --target=${target_alias} $${srcdiroption} \
11431 --with-build-libsubdir=$(HOST_SUBDIR) \
11432 $(STAGE4_CONFIGURE_FLAGS) \
11433 --disable-shared @extra_mpfr_configure_flags@
11434 @endif mpfr-bootstrap
11436 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11437 maybe-configure-stageprofile-mpfr:
11438 @if mpfr-bootstrap
11439 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11440 configure-stageprofile-mpfr:
11441 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11443 @r=`${PWD_COMMAND}`; export r; \
11444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11445 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11446 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11447 $(HOST_EXPORTS) \
11448 $(POSTSTAGE1_HOST_EXPORTS) \
11449 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11450 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11451 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11452 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11454 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11455 case $(srcdir) in \
11456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11457 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11459 esac; \
11460 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11461 libsrcdir="$$s/mpfr"; \
11462 $(SHELL) $${libsrcdir}/configure \
11463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11464 --target=${target_alias} $${srcdiroption} \
11465 --with-build-libsubdir=$(HOST_SUBDIR) \
11466 $(STAGEprofile_CONFIGURE_FLAGS) \
11467 --disable-shared @extra_mpfr_configure_flags@
11468 @endif mpfr-bootstrap
11470 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11471 maybe-configure-stagefeedback-mpfr:
11472 @if mpfr-bootstrap
11473 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11474 configure-stagefeedback-mpfr:
11475 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11476 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11477 @r=`${PWD_COMMAND}`; export r; \
11478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11479 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11480 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11481 $(HOST_EXPORTS) \
11482 $(POSTSTAGE1_HOST_EXPORTS) \
11483 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11484 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11485 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11486 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11488 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11489 case $(srcdir) in \
11490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11491 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11493 esac; \
11494 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11495 libsrcdir="$$s/mpfr"; \
11496 $(SHELL) $${libsrcdir}/configure \
11497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11498 --target=${target_alias} $${srcdiroption} \
11499 --with-build-libsubdir=$(HOST_SUBDIR) \
11500 $(STAGEfeedback_CONFIGURE_FLAGS) \
11501 --disable-shared @extra_mpfr_configure_flags@
11502 @endif mpfr-bootstrap
11508 .PHONY: all-mpfr maybe-all-mpfr
11509 maybe-all-mpfr:
11510 @if gcc-bootstrap
11511 all-mpfr: stage_current
11512 @endif gcc-bootstrap
11513 @if mpfr
11514 TARGET-mpfr=all
11515 maybe-all-mpfr: all-mpfr
11516 all-mpfr: configure-mpfr
11517 @r=`${PWD_COMMAND}`; export r; \
11518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11519 $(HOST_EXPORTS) \
11520 (cd $(HOST_SUBDIR)/mpfr && \
11521 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11522 $(TARGET-mpfr))
11523 @endif mpfr
11527 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11528 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11529 maybe-all-stage1-mpfr:
11530 maybe-clean-stage1-mpfr:
11531 @if mpfr-bootstrap
11532 maybe-all-stage1-mpfr: all-stage1-mpfr
11533 all-stage1: all-stage1-mpfr
11534 TARGET-stage1-mpfr = $(TARGET-mpfr)
11535 all-stage1-mpfr: configure-stage1-mpfr
11536 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11537 @r=`${PWD_COMMAND}`; export r; \
11538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11539 TFLAGS="$(STAGE1_TFLAGS)"; \
11540 $(HOST_EXPORTS) \
11541 cd $(HOST_SUBDIR)/mpfr && \
11542 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11543 CFLAGS="$(STAGE1_CFLAGS)" \
11544 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11545 LIBCFLAGS="$(LIBCFLAGS)" \
11546 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11547 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11548 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11549 $(EXTRA_HOST_FLAGS) \
11550 TFLAGS="$(STAGE1_TFLAGS)" \
11551 $(TARGET-stage1-mpfr)
11553 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11554 clean-stage1: clean-stage1-mpfr
11555 clean-stage1-mpfr:
11556 @if [ $(current_stage) = stage1 ]; then \
11557 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11558 else \
11559 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11560 $(MAKE) stage1-start; \
11561 fi; \
11562 cd $(HOST_SUBDIR)/mpfr && \
11563 $(MAKE) $(EXTRA_HOST_FLAGS) \
11564 clean
11565 @endif mpfr-bootstrap
11568 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11569 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11570 maybe-all-stage2-mpfr:
11571 maybe-clean-stage2-mpfr:
11572 @if mpfr-bootstrap
11573 maybe-all-stage2-mpfr: all-stage2-mpfr
11574 all-stage2: all-stage2-mpfr
11575 TARGET-stage2-mpfr = $(TARGET-mpfr)
11576 all-stage2-mpfr: configure-stage2-mpfr
11577 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11578 @r=`${PWD_COMMAND}`; export r; \
11579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11580 TFLAGS="$(STAGE2_TFLAGS)"; \
11581 $(HOST_EXPORTS) \
11582 $(POSTSTAGE1_HOST_EXPORTS) \
11583 cd $(HOST_SUBDIR)/mpfr && \
11584 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11585 CFLAGS="$(STAGE2_CFLAGS)" \
11586 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11587 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11588 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11589 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11590 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11591 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11592 TFLAGS="$(STAGE2_TFLAGS)" \
11593 $(TARGET-stage2-mpfr)
11595 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11596 clean-stage2: clean-stage2-mpfr
11597 clean-stage2-mpfr:
11598 @if [ $(current_stage) = stage2 ]; then \
11599 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11600 else \
11601 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11602 $(MAKE) stage2-start; \
11603 fi; \
11604 cd $(HOST_SUBDIR)/mpfr && \
11605 $(MAKE) $(EXTRA_HOST_FLAGS) \
11606 $(POSTSTAGE1_FLAGS_TO_PASS) \
11607 clean
11608 @endif mpfr-bootstrap
11611 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11612 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11613 maybe-all-stage3-mpfr:
11614 maybe-clean-stage3-mpfr:
11615 @if mpfr-bootstrap
11616 maybe-all-stage3-mpfr: all-stage3-mpfr
11617 all-stage3: all-stage3-mpfr
11618 TARGET-stage3-mpfr = $(TARGET-mpfr)
11619 all-stage3-mpfr: configure-stage3-mpfr
11620 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11621 @r=`${PWD_COMMAND}`; export r; \
11622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11623 TFLAGS="$(STAGE3_TFLAGS)"; \
11624 $(HOST_EXPORTS) \
11625 $(POSTSTAGE1_HOST_EXPORTS) \
11626 cd $(HOST_SUBDIR)/mpfr && \
11627 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11628 CFLAGS="$(STAGE3_CFLAGS)" \
11629 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11630 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11631 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11632 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11633 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11634 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11635 TFLAGS="$(STAGE3_TFLAGS)" \
11636 $(TARGET-stage3-mpfr)
11638 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11639 clean-stage3: clean-stage3-mpfr
11640 clean-stage3-mpfr:
11641 @if [ $(current_stage) = stage3 ]; then \
11642 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11643 else \
11644 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11645 $(MAKE) stage3-start; \
11646 fi; \
11647 cd $(HOST_SUBDIR)/mpfr && \
11648 $(MAKE) $(EXTRA_HOST_FLAGS) \
11649 $(POSTSTAGE1_FLAGS_TO_PASS) \
11650 clean
11651 @endif mpfr-bootstrap
11654 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11655 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11656 maybe-all-stage4-mpfr:
11657 maybe-clean-stage4-mpfr:
11658 @if mpfr-bootstrap
11659 maybe-all-stage4-mpfr: all-stage4-mpfr
11660 all-stage4: all-stage4-mpfr
11661 TARGET-stage4-mpfr = $(TARGET-mpfr)
11662 all-stage4-mpfr: configure-stage4-mpfr
11663 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11664 @r=`${PWD_COMMAND}`; export r; \
11665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11666 TFLAGS="$(STAGE4_TFLAGS)"; \
11667 $(HOST_EXPORTS) \
11668 $(POSTSTAGE1_HOST_EXPORTS) \
11669 cd $(HOST_SUBDIR)/mpfr && \
11670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11671 CFLAGS="$(STAGE4_CFLAGS)" \
11672 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11673 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11677 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11678 TFLAGS="$(STAGE4_TFLAGS)" \
11679 $(TARGET-stage4-mpfr)
11681 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11682 clean-stage4: clean-stage4-mpfr
11683 clean-stage4-mpfr:
11684 @if [ $(current_stage) = stage4 ]; then \
11685 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11686 else \
11687 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11688 $(MAKE) stage4-start; \
11689 fi; \
11690 cd $(HOST_SUBDIR)/mpfr && \
11691 $(MAKE) $(EXTRA_HOST_FLAGS) \
11692 $(POSTSTAGE1_FLAGS_TO_PASS) \
11693 clean
11694 @endif mpfr-bootstrap
11697 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11698 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11699 maybe-all-stageprofile-mpfr:
11700 maybe-clean-stageprofile-mpfr:
11701 @if mpfr-bootstrap
11702 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11703 all-stageprofile: all-stageprofile-mpfr
11704 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11705 all-stageprofile-mpfr: configure-stageprofile-mpfr
11706 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11707 @r=`${PWD_COMMAND}`; export r; \
11708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11709 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11710 $(HOST_EXPORTS) \
11711 $(POSTSTAGE1_HOST_EXPORTS) \
11712 cd $(HOST_SUBDIR)/mpfr && \
11713 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11714 CFLAGS="$(STAGEprofile_CFLAGS)" \
11715 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11716 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11717 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11718 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11719 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11720 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11721 TFLAGS="$(STAGEprofile_TFLAGS)" \
11722 $(TARGET-stageprofile-mpfr)
11724 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11725 clean-stageprofile: clean-stageprofile-mpfr
11726 clean-stageprofile-mpfr:
11727 @if [ $(current_stage) = stageprofile ]; then \
11728 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11729 else \
11730 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11731 $(MAKE) stageprofile-start; \
11732 fi; \
11733 cd $(HOST_SUBDIR)/mpfr && \
11734 $(MAKE) $(EXTRA_HOST_FLAGS) \
11735 $(POSTSTAGE1_FLAGS_TO_PASS) \
11736 clean
11737 @endif mpfr-bootstrap
11740 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11741 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11742 maybe-all-stagefeedback-mpfr:
11743 maybe-clean-stagefeedback-mpfr:
11744 @if mpfr-bootstrap
11745 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11746 all-stagefeedback: all-stagefeedback-mpfr
11747 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11748 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11749 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11750 @r=`${PWD_COMMAND}`; export r; \
11751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11752 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11753 $(HOST_EXPORTS) \
11754 $(POSTSTAGE1_HOST_EXPORTS) \
11755 cd $(HOST_SUBDIR)/mpfr && \
11756 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11757 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11758 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11759 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11760 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11761 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11762 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11763 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11764 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11765 $(TARGET-stagefeedback-mpfr)
11767 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11768 clean-stagefeedback: clean-stagefeedback-mpfr
11769 clean-stagefeedback-mpfr:
11770 @if [ $(current_stage) = stagefeedback ]; then \
11771 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11772 else \
11773 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11774 $(MAKE) stagefeedback-start; \
11775 fi; \
11776 cd $(HOST_SUBDIR)/mpfr && \
11777 $(MAKE) $(EXTRA_HOST_FLAGS) \
11778 $(POSTSTAGE1_FLAGS_TO_PASS) \
11779 clean
11780 @endif mpfr-bootstrap
11786 .PHONY: check-mpfr maybe-check-mpfr
11787 maybe-check-mpfr:
11788 @if mpfr
11789 maybe-check-mpfr: check-mpfr
11791 check-mpfr:
11792 @: $(MAKE); $(unstage)
11793 @r=`${PWD_COMMAND}`; export r; \
11794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11795 $(HOST_EXPORTS) \
11796 (cd $(HOST_SUBDIR)/mpfr && \
11797 $(MAKE) $(FLAGS_TO_PASS) check)
11799 @endif mpfr
11801 .PHONY: install-mpfr maybe-install-mpfr
11802 maybe-install-mpfr:
11803 @if mpfr
11804 maybe-install-mpfr: install-mpfr
11806 install-mpfr:
11808 @endif mpfr
11810 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11811 maybe-install-strip-mpfr:
11812 @if mpfr
11813 maybe-install-strip-mpfr: install-strip-mpfr
11815 install-strip-mpfr:
11817 @endif mpfr
11819 # Other targets (info, dvi, pdf, etc.)
11821 .PHONY: maybe-info-mpfr info-mpfr
11822 maybe-info-mpfr:
11823 @if mpfr
11824 maybe-info-mpfr: info-mpfr
11826 info-mpfr: \
11827 configure-mpfr
11828 @[ -f ./mpfr/Makefile ] || exit 0; \
11829 r=`${PWD_COMMAND}`; export r; \
11830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11831 $(HOST_EXPORTS) \
11832 for flag in $(EXTRA_HOST_FLAGS) ; do \
11833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11834 done; \
11835 echo "Doing info in mpfr" ; \
11836 (cd $(HOST_SUBDIR)/mpfr && \
11837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11839 "RANLIB=$${RANLIB}" \
11840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11841 info) \
11842 || exit 1
11844 @endif mpfr
11846 .PHONY: maybe-dvi-mpfr dvi-mpfr
11847 maybe-dvi-mpfr:
11848 @if mpfr
11849 maybe-dvi-mpfr: dvi-mpfr
11851 dvi-mpfr: \
11852 configure-mpfr
11853 @[ -f ./mpfr/Makefile ] || exit 0; \
11854 r=`${PWD_COMMAND}`; export r; \
11855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11856 $(HOST_EXPORTS) \
11857 for flag in $(EXTRA_HOST_FLAGS) ; do \
11858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11859 done; \
11860 echo "Doing dvi in mpfr" ; \
11861 (cd $(HOST_SUBDIR)/mpfr && \
11862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11864 "RANLIB=$${RANLIB}" \
11865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11866 dvi) \
11867 || exit 1
11869 @endif mpfr
11871 .PHONY: maybe-pdf-mpfr pdf-mpfr
11872 maybe-pdf-mpfr:
11873 @if mpfr
11874 maybe-pdf-mpfr: pdf-mpfr
11876 pdf-mpfr: \
11877 configure-mpfr
11878 @[ -f ./mpfr/Makefile ] || exit 0; \
11879 r=`${PWD_COMMAND}`; export r; \
11880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11881 $(HOST_EXPORTS) \
11882 for flag in $(EXTRA_HOST_FLAGS) ; do \
11883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11884 done; \
11885 echo "Doing pdf in mpfr" ; \
11886 (cd $(HOST_SUBDIR)/mpfr && \
11887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11889 "RANLIB=$${RANLIB}" \
11890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11891 pdf) \
11892 || exit 1
11894 @endif mpfr
11896 .PHONY: maybe-html-mpfr html-mpfr
11897 maybe-html-mpfr:
11898 @if mpfr
11899 maybe-html-mpfr: html-mpfr
11901 html-mpfr: \
11902 configure-mpfr
11903 @[ -f ./mpfr/Makefile ] || exit 0; \
11904 r=`${PWD_COMMAND}`; export r; \
11905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11906 $(HOST_EXPORTS) \
11907 for flag in $(EXTRA_HOST_FLAGS) ; do \
11908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11909 done; \
11910 echo "Doing html in mpfr" ; \
11911 (cd $(HOST_SUBDIR)/mpfr && \
11912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11914 "RANLIB=$${RANLIB}" \
11915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11916 html) \
11917 || exit 1
11919 @endif mpfr
11921 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11922 maybe-TAGS-mpfr:
11923 @if mpfr
11924 maybe-TAGS-mpfr: TAGS-mpfr
11926 TAGS-mpfr: \
11927 configure-mpfr
11928 @[ -f ./mpfr/Makefile ] || exit 0; \
11929 r=`${PWD_COMMAND}`; export r; \
11930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11931 $(HOST_EXPORTS) \
11932 for flag in $(EXTRA_HOST_FLAGS) ; do \
11933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11934 done; \
11935 echo "Doing TAGS in mpfr" ; \
11936 (cd $(HOST_SUBDIR)/mpfr && \
11937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11939 "RANLIB=$${RANLIB}" \
11940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11941 TAGS) \
11942 || exit 1
11944 @endif mpfr
11946 .PHONY: maybe-install-info-mpfr install-info-mpfr
11947 maybe-install-info-mpfr:
11948 @if mpfr
11949 maybe-install-info-mpfr: install-info-mpfr
11951 install-info-mpfr: \
11952 configure-mpfr \
11953 info-mpfr
11954 @[ -f ./mpfr/Makefile ] || exit 0; \
11955 r=`${PWD_COMMAND}`; export r; \
11956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11957 $(HOST_EXPORTS) \
11958 for flag in $(EXTRA_HOST_FLAGS) ; do \
11959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11960 done; \
11961 echo "Doing install-info in mpfr" ; \
11962 (cd $(HOST_SUBDIR)/mpfr && \
11963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11965 "RANLIB=$${RANLIB}" \
11966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11967 install-info) \
11968 || exit 1
11970 @endif mpfr
11972 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11973 maybe-install-pdf-mpfr:
11974 @if mpfr
11975 maybe-install-pdf-mpfr: install-pdf-mpfr
11977 install-pdf-mpfr: \
11978 configure-mpfr \
11979 pdf-mpfr
11980 @[ -f ./mpfr/Makefile ] || exit 0; \
11981 r=`${PWD_COMMAND}`; export r; \
11982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11983 $(HOST_EXPORTS) \
11984 for flag in $(EXTRA_HOST_FLAGS) ; do \
11985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11986 done; \
11987 echo "Doing install-pdf in mpfr" ; \
11988 (cd $(HOST_SUBDIR)/mpfr && \
11989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11991 "RANLIB=$${RANLIB}" \
11992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11993 install-pdf) \
11994 || exit 1
11996 @endif mpfr
11998 .PHONY: maybe-install-html-mpfr install-html-mpfr
11999 maybe-install-html-mpfr:
12000 @if mpfr
12001 maybe-install-html-mpfr: install-html-mpfr
12003 install-html-mpfr: \
12004 configure-mpfr \
12005 html-mpfr
12006 @[ -f ./mpfr/Makefile ] || exit 0; \
12007 r=`${PWD_COMMAND}`; export r; \
12008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12009 $(HOST_EXPORTS) \
12010 for flag in $(EXTRA_HOST_FLAGS) ; do \
12011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12012 done; \
12013 echo "Doing install-html in mpfr" ; \
12014 (cd $(HOST_SUBDIR)/mpfr && \
12015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12017 "RANLIB=$${RANLIB}" \
12018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12019 install-html) \
12020 || exit 1
12022 @endif mpfr
12024 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12025 maybe-installcheck-mpfr:
12026 @if mpfr
12027 maybe-installcheck-mpfr: installcheck-mpfr
12029 installcheck-mpfr: \
12030 configure-mpfr
12031 @[ -f ./mpfr/Makefile ] || exit 0; \
12032 r=`${PWD_COMMAND}`; export r; \
12033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12034 $(HOST_EXPORTS) \
12035 for flag in $(EXTRA_HOST_FLAGS) ; do \
12036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12037 done; \
12038 echo "Doing installcheck in mpfr" ; \
12039 (cd $(HOST_SUBDIR)/mpfr && \
12040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12042 "RANLIB=$${RANLIB}" \
12043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12044 installcheck) \
12045 || exit 1
12047 @endif mpfr
12049 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12050 maybe-mostlyclean-mpfr:
12051 @if mpfr
12052 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12054 mostlyclean-mpfr:
12055 @[ -f ./mpfr/Makefile ] || exit 0; \
12056 r=`${PWD_COMMAND}`; export r; \
12057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12058 $(HOST_EXPORTS) \
12059 for flag in $(EXTRA_HOST_FLAGS) ; do \
12060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12061 done; \
12062 echo "Doing mostlyclean in mpfr" ; \
12063 (cd $(HOST_SUBDIR)/mpfr && \
12064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12066 "RANLIB=$${RANLIB}" \
12067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12068 mostlyclean) \
12069 || exit 1
12071 @endif mpfr
12073 .PHONY: maybe-clean-mpfr clean-mpfr
12074 maybe-clean-mpfr:
12075 @if mpfr
12076 maybe-clean-mpfr: clean-mpfr
12078 clean-mpfr:
12079 @[ -f ./mpfr/Makefile ] || exit 0; \
12080 r=`${PWD_COMMAND}`; export r; \
12081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12082 $(HOST_EXPORTS) \
12083 for flag in $(EXTRA_HOST_FLAGS) ; do \
12084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12085 done; \
12086 echo "Doing clean in mpfr" ; \
12087 (cd $(HOST_SUBDIR)/mpfr && \
12088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12090 "RANLIB=$${RANLIB}" \
12091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12092 clean) \
12093 || exit 1
12095 @endif mpfr
12097 .PHONY: maybe-distclean-mpfr distclean-mpfr
12098 maybe-distclean-mpfr:
12099 @if mpfr
12100 maybe-distclean-mpfr: distclean-mpfr
12102 distclean-mpfr:
12103 @[ -f ./mpfr/Makefile ] || exit 0; \
12104 r=`${PWD_COMMAND}`; export r; \
12105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12106 $(HOST_EXPORTS) \
12107 for flag in $(EXTRA_HOST_FLAGS) ; do \
12108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12109 done; \
12110 echo "Doing distclean in mpfr" ; \
12111 (cd $(HOST_SUBDIR)/mpfr && \
12112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12114 "RANLIB=$${RANLIB}" \
12115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12116 distclean) \
12117 || exit 1
12119 @endif mpfr
12121 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12122 maybe-maintainer-clean-mpfr:
12123 @if mpfr
12124 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12126 maintainer-clean-mpfr:
12127 @[ -f ./mpfr/Makefile ] || exit 0; \
12128 r=`${PWD_COMMAND}`; export r; \
12129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12130 $(HOST_EXPORTS) \
12131 for flag in $(EXTRA_HOST_FLAGS) ; do \
12132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12133 done; \
12134 echo "Doing maintainer-clean in mpfr" ; \
12135 (cd $(HOST_SUBDIR)/mpfr && \
12136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12138 "RANLIB=$${RANLIB}" \
12139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12140 maintainer-clean) \
12141 || exit 1
12143 @endif mpfr
12147 .PHONY: configure-mpc maybe-configure-mpc
12148 maybe-configure-mpc:
12149 @if gcc-bootstrap
12150 configure-mpc: stage_current
12151 @endif gcc-bootstrap
12152 @if mpc
12153 maybe-configure-mpc: configure-mpc
12154 configure-mpc:
12155 @r=`${PWD_COMMAND}`; export r; \
12156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12157 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12159 $(HOST_EXPORTS) \
12160 echo Configuring in $(HOST_SUBDIR)/mpc; \
12161 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12162 case $(srcdir) in \
12163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12164 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12166 esac; \
12167 srcdiroption="--srcdir=$${topdir}/mpc"; \
12168 libsrcdir="$$s/mpc"; \
12169 $(SHELL) $${libsrcdir}/configure \
12170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12171 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12172 || exit 1
12173 @endif mpc
12177 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12178 maybe-configure-stage1-mpc:
12179 @if mpc-bootstrap
12180 maybe-configure-stage1-mpc: configure-stage1-mpc
12181 configure-stage1-mpc:
12182 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12183 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12184 @r=`${PWD_COMMAND}`; export r; \
12185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12186 TFLAGS="$(STAGE1_TFLAGS)"; \
12187 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12188 $(HOST_EXPORTS) \
12189 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12190 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12191 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12192 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12194 cd $(HOST_SUBDIR)/mpc || exit 1; \
12195 case $(srcdir) in \
12196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12197 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12199 esac; \
12200 srcdiroption="--srcdir=$${topdir}/mpc"; \
12201 libsrcdir="$$s/mpc"; \
12202 $(SHELL) $${libsrcdir}/configure \
12203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12204 --target=${target_alias} $${srcdiroption} \
12205 $(STAGE1_CONFIGURE_FLAGS) \
12206 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12207 @endif mpc-bootstrap
12209 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12210 maybe-configure-stage2-mpc:
12211 @if mpc-bootstrap
12212 maybe-configure-stage2-mpc: configure-stage2-mpc
12213 configure-stage2-mpc:
12214 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12216 @r=`${PWD_COMMAND}`; export r; \
12217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12218 TFLAGS="$(STAGE2_TFLAGS)"; \
12219 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12220 $(HOST_EXPORTS) \
12221 $(POSTSTAGE1_HOST_EXPORTS) \
12222 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12223 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12224 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12225 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12227 cd $(HOST_SUBDIR)/mpc || exit 1; \
12228 case $(srcdir) in \
12229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12230 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12232 esac; \
12233 srcdiroption="--srcdir=$${topdir}/mpc"; \
12234 libsrcdir="$$s/mpc"; \
12235 $(SHELL) $${libsrcdir}/configure \
12236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12237 --target=${target_alias} $${srcdiroption} \
12238 --with-build-libsubdir=$(HOST_SUBDIR) \
12239 $(STAGE2_CONFIGURE_FLAGS) \
12240 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12241 @endif mpc-bootstrap
12243 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12244 maybe-configure-stage3-mpc:
12245 @if mpc-bootstrap
12246 maybe-configure-stage3-mpc: configure-stage3-mpc
12247 configure-stage3-mpc:
12248 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12250 @r=`${PWD_COMMAND}`; export r; \
12251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12252 TFLAGS="$(STAGE3_TFLAGS)"; \
12253 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12254 $(HOST_EXPORTS) \
12255 $(POSTSTAGE1_HOST_EXPORTS) \
12256 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12257 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12258 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12259 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12261 cd $(HOST_SUBDIR)/mpc || exit 1; \
12262 case $(srcdir) in \
12263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12264 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12266 esac; \
12267 srcdiroption="--srcdir=$${topdir}/mpc"; \
12268 libsrcdir="$$s/mpc"; \
12269 $(SHELL) $${libsrcdir}/configure \
12270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12271 --target=${target_alias} $${srcdiroption} \
12272 --with-build-libsubdir=$(HOST_SUBDIR) \
12273 $(STAGE3_CONFIGURE_FLAGS) \
12274 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12275 @endif mpc-bootstrap
12277 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12278 maybe-configure-stage4-mpc:
12279 @if mpc-bootstrap
12280 maybe-configure-stage4-mpc: configure-stage4-mpc
12281 configure-stage4-mpc:
12282 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12283 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12284 @r=`${PWD_COMMAND}`; export r; \
12285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12286 TFLAGS="$(STAGE4_TFLAGS)"; \
12287 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12288 $(HOST_EXPORTS) \
12289 $(POSTSTAGE1_HOST_EXPORTS) \
12290 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12291 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12292 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12293 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12295 cd $(HOST_SUBDIR)/mpc || exit 1; \
12296 case $(srcdir) in \
12297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12298 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12300 esac; \
12301 srcdiroption="--srcdir=$${topdir}/mpc"; \
12302 libsrcdir="$$s/mpc"; \
12303 $(SHELL) $${libsrcdir}/configure \
12304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12305 --target=${target_alias} $${srcdiroption} \
12306 --with-build-libsubdir=$(HOST_SUBDIR) \
12307 $(STAGE4_CONFIGURE_FLAGS) \
12308 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12309 @endif mpc-bootstrap
12311 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12312 maybe-configure-stageprofile-mpc:
12313 @if mpc-bootstrap
12314 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12315 configure-stageprofile-mpc:
12316 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12318 @r=`${PWD_COMMAND}`; export r; \
12319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12320 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12321 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12322 $(HOST_EXPORTS) \
12323 $(POSTSTAGE1_HOST_EXPORTS) \
12324 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12325 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12326 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12327 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12329 cd $(HOST_SUBDIR)/mpc || exit 1; \
12330 case $(srcdir) in \
12331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12332 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12334 esac; \
12335 srcdiroption="--srcdir=$${topdir}/mpc"; \
12336 libsrcdir="$$s/mpc"; \
12337 $(SHELL) $${libsrcdir}/configure \
12338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12339 --target=${target_alias} $${srcdiroption} \
12340 --with-build-libsubdir=$(HOST_SUBDIR) \
12341 $(STAGEprofile_CONFIGURE_FLAGS) \
12342 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12343 @endif mpc-bootstrap
12345 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12346 maybe-configure-stagefeedback-mpc:
12347 @if mpc-bootstrap
12348 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12349 configure-stagefeedback-mpc:
12350 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12352 @r=`${PWD_COMMAND}`; export r; \
12353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12354 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12355 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12356 $(HOST_EXPORTS) \
12357 $(POSTSTAGE1_HOST_EXPORTS) \
12358 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12359 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12360 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12361 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12363 cd $(HOST_SUBDIR)/mpc || exit 1; \
12364 case $(srcdir) in \
12365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12366 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12368 esac; \
12369 srcdiroption="--srcdir=$${topdir}/mpc"; \
12370 libsrcdir="$$s/mpc"; \
12371 $(SHELL) $${libsrcdir}/configure \
12372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12373 --target=${target_alias} $${srcdiroption} \
12374 --with-build-libsubdir=$(HOST_SUBDIR) \
12375 $(STAGEfeedback_CONFIGURE_FLAGS) \
12376 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12377 @endif mpc-bootstrap
12383 .PHONY: all-mpc maybe-all-mpc
12384 maybe-all-mpc:
12385 @if gcc-bootstrap
12386 all-mpc: stage_current
12387 @endif gcc-bootstrap
12388 @if mpc
12389 TARGET-mpc=all
12390 maybe-all-mpc: all-mpc
12391 all-mpc: configure-mpc
12392 @r=`${PWD_COMMAND}`; export r; \
12393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12394 $(HOST_EXPORTS) \
12395 (cd $(HOST_SUBDIR)/mpc && \
12396 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12397 $(TARGET-mpc))
12398 @endif mpc
12402 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12403 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12404 maybe-all-stage1-mpc:
12405 maybe-clean-stage1-mpc:
12406 @if mpc-bootstrap
12407 maybe-all-stage1-mpc: all-stage1-mpc
12408 all-stage1: all-stage1-mpc
12409 TARGET-stage1-mpc = $(TARGET-mpc)
12410 all-stage1-mpc: configure-stage1-mpc
12411 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12412 @r=`${PWD_COMMAND}`; export r; \
12413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12414 TFLAGS="$(STAGE1_TFLAGS)"; \
12415 $(HOST_EXPORTS) \
12416 cd $(HOST_SUBDIR)/mpc && \
12417 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12418 CFLAGS="$(STAGE1_CFLAGS)" \
12419 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12420 LIBCFLAGS="$(LIBCFLAGS)" \
12421 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12422 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12423 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12424 $(EXTRA_HOST_FLAGS) \
12425 TFLAGS="$(STAGE1_TFLAGS)" \
12426 $(TARGET-stage1-mpc)
12428 maybe-clean-stage1-mpc: clean-stage1-mpc
12429 clean-stage1: clean-stage1-mpc
12430 clean-stage1-mpc:
12431 @if [ $(current_stage) = stage1 ]; then \
12432 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12433 else \
12434 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12435 $(MAKE) stage1-start; \
12436 fi; \
12437 cd $(HOST_SUBDIR)/mpc && \
12438 $(MAKE) $(EXTRA_HOST_FLAGS) \
12439 clean
12440 @endif mpc-bootstrap
12443 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12444 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12445 maybe-all-stage2-mpc:
12446 maybe-clean-stage2-mpc:
12447 @if mpc-bootstrap
12448 maybe-all-stage2-mpc: all-stage2-mpc
12449 all-stage2: all-stage2-mpc
12450 TARGET-stage2-mpc = $(TARGET-mpc)
12451 all-stage2-mpc: configure-stage2-mpc
12452 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12453 @r=`${PWD_COMMAND}`; export r; \
12454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12455 TFLAGS="$(STAGE2_TFLAGS)"; \
12456 $(HOST_EXPORTS) \
12457 $(POSTSTAGE1_HOST_EXPORTS) \
12458 cd $(HOST_SUBDIR)/mpc && \
12459 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12460 CFLAGS="$(STAGE2_CFLAGS)" \
12461 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12462 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12463 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12464 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12465 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12466 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12467 TFLAGS="$(STAGE2_TFLAGS)" \
12468 $(TARGET-stage2-mpc)
12470 maybe-clean-stage2-mpc: clean-stage2-mpc
12471 clean-stage2: clean-stage2-mpc
12472 clean-stage2-mpc:
12473 @if [ $(current_stage) = stage2 ]; then \
12474 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12475 else \
12476 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12477 $(MAKE) stage2-start; \
12478 fi; \
12479 cd $(HOST_SUBDIR)/mpc && \
12480 $(MAKE) $(EXTRA_HOST_FLAGS) \
12481 $(POSTSTAGE1_FLAGS_TO_PASS) \
12482 clean
12483 @endif mpc-bootstrap
12486 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12487 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12488 maybe-all-stage3-mpc:
12489 maybe-clean-stage3-mpc:
12490 @if mpc-bootstrap
12491 maybe-all-stage3-mpc: all-stage3-mpc
12492 all-stage3: all-stage3-mpc
12493 TARGET-stage3-mpc = $(TARGET-mpc)
12494 all-stage3-mpc: configure-stage3-mpc
12495 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12496 @r=`${PWD_COMMAND}`; export r; \
12497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12498 TFLAGS="$(STAGE3_TFLAGS)"; \
12499 $(HOST_EXPORTS) \
12500 $(POSTSTAGE1_HOST_EXPORTS) \
12501 cd $(HOST_SUBDIR)/mpc && \
12502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12503 CFLAGS="$(STAGE3_CFLAGS)" \
12504 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12505 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12506 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12507 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12508 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12509 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12510 TFLAGS="$(STAGE3_TFLAGS)" \
12511 $(TARGET-stage3-mpc)
12513 maybe-clean-stage3-mpc: clean-stage3-mpc
12514 clean-stage3: clean-stage3-mpc
12515 clean-stage3-mpc:
12516 @if [ $(current_stage) = stage3 ]; then \
12517 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12518 else \
12519 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12520 $(MAKE) stage3-start; \
12521 fi; \
12522 cd $(HOST_SUBDIR)/mpc && \
12523 $(MAKE) $(EXTRA_HOST_FLAGS) \
12524 $(POSTSTAGE1_FLAGS_TO_PASS) \
12525 clean
12526 @endif mpc-bootstrap
12529 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12530 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12531 maybe-all-stage4-mpc:
12532 maybe-clean-stage4-mpc:
12533 @if mpc-bootstrap
12534 maybe-all-stage4-mpc: all-stage4-mpc
12535 all-stage4: all-stage4-mpc
12536 TARGET-stage4-mpc = $(TARGET-mpc)
12537 all-stage4-mpc: configure-stage4-mpc
12538 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12539 @r=`${PWD_COMMAND}`; export r; \
12540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12541 TFLAGS="$(STAGE4_TFLAGS)"; \
12542 $(HOST_EXPORTS) \
12543 $(POSTSTAGE1_HOST_EXPORTS) \
12544 cd $(HOST_SUBDIR)/mpc && \
12545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12546 CFLAGS="$(STAGE4_CFLAGS)" \
12547 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12548 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12549 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12550 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12551 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12552 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12553 TFLAGS="$(STAGE4_TFLAGS)" \
12554 $(TARGET-stage4-mpc)
12556 maybe-clean-stage4-mpc: clean-stage4-mpc
12557 clean-stage4: clean-stage4-mpc
12558 clean-stage4-mpc:
12559 @if [ $(current_stage) = stage4 ]; then \
12560 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12561 else \
12562 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12563 $(MAKE) stage4-start; \
12564 fi; \
12565 cd $(HOST_SUBDIR)/mpc && \
12566 $(MAKE) $(EXTRA_HOST_FLAGS) \
12567 $(POSTSTAGE1_FLAGS_TO_PASS) \
12568 clean
12569 @endif mpc-bootstrap
12572 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12573 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12574 maybe-all-stageprofile-mpc:
12575 maybe-clean-stageprofile-mpc:
12576 @if mpc-bootstrap
12577 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12578 all-stageprofile: all-stageprofile-mpc
12579 TARGET-stageprofile-mpc = $(TARGET-mpc)
12580 all-stageprofile-mpc: configure-stageprofile-mpc
12581 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12582 @r=`${PWD_COMMAND}`; export r; \
12583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12584 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12585 $(HOST_EXPORTS) \
12586 $(POSTSTAGE1_HOST_EXPORTS) \
12587 cd $(HOST_SUBDIR)/mpc && \
12588 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12589 CFLAGS="$(STAGEprofile_CFLAGS)" \
12590 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12591 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12592 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12593 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12594 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12595 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12596 TFLAGS="$(STAGEprofile_TFLAGS)" \
12597 $(TARGET-stageprofile-mpc)
12599 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12600 clean-stageprofile: clean-stageprofile-mpc
12601 clean-stageprofile-mpc:
12602 @if [ $(current_stage) = stageprofile ]; then \
12603 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12604 else \
12605 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12606 $(MAKE) stageprofile-start; \
12607 fi; \
12608 cd $(HOST_SUBDIR)/mpc && \
12609 $(MAKE) $(EXTRA_HOST_FLAGS) \
12610 $(POSTSTAGE1_FLAGS_TO_PASS) \
12611 clean
12612 @endif mpc-bootstrap
12615 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12616 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12617 maybe-all-stagefeedback-mpc:
12618 maybe-clean-stagefeedback-mpc:
12619 @if mpc-bootstrap
12620 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12621 all-stagefeedback: all-stagefeedback-mpc
12622 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12623 all-stagefeedback-mpc: configure-stagefeedback-mpc
12624 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12625 @r=`${PWD_COMMAND}`; export r; \
12626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12627 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12628 $(HOST_EXPORTS) \
12629 $(POSTSTAGE1_HOST_EXPORTS) \
12630 cd $(HOST_SUBDIR)/mpc && \
12631 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12632 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12633 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12634 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12635 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12636 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12637 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12638 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12639 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12640 $(TARGET-stagefeedback-mpc)
12642 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12643 clean-stagefeedback: clean-stagefeedback-mpc
12644 clean-stagefeedback-mpc:
12645 @if [ $(current_stage) = stagefeedback ]; then \
12646 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12647 else \
12648 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12649 $(MAKE) stagefeedback-start; \
12650 fi; \
12651 cd $(HOST_SUBDIR)/mpc && \
12652 $(MAKE) $(EXTRA_HOST_FLAGS) \
12653 $(POSTSTAGE1_FLAGS_TO_PASS) \
12654 clean
12655 @endif mpc-bootstrap
12661 .PHONY: check-mpc maybe-check-mpc
12662 maybe-check-mpc:
12663 @if mpc
12664 maybe-check-mpc: check-mpc
12666 check-mpc:
12667 @: $(MAKE); $(unstage)
12668 @r=`${PWD_COMMAND}`; export r; \
12669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12670 $(HOST_EXPORTS) \
12671 (cd $(HOST_SUBDIR)/mpc && \
12672 $(MAKE) $(FLAGS_TO_PASS) check)
12674 @endif mpc
12676 .PHONY: install-mpc maybe-install-mpc
12677 maybe-install-mpc:
12678 @if mpc
12679 maybe-install-mpc: install-mpc
12681 install-mpc:
12683 @endif mpc
12685 .PHONY: install-strip-mpc maybe-install-strip-mpc
12686 maybe-install-strip-mpc:
12687 @if mpc
12688 maybe-install-strip-mpc: install-strip-mpc
12690 install-strip-mpc:
12692 @endif mpc
12694 # Other targets (info, dvi, pdf, etc.)
12696 .PHONY: maybe-info-mpc info-mpc
12697 maybe-info-mpc:
12698 @if mpc
12699 maybe-info-mpc: info-mpc
12701 info-mpc: \
12702 configure-mpc
12703 @[ -f ./mpc/Makefile ] || exit 0; \
12704 r=`${PWD_COMMAND}`; export r; \
12705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12706 $(HOST_EXPORTS) \
12707 for flag in $(EXTRA_HOST_FLAGS) ; do \
12708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12709 done; \
12710 echo "Doing info in mpc" ; \
12711 (cd $(HOST_SUBDIR)/mpc && \
12712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12714 "RANLIB=$${RANLIB}" \
12715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12716 info) \
12717 || exit 1
12719 @endif mpc
12721 .PHONY: maybe-dvi-mpc dvi-mpc
12722 maybe-dvi-mpc:
12723 @if mpc
12724 maybe-dvi-mpc: dvi-mpc
12726 dvi-mpc: \
12727 configure-mpc
12728 @[ -f ./mpc/Makefile ] || exit 0; \
12729 r=`${PWD_COMMAND}`; export r; \
12730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12731 $(HOST_EXPORTS) \
12732 for flag in $(EXTRA_HOST_FLAGS) ; do \
12733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12734 done; \
12735 echo "Doing dvi in mpc" ; \
12736 (cd $(HOST_SUBDIR)/mpc && \
12737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12739 "RANLIB=$${RANLIB}" \
12740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12741 dvi) \
12742 || exit 1
12744 @endif mpc
12746 .PHONY: maybe-pdf-mpc pdf-mpc
12747 maybe-pdf-mpc:
12748 @if mpc
12749 maybe-pdf-mpc: pdf-mpc
12751 pdf-mpc: \
12752 configure-mpc
12753 @[ -f ./mpc/Makefile ] || exit 0; \
12754 r=`${PWD_COMMAND}`; export r; \
12755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12756 $(HOST_EXPORTS) \
12757 for flag in $(EXTRA_HOST_FLAGS) ; do \
12758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12759 done; \
12760 echo "Doing pdf in mpc" ; \
12761 (cd $(HOST_SUBDIR)/mpc && \
12762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12764 "RANLIB=$${RANLIB}" \
12765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12766 pdf) \
12767 || exit 1
12769 @endif mpc
12771 .PHONY: maybe-html-mpc html-mpc
12772 maybe-html-mpc:
12773 @if mpc
12774 maybe-html-mpc: html-mpc
12776 html-mpc: \
12777 configure-mpc
12778 @[ -f ./mpc/Makefile ] || exit 0; \
12779 r=`${PWD_COMMAND}`; export r; \
12780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12781 $(HOST_EXPORTS) \
12782 for flag in $(EXTRA_HOST_FLAGS) ; do \
12783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12784 done; \
12785 echo "Doing html in mpc" ; \
12786 (cd $(HOST_SUBDIR)/mpc && \
12787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12789 "RANLIB=$${RANLIB}" \
12790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12791 html) \
12792 || exit 1
12794 @endif mpc
12796 .PHONY: maybe-TAGS-mpc TAGS-mpc
12797 maybe-TAGS-mpc:
12798 @if mpc
12799 maybe-TAGS-mpc: TAGS-mpc
12801 TAGS-mpc: \
12802 configure-mpc
12803 @[ -f ./mpc/Makefile ] || exit 0; \
12804 r=`${PWD_COMMAND}`; export r; \
12805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12806 $(HOST_EXPORTS) \
12807 for flag in $(EXTRA_HOST_FLAGS) ; do \
12808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12809 done; \
12810 echo "Doing TAGS in mpc" ; \
12811 (cd $(HOST_SUBDIR)/mpc && \
12812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12814 "RANLIB=$${RANLIB}" \
12815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12816 TAGS) \
12817 || exit 1
12819 @endif mpc
12821 .PHONY: maybe-install-info-mpc install-info-mpc
12822 maybe-install-info-mpc:
12823 @if mpc
12824 maybe-install-info-mpc: install-info-mpc
12826 install-info-mpc: \
12827 configure-mpc \
12828 info-mpc
12829 @[ -f ./mpc/Makefile ] || exit 0; \
12830 r=`${PWD_COMMAND}`; export r; \
12831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12832 $(HOST_EXPORTS) \
12833 for flag in $(EXTRA_HOST_FLAGS) ; do \
12834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12835 done; \
12836 echo "Doing install-info in mpc" ; \
12837 (cd $(HOST_SUBDIR)/mpc && \
12838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12840 "RANLIB=$${RANLIB}" \
12841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12842 install-info) \
12843 || exit 1
12845 @endif mpc
12847 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12848 maybe-install-pdf-mpc:
12849 @if mpc
12850 maybe-install-pdf-mpc: install-pdf-mpc
12852 install-pdf-mpc: \
12853 configure-mpc \
12854 pdf-mpc
12855 @[ -f ./mpc/Makefile ] || exit 0; \
12856 r=`${PWD_COMMAND}`; export r; \
12857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12858 $(HOST_EXPORTS) \
12859 for flag in $(EXTRA_HOST_FLAGS) ; do \
12860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12861 done; \
12862 echo "Doing install-pdf in mpc" ; \
12863 (cd $(HOST_SUBDIR)/mpc && \
12864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12866 "RANLIB=$${RANLIB}" \
12867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12868 install-pdf) \
12869 || exit 1
12871 @endif mpc
12873 .PHONY: maybe-install-html-mpc install-html-mpc
12874 maybe-install-html-mpc:
12875 @if mpc
12876 maybe-install-html-mpc: install-html-mpc
12878 install-html-mpc: \
12879 configure-mpc \
12880 html-mpc
12881 @[ -f ./mpc/Makefile ] || exit 0; \
12882 r=`${PWD_COMMAND}`; export r; \
12883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12884 $(HOST_EXPORTS) \
12885 for flag in $(EXTRA_HOST_FLAGS) ; do \
12886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12887 done; \
12888 echo "Doing install-html in mpc" ; \
12889 (cd $(HOST_SUBDIR)/mpc && \
12890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12892 "RANLIB=$${RANLIB}" \
12893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12894 install-html) \
12895 || exit 1
12897 @endif mpc
12899 .PHONY: maybe-installcheck-mpc installcheck-mpc
12900 maybe-installcheck-mpc:
12901 @if mpc
12902 maybe-installcheck-mpc: installcheck-mpc
12904 installcheck-mpc: \
12905 configure-mpc
12906 @[ -f ./mpc/Makefile ] || exit 0; \
12907 r=`${PWD_COMMAND}`; export r; \
12908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12909 $(HOST_EXPORTS) \
12910 for flag in $(EXTRA_HOST_FLAGS) ; do \
12911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12912 done; \
12913 echo "Doing installcheck in mpc" ; \
12914 (cd $(HOST_SUBDIR)/mpc && \
12915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12917 "RANLIB=$${RANLIB}" \
12918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12919 installcheck) \
12920 || exit 1
12922 @endif mpc
12924 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12925 maybe-mostlyclean-mpc:
12926 @if mpc
12927 maybe-mostlyclean-mpc: mostlyclean-mpc
12929 mostlyclean-mpc:
12930 @[ -f ./mpc/Makefile ] || exit 0; \
12931 r=`${PWD_COMMAND}`; export r; \
12932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12933 $(HOST_EXPORTS) \
12934 for flag in $(EXTRA_HOST_FLAGS) ; do \
12935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12936 done; \
12937 echo "Doing mostlyclean in mpc" ; \
12938 (cd $(HOST_SUBDIR)/mpc && \
12939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12941 "RANLIB=$${RANLIB}" \
12942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12943 mostlyclean) \
12944 || exit 1
12946 @endif mpc
12948 .PHONY: maybe-clean-mpc clean-mpc
12949 maybe-clean-mpc:
12950 @if mpc
12951 maybe-clean-mpc: clean-mpc
12953 clean-mpc:
12954 @[ -f ./mpc/Makefile ] || exit 0; \
12955 r=`${PWD_COMMAND}`; export r; \
12956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12957 $(HOST_EXPORTS) \
12958 for flag in $(EXTRA_HOST_FLAGS) ; do \
12959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12960 done; \
12961 echo "Doing clean in mpc" ; \
12962 (cd $(HOST_SUBDIR)/mpc && \
12963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12965 "RANLIB=$${RANLIB}" \
12966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12967 clean) \
12968 || exit 1
12970 @endif mpc
12972 .PHONY: maybe-distclean-mpc distclean-mpc
12973 maybe-distclean-mpc:
12974 @if mpc
12975 maybe-distclean-mpc: distclean-mpc
12977 distclean-mpc:
12978 @[ -f ./mpc/Makefile ] || exit 0; \
12979 r=`${PWD_COMMAND}`; export r; \
12980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12981 $(HOST_EXPORTS) \
12982 for flag in $(EXTRA_HOST_FLAGS) ; do \
12983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12984 done; \
12985 echo "Doing distclean in mpc" ; \
12986 (cd $(HOST_SUBDIR)/mpc && \
12987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12989 "RANLIB=$${RANLIB}" \
12990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12991 distclean) \
12992 || exit 1
12994 @endif mpc
12996 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12997 maybe-maintainer-clean-mpc:
12998 @if mpc
12999 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13001 maintainer-clean-mpc:
13002 @[ -f ./mpc/Makefile ] || exit 0; \
13003 r=`${PWD_COMMAND}`; export r; \
13004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13005 $(HOST_EXPORTS) \
13006 for flag in $(EXTRA_HOST_FLAGS) ; do \
13007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13008 done; \
13009 echo "Doing maintainer-clean in mpc" ; \
13010 (cd $(HOST_SUBDIR)/mpc && \
13011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13013 "RANLIB=$${RANLIB}" \
13014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13015 maintainer-clean) \
13016 || exit 1
13018 @endif mpc
13022 .PHONY: configure-ppl maybe-configure-ppl
13023 maybe-configure-ppl:
13024 @if gcc-bootstrap
13025 configure-ppl: stage_current
13026 @endif gcc-bootstrap
13027 @if ppl
13028 maybe-configure-ppl: configure-ppl
13029 configure-ppl:
13030 @r=`${PWD_COMMAND}`; export r; \
13031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13032 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13034 $(HOST_EXPORTS) \
13035 echo Configuring in $(HOST_SUBDIR)/ppl; \
13036 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
13037 case $(srcdir) in \
13038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13039 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13041 esac; \
13042 srcdiroption="--srcdir=$${topdir}/ppl"; \
13043 libsrcdir="$$s/ppl"; \
13044 $(SHELL) $${libsrcdir}/configure \
13045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13046 --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
13047 || exit 1
13048 @endif ppl
13052 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
13053 maybe-configure-stage1-ppl:
13054 @if ppl-bootstrap
13055 maybe-configure-stage1-ppl: configure-stage1-ppl
13056 configure-stage1-ppl:
13057 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13059 @r=`${PWD_COMMAND}`; export r; \
13060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13061 TFLAGS="$(STAGE1_TFLAGS)"; \
13062 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13063 $(HOST_EXPORTS) \
13064 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13065 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13066 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13067 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
13068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13069 cd $(HOST_SUBDIR)/ppl || exit 1; \
13070 case $(srcdir) in \
13071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13072 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13074 esac; \
13075 srcdiroption="--srcdir=$${topdir}/ppl"; \
13076 libsrcdir="$$s/ppl"; \
13077 $(SHELL) $${libsrcdir}/configure \
13078 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13079 --target=${target_alias} $${srcdiroption} \
13080 $(STAGE1_CONFIGURE_FLAGS) \
13081 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13082 @endif ppl-bootstrap
13084 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
13085 maybe-configure-stage2-ppl:
13086 @if ppl-bootstrap
13087 maybe-configure-stage2-ppl: configure-stage2-ppl
13088 configure-stage2-ppl:
13089 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13090 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13091 @r=`${PWD_COMMAND}`; export r; \
13092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13093 TFLAGS="$(STAGE2_TFLAGS)"; \
13094 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13095 $(HOST_EXPORTS) \
13096 $(POSTSTAGE1_HOST_EXPORTS) \
13097 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13098 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13099 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13100 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
13101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13102 cd $(HOST_SUBDIR)/ppl || exit 1; \
13103 case $(srcdir) in \
13104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13105 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13107 esac; \
13108 srcdiroption="--srcdir=$${topdir}/ppl"; \
13109 libsrcdir="$$s/ppl"; \
13110 $(SHELL) $${libsrcdir}/configure \
13111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13112 --target=${target_alias} $${srcdiroption} \
13113 --with-build-libsubdir=$(HOST_SUBDIR) \
13114 $(STAGE2_CONFIGURE_FLAGS) \
13115 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13116 @endif ppl-bootstrap
13118 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
13119 maybe-configure-stage3-ppl:
13120 @if ppl-bootstrap
13121 maybe-configure-stage3-ppl: configure-stage3-ppl
13122 configure-stage3-ppl:
13123 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13125 @r=`${PWD_COMMAND}`; export r; \
13126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13127 TFLAGS="$(STAGE3_TFLAGS)"; \
13128 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13129 $(HOST_EXPORTS) \
13130 $(POSTSTAGE1_HOST_EXPORTS) \
13131 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13132 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13133 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13134 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
13135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13136 cd $(HOST_SUBDIR)/ppl || exit 1; \
13137 case $(srcdir) in \
13138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13139 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13141 esac; \
13142 srcdiroption="--srcdir=$${topdir}/ppl"; \
13143 libsrcdir="$$s/ppl"; \
13144 $(SHELL) $${libsrcdir}/configure \
13145 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13146 --target=${target_alias} $${srcdiroption} \
13147 --with-build-libsubdir=$(HOST_SUBDIR) \
13148 $(STAGE3_CONFIGURE_FLAGS) \
13149 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13150 @endif ppl-bootstrap
13152 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
13153 maybe-configure-stage4-ppl:
13154 @if ppl-bootstrap
13155 maybe-configure-stage4-ppl: configure-stage4-ppl
13156 configure-stage4-ppl:
13157 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13158 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13159 @r=`${PWD_COMMAND}`; export r; \
13160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13161 TFLAGS="$(STAGE4_TFLAGS)"; \
13162 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13163 $(HOST_EXPORTS) \
13164 $(POSTSTAGE1_HOST_EXPORTS) \
13165 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13166 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13167 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13168 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
13169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13170 cd $(HOST_SUBDIR)/ppl || exit 1; \
13171 case $(srcdir) in \
13172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13173 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13175 esac; \
13176 srcdiroption="--srcdir=$${topdir}/ppl"; \
13177 libsrcdir="$$s/ppl"; \
13178 $(SHELL) $${libsrcdir}/configure \
13179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13180 --target=${target_alias} $${srcdiroption} \
13181 --with-build-libsubdir=$(HOST_SUBDIR) \
13182 $(STAGE4_CONFIGURE_FLAGS) \
13183 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13184 @endif ppl-bootstrap
13186 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
13187 maybe-configure-stageprofile-ppl:
13188 @if ppl-bootstrap
13189 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
13190 configure-stageprofile-ppl:
13191 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13193 @r=`${PWD_COMMAND}`; export r; \
13194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13195 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13196 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13197 $(HOST_EXPORTS) \
13198 $(POSTSTAGE1_HOST_EXPORTS) \
13199 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13200 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13201 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13202 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
13203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13204 cd $(HOST_SUBDIR)/ppl || exit 1; \
13205 case $(srcdir) in \
13206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13207 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13209 esac; \
13210 srcdiroption="--srcdir=$${topdir}/ppl"; \
13211 libsrcdir="$$s/ppl"; \
13212 $(SHELL) $${libsrcdir}/configure \
13213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13214 --target=${target_alias} $${srcdiroption} \
13215 --with-build-libsubdir=$(HOST_SUBDIR) \
13216 $(STAGEprofile_CONFIGURE_FLAGS) \
13217 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13218 @endif ppl-bootstrap
13220 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
13221 maybe-configure-stagefeedback-ppl:
13222 @if ppl-bootstrap
13223 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
13224 configure-stagefeedback-ppl:
13225 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
13227 @r=`${PWD_COMMAND}`; export r; \
13228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13229 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13230 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
13231 $(HOST_EXPORTS) \
13232 $(POSTSTAGE1_HOST_EXPORTS) \
13233 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13234 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13235 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13236 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
13237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
13238 cd $(HOST_SUBDIR)/ppl || exit 1; \
13239 case $(srcdir) in \
13240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13241 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
13242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13243 esac; \
13244 srcdiroption="--srcdir=$${topdir}/ppl"; \
13245 libsrcdir="$$s/ppl"; \
13246 $(SHELL) $${libsrcdir}/configure \
13247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13248 --target=${target_alias} $${srcdiroption} \
13249 --with-build-libsubdir=$(HOST_SUBDIR) \
13250 $(STAGEfeedback_CONFIGURE_FLAGS) \
13251 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
13252 @endif ppl-bootstrap
13258 .PHONY: all-ppl maybe-all-ppl
13259 maybe-all-ppl:
13260 @if gcc-bootstrap
13261 all-ppl: stage_current
13262 @endif gcc-bootstrap
13263 @if ppl
13264 TARGET-ppl=all
13265 maybe-all-ppl: all-ppl
13266 all-ppl: configure-ppl
13267 @r=`${PWD_COMMAND}`; export r; \
13268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13269 $(HOST_EXPORTS) \
13270 (cd $(HOST_SUBDIR)/ppl && \
13271 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13272 $(TARGET-ppl))
13273 @endif ppl
13277 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
13278 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
13279 maybe-all-stage1-ppl:
13280 maybe-clean-stage1-ppl:
13281 @if ppl-bootstrap
13282 maybe-all-stage1-ppl: all-stage1-ppl
13283 all-stage1: all-stage1-ppl
13284 TARGET-stage1-ppl = $(TARGET-ppl)
13285 all-stage1-ppl: configure-stage1-ppl
13286 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13287 @r=`${PWD_COMMAND}`; export r; \
13288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13289 TFLAGS="$(STAGE1_TFLAGS)"; \
13290 $(HOST_EXPORTS) \
13291 cd $(HOST_SUBDIR)/ppl && \
13292 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13293 CFLAGS="$(STAGE1_CFLAGS)" \
13294 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13295 LIBCFLAGS="$(LIBCFLAGS)" \
13296 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13297 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13298 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13299 $(EXTRA_HOST_FLAGS) \
13300 TFLAGS="$(STAGE1_TFLAGS)" \
13301 $(TARGET-stage1-ppl)
13303 maybe-clean-stage1-ppl: clean-stage1-ppl
13304 clean-stage1: clean-stage1-ppl
13305 clean-stage1-ppl:
13306 @if [ $(current_stage) = stage1 ]; then \
13307 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13308 else \
13309 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
13310 $(MAKE) stage1-start; \
13311 fi; \
13312 cd $(HOST_SUBDIR)/ppl && \
13313 $(MAKE) $(EXTRA_HOST_FLAGS) \
13314 clean
13315 @endif ppl-bootstrap
13318 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
13319 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
13320 maybe-all-stage2-ppl:
13321 maybe-clean-stage2-ppl:
13322 @if ppl-bootstrap
13323 maybe-all-stage2-ppl: all-stage2-ppl
13324 all-stage2: all-stage2-ppl
13325 TARGET-stage2-ppl = $(TARGET-ppl)
13326 all-stage2-ppl: configure-stage2-ppl
13327 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13328 @r=`${PWD_COMMAND}`; export r; \
13329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13330 TFLAGS="$(STAGE2_TFLAGS)"; \
13331 $(HOST_EXPORTS) \
13332 $(POSTSTAGE1_HOST_EXPORTS) \
13333 cd $(HOST_SUBDIR)/ppl && \
13334 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13335 CFLAGS="$(STAGE2_CFLAGS)" \
13336 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13337 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13338 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13339 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13340 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13341 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13342 TFLAGS="$(STAGE2_TFLAGS)" \
13343 $(TARGET-stage2-ppl)
13345 maybe-clean-stage2-ppl: clean-stage2-ppl
13346 clean-stage2: clean-stage2-ppl
13347 clean-stage2-ppl:
13348 @if [ $(current_stage) = stage2 ]; then \
13349 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13350 else \
13351 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
13352 $(MAKE) stage2-start; \
13353 fi; \
13354 cd $(HOST_SUBDIR)/ppl && \
13355 $(MAKE) $(EXTRA_HOST_FLAGS) \
13356 $(POSTSTAGE1_FLAGS_TO_PASS) \
13357 clean
13358 @endif ppl-bootstrap
13361 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
13362 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
13363 maybe-all-stage3-ppl:
13364 maybe-clean-stage3-ppl:
13365 @if ppl-bootstrap
13366 maybe-all-stage3-ppl: all-stage3-ppl
13367 all-stage3: all-stage3-ppl
13368 TARGET-stage3-ppl = $(TARGET-ppl)
13369 all-stage3-ppl: configure-stage3-ppl
13370 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13371 @r=`${PWD_COMMAND}`; export r; \
13372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13373 TFLAGS="$(STAGE3_TFLAGS)"; \
13374 $(HOST_EXPORTS) \
13375 $(POSTSTAGE1_HOST_EXPORTS) \
13376 cd $(HOST_SUBDIR)/ppl && \
13377 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13378 CFLAGS="$(STAGE3_CFLAGS)" \
13379 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13380 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13381 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13382 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13383 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13384 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13385 TFLAGS="$(STAGE3_TFLAGS)" \
13386 $(TARGET-stage3-ppl)
13388 maybe-clean-stage3-ppl: clean-stage3-ppl
13389 clean-stage3: clean-stage3-ppl
13390 clean-stage3-ppl:
13391 @if [ $(current_stage) = stage3 ]; then \
13392 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13393 else \
13394 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
13395 $(MAKE) stage3-start; \
13396 fi; \
13397 cd $(HOST_SUBDIR)/ppl && \
13398 $(MAKE) $(EXTRA_HOST_FLAGS) \
13399 $(POSTSTAGE1_FLAGS_TO_PASS) \
13400 clean
13401 @endif ppl-bootstrap
13404 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
13405 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
13406 maybe-all-stage4-ppl:
13407 maybe-clean-stage4-ppl:
13408 @if ppl-bootstrap
13409 maybe-all-stage4-ppl: all-stage4-ppl
13410 all-stage4: all-stage4-ppl
13411 TARGET-stage4-ppl = $(TARGET-ppl)
13412 all-stage4-ppl: configure-stage4-ppl
13413 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13414 @r=`${PWD_COMMAND}`; export r; \
13415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13416 TFLAGS="$(STAGE4_TFLAGS)"; \
13417 $(HOST_EXPORTS) \
13418 $(POSTSTAGE1_HOST_EXPORTS) \
13419 cd $(HOST_SUBDIR)/ppl && \
13420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13421 CFLAGS="$(STAGE4_CFLAGS)" \
13422 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13423 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13427 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13428 TFLAGS="$(STAGE4_TFLAGS)" \
13429 $(TARGET-stage4-ppl)
13431 maybe-clean-stage4-ppl: clean-stage4-ppl
13432 clean-stage4: clean-stage4-ppl
13433 clean-stage4-ppl:
13434 @if [ $(current_stage) = stage4 ]; then \
13435 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13436 else \
13437 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
13438 $(MAKE) stage4-start; \
13439 fi; \
13440 cd $(HOST_SUBDIR)/ppl && \
13441 $(MAKE) $(EXTRA_HOST_FLAGS) \
13442 $(POSTSTAGE1_FLAGS_TO_PASS) \
13443 clean
13444 @endif ppl-bootstrap
13447 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
13448 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
13449 maybe-all-stageprofile-ppl:
13450 maybe-clean-stageprofile-ppl:
13451 @if ppl-bootstrap
13452 maybe-all-stageprofile-ppl: all-stageprofile-ppl
13453 all-stageprofile: all-stageprofile-ppl
13454 TARGET-stageprofile-ppl = $(TARGET-ppl)
13455 all-stageprofile-ppl: configure-stageprofile-ppl
13456 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13457 @r=`${PWD_COMMAND}`; export r; \
13458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13459 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13460 $(HOST_EXPORTS) \
13461 $(POSTSTAGE1_HOST_EXPORTS) \
13462 cd $(HOST_SUBDIR)/ppl && \
13463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13464 CFLAGS="$(STAGEprofile_CFLAGS)" \
13465 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13466 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13470 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13471 TFLAGS="$(STAGEprofile_TFLAGS)" \
13472 $(TARGET-stageprofile-ppl)
13474 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
13475 clean-stageprofile: clean-stageprofile-ppl
13476 clean-stageprofile-ppl:
13477 @if [ $(current_stage) = stageprofile ]; then \
13478 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13479 else \
13480 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
13481 $(MAKE) stageprofile-start; \
13482 fi; \
13483 cd $(HOST_SUBDIR)/ppl && \
13484 $(MAKE) $(EXTRA_HOST_FLAGS) \
13485 $(POSTSTAGE1_FLAGS_TO_PASS) \
13486 clean
13487 @endif ppl-bootstrap
13490 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
13491 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
13492 maybe-all-stagefeedback-ppl:
13493 maybe-clean-stagefeedback-ppl:
13494 @if ppl-bootstrap
13495 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
13496 all-stagefeedback: all-stagefeedback-ppl
13497 TARGET-stagefeedback-ppl = $(TARGET-ppl)
13498 all-stagefeedback-ppl: configure-stagefeedback-ppl
13499 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13500 @r=`${PWD_COMMAND}`; export r; \
13501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13502 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13503 $(HOST_EXPORTS) \
13504 $(POSTSTAGE1_HOST_EXPORTS) \
13505 cd $(HOST_SUBDIR)/ppl && \
13506 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13507 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13508 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13509 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13510 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13511 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13512 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13513 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13514 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13515 $(TARGET-stagefeedback-ppl)
13517 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
13518 clean-stagefeedback: clean-stagefeedback-ppl
13519 clean-stagefeedback-ppl:
13520 @if [ $(current_stage) = stagefeedback ]; then \
13521 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
13522 else \
13523 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
13524 $(MAKE) stagefeedback-start; \
13525 fi; \
13526 cd $(HOST_SUBDIR)/ppl && \
13527 $(MAKE) $(EXTRA_HOST_FLAGS) \
13528 $(POSTSTAGE1_FLAGS_TO_PASS) \
13529 clean
13530 @endif ppl-bootstrap
13536 .PHONY: check-ppl maybe-check-ppl
13537 maybe-check-ppl:
13538 @if ppl
13539 maybe-check-ppl: check-ppl
13541 check-ppl:
13542 @: $(MAKE); $(unstage)
13543 @r=`${PWD_COMMAND}`; export r; \
13544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13545 $(HOST_EXPORTS) \
13546 (cd $(HOST_SUBDIR)/ppl && \
13547 $(MAKE) $(FLAGS_TO_PASS) check)
13549 @endif ppl
13551 .PHONY: install-ppl maybe-install-ppl
13552 maybe-install-ppl:
13553 @if ppl
13554 maybe-install-ppl: install-ppl
13556 install-ppl:
13558 @endif ppl
13560 .PHONY: install-strip-ppl maybe-install-strip-ppl
13561 maybe-install-strip-ppl:
13562 @if ppl
13563 maybe-install-strip-ppl: install-strip-ppl
13565 install-strip-ppl:
13567 @endif ppl
13569 # Other targets (info, dvi, pdf, etc.)
13571 .PHONY: maybe-info-ppl info-ppl
13572 maybe-info-ppl:
13573 @if ppl
13574 maybe-info-ppl: info-ppl
13576 info-ppl: \
13577 configure-ppl
13578 @[ -f ./ppl/Makefile ] || exit 0; \
13579 r=`${PWD_COMMAND}`; export r; \
13580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13581 $(HOST_EXPORTS) \
13582 for flag in $(EXTRA_HOST_FLAGS) ; do \
13583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13584 done; \
13585 echo "Doing info in ppl" ; \
13586 (cd $(HOST_SUBDIR)/ppl && \
13587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13589 "RANLIB=$${RANLIB}" \
13590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13591 info) \
13592 || exit 1
13594 @endif ppl
13596 .PHONY: maybe-dvi-ppl dvi-ppl
13597 maybe-dvi-ppl:
13598 @if ppl
13599 maybe-dvi-ppl: dvi-ppl
13601 dvi-ppl: \
13602 configure-ppl
13603 @[ -f ./ppl/Makefile ] || exit 0; \
13604 r=`${PWD_COMMAND}`; export r; \
13605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13606 $(HOST_EXPORTS) \
13607 for flag in $(EXTRA_HOST_FLAGS) ; do \
13608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13609 done; \
13610 echo "Doing dvi in ppl" ; \
13611 (cd $(HOST_SUBDIR)/ppl && \
13612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13614 "RANLIB=$${RANLIB}" \
13615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13616 dvi) \
13617 || exit 1
13619 @endif ppl
13621 .PHONY: maybe-pdf-ppl pdf-ppl
13622 maybe-pdf-ppl:
13623 @if ppl
13624 maybe-pdf-ppl: pdf-ppl
13626 pdf-ppl: \
13627 configure-ppl
13628 @[ -f ./ppl/Makefile ] || exit 0; \
13629 r=`${PWD_COMMAND}`; export r; \
13630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 $(HOST_EXPORTS) \
13632 for flag in $(EXTRA_HOST_FLAGS) ; do \
13633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13634 done; \
13635 echo "Doing pdf in ppl" ; \
13636 (cd $(HOST_SUBDIR)/ppl && \
13637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13639 "RANLIB=$${RANLIB}" \
13640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13641 pdf) \
13642 || exit 1
13644 @endif ppl
13646 .PHONY: maybe-html-ppl html-ppl
13647 maybe-html-ppl:
13648 @if ppl
13649 maybe-html-ppl: html-ppl
13651 html-ppl: \
13652 configure-ppl
13653 @[ -f ./ppl/Makefile ] || exit 0; \
13654 r=`${PWD_COMMAND}`; export r; \
13655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13656 $(HOST_EXPORTS) \
13657 for flag in $(EXTRA_HOST_FLAGS) ; do \
13658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659 done; \
13660 echo "Doing html in ppl" ; \
13661 (cd $(HOST_SUBDIR)/ppl && \
13662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13664 "RANLIB=$${RANLIB}" \
13665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13666 html) \
13667 || exit 1
13669 @endif ppl
13671 .PHONY: maybe-TAGS-ppl TAGS-ppl
13672 maybe-TAGS-ppl:
13673 @if ppl
13674 maybe-TAGS-ppl: TAGS-ppl
13676 TAGS-ppl: \
13677 configure-ppl
13678 @[ -f ./ppl/Makefile ] || exit 0; \
13679 r=`${PWD_COMMAND}`; export r; \
13680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681 $(HOST_EXPORTS) \
13682 for flag in $(EXTRA_HOST_FLAGS) ; do \
13683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13684 done; \
13685 echo "Doing TAGS in ppl" ; \
13686 (cd $(HOST_SUBDIR)/ppl && \
13687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13689 "RANLIB=$${RANLIB}" \
13690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13691 TAGS) \
13692 || exit 1
13694 @endif ppl
13696 .PHONY: maybe-install-info-ppl install-info-ppl
13697 maybe-install-info-ppl:
13698 @if ppl
13699 maybe-install-info-ppl: install-info-ppl
13701 install-info-ppl: \
13702 configure-ppl \
13703 info-ppl
13704 @[ -f ./ppl/Makefile ] || exit 0; \
13705 r=`${PWD_COMMAND}`; export r; \
13706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13707 $(HOST_EXPORTS) \
13708 for flag in $(EXTRA_HOST_FLAGS) ; do \
13709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13710 done; \
13711 echo "Doing install-info in ppl" ; \
13712 (cd $(HOST_SUBDIR)/ppl && \
13713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13715 "RANLIB=$${RANLIB}" \
13716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13717 install-info) \
13718 || exit 1
13720 @endif ppl
13722 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
13723 maybe-install-pdf-ppl:
13724 @if ppl
13725 maybe-install-pdf-ppl: install-pdf-ppl
13727 install-pdf-ppl: \
13728 configure-ppl \
13729 pdf-ppl
13730 @[ -f ./ppl/Makefile ] || exit 0; \
13731 r=`${PWD_COMMAND}`; export r; \
13732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13733 $(HOST_EXPORTS) \
13734 for flag in $(EXTRA_HOST_FLAGS) ; do \
13735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13736 done; \
13737 echo "Doing install-pdf in ppl" ; \
13738 (cd $(HOST_SUBDIR)/ppl && \
13739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13741 "RANLIB=$${RANLIB}" \
13742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13743 install-pdf) \
13744 || exit 1
13746 @endif ppl
13748 .PHONY: maybe-install-html-ppl install-html-ppl
13749 maybe-install-html-ppl:
13750 @if ppl
13751 maybe-install-html-ppl: install-html-ppl
13753 install-html-ppl: \
13754 configure-ppl \
13755 html-ppl
13756 @[ -f ./ppl/Makefile ] || exit 0; \
13757 r=`${PWD_COMMAND}`; export r; \
13758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13759 $(HOST_EXPORTS) \
13760 for flag in $(EXTRA_HOST_FLAGS) ; do \
13761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13762 done; \
13763 echo "Doing install-html in ppl" ; \
13764 (cd $(HOST_SUBDIR)/ppl && \
13765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13767 "RANLIB=$${RANLIB}" \
13768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13769 install-html) \
13770 || exit 1
13772 @endif ppl
13774 .PHONY: maybe-installcheck-ppl installcheck-ppl
13775 maybe-installcheck-ppl:
13776 @if ppl
13777 maybe-installcheck-ppl: installcheck-ppl
13779 installcheck-ppl: \
13780 configure-ppl
13781 @[ -f ./ppl/Makefile ] || exit 0; \
13782 r=`${PWD_COMMAND}`; export r; \
13783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13784 $(HOST_EXPORTS) \
13785 for flag in $(EXTRA_HOST_FLAGS) ; do \
13786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13787 done; \
13788 echo "Doing installcheck in ppl" ; \
13789 (cd $(HOST_SUBDIR)/ppl && \
13790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13792 "RANLIB=$${RANLIB}" \
13793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13794 installcheck) \
13795 || exit 1
13797 @endif ppl
13799 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
13800 maybe-mostlyclean-ppl:
13801 @if ppl
13802 maybe-mostlyclean-ppl: mostlyclean-ppl
13804 mostlyclean-ppl:
13805 @[ -f ./ppl/Makefile ] || exit 0; \
13806 r=`${PWD_COMMAND}`; export r; \
13807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13808 $(HOST_EXPORTS) \
13809 for flag in $(EXTRA_HOST_FLAGS) ; do \
13810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13811 done; \
13812 echo "Doing mostlyclean in ppl" ; \
13813 (cd $(HOST_SUBDIR)/ppl && \
13814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13816 "RANLIB=$${RANLIB}" \
13817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13818 mostlyclean) \
13819 || exit 1
13821 @endif ppl
13823 .PHONY: maybe-clean-ppl clean-ppl
13824 maybe-clean-ppl:
13825 @if ppl
13826 maybe-clean-ppl: clean-ppl
13828 clean-ppl:
13829 @[ -f ./ppl/Makefile ] || exit 0; \
13830 r=`${PWD_COMMAND}`; export r; \
13831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 $(HOST_EXPORTS) \
13833 for flag in $(EXTRA_HOST_FLAGS) ; do \
13834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13835 done; \
13836 echo "Doing clean in ppl" ; \
13837 (cd $(HOST_SUBDIR)/ppl && \
13838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13840 "RANLIB=$${RANLIB}" \
13841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13842 clean) \
13843 || exit 1
13845 @endif ppl
13847 .PHONY: maybe-distclean-ppl distclean-ppl
13848 maybe-distclean-ppl:
13849 @if ppl
13850 maybe-distclean-ppl: distclean-ppl
13852 distclean-ppl:
13853 @[ -f ./ppl/Makefile ] || exit 0; \
13854 r=`${PWD_COMMAND}`; export r; \
13855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13856 $(HOST_EXPORTS) \
13857 for flag in $(EXTRA_HOST_FLAGS) ; do \
13858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13859 done; \
13860 echo "Doing distclean in ppl" ; \
13861 (cd $(HOST_SUBDIR)/ppl && \
13862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13864 "RANLIB=$${RANLIB}" \
13865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13866 distclean) \
13867 || exit 1
13869 @endif ppl
13871 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
13872 maybe-maintainer-clean-ppl:
13873 @if ppl
13874 maybe-maintainer-clean-ppl: maintainer-clean-ppl
13876 maintainer-clean-ppl:
13877 @[ -f ./ppl/Makefile ] || exit 0; \
13878 r=`${PWD_COMMAND}`; export r; \
13879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13880 $(HOST_EXPORTS) \
13881 for flag in $(EXTRA_HOST_FLAGS) ; do \
13882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13883 done; \
13884 echo "Doing maintainer-clean in ppl" ; \
13885 (cd $(HOST_SUBDIR)/ppl && \
13886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13888 "RANLIB=$${RANLIB}" \
13889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13890 maintainer-clean) \
13891 || exit 1
13893 @endif ppl
13897 .PHONY: configure-cloog maybe-configure-cloog
13898 maybe-configure-cloog:
13899 @if gcc-bootstrap
13900 configure-cloog: stage_current
13901 @endif gcc-bootstrap
13902 @if cloog
13903 maybe-configure-cloog: configure-cloog
13904 configure-cloog:
13905 @r=`${PWD_COMMAND}`; export r; \
13906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13907 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13909 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13910 echo Configuring in $(HOST_SUBDIR)/cloog; \
13911 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13912 case $(srcdir) in \
13913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13914 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13916 esac; \
13917 srcdiroption="--srcdir=$${topdir}/cloog"; \
13918 libsrcdir="$$s/cloog"; \
13919 $(SHELL) $${libsrcdir}/configure \
13920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13921 --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 \
13922 || exit 1
13923 @endif cloog
13927 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13928 maybe-configure-stage1-cloog:
13929 @if cloog-bootstrap
13930 maybe-configure-stage1-cloog: configure-stage1-cloog
13931 configure-stage1-cloog:
13932 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13934 @r=`${PWD_COMMAND}`; export r; \
13935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13936 TFLAGS="$(STAGE1_TFLAGS)"; \
13937 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13938 $(HOST_EXPORTS) \
13939 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13940 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13941 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13942 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13944 cd $(HOST_SUBDIR)/cloog || exit 1; \
13945 case $(srcdir) in \
13946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13947 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13949 esac; \
13950 srcdiroption="--srcdir=$${topdir}/cloog"; \
13951 libsrcdir="$$s/cloog"; \
13952 $(SHELL) $${libsrcdir}/configure \
13953 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13954 --target=${target_alias} $${srcdiroption} \
13955 $(STAGE1_CONFIGURE_FLAGS) \
13956 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13957 @endif cloog-bootstrap
13959 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13960 maybe-configure-stage2-cloog:
13961 @if cloog-bootstrap
13962 maybe-configure-stage2-cloog: configure-stage2-cloog
13963 configure-stage2-cloog:
13964 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13966 @r=`${PWD_COMMAND}`; export r; \
13967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13968 TFLAGS="$(STAGE2_TFLAGS)"; \
13969 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13970 $(HOST_EXPORTS) \
13971 $(POSTSTAGE1_HOST_EXPORTS) \
13972 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13973 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13974 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
13975 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13977 cd $(HOST_SUBDIR)/cloog || exit 1; \
13978 case $(srcdir) in \
13979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13980 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13982 esac; \
13983 srcdiroption="--srcdir=$${topdir}/cloog"; \
13984 libsrcdir="$$s/cloog"; \
13985 $(SHELL) $${libsrcdir}/configure \
13986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13987 --target=${target_alias} $${srcdiroption} \
13988 --with-build-libsubdir=$(HOST_SUBDIR) \
13989 $(STAGE2_CONFIGURE_FLAGS) \
13990 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
13991 @endif cloog-bootstrap
13993 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13994 maybe-configure-stage3-cloog:
13995 @if cloog-bootstrap
13996 maybe-configure-stage3-cloog: configure-stage3-cloog
13997 configure-stage3-cloog:
13998 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14000 @r=`${PWD_COMMAND}`; export r; \
14001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14002 TFLAGS="$(STAGE3_TFLAGS)"; \
14003 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14004 $(HOST_EXPORTS) \
14005 $(POSTSTAGE1_HOST_EXPORTS) \
14006 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14007 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14008 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14009 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
14010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14011 cd $(HOST_SUBDIR)/cloog || exit 1; \
14012 case $(srcdir) in \
14013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14014 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14016 esac; \
14017 srcdiroption="--srcdir=$${topdir}/cloog"; \
14018 libsrcdir="$$s/cloog"; \
14019 $(SHELL) $${libsrcdir}/configure \
14020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14021 --target=${target_alias} $${srcdiroption} \
14022 --with-build-libsubdir=$(HOST_SUBDIR) \
14023 $(STAGE3_CONFIGURE_FLAGS) \
14024 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14025 @endif cloog-bootstrap
14027 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14028 maybe-configure-stage4-cloog:
14029 @if cloog-bootstrap
14030 maybe-configure-stage4-cloog: configure-stage4-cloog
14031 configure-stage4-cloog:
14032 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14034 @r=`${PWD_COMMAND}`; export r; \
14035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14036 TFLAGS="$(STAGE4_TFLAGS)"; \
14037 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14038 $(HOST_EXPORTS) \
14039 $(POSTSTAGE1_HOST_EXPORTS) \
14040 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14041 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14042 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14043 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14045 cd $(HOST_SUBDIR)/cloog || exit 1; \
14046 case $(srcdir) in \
14047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14048 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14050 esac; \
14051 srcdiroption="--srcdir=$${topdir}/cloog"; \
14052 libsrcdir="$$s/cloog"; \
14053 $(SHELL) $${libsrcdir}/configure \
14054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14055 --target=${target_alias} $${srcdiroption} \
14056 --with-build-libsubdir=$(HOST_SUBDIR) \
14057 $(STAGE4_CONFIGURE_FLAGS) \
14058 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14059 @endif cloog-bootstrap
14061 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14062 maybe-configure-stageprofile-cloog:
14063 @if cloog-bootstrap
14064 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14065 configure-stageprofile-cloog:
14066 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14068 @r=`${PWD_COMMAND}`; export r; \
14069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14070 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14071 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14072 $(HOST_EXPORTS) \
14073 $(POSTSTAGE1_HOST_EXPORTS) \
14074 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14075 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14076 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14077 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14079 cd $(HOST_SUBDIR)/cloog || exit 1; \
14080 case $(srcdir) in \
14081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14082 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14084 esac; \
14085 srcdiroption="--srcdir=$${topdir}/cloog"; \
14086 libsrcdir="$$s/cloog"; \
14087 $(SHELL) $${libsrcdir}/configure \
14088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14089 --target=${target_alias} $${srcdiroption} \
14090 --with-build-libsubdir=$(HOST_SUBDIR) \
14091 $(STAGEprofile_CONFIGURE_FLAGS) \
14092 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14093 @endif cloog-bootstrap
14095 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14096 maybe-configure-stagefeedback-cloog:
14097 @if cloog-bootstrap
14098 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14099 configure-stagefeedback-cloog:
14100 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14102 @r=`${PWD_COMMAND}`; export r; \
14103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14104 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14105 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14106 $(HOST_EXPORTS) \
14107 $(POSTSTAGE1_HOST_EXPORTS) \
14108 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14109 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14110 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14111 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14113 cd $(HOST_SUBDIR)/cloog || exit 1; \
14114 case $(srcdir) in \
14115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14116 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14118 esac; \
14119 srcdiroption="--srcdir=$${topdir}/cloog"; \
14120 libsrcdir="$$s/cloog"; \
14121 $(SHELL) $${libsrcdir}/configure \
14122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14123 --target=${target_alias} $${srcdiroption} \
14124 --with-build-libsubdir=$(HOST_SUBDIR) \
14125 $(STAGEfeedback_CONFIGURE_FLAGS) \
14126 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
14127 @endif cloog-bootstrap
14133 .PHONY: all-cloog maybe-all-cloog
14134 maybe-all-cloog:
14135 @if gcc-bootstrap
14136 all-cloog: stage_current
14137 @endif gcc-bootstrap
14138 @if cloog
14139 TARGET-cloog=all
14140 maybe-all-cloog: all-cloog
14141 all-cloog: configure-cloog
14142 @r=`${PWD_COMMAND}`; export r; \
14143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14144 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14145 (cd $(HOST_SUBDIR)/cloog && \
14146 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14147 $(TARGET-cloog))
14148 @endif cloog
14152 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14153 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14154 maybe-all-stage1-cloog:
14155 maybe-clean-stage1-cloog:
14156 @if cloog-bootstrap
14157 maybe-all-stage1-cloog: all-stage1-cloog
14158 all-stage1: all-stage1-cloog
14159 TARGET-stage1-cloog = $(TARGET-cloog)
14160 all-stage1-cloog: configure-stage1-cloog
14161 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14162 @r=`${PWD_COMMAND}`; export r; \
14163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14164 TFLAGS="$(STAGE1_TFLAGS)"; \
14165 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14166 cd $(HOST_SUBDIR)/cloog && \
14167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14168 CFLAGS="$(STAGE1_CFLAGS)" \
14169 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14170 LIBCFLAGS="$(LIBCFLAGS)" \
14171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14174 $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14175 TFLAGS="$(STAGE1_TFLAGS)" \
14176 $(TARGET-stage1-cloog)
14178 maybe-clean-stage1-cloog: clean-stage1-cloog
14179 clean-stage1: clean-stage1-cloog
14180 clean-stage1-cloog:
14181 @if [ $(current_stage) = stage1 ]; then \
14182 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14183 else \
14184 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14185 $(MAKE) stage1-start; \
14186 fi; \
14187 cd $(HOST_SUBDIR)/cloog && \
14188 $(MAKE) $(EXTRA_HOST_FLAGS) \
14189 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14190 @endif cloog-bootstrap
14193 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14194 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14195 maybe-all-stage2-cloog:
14196 maybe-clean-stage2-cloog:
14197 @if cloog-bootstrap
14198 maybe-all-stage2-cloog: all-stage2-cloog
14199 all-stage2: all-stage2-cloog
14200 TARGET-stage2-cloog = $(TARGET-cloog)
14201 all-stage2-cloog: configure-stage2-cloog
14202 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14203 @r=`${PWD_COMMAND}`; export r; \
14204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14205 TFLAGS="$(STAGE2_TFLAGS)"; \
14206 $(HOST_EXPORTS) \
14207 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14208 cd $(HOST_SUBDIR)/cloog && \
14209 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14210 CFLAGS="$(STAGE2_CFLAGS)" \
14211 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14212 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14216 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14217 TFLAGS="$(STAGE2_TFLAGS)" \
14218 $(TARGET-stage2-cloog)
14220 maybe-clean-stage2-cloog: clean-stage2-cloog
14221 clean-stage2: clean-stage2-cloog
14222 clean-stage2-cloog:
14223 @if [ $(current_stage) = stage2 ]; then \
14224 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14225 else \
14226 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14227 $(MAKE) stage2-start; \
14228 fi; \
14229 cd $(HOST_SUBDIR)/cloog && \
14230 $(MAKE) $(EXTRA_HOST_FLAGS) \
14231 $(POSTSTAGE1_FLAGS_TO_PASS) \
14232 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14233 @endif cloog-bootstrap
14236 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14237 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14238 maybe-all-stage3-cloog:
14239 maybe-clean-stage3-cloog:
14240 @if cloog-bootstrap
14241 maybe-all-stage3-cloog: all-stage3-cloog
14242 all-stage3: all-stage3-cloog
14243 TARGET-stage3-cloog = $(TARGET-cloog)
14244 all-stage3-cloog: configure-stage3-cloog
14245 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14246 @r=`${PWD_COMMAND}`; export r; \
14247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14248 TFLAGS="$(STAGE3_TFLAGS)"; \
14249 $(HOST_EXPORTS) \
14250 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14251 cd $(HOST_SUBDIR)/cloog && \
14252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14253 CFLAGS="$(STAGE3_CFLAGS)" \
14254 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14255 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14259 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14260 TFLAGS="$(STAGE3_TFLAGS)" \
14261 $(TARGET-stage3-cloog)
14263 maybe-clean-stage3-cloog: clean-stage3-cloog
14264 clean-stage3: clean-stage3-cloog
14265 clean-stage3-cloog:
14266 @if [ $(current_stage) = stage3 ]; then \
14267 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14268 else \
14269 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14270 $(MAKE) stage3-start; \
14271 fi; \
14272 cd $(HOST_SUBDIR)/cloog && \
14273 $(MAKE) $(EXTRA_HOST_FLAGS) \
14274 $(POSTSTAGE1_FLAGS_TO_PASS) \
14275 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14276 @endif cloog-bootstrap
14279 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14280 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14281 maybe-all-stage4-cloog:
14282 maybe-clean-stage4-cloog:
14283 @if cloog-bootstrap
14284 maybe-all-stage4-cloog: all-stage4-cloog
14285 all-stage4: all-stage4-cloog
14286 TARGET-stage4-cloog = $(TARGET-cloog)
14287 all-stage4-cloog: configure-stage4-cloog
14288 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14289 @r=`${PWD_COMMAND}`; export r; \
14290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14291 TFLAGS="$(STAGE4_TFLAGS)"; \
14292 $(HOST_EXPORTS) \
14293 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14294 cd $(HOST_SUBDIR)/cloog && \
14295 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14296 CFLAGS="$(STAGE4_CFLAGS)" \
14297 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14298 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14299 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14300 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14301 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14302 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14303 TFLAGS="$(STAGE4_TFLAGS)" \
14304 $(TARGET-stage4-cloog)
14306 maybe-clean-stage4-cloog: clean-stage4-cloog
14307 clean-stage4: clean-stage4-cloog
14308 clean-stage4-cloog:
14309 @if [ $(current_stage) = stage4 ]; then \
14310 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14311 else \
14312 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14313 $(MAKE) stage4-start; \
14314 fi; \
14315 cd $(HOST_SUBDIR)/cloog && \
14316 $(MAKE) $(EXTRA_HOST_FLAGS) \
14317 $(POSTSTAGE1_FLAGS_TO_PASS) \
14318 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14319 @endif cloog-bootstrap
14322 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14323 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14324 maybe-all-stageprofile-cloog:
14325 maybe-clean-stageprofile-cloog:
14326 @if cloog-bootstrap
14327 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14328 all-stageprofile: all-stageprofile-cloog
14329 TARGET-stageprofile-cloog = $(TARGET-cloog)
14330 all-stageprofile-cloog: configure-stageprofile-cloog
14331 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14332 @r=`${PWD_COMMAND}`; export r; \
14333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14335 $(HOST_EXPORTS) \
14336 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14337 cd $(HOST_SUBDIR)/cloog && \
14338 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14339 CFLAGS="$(STAGEprofile_CFLAGS)" \
14340 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14341 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14342 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14343 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14344 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14345 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14346 TFLAGS="$(STAGEprofile_TFLAGS)" \
14347 $(TARGET-stageprofile-cloog)
14349 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14350 clean-stageprofile: clean-stageprofile-cloog
14351 clean-stageprofile-cloog:
14352 @if [ $(current_stage) = stageprofile ]; then \
14353 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14354 else \
14355 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14356 $(MAKE) stageprofile-start; \
14357 fi; \
14358 cd $(HOST_SUBDIR)/cloog && \
14359 $(MAKE) $(EXTRA_HOST_FLAGS) \
14360 $(POSTSTAGE1_FLAGS_TO_PASS) \
14361 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14362 @endif cloog-bootstrap
14365 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14366 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14367 maybe-all-stagefeedback-cloog:
14368 maybe-clean-stagefeedback-cloog:
14369 @if cloog-bootstrap
14370 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14371 all-stagefeedback: all-stagefeedback-cloog
14372 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14373 all-stagefeedback-cloog: configure-stagefeedback-cloog
14374 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14375 @r=`${PWD_COMMAND}`; export r; \
14376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14377 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14378 $(HOST_EXPORTS) \
14379 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
14380 cd $(HOST_SUBDIR)/cloog && \
14381 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14382 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14383 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14384 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14385 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14386 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14387 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14388 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
14389 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14390 $(TARGET-stagefeedback-cloog)
14392 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14393 clean-stagefeedback: clean-stagefeedback-cloog
14394 clean-stagefeedback-cloog:
14395 @if [ $(current_stage) = stagefeedback ]; then \
14396 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14397 else \
14398 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14399 $(MAKE) stagefeedback-start; \
14400 fi; \
14401 cd $(HOST_SUBDIR)/cloog && \
14402 $(MAKE) $(EXTRA_HOST_FLAGS) \
14403 $(POSTSTAGE1_FLAGS_TO_PASS) \
14404 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
14405 @endif cloog-bootstrap
14411 .PHONY: check-cloog maybe-check-cloog
14412 maybe-check-cloog:
14413 @if cloog
14414 maybe-check-cloog: check-cloog
14416 check-cloog:
14417 @: $(MAKE); $(unstage)
14418 @r=`${PWD_COMMAND}`; export r; \
14419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14420 $(HOST_EXPORTS) \
14421 (cd $(HOST_SUBDIR)/cloog && \
14422 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
14424 @endif cloog
14426 .PHONY: install-cloog maybe-install-cloog
14427 maybe-install-cloog:
14428 @if cloog
14429 maybe-install-cloog: install-cloog
14431 install-cloog:
14433 @endif cloog
14435 .PHONY: install-strip-cloog maybe-install-strip-cloog
14436 maybe-install-strip-cloog:
14437 @if cloog
14438 maybe-install-strip-cloog: install-strip-cloog
14440 install-strip-cloog:
14442 @endif cloog
14444 # Other targets (info, dvi, pdf, etc.)
14446 .PHONY: maybe-info-cloog info-cloog
14447 maybe-info-cloog:
14448 @if cloog
14449 maybe-info-cloog: info-cloog
14451 info-cloog: \
14452 configure-cloog
14453 @[ -f ./cloog/Makefile ] || exit 0; \
14454 r=`${PWD_COMMAND}`; export r; \
14455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14456 $(HOST_EXPORTS) \
14457 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14459 done; \
14460 echo "Doing info in cloog" ; \
14461 (cd $(HOST_SUBDIR)/cloog && \
14462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14464 "RANLIB=$${RANLIB}" \
14465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14466 info) \
14467 || exit 1
14469 @endif cloog
14471 .PHONY: maybe-dvi-cloog dvi-cloog
14472 maybe-dvi-cloog:
14473 @if cloog
14474 maybe-dvi-cloog: dvi-cloog
14476 dvi-cloog: \
14477 configure-cloog
14478 @[ -f ./cloog/Makefile ] || exit 0; \
14479 r=`${PWD_COMMAND}`; export r; \
14480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14481 $(HOST_EXPORTS) \
14482 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14484 done; \
14485 echo "Doing dvi in cloog" ; \
14486 (cd $(HOST_SUBDIR)/cloog && \
14487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14489 "RANLIB=$${RANLIB}" \
14490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14491 dvi) \
14492 || exit 1
14494 @endif cloog
14496 .PHONY: maybe-pdf-cloog pdf-cloog
14497 maybe-pdf-cloog:
14498 @if cloog
14499 maybe-pdf-cloog: pdf-cloog
14501 pdf-cloog: \
14502 configure-cloog
14503 @[ -f ./cloog/Makefile ] || exit 0; \
14504 r=`${PWD_COMMAND}`; export r; \
14505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14506 $(HOST_EXPORTS) \
14507 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14509 done; \
14510 echo "Doing pdf in cloog" ; \
14511 (cd $(HOST_SUBDIR)/cloog && \
14512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14514 "RANLIB=$${RANLIB}" \
14515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14516 pdf) \
14517 || exit 1
14519 @endif cloog
14521 .PHONY: maybe-html-cloog html-cloog
14522 maybe-html-cloog:
14523 @if cloog
14524 maybe-html-cloog: html-cloog
14526 html-cloog: \
14527 configure-cloog
14528 @[ -f ./cloog/Makefile ] || exit 0; \
14529 r=`${PWD_COMMAND}`; export r; \
14530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14531 $(HOST_EXPORTS) \
14532 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14534 done; \
14535 echo "Doing html in cloog" ; \
14536 (cd $(HOST_SUBDIR)/cloog && \
14537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14539 "RANLIB=$${RANLIB}" \
14540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14541 html) \
14542 || exit 1
14544 @endif cloog
14546 .PHONY: maybe-TAGS-cloog TAGS-cloog
14547 maybe-TAGS-cloog:
14548 @if cloog
14549 maybe-TAGS-cloog: TAGS-cloog
14551 TAGS-cloog: \
14552 configure-cloog
14553 @[ -f ./cloog/Makefile ] || exit 0; \
14554 r=`${PWD_COMMAND}`; export r; \
14555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14556 $(HOST_EXPORTS) \
14557 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14559 done; \
14560 echo "Doing TAGS in cloog" ; \
14561 (cd $(HOST_SUBDIR)/cloog && \
14562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14564 "RANLIB=$${RANLIB}" \
14565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14566 TAGS) \
14567 || exit 1
14569 @endif cloog
14571 .PHONY: maybe-install-info-cloog install-info-cloog
14572 maybe-install-info-cloog:
14573 @if cloog
14574 maybe-install-info-cloog: install-info-cloog
14576 install-info-cloog: \
14577 configure-cloog \
14578 info-cloog
14579 @[ -f ./cloog/Makefile ] || exit 0; \
14580 r=`${PWD_COMMAND}`; export r; \
14581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14582 $(HOST_EXPORTS) \
14583 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14585 done; \
14586 echo "Doing install-info in cloog" ; \
14587 (cd $(HOST_SUBDIR)/cloog && \
14588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14590 "RANLIB=$${RANLIB}" \
14591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14592 install-info) \
14593 || exit 1
14595 @endif cloog
14597 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14598 maybe-install-pdf-cloog:
14599 @if cloog
14600 maybe-install-pdf-cloog: install-pdf-cloog
14602 install-pdf-cloog: \
14603 configure-cloog \
14604 pdf-cloog
14605 @[ -f ./cloog/Makefile ] || exit 0; \
14606 r=`${PWD_COMMAND}`; export r; \
14607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14608 $(HOST_EXPORTS) \
14609 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14611 done; \
14612 echo "Doing install-pdf in cloog" ; \
14613 (cd $(HOST_SUBDIR)/cloog && \
14614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14616 "RANLIB=$${RANLIB}" \
14617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14618 install-pdf) \
14619 || exit 1
14621 @endif cloog
14623 .PHONY: maybe-install-html-cloog install-html-cloog
14624 maybe-install-html-cloog:
14625 @if cloog
14626 maybe-install-html-cloog: install-html-cloog
14628 install-html-cloog: \
14629 configure-cloog \
14630 html-cloog
14631 @[ -f ./cloog/Makefile ] || exit 0; \
14632 r=`${PWD_COMMAND}`; export r; \
14633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14634 $(HOST_EXPORTS) \
14635 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14637 done; \
14638 echo "Doing install-html in cloog" ; \
14639 (cd $(HOST_SUBDIR)/cloog && \
14640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14642 "RANLIB=$${RANLIB}" \
14643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14644 install-html) \
14645 || exit 1
14647 @endif cloog
14649 .PHONY: maybe-installcheck-cloog installcheck-cloog
14650 maybe-installcheck-cloog:
14651 @if cloog
14652 maybe-installcheck-cloog: installcheck-cloog
14654 installcheck-cloog: \
14655 configure-cloog
14656 @[ -f ./cloog/Makefile ] || exit 0; \
14657 r=`${PWD_COMMAND}`; export r; \
14658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14659 $(HOST_EXPORTS) \
14660 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14662 done; \
14663 echo "Doing installcheck in cloog" ; \
14664 (cd $(HOST_SUBDIR)/cloog && \
14665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14667 "RANLIB=$${RANLIB}" \
14668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14669 installcheck) \
14670 || exit 1
14672 @endif cloog
14674 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14675 maybe-mostlyclean-cloog:
14676 @if cloog
14677 maybe-mostlyclean-cloog: mostlyclean-cloog
14679 mostlyclean-cloog:
14680 @[ -f ./cloog/Makefile ] || exit 0; \
14681 r=`${PWD_COMMAND}`; export r; \
14682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14683 $(HOST_EXPORTS) \
14684 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14686 done; \
14687 echo "Doing mostlyclean in cloog" ; \
14688 (cd $(HOST_SUBDIR)/cloog && \
14689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14691 "RANLIB=$${RANLIB}" \
14692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14693 mostlyclean) \
14694 || exit 1
14696 @endif cloog
14698 .PHONY: maybe-clean-cloog clean-cloog
14699 maybe-clean-cloog:
14700 @if cloog
14701 maybe-clean-cloog: clean-cloog
14703 clean-cloog:
14704 @[ -f ./cloog/Makefile ] || exit 0; \
14705 r=`${PWD_COMMAND}`; export r; \
14706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14707 $(HOST_EXPORTS) \
14708 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14710 done; \
14711 echo "Doing clean in cloog" ; \
14712 (cd $(HOST_SUBDIR)/cloog && \
14713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14715 "RANLIB=$${RANLIB}" \
14716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14717 clean) \
14718 || exit 1
14720 @endif cloog
14722 .PHONY: maybe-distclean-cloog distclean-cloog
14723 maybe-distclean-cloog:
14724 @if cloog
14725 maybe-distclean-cloog: distclean-cloog
14727 distclean-cloog:
14728 @[ -f ./cloog/Makefile ] || exit 0; \
14729 r=`${PWD_COMMAND}`; export r; \
14730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14731 $(HOST_EXPORTS) \
14732 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14734 done; \
14735 echo "Doing distclean in cloog" ; \
14736 (cd $(HOST_SUBDIR)/cloog && \
14737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14739 "RANLIB=$${RANLIB}" \
14740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14741 distclean) \
14742 || exit 1
14744 @endif cloog
14746 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14747 maybe-maintainer-clean-cloog:
14748 @if cloog
14749 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14751 maintainer-clean-cloog:
14752 @[ -f ./cloog/Makefile ] || exit 0; \
14753 r=`${PWD_COMMAND}`; export r; \
14754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14755 $(HOST_EXPORTS) \
14756 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
14757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14758 done; \
14759 echo "Doing maintainer-clean in cloog" ; \
14760 (cd $(HOST_SUBDIR)/cloog && \
14761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14763 "RANLIB=$${RANLIB}" \
14764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14765 maintainer-clean) \
14766 || exit 1
14768 @endif cloog
14772 .PHONY: configure-libelf maybe-configure-libelf
14773 maybe-configure-libelf:
14774 @if gcc-bootstrap
14775 configure-libelf: stage_current
14776 @endif gcc-bootstrap
14777 @if libelf
14778 maybe-configure-libelf: configure-libelf
14779 configure-libelf:
14780 @r=`${PWD_COMMAND}`; export r; \
14781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14782 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14784 $(HOST_EXPORTS) \
14785 echo Configuring in $(HOST_SUBDIR)/libelf; \
14786 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14787 case $(srcdir) in \
14788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14789 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14791 esac; \
14792 srcdiroption="--srcdir=$${topdir}/libelf"; \
14793 libsrcdir="$$s/libelf"; \
14794 $(SHELL) $${libsrcdir}/configure \
14795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14796 --target=${target_alias} $${srcdiroption} --disable-shared \
14797 || exit 1
14798 @endif libelf
14802 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14803 maybe-configure-stage1-libelf:
14804 @if libelf-bootstrap
14805 maybe-configure-stage1-libelf: configure-stage1-libelf
14806 configure-stage1-libelf:
14807 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14808 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14809 @r=`${PWD_COMMAND}`; export r; \
14810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14811 TFLAGS="$(STAGE1_TFLAGS)"; \
14812 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14813 $(HOST_EXPORTS) \
14814 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14815 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14816 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14817 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14819 cd $(HOST_SUBDIR)/libelf || exit 1; \
14820 case $(srcdir) in \
14821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14822 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14824 esac; \
14825 srcdiroption="--srcdir=$${topdir}/libelf"; \
14826 libsrcdir="$$s/libelf"; \
14827 $(SHELL) $${libsrcdir}/configure \
14828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14829 --target=${target_alias} $${srcdiroption} \
14830 $(STAGE1_CONFIGURE_FLAGS) \
14831 --disable-shared
14832 @endif libelf-bootstrap
14834 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14835 maybe-configure-stage2-libelf:
14836 @if libelf-bootstrap
14837 maybe-configure-stage2-libelf: configure-stage2-libelf
14838 configure-stage2-libelf:
14839 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14841 @r=`${PWD_COMMAND}`; export r; \
14842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 TFLAGS="$(STAGE2_TFLAGS)"; \
14844 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14845 $(HOST_EXPORTS) \
14846 $(POSTSTAGE1_HOST_EXPORTS) \
14847 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14848 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14849 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14850 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14852 cd $(HOST_SUBDIR)/libelf || exit 1; \
14853 case $(srcdir) in \
14854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14855 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14857 esac; \
14858 srcdiroption="--srcdir=$${topdir}/libelf"; \
14859 libsrcdir="$$s/libelf"; \
14860 $(SHELL) $${libsrcdir}/configure \
14861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14862 --target=${target_alias} $${srcdiroption} \
14863 --with-build-libsubdir=$(HOST_SUBDIR) \
14864 $(STAGE2_CONFIGURE_FLAGS) \
14865 --disable-shared
14866 @endif libelf-bootstrap
14868 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14869 maybe-configure-stage3-libelf:
14870 @if libelf-bootstrap
14871 maybe-configure-stage3-libelf: configure-stage3-libelf
14872 configure-stage3-libelf:
14873 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14875 @r=`${PWD_COMMAND}`; export r; \
14876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14877 TFLAGS="$(STAGE3_TFLAGS)"; \
14878 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14879 $(HOST_EXPORTS) \
14880 $(POSTSTAGE1_HOST_EXPORTS) \
14881 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14882 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14883 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14884 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14886 cd $(HOST_SUBDIR)/libelf || exit 1; \
14887 case $(srcdir) in \
14888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14889 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14891 esac; \
14892 srcdiroption="--srcdir=$${topdir}/libelf"; \
14893 libsrcdir="$$s/libelf"; \
14894 $(SHELL) $${libsrcdir}/configure \
14895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14896 --target=${target_alias} $${srcdiroption} \
14897 --with-build-libsubdir=$(HOST_SUBDIR) \
14898 $(STAGE3_CONFIGURE_FLAGS) \
14899 --disable-shared
14900 @endif libelf-bootstrap
14902 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14903 maybe-configure-stage4-libelf:
14904 @if libelf-bootstrap
14905 maybe-configure-stage4-libelf: configure-stage4-libelf
14906 configure-stage4-libelf:
14907 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14908 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14909 @r=`${PWD_COMMAND}`; export r; \
14910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 TFLAGS="$(STAGE4_TFLAGS)"; \
14912 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14913 $(HOST_EXPORTS) \
14914 $(POSTSTAGE1_HOST_EXPORTS) \
14915 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14916 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14917 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14918 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14920 cd $(HOST_SUBDIR)/libelf || exit 1; \
14921 case $(srcdir) in \
14922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14923 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14925 esac; \
14926 srcdiroption="--srcdir=$${topdir}/libelf"; \
14927 libsrcdir="$$s/libelf"; \
14928 $(SHELL) $${libsrcdir}/configure \
14929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14930 --target=${target_alias} $${srcdiroption} \
14931 --with-build-libsubdir=$(HOST_SUBDIR) \
14932 $(STAGE4_CONFIGURE_FLAGS) \
14933 --disable-shared
14934 @endif libelf-bootstrap
14936 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14937 maybe-configure-stageprofile-libelf:
14938 @if libelf-bootstrap
14939 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14940 configure-stageprofile-libelf:
14941 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14943 @r=`${PWD_COMMAND}`; export r; \
14944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14945 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14946 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14947 $(HOST_EXPORTS) \
14948 $(POSTSTAGE1_HOST_EXPORTS) \
14949 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14950 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14951 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14952 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14954 cd $(HOST_SUBDIR)/libelf || exit 1; \
14955 case $(srcdir) in \
14956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14957 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14959 esac; \
14960 srcdiroption="--srcdir=$${topdir}/libelf"; \
14961 libsrcdir="$$s/libelf"; \
14962 $(SHELL) $${libsrcdir}/configure \
14963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14964 --target=${target_alias} $${srcdiroption} \
14965 --with-build-libsubdir=$(HOST_SUBDIR) \
14966 $(STAGEprofile_CONFIGURE_FLAGS) \
14967 --disable-shared
14968 @endif libelf-bootstrap
14970 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14971 maybe-configure-stagefeedback-libelf:
14972 @if libelf-bootstrap
14973 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14974 configure-stagefeedback-libelf:
14975 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14977 @r=`${PWD_COMMAND}`; export r; \
14978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14979 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14980 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14981 $(HOST_EXPORTS) \
14982 $(POSTSTAGE1_HOST_EXPORTS) \
14983 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14984 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14985 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14986 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14988 cd $(HOST_SUBDIR)/libelf || exit 1; \
14989 case $(srcdir) in \
14990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14991 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14993 esac; \
14994 srcdiroption="--srcdir=$${topdir}/libelf"; \
14995 libsrcdir="$$s/libelf"; \
14996 $(SHELL) $${libsrcdir}/configure \
14997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14998 --target=${target_alias} $${srcdiroption} \
14999 --with-build-libsubdir=$(HOST_SUBDIR) \
15000 $(STAGEfeedback_CONFIGURE_FLAGS) \
15001 --disable-shared
15002 @endif libelf-bootstrap
15008 .PHONY: all-libelf maybe-all-libelf
15009 maybe-all-libelf:
15010 @if gcc-bootstrap
15011 all-libelf: stage_current
15012 @endif gcc-bootstrap
15013 @if libelf
15014 TARGET-libelf=all
15015 maybe-all-libelf: all-libelf
15016 all-libelf: configure-libelf
15017 @r=`${PWD_COMMAND}`; export r; \
15018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15019 $(HOST_EXPORTS) \
15020 (cd $(HOST_SUBDIR)/libelf && \
15021 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15022 $(TARGET-libelf))
15023 @endif libelf
15027 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
15028 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15029 maybe-all-stage1-libelf:
15030 maybe-clean-stage1-libelf:
15031 @if libelf-bootstrap
15032 maybe-all-stage1-libelf: all-stage1-libelf
15033 all-stage1: all-stage1-libelf
15034 TARGET-stage1-libelf = $(TARGET-libelf)
15035 all-stage1-libelf: configure-stage1-libelf
15036 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15037 @r=`${PWD_COMMAND}`; export r; \
15038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15039 TFLAGS="$(STAGE1_TFLAGS)"; \
15040 $(HOST_EXPORTS) \
15041 cd $(HOST_SUBDIR)/libelf && \
15042 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15043 CFLAGS="$(STAGE1_CFLAGS)" \
15044 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15045 LIBCFLAGS="$(LIBCFLAGS)" \
15046 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15047 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15048 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15049 $(EXTRA_HOST_FLAGS) \
15050 TFLAGS="$(STAGE1_TFLAGS)" \
15051 $(TARGET-stage1-libelf)
15053 maybe-clean-stage1-libelf: clean-stage1-libelf
15054 clean-stage1: clean-stage1-libelf
15055 clean-stage1-libelf:
15056 @if [ $(current_stage) = stage1 ]; then \
15057 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15058 else \
15059 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15060 $(MAKE) stage1-start; \
15061 fi; \
15062 cd $(HOST_SUBDIR)/libelf && \
15063 $(MAKE) $(EXTRA_HOST_FLAGS) \
15064 clean
15065 @endif libelf-bootstrap
15068 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15069 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15070 maybe-all-stage2-libelf:
15071 maybe-clean-stage2-libelf:
15072 @if libelf-bootstrap
15073 maybe-all-stage2-libelf: all-stage2-libelf
15074 all-stage2: all-stage2-libelf
15075 TARGET-stage2-libelf = $(TARGET-libelf)
15076 all-stage2-libelf: configure-stage2-libelf
15077 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15078 @r=`${PWD_COMMAND}`; export r; \
15079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15080 TFLAGS="$(STAGE2_TFLAGS)"; \
15081 $(HOST_EXPORTS) \
15082 $(POSTSTAGE1_HOST_EXPORTS) \
15083 cd $(HOST_SUBDIR)/libelf && \
15084 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15085 CFLAGS="$(STAGE2_CFLAGS)" \
15086 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15087 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15088 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15089 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15090 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15091 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15092 TFLAGS="$(STAGE2_TFLAGS)" \
15093 $(TARGET-stage2-libelf)
15095 maybe-clean-stage2-libelf: clean-stage2-libelf
15096 clean-stage2: clean-stage2-libelf
15097 clean-stage2-libelf:
15098 @if [ $(current_stage) = stage2 ]; then \
15099 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15100 else \
15101 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15102 $(MAKE) stage2-start; \
15103 fi; \
15104 cd $(HOST_SUBDIR)/libelf && \
15105 $(MAKE) $(EXTRA_HOST_FLAGS) \
15106 $(POSTSTAGE1_FLAGS_TO_PASS) \
15107 clean
15108 @endif libelf-bootstrap
15111 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15112 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15113 maybe-all-stage3-libelf:
15114 maybe-clean-stage3-libelf:
15115 @if libelf-bootstrap
15116 maybe-all-stage3-libelf: all-stage3-libelf
15117 all-stage3: all-stage3-libelf
15118 TARGET-stage3-libelf = $(TARGET-libelf)
15119 all-stage3-libelf: configure-stage3-libelf
15120 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15121 @r=`${PWD_COMMAND}`; export r; \
15122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15123 TFLAGS="$(STAGE3_TFLAGS)"; \
15124 $(HOST_EXPORTS) \
15125 $(POSTSTAGE1_HOST_EXPORTS) \
15126 cd $(HOST_SUBDIR)/libelf && \
15127 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15128 CFLAGS="$(STAGE3_CFLAGS)" \
15129 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15130 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15134 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15135 TFLAGS="$(STAGE3_TFLAGS)" \
15136 $(TARGET-stage3-libelf)
15138 maybe-clean-stage3-libelf: clean-stage3-libelf
15139 clean-stage3: clean-stage3-libelf
15140 clean-stage3-libelf:
15141 @if [ $(current_stage) = stage3 ]; then \
15142 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15143 else \
15144 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15145 $(MAKE) stage3-start; \
15146 fi; \
15147 cd $(HOST_SUBDIR)/libelf && \
15148 $(MAKE) $(EXTRA_HOST_FLAGS) \
15149 $(POSTSTAGE1_FLAGS_TO_PASS) \
15150 clean
15151 @endif libelf-bootstrap
15154 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15155 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15156 maybe-all-stage4-libelf:
15157 maybe-clean-stage4-libelf:
15158 @if libelf-bootstrap
15159 maybe-all-stage4-libelf: all-stage4-libelf
15160 all-stage4: all-stage4-libelf
15161 TARGET-stage4-libelf = $(TARGET-libelf)
15162 all-stage4-libelf: configure-stage4-libelf
15163 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15164 @r=`${PWD_COMMAND}`; export r; \
15165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15166 TFLAGS="$(STAGE4_TFLAGS)"; \
15167 $(HOST_EXPORTS) \
15168 $(POSTSTAGE1_HOST_EXPORTS) \
15169 cd $(HOST_SUBDIR)/libelf && \
15170 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15171 CFLAGS="$(STAGE4_CFLAGS)" \
15172 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15173 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15177 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15178 TFLAGS="$(STAGE4_TFLAGS)" \
15179 $(TARGET-stage4-libelf)
15181 maybe-clean-stage4-libelf: clean-stage4-libelf
15182 clean-stage4: clean-stage4-libelf
15183 clean-stage4-libelf:
15184 @if [ $(current_stage) = stage4 ]; then \
15185 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15186 else \
15187 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15188 $(MAKE) stage4-start; \
15189 fi; \
15190 cd $(HOST_SUBDIR)/libelf && \
15191 $(MAKE) $(EXTRA_HOST_FLAGS) \
15192 $(POSTSTAGE1_FLAGS_TO_PASS) \
15193 clean
15194 @endif libelf-bootstrap
15197 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15198 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15199 maybe-all-stageprofile-libelf:
15200 maybe-clean-stageprofile-libelf:
15201 @if libelf-bootstrap
15202 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15203 all-stageprofile: all-stageprofile-libelf
15204 TARGET-stageprofile-libelf = $(TARGET-libelf)
15205 all-stageprofile-libelf: configure-stageprofile-libelf
15206 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15207 @r=`${PWD_COMMAND}`; export r; \
15208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15209 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15210 $(HOST_EXPORTS) \
15211 $(POSTSTAGE1_HOST_EXPORTS) \
15212 cd $(HOST_SUBDIR)/libelf && \
15213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15214 CFLAGS="$(STAGEprofile_CFLAGS)" \
15215 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15216 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15221 TFLAGS="$(STAGEprofile_TFLAGS)" \
15222 $(TARGET-stageprofile-libelf)
15224 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15225 clean-stageprofile: clean-stageprofile-libelf
15226 clean-stageprofile-libelf:
15227 @if [ $(current_stage) = stageprofile ]; then \
15228 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15229 else \
15230 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15231 $(MAKE) stageprofile-start; \
15232 fi; \
15233 cd $(HOST_SUBDIR)/libelf && \
15234 $(MAKE) $(EXTRA_HOST_FLAGS) \
15235 $(POSTSTAGE1_FLAGS_TO_PASS) \
15236 clean
15237 @endif libelf-bootstrap
15240 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15241 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15242 maybe-all-stagefeedback-libelf:
15243 maybe-clean-stagefeedback-libelf:
15244 @if libelf-bootstrap
15245 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15246 all-stagefeedback: all-stagefeedback-libelf
15247 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15248 all-stagefeedback-libelf: configure-stagefeedback-libelf
15249 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15250 @r=`${PWD_COMMAND}`; export r; \
15251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15252 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15253 $(HOST_EXPORTS) \
15254 $(POSTSTAGE1_HOST_EXPORTS) \
15255 cd $(HOST_SUBDIR)/libelf && \
15256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15257 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15258 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15259 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15264 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15265 $(TARGET-stagefeedback-libelf)
15267 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15268 clean-stagefeedback: clean-stagefeedback-libelf
15269 clean-stagefeedback-libelf:
15270 @if [ $(current_stage) = stagefeedback ]; then \
15271 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15272 else \
15273 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15274 $(MAKE) stagefeedback-start; \
15275 fi; \
15276 cd $(HOST_SUBDIR)/libelf && \
15277 $(MAKE) $(EXTRA_HOST_FLAGS) \
15278 $(POSTSTAGE1_FLAGS_TO_PASS) \
15279 clean
15280 @endif libelf-bootstrap
15286 .PHONY: check-libelf maybe-check-libelf
15287 maybe-check-libelf:
15288 @if libelf
15289 maybe-check-libelf: check-libelf
15291 check-libelf:
15292 @: $(MAKE); $(unstage)
15293 @r=`${PWD_COMMAND}`; export r; \
15294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15295 $(HOST_EXPORTS) \
15296 (cd $(HOST_SUBDIR)/libelf && \
15297 $(MAKE) $(FLAGS_TO_PASS) check)
15299 @endif libelf
15301 .PHONY: install-libelf maybe-install-libelf
15302 maybe-install-libelf:
15303 @if libelf
15304 maybe-install-libelf: install-libelf
15306 install-libelf:
15308 @endif libelf
15310 .PHONY: install-strip-libelf maybe-install-strip-libelf
15311 maybe-install-strip-libelf:
15312 @if libelf
15313 maybe-install-strip-libelf: install-strip-libelf
15315 install-strip-libelf:
15317 @endif libelf
15319 # Other targets (info, dvi, pdf, etc.)
15321 .PHONY: maybe-info-libelf info-libelf
15322 maybe-info-libelf:
15323 @if libelf
15324 maybe-info-libelf: info-libelf
15326 info-libelf: \
15327 configure-libelf
15328 @[ -f ./libelf/Makefile ] || exit 0; \
15329 r=`${PWD_COMMAND}`; export r; \
15330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15331 $(HOST_EXPORTS) \
15332 for flag in $(EXTRA_HOST_FLAGS) ; do \
15333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15334 done; \
15335 echo "Doing info in libelf" ; \
15336 (cd $(HOST_SUBDIR)/libelf && \
15337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15339 "RANLIB=$${RANLIB}" \
15340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15341 info) \
15342 || exit 1
15344 @endif libelf
15346 .PHONY: maybe-dvi-libelf dvi-libelf
15347 maybe-dvi-libelf:
15348 @if libelf
15349 maybe-dvi-libelf: dvi-libelf
15351 dvi-libelf: \
15352 configure-libelf
15353 @[ -f ./libelf/Makefile ] || exit 0; \
15354 r=`${PWD_COMMAND}`; export r; \
15355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15356 $(HOST_EXPORTS) \
15357 for flag in $(EXTRA_HOST_FLAGS) ; do \
15358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15359 done; \
15360 echo "Doing dvi in libelf" ; \
15361 (cd $(HOST_SUBDIR)/libelf && \
15362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15364 "RANLIB=$${RANLIB}" \
15365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15366 dvi) \
15367 || exit 1
15369 @endif libelf
15371 .PHONY: maybe-pdf-libelf pdf-libelf
15372 maybe-pdf-libelf:
15373 @if libelf
15374 maybe-pdf-libelf: pdf-libelf
15376 pdf-libelf: \
15377 configure-libelf
15378 @[ -f ./libelf/Makefile ] || exit 0; \
15379 r=`${PWD_COMMAND}`; export r; \
15380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15381 $(HOST_EXPORTS) \
15382 for flag in $(EXTRA_HOST_FLAGS) ; do \
15383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15384 done; \
15385 echo "Doing pdf in libelf" ; \
15386 (cd $(HOST_SUBDIR)/libelf && \
15387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15389 "RANLIB=$${RANLIB}" \
15390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15391 pdf) \
15392 || exit 1
15394 @endif libelf
15396 .PHONY: maybe-html-libelf html-libelf
15397 maybe-html-libelf:
15398 @if libelf
15399 maybe-html-libelf: html-libelf
15401 html-libelf: \
15402 configure-libelf
15403 @[ -f ./libelf/Makefile ] || exit 0; \
15404 r=`${PWD_COMMAND}`; export r; \
15405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15406 $(HOST_EXPORTS) \
15407 for flag in $(EXTRA_HOST_FLAGS) ; do \
15408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15409 done; \
15410 echo "Doing html in libelf" ; \
15411 (cd $(HOST_SUBDIR)/libelf && \
15412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15414 "RANLIB=$${RANLIB}" \
15415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15416 html) \
15417 || exit 1
15419 @endif libelf
15421 .PHONY: maybe-TAGS-libelf TAGS-libelf
15422 maybe-TAGS-libelf:
15423 @if libelf
15424 maybe-TAGS-libelf: TAGS-libelf
15426 TAGS-libelf: \
15427 configure-libelf
15428 @[ -f ./libelf/Makefile ] || exit 0; \
15429 r=`${PWD_COMMAND}`; export r; \
15430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15431 $(HOST_EXPORTS) \
15432 for flag in $(EXTRA_HOST_FLAGS) ; do \
15433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15434 done; \
15435 echo "Doing TAGS in libelf" ; \
15436 (cd $(HOST_SUBDIR)/libelf && \
15437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15439 "RANLIB=$${RANLIB}" \
15440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15441 TAGS) \
15442 || exit 1
15444 @endif libelf
15446 .PHONY: maybe-install-info-libelf install-info-libelf
15447 maybe-install-info-libelf:
15448 @if libelf
15449 maybe-install-info-libelf: install-info-libelf
15451 install-info-libelf: \
15452 configure-libelf \
15453 info-libelf
15454 @[ -f ./libelf/Makefile ] || exit 0; \
15455 r=`${PWD_COMMAND}`; export r; \
15456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15457 $(HOST_EXPORTS) \
15458 for flag in $(EXTRA_HOST_FLAGS) ; do \
15459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15460 done; \
15461 echo "Doing install-info in libelf" ; \
15462 (cd $(HOST_SUBDIR)/libelf && \
15463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15465 "RANLIB=$${RANLIB}" \
15466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15467 install-info) \
15468 || exit 1
15470 @endif libelf
15472 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15473 maybe-install-pdf-libelf:
15474 @if libelf
15475 maybe-install-pdf-libelf: install-pdf-libelf
15477 install-pdf-libelf: \
15478 configure-libelf \
15479 pdf-libelf
15480 @[ -f ./libelf/Makefile ] || exit 0; \
15481 r=`${PWD_COMMAND}`; export r; \
15482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15483 $(HOST_EXPORTS) \
15484 for flag in $(EXTRA_HOST_FLAGS) ; do \
15485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15486 done; \
15487 echo "Doing install-pdf in libelf" ; \
15488 (cd $(HOST_SUBDIR)/libelf && \
15489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15491 "RANLIB=$${RANLIB}" \
15492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15493 install-pdf) \
15494 || exit 1
15496 @endif libelf
15498 .PHONY: maybe-install-html-libelf install-html-libelf
15499 maybe-install-html-libelf:
15500 @if libelf
15501 maybe-install-html-libelf: install-html-libelf
15503 install-html-libelf: \
15504 configure-libelf \
15505 html-libelf
15506 @[ -f ./libelf/Makefile ] || exit 0; \
15507 r=`${PWD_COMMAND}`; export r; \
15508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15509 $(HOST_EXPORTS) \
15510 for flag in $(EXTRA_HOST_FLAGS) ; do \
15511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15512 done; \
15513 echo "Doing install-html in libelf" ; \
15514 (cd $(HOST_SUBDIR)/libelf && \
15515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15517 "RANLIB=$${RANLIB}" \
15518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15519 install-html) \
15520 || exit 1
15522 @endif libelf
15524 .PHONY: maybe-installcheck-libelf installcheck-libelf
15525 maybe-installcheck-libelf:
15526 @if libelf
15527 maybe-installcheck-libelf: installcheck-libelf
15529 installcheck-libelf: \
15530 configure-libelf
15531 @[ -f ./libelf/Makefile ] || exit 0; \
15532 r=`${PWD_COMMAND}`; export r; \
15533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15534 $(HOST_EXPORTS) \
15535 for flag in $(EXTRA_HOST_FLAGS) ; do \
15536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15537 done; \
15538 echo "Doing installcheck in libelf" ; \
15539 (cd $(HOST_SUBDIR)/libelf && \
15540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15542 "RANLIB=$${RANLIB}" \
15543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15544 installcheck) \
15545 || exit 1
15547 @endif libelf
15549 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15550 maybe-mostlyclean-libelf:
15551 @if libelf
15552 maybe-mostlyclean-libelf: mostlyclean-libelf
15554 mostlyclean-libelf:
15555 @[ -f ./libelf/Makefile ] || exit 0; \
15556 r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 $(HOST_EXPORTS) \
15559 for flag in $(EXTRA_HOST_FLAGS) ; do \
15560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15561 done; \
15562 echo "Doing mostlyclean in libelf" ; \
15563 (cd $(HOST_SUBDIR)/libelf && \
15564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15566 "RANLIB=$${RANLIB}" \
15567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15568 mostlyclean) \
15569 || exit 1
15571 @endif libelf
15573 .PHONY: maybe-clean-libelf clean-libelf
15574 maybe-clean-libelf:
15575 @if libelf
15576 maybe-clean-libelf: clean-libelf
15578 clean-libelf:
15579 @[ -f ./libelf/Makefile ] || exit 0; \
15580 r=`${PWD_COMMAND}`; export r; \
15581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15582 $(HOST_EXPORTS) \
15583 for flag in $(EXTRA_HOST_FLAGS) ; do \
15584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15585 done; \
15586 echo "Doing clean in libelf" ; \
15587 (cd $(HOST_SUBDIR)/libelf && \
15588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15590 "RANLIB=$${RANLIB}" \
15591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15592 clean) \
15593 || exit 1
15595 @endif libelf
15597 .PHONY: maybe-distclean-libelf distclean-libelf
15598 maybe-distclean-libelf:
15599 @if libelf
15600 maybe-distclean-libelf: distclean-libelf
15602 distclean-libelf:
15603 @[ -f ./libelf/Makefile ] || exit 0; \
15604 r=`${PWD_COMMAND}`; export r; \
15605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15606 $(HOST_EXPORTS) \
15607 for flag in $(EXTRA_HOST_FLAGS) ; do \
15608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15609 done; \
15610 echo "Doing distclean in libelf" ; \
15611 (cd $(HOST_SUBDIR)/libelf && \
15612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15614 "RANLIB=$${RANLIB}" \
15615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15616 distclean) \
15617 || exit 1
15619 @endif libelf
15621 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15622 maybe-maintainer-clean-libelf:
15623 @if libelf
15624 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15626 maintainer-clean-libelf:
15627 @[ -f ./libelf/Makefile ] || exit 0; \
15628 r=`${PWD_COMMAND}`; export r; \
15629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15630 $(HOST_EXPORTS) \
15631 for flag in $(EXTRA_HOST_FLAGS) ; do \
15632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15633 done; \
15634 echo "Doing maintainer-clean in libelf" ; \
15635 (cd $(HOST_SUBDIR)/libelf && \
15636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15638 "RANLIB=$${RANLIB}" \
15639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15640 maintainer-clean) \
15641 || exit 1
15643 @endif libelf
15647 .PHONY: configure-gold maybe-configure-gold
15648 maybe-configure-gold:
15649 @if gcc-bootstrap
15650 configure-gold: stage_current
15651 @endif gcc-bootstrap
15652 @if gold
15653 maybe-configure-gold: configure-gold
15654 configure-gold:
15655 @r=`${PWD_COMMAND}`; export r; \
15656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15657 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15659 $(HOST_EXPORTS) \
15660 echo Configuring in $(HOST_SUBDIR)/gold; \
15661 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15662 case $(srcdir) in \
15663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15664 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15666 esac; \
15667 srcdiroption="--srcdir=$${topdir}/gold"; \
15668 libsrcdir="$$s/gold"; \
15669 $(SHELL) $${libsrcdir}/configure \
15670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15671 --target=${target_alias} $${srcdiroption} \
15672 || exit 1
15673 @endif gold
15677 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15678 maybe-configure-stage1-gold:
15679 @if gold-bootstrap
15680 maybe-configure-stage1-gold: configure-stage1-gold
15681 configure-stage1-gold:
15682 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15684 @r=`${PWD_COMMAND}`; export r; \
15685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15686 TFLAGS="$(STAGE1_TFLAGS)"; \
15687 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15688 $(HOST_EXPORTS) \
15689 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15690 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15691 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15692 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15694 cd $(HOST_SUBDIR)/gold || exit 1; \
15695 case $(srcdir) in \
15696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15697 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15699 esac; \
15700 srcdiroption="--srcdir=$${topdir}/gold"; \
15701 libsrcdir="$$s/gold"; \
15702 $(SHELL) $${libsrcdir}/configure \
15703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15704 --target=${target_alias} $${srcdiroption} \
15705 $(STAGE1_CONFIGURE_FLAGS)
15706 @endif gold-bootstrap
15708 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15709 maybe-configure-stage2-gold:
15710 @if gold-bootstrap
15711 maybe-configure-stage2-gold: configure-stage2-gold
15712 configure-stage2-gold:
15713 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15715 @r=`${PWD_COMMAND}`; export r; \
15716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15717 TFLAGS="$(STAGE2_TFLAGS)"; \
15718 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15719 $(HOST_EXPORTS) \
15720 $(POSTSTAGE1_HOST_EXPORTS) \
15721 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15722 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15723 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15724 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15726 cd $(HOST_SUBDIR)/gold || exit 1; \
15727 case $(srcdir) in \
15728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15729 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15731 esac; \
15732 srcdiroption="--srcdir=$${topdir}/gold"; \
15733 libsrcdir="$$s/gold"; \
15734 $(SHELL) $${libsrcdir}/configure \
15735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15736 --target=${target_alias} $${srcdiroption} \
15737 --with-build-libsubdir=$(HOST_SUBDIR) \
15738 $(STAGE2_CONFIGURE_FLAGS)
15739 @endif gold-bootstrap
15741 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15742 maybe-configure-stage3-gold:
15743 @if gold-bootstrap
15744 maybe-configure-stage3-gold: configure-stage3-gold
15745 configure-stage3-gold:
15746 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15747 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15748 @r=`${PWD_COMMAND}`; export r; \
15749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15750 TFLAGS="$(STAGE3_TFLAGS)"; \
15751 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15752 $(HOST_EXPORTS) \
15753 $(POSTSTAGE1_HOST_EXPORTS) \
15754 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15755 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15756 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15757 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15759 cd $(HOST_SUBDIR)/gold || exit 1; \
15760 case $(srcdir) in \
15761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15762 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15764 esac; \
15765 srcdiroption="--srcdir=$${topdir}/gold"; \
15766 libsrcdir="$$s/gold"; \
15767 $(SHELL) $${libsrcdir}/configure \
15768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15769 --target=${target_alias} $${srcdiroption} \
15770 --with-build-libsubdir=$(HOST_SUBDIR) \
15771 $(STAGE3_CONFIGURE_FLAGS)
15772 @endif gold-bootstrap
15774 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15775 maybe-configure-stage4-gold:
15776 @if gold-bootstrap
15777 maybe-configure-stage4-gold: configure-stage4-gold
15778 configure-stage4-gold:
15779 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15781 @r=`${PWD_COMMAND}`; export r; \
15782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15783 TFLAGS="$(STAGE4_TFLAGS)"; \
15784 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15785 $(HOST_EXPORTS) \
15786 $(POSTSTAGE1_HOST_EXPORTS) \
15787 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15788 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15789 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15790 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15792 cd $(HOST_SUBDIR)/gold || exit 1; \
15793 case $(srcdir) in \
15794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15795 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15797 esac; \
15798 srcdiroption="--srcdir=$${topdir}/gold"; \
15799 libsrcdir="$$s/gold"; \
15800 $(SHELL) $${libsrcdir}/configure \
15801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15802 --target=${target_alias} $${srcdiroption} \
15803 --with-build-libsubdir=$(HOST_SUBDIR) \
15804 $(STAGE4_CONFIGURE_FLAGS)
15805 @endif gold-bootstrap
15807 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15808 maybe-configure-stageprofile-gold:
15809 @if gold-bootstrap
15810 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15811 configure-stageprofile-gold:
15812 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15814 @r=`${PWD_COMMAND}`; export r; \
15815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15816 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15817 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15818 $(HOST_EXPORTS) \
15819 $(POSTSTAGE1_HOST_EXPORTS) \
15820 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15821 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15822 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15823 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15825 cd $(HOST_SUBDIR)/gold || exit 1; \
15826 case $(srcdir) in \
15827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15828 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15830 esac; \
15831 srcdiroption="--srcdir=$${topdir}/gold"; \
15832 libsrcdir="$$s/gold"; \
15833 $(SHELL) $${libsrcdir}/configure \
15834 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15835 --target=${target_alias} $${srcdiroption} \
15836 --with-build-libsubdir=$(HOST_SUBDIR) \
15837 $(STAGEprofile_CONFIGURE_FLAGS)
15838 @endif gold-bootstrap
15840 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15841 maybe-configure-stagefeedback-gold:
15842 @if gold-bootstrap
15843 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15844 configure-stagefeedback-gold:
15845 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15846 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15847 @r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15850 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15851 $(HOST_EXPORTS) \
15852 $(POSTSTAGE1_HOST_EXPORTS) \
15853 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15854 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15855 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15856 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15858 cd $(HOST_SUBDIR)/gold || exit 1; \
15859 case $(srcdir) in \
15860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15861 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15863 esac; \
15864 srcdiroption="--srcdir=$${topdir}/gold"; \
15865 libsrcdir="$$s/gold"; \
15866 $(SHELL) $${libsrcdir}/configure \
15867 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15868 --target=${target_alias} $${srcdiroption} \
15869 --with-build-libsubdir=$(HOST_SUBDIR) \
15870 $(STAGEfeedback_CONFIGURE_FLAGS)
15871 @endif gold-bootstrap
15877 .PHONY: all-gold maybe-all-gold
15878 maybe-all-gold:
15879 @if gcc-bootstrap
15880 all-gold: stage_current
15881 @endif gcc-bootstrap
15882 @if gold
15883 TARGET-gold=all
15884 maybe-all-gold: all-gold
15885 all-gold: configure-gold
15886 @r=`${PWD_COMMAND}`; export r; \
15887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15888 $(HOST_EXPORTS) \
15889 (cd $(HOST_SUBDIR)/gold && \
15890 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15891 $(TARGET-gold))
15892 @endif gold
15896 .PHONY: all-stage1-gold maybe-all-stage1-gold
15897 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15898 maybe-all-stage1-gold:
15899 maybe-clean-stage1-gold:
15900 @if gold-bootstrap
15901 maybe-all-stage1-gold: all-stage1-gold
15902 all-stage1: all-stage1-gold
15903 TARGET-stage1-gold = $(TARGET-gold)
15904 all-stage1-gold: configure-stage1-gold
15905 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15906 @r=`${PWD_COMMAND}`; export r; \
15907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15908 TFLAGS="$(STAGE1_TFLAGS)"; \
15909 $(HOST_EXPORTS) \
15910 cd $(HOST_SUBDIR)/gold && \
15911 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15912 CFLAGS="$(STAGE1_CFLAGS)" \
15913 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15914 LIBCFLAGS="$(LIBCFLAGS)" \
15915 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15916 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15917 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15918 $(EXTRA_HOST_FLAGS) \
15919 TFLAGS="$(STAGE1_TFLAGS)" \
15920 $(TARGET-stage1-gold)
15922 maybe-clean-stage1-gold: clean-stage1-gold
15923 clean-stage1: clean-stage1-gold
15924 clean-stage1-gold:
15925 @if [ $(current_stage) = stage1 ]; then \
15926 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15927 else \
15928 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15929 $(MAKE) stage1-start; \
15930 fi; \
15931 cd $(HOST_SUBDIR)/gold && \
15932 $(MAKE) $(EXTRA_HOST_FLAGS) \
15933 clean
15934 @endif gold-bootstrap
15937 .PHONY: all-stage2-gold maybe-all-stage2-gold
15938 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15939 maybe-all-stage2-gold:
15940 maybe-clean-stage2-gold:
15941 @if gold-bootstrap
15942 maybe-all-stage2-gold: all-stage2-gold
15943 all-stage2: all-stage2-gold
15944 TARGET-stage2-gold = $(TARGET-gold)
15945 all-stage2-gold: configure-stage2-gold
15946 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15947 @r=`${PWD_COMMAND}`; export r; \
15948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15949 TFLAGS="$(STAGE2_TFLAGS)"; \
15950 $(HOST_EXPORTS) \
15951 $(POSTSTAGE1_HOST_EXPORTS) \
15952 cd $(HOST_SUBDIR)/gold && \
15953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15954 CFLAGS="$(STAGE2_CFLAGS)" \
15955 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15956 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15960 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15961 TFLAGS="$(STAGE2_TFLAGS)" \
15962 $(TARGET-stage2-gold)
15964 maybe-clean-stage2-gold: clean-stage2-gold
15965 clean-stage2: clean-stage2-gold
15966 clean-stage2-gold:
15967 @if [ $(current_stage) = stage2 ]; then \
15968 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15969 else \
15970 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15971 $(MAKE) stage2-start; \
15972 fi; \
15973 cd $(HOST_SUBDIR)/gold && \
15974 $(MAKE) $(EXTRA_HOST_FLAGS) \
15975 $(POSTSTAGE1_FLAGS_TO_PASS) \
15976 clean
15977 @endif gold-bootstrap
15980 .PHONY: all-stage3-gold maybe-all-stage3-gold
15981 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15982 maybe-all-stage3-gold:
15983 maybe-clean-stage3-gold:
15984 @if gold-bootstrap
15985 maybe-all-stage3-gold: all-stage3-gold
15986 all-stage3: all-stage3-gold
15987 TARGET-stage3-gold = $(TARGET-gold)
15988 all-stage3-gold: configure-stage3-gold
15989 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15990 @r=`${PWD_COMMAND}`; export r; \
15991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15992 TFLAGS="$(STAGE3_TFLAGS)"; \
15993 $(HOST_EXPORTS) \
15994 $(POSTSTAGE1_HOST_EXPORTS) \
15995 cd $(HOST_SUBDIR)/gold && \
15996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15997 CFLAGS="$(STAGE3_CFLAGS)" \
15998 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15999 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16004 TFLAGS="$(STAGE3_TFLAGS)" \
16005 $(TARGET-stage3-gold)
16007 maybe-clean-stage3-gold: clean-stage3-gold
16008 clean-stage3: clean-stage3-gold
16009 clean-stage3-gold:
16010 @if [ $(current_stage) = stage3 ]; then \
16011 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16012 else \
16013 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
16014 $(MAKE) stage3-start; \
16015 fi; \
16016 cd $(HOST_SUBDIR)/gold && \
16017 $(MAKE) $(EXTRA_HOST_FLAGS) \
16018 $(POSTSTAGE1_FLAGS_TO_PASS) \
16019 clean
16020 @endif gold-bootstrap
16023 .PHONY: all-stage4-gold maybe-all-stage4-gold
16024 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
16025 maybe-all-stage4-gold:
16026 maybe-clean-stage4-gold:
16027 @if gold-bootstrap
16028 maybe-all-stage4-gold: all-stage4-gold
16029 all-stage4: all-stage4-gold
16030 TARGET-stage4-gold = $(TARGET-gold)
16031 all-stage4-gold: configure-stage4-gold
16032 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16033 @r=`${PWD_COMMAND}`; export r; \
16034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16035 TFLAGS="$(STAGE4_TFLAGS)"; \
16036 $(HOST_EXPORTS) \
16037 $(POSTSTAGE1_HOST_EXPORTS) \
16038 cd $(HOST_SUBDIR)/gold && \
16039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16040 CFLAGS="$(STAGE4_CFLAGS)" \
16041 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16042 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16047 TFLAGS="$(STAGE4_TFLAGS)" \
16048 $(TARGET-stage4-gold)
16050 maybe-clean-stage4-gold: clean-stage4-gold
16051 clean-stage4: clean-stage4-gold
16052 clean-stage4-gold:
16053 @if [ $(current_stage) = stage4 ]; then \
16054 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16055 else \
16056 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16057 $(MAKE) stage4-start; \
16058 fi; \
16059 cd $(HOST_SUBDIR)/gold && \
16060 $(MAKE) $(EXTRA_HOST_FLAGS) \
16061 $(POSTSTAGE1_FLAGS_TO_PASS) \
16062 clean
16063 @endif gold-bootstrap
16066 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16067 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16068 maybe-all-stageprofile-gold:
16069 maybe-clean-stageprofile-gold:
16070 @if gold-bootstrap
16071 maybe-all-stageprofile-gold: all-stageprofile-gold
16072 all-stageprofile: all-stageprofile-gold
16073 TARGET-stageprofile-gold = $(TARGET-gold)
16074 all-stageprofile-gold: configure-stageprofile-gold
16075 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16076 @r=`${PWD_COMMAND}`; export r; \
16077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16078 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16079 $(HOST_EXPORTS) \
16080 $(POSTSTAGE1_HOST_EXPORTS) \
16081 cd $(HOST_SUBDIR)/gold && \
16082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16083 CFLAGS="$(STAGEprofile_CFLAGS)" \
16084 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16085 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16089 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16090 TFLAGS="$(STAGEprofile_TFLAGS)" \
16091 $(TARGET-stageprofile-gold)
16093 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16094 clean-stageprofile: clean-stageprofile-gold
16095 clean-stageprofile-gold:
16096 @if [ $(current_stage) = stageprofile ]; then \
16097 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16098 else \
16099 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16100 $(MAKE) stageprofile-start; \
16101 fi; \
16102 cd $(HOST_SUBDIR)/gold && \
16103 $(MAKE) $(EXTRA_HOST_FLAGS) \
16104 $(POSTSTAGE1_FLAGS_TO_PASS) \
16105 clean
16106 @endif gold-bootstrap
16109 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16110 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16111 maybe-all-stagefeedback-gold:
16112 maybe-clean-stagefeedback-gold:
16113 @if gold-bootstrap
16114 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16115 all-stagefeedback: all-stagefeedback-gold
16116 TARGET-stagefeedback-gold = $(TARGET-gold)
16117 all-stagefeedback-gold: configure-stagefeedback-gold
16118 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16119 @r=`${PWD_COMMAND}`; export r; \
16120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16121 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16122 $(HOST_EXPORTS) \
16123 $(POSTSTAGE1_HOST_EXPORTS) \
16124 cd $(HOST_SUBDIR)/gold && \
16125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16126 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16127 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16128 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16132 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16133 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16134 $(TARGET-stagefeedback-gold)
16136 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16137 clean-stagefeedback: clean-stagefeedback-gold
16138 clean-stagefeedback-gold:
16139 @if [ $(current_stage) = stagefeedback ]; then \
16140 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16141 else \
16142 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16143 $(MAKE) stagefeedback-start; \
16144 fi; \
16145 cd $(HOST_SUBDIR)/gold && \
16146 $(MAKE) $(EXTRA_HOST_FLAGS) \
16147 $(POSTSTAGE1_FLAGS_TO_PASS) \
16148 clean
16149 @endif gold-bootstrap
16155 .PHONY: check-gold maybe-check-gold
16156 maybe-check-gold:
16157 @if gold
16158 maybe-check-gold: check-gold
16160 check-gold:
16161 @: $(MAKE); $(unstage)
16162 @r=`${PWD_COMMAND}`; export r; \
16163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16164 $(HOST_EXPORTS) \
16165 (cd $(HOST_SUBDIR)/gold && \
16166 $(MAKE) $(FLAGS_TO_PASS) check)
16168 @endif gold
16170 .PHONY: install-gold maybe-install-gold
16171 maybe-install-gold:
16172 @if gold
16173 maybe-install-gold: install-gold
16175 install-gold: installdirs
16176 @: $(MAKE); $(unstage)
16177 @r=`${PWD_COMMAND}`; export r; \
16178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16179 $(HOST_EXPORTS) \
16180 (cd $(HOST_SUBDIR)/gold && \
16181 $(MAKE) $(FLAGS_TO_PASS) install)
16183 @endif gold
16185 .PHONY: install-strip-gold maybe-install-strip-gold
16186 maybe-install-strip-gold:
16187 @if gold
16188 maybe-install-strip-gold: install-strip-gold
16190 install-strip-gold: installdirs
16191 @: $(MAKE); $(unstage)
16192 @r=`${PWD_COMMAND}`; export r; \
16193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16194 $(HOST_EXPORTS) \
16195 (cd $(HOST_SUBDIR)/gold && \
16196 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16198 @endif gold
16200 # Other targets (info, dvi, pdf, etc.)
16202 .PHONY: maybe-info-gold info-gold
16203 maybe-info-gold:
16204 @if gold
16205 maybe-info-gold: info-gold
16207 info-gold: \
16208 configure-gold
16209 @[ -f ./gold/Makefile ] || exit 0; \
16210 r=`${PWD_COMMAND}`; export r; \
16211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16212 $(HOST_EXPORTS) \
16213 for flag in $(EXTRA_HOST_FLAGS) ; do \
16214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16215 done; \
16216 echo "Doing info in gold" ; \
16217 (cd $(HOST_SUBDIR)/gold && \
16218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16220 "RANLIB=$${RANLIB}" \
16221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16222 info) \
16223 || exit 1
16225 @endif gold
16227 .PHONY: maybe-dvi-gold dvi-gold
16228 maybe-dvi-gold:
16229 @if gold
16230 maybe-dvi-gold: dvi-gold
16232 dvi-gold: \
16233 configure-gold
16234 @[ -f ./gold/Makefile ] || exit 0; \
16235 r=`${PWD_COMMAND}`; export r; \
16236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16237 $(HOST_EXPORTS) \
16238 for flag in $(EXTRA_HOST_FLAGS) ; do \
16239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16240 done; \
16241 echo "Doing dvi in gold" ; \
16242 (cd $(HOST_SUBDIR)/gold && \
16243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16245 "RANLIB=$${RANLIB}" \
16246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16247 dvi) \
16248 || exit 1
16250 @endif gold
16252 .PHONY: maybe-pdf-gold pdf-gold
16253 maybe-pdf-gold:
16254 @if gold
16255 maybe-pdf-gold: pdf-gold
16257 pdf-gold: \
16258 configure-gold
16259 @[ -f ./gold/Makefile ] || exit 0; \
16260 r=`${PWD_COMMAND}`; export r; \
16261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16262 $(HOST_EXPORTS) \
16263 for flag in $(EXTRA_HOST_FLAGS) ; do \
16264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16265 done; \
16266 echo "Doing pdf in gold" ; \
16267 (cd $(HOST_SUBDIR)/gold && \
16268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16270 "RANLIB=$${RANLIB}" \
16271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16272 pdf) \
16273 || exit 1
16275 @endif gold
16277 .PHONY: maybe-html-gold html-gold
16278 maybe-html-gold:
16279 @if gold
16280 maybe-html-gold: html-gold
16282 html-gold: \
16283 configure-gold
16284 @[ -f ./gold/Makefile ] || exit 0; \
16285 r=`${PWD_COMMAND}`; export r; \
16286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16287 $(HOST_EXPORTS) \
16288 for flag in $(EXTRA_HOST_FLAGS) ; do \
16289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16290 done; \
16291 echo "Doing html in gold" ; \
16292 (cd $(HOST_SUBDIR)/gold && \
16293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16295 "RANLIB=$${RANLIB}" \
16296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16297 html) \
16298 || exit 1
16300 @endif gold
16302 .PHONY: maybe-TAGS-gold TAGS-gold
16303 maybe-TAGS-gold:
16304 @if gold
16305 maybe-TAGS-gold: TAGS-gold
16307 TAGS-gold: \
16308 configure-gold
16309 @[ -f ./gold/Makefile ] || exit 0; \
16310 r=`${PWD_COMMAND}`; export r; \
16311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16312 $(HOST_EXPORTS) \
16313 for flag in $(EXTRA_HOST_FLAGS) ; do \
16314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16315 done; \
16316 echo "Doing TAGS in gold" ; \
16317 (cd $(HOST_SUBDIR)/gold && \
16318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16320 "RANLIB=$${RANLIB}" \
16321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16322 TAGS) \
16323 || exit 1
16325 @endif gold
16327 .PHONY: maybe-install-info-gold install-info-gold
16328 maybe-install-info-gold:
16329 @if gold
16330 maybe-install-info-gold: install-info-gold
16332 install-info-gold: \
16333 configure-gold \
16334 info-gold
16335 @[ -f ./gold/Makefile ] || exit 0; \
16336 r=`${PWD_COMMAND}`; export r; \
16337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16338 $(HOST_EXPORTS) \
16339 for flag in $(EXTRA_HOST_FLAGS) ; do \
16340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16341 done; \
16342 echo "Doing install-info in gold" ; \
16343 (cd $(HOST_SUBDIR)/gold && \
16344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16346 "RANLIB=$${RANLIB}" \
16347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16348 install-info) \
16349 || exit 1
16351 @endif gold
16353 .PHONY: maybe-install-pdf-gold install-pdf-gold
16354 maybe-install-pdf-gold:
16355 @if gold
16356 maybe-install-pdf-gold: install-pdf-gold
16358 install-pdf-gold: \
16359 configure-gold \
16360 pdf-gold
16361 @[ -f ./gold/Makefile ] || exit 0; \
16362 r=`${PWD_COMMAND}`; export r; \
16363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16364 $(HOST_EXPORTS) \
16365 for flag in $(EXTRA_HOST_FLAGS) ; do \
16366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16367 done; \
16368 echo "Doing install-pdf in gold" ; \
16369 (cd $(HOST_SUBDIR)/gold && \
16370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16372 "RANLIB=$${RANLIB}" \
16373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16374 install-pdf) \
16375 || exit 1
16377 @endif gold
16379 .PHONY: maybe-install-html-gold install-html-gold
16380 maybe-install-html-gold:
16381 @if gold
16382 maybe-install-html-gold: install-html-gold
16384 install-html-gold: \
16385 configure-gold \
16386 html-gold
16387 @[ -f ./gold/Makefile ] || exit 0; \
16388 r=`${PWD_COMMAND}`; export r; \
16389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16390 $(HOST_EXPORTS) \
16391 for flag in $(EXTRA_HOST_FLAGS) ; do \
16392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16393 done; \
16394 echo "Doing install-html in gold" ; \
16395 (cd $(HOST_SUBDIR)/gold && \
16396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16398 "RANLIB=$${RANLIB}" \
16399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16400 install-html) \
16401 || exit 1
16403 @endif gold
16405 .PHONY: maybe-installcheck-gold installcheck-gold
16406 maybe-installcheck-gold:
16407 @if gold
16408 maybe-installcheck-gold: installcheck-gold
16410 installcheck-gold: \
16411 configure-gold
16412 @[ -f ./gold/Makefile ] || exit 0; \
16413 r=`${PWD_COMMAND}`; export r; \
16414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16415 $(HOST_EXPORTS) \
16416 for flag in $(EXTRA_HOST_FLAGS) ; do \
16417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16418 done; \
16419 echo "Doing installcheck in gold" ; \
16420 (cd $(HOST_SUBDIR)/gold && \
16421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16423 "RANLIB=$${RANLIB}" \
16424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16425 installcheck) \
16426 || exit 1
16428 @endif gold
16430 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16431 maybe-mostlyclean-gold:
16432 @if gold
16433 maybe-mostlyclean-gold: mostlyclean-gold
16435 mostlyclean-gold:
16436 @[ -f ./gold/Makefile ] || exit 0; \
16437 r=`${PWD_COMMAND}`; export r; \
16438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16439 $(HOST_EXPORTS) \
16440 for flag in $(EXTRA_HOST_FLAGS) ; do \
16441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16442 done; \
16443 echo "Doing mostlyclean in gold" ; \
16444 (cd $(HOST_SUBDIR)/gold && \
16445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16447 "RANLIB=$${RANLIB}" \
16448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16449 mostlyclean) \
16450 || exit 1
16452 @endif gold
16454 .PHONY: maybe-clean-gold clean-gold
16455 maybe-clean-gold:
16456 @if gold
16457 maybe-clean-gold: clean-gold
16459 clean-gold:
16460 @[ -f ./gold/Makefile ] || exit 0; \
16461 r=`${PWD_COMMAND}`; export r; \
16462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16463 $(HOST_EXPORTS) \
16464 for flag in $(EXTRA_HOST_FLAGS) ; do \
16465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16466 done; \
16467 echo "Doing clean in gold" ; \
16468 (cd $(HOST_SUBDIR)/gold && \
16469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16471 "RANLIB=$${RANLIB}" \
16472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16473 clean) \
16474 || exit 1
16476 @endif gold
16478 .PHONY: maybe-distclean-gold distclean-gold
16479 maybe-distclean-gold:
16480 @if gold
16481 maybe-distclean-gold: distclean-gold
16483 distclean-gold:
16484 @[ -f ./gold/Makefile ] || exit 0; \
16485 r=`${PWD_COMMAND}`; export r; \
16486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16487 $(HOST_EXPORTS) \
16488 for flag in $(EXTRA_HOST_FLAGS) ; do \
16489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16490 done; \
16491 echo "Doing distclean in gold" ; \
16492 (cd $(HOST_SUBDIR)/gold && \
16493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16495 "RANLIB=$${RANLIB}" \
16496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16497 distclean) \
16498 || exit 1
16500 @endif gold
16502 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16503 maybe-maintainer-clean-gold:
16504 @if gold
16505 maybe-maintainer-clean-gold: maintainer-clean-gold
16507 maintainer-clean-gold:
16508 @[ -f ./gold/Makefile ] || exit 0; \
16509 r=`${PWD_COMMAND}`; export r; \
16510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16511 $(HOST_EXPORTS) \
16512 for flag in $(EXTRA_HOST_FLAGS) ; do \
16513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16514 done; \
16515 echo "Doing maintainer-clean in gold" ; \
16516 (cd $(HOST_SUBDIR)/gold && \
16517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16519 "RANLIB=$${RANLIB}" \
16520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16521 maintainer-clean) \
16522 || exit 1
16524 @endif gold
16528 .PHONY: configure-gprof maybe-configure-gprof
16529 maybe-configure-gprof:
16530 @if gcc-bootstrap
16531 configure-gprof: stage_current
16532 @endif gcc-bootstrap
16533 @if gprof
16534 maybe-configure-gprof: configure-gprof
16535 configure-gprof:
16536 @: $(MAKE); $(unstage)
16537 @r=`${PWD_COMMAND}`; export r; \
16538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16539 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16541 $(HOST_EXPORTS) \
16542 echo Configuring in $(HOST_SUBDIR)/gprof; \
16543 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16544 case $(srcdir) in \
16545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16546 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16548 esac; \
16549 srcdiroption="--srcdir=$${topdir}/gprof"; \
16550 libsrcdir="$$s/gprof"; \
16551 $(SHELL) $${libsrcdir}/configure \
16552 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16553 --target=${target_alias} $${srcdiroption} \
16554 || exit 1
16555 @endif gprof
16561 .PHONY: all-gprof maybe-all-gprof
16562 maybe-all-gprof:
16563 @if gcc-bootstrap
16564 all-gprof: stage_current
16565 @endif gcc-bootstrap
16566 @if gprof
16567 TARGET-gprof=all
16568 maybe-all-gprof: all-gprof
16569 all-gprof: configure-gprof
16570 @: $(MAKE); $(unstage)
16571 @r=`${PWD_COMMAND}`; export r; \
16572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16573 $(HOST_EXPORTS) \
16574 (cd $(HOST_SUBDIR)/gprof && \
16575 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16576 $(TARGET-gprof))
16577 @endif gprof
16582 .PHONY: check-gprof maybe-check-gprof
16583 maybe-check-gprof:
16584 @if gprof
16585 maybe-check-gprof: check-gprof
16587 check-gprof:
16588 @: $(MAKE); $(unstage)
16589 @r=`${PWD_COMMAND}`; export r; \
16590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16591 $(HOST_EXPORTS) \
16592 (cd $(HOST_SUBDIR)/gprof && \
16593 $(MAKE) $(FLAGS_TO_PASS) check)
16595 @endif gprof
16597 .PHONY: install-gprof maybe-install-gprof
16598 maybe-install-gprof:
16599 @if gprof
16600 maybe-install-gprof: install-gprof
16602 install-gprof: installdirs
16603 @: $(MAKE); $(unstage)
16604 @r=`${PWD_COMMAND}`; export r; \
16605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16606 $(HOST_EXPORTS) \
16607 (cd $(HOST_SUBDIR)/gprof && \
16608 $(MAKE) $(FLAGS_TO_PASS) install)
16610 @endif gprof
16612 .PHONY: install-strip-gprof maybe-install-strip-gprof
16613 maybe-install-strip-gprof:
16614 @if gprof
16615 maybe-install-strip-gprof: install-strip-gprof
16617 install-strip-gprof: installdirs
16618 @: $(MAKE); $(unstage)
16619 @r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16621 $(HOST_EXPORTS) \
16622 (cd $(HOST_SUBDIR)/gprof && \
16623 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16625 @endif gprof
16627 # Other targets (info, dvi, pdf, etc.)
16629 .PHONY: maybe-info-gprof info-gprof
16630 maybe-info-gprof:
16631 @if gprof
16632 maybe-info-gprof: info-gprof
16634 info-gprof: \
16635 configure-gprof
16636 @: $(MAKE); $(unstage)
16637 @[ -f ./gprof/Makefile ] || exit 0; \
16638 r=`${PWD_COMMAND}`; export r; \
16639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16640 $(HOST_EXPORTS) \
16641 for flag in $(EXTRA_HOST_FLAGS) ; do \
16642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16643 done; \
16644 echo "Doing info in gprof" ; \
16645 (cd $(HOST_SUBDIR)/gprof && \
16646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16648 "RANLIB=$${RANLIB}" \
16649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16650 info) \
16651 || exit 1
16653 @endif gprof
16655 .PHONY: maybe-dvi-gprof dvi-gprof
16656 maybe-dvi-gprof:
16657 @if gprof
16658 maybe-dvi-gprof: dvi-gprof
16660 dvi-gprof: \
16661 configure-gprof
16662 @: $(MAKE); $(unstage)
16663 @[ -f ./gprof/Makefile ] || exit 0; \
16664 r=`${PWD_COMMAND}`; export r; \
16665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16666 $(HOST_EXPORTS) \
16667 for flag in $(EXTRA_HOST_FLAGS) ; do \
16668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16669 done; \
16670 echo "Doing dvi in gprof" ; \
16671 (cd $(HOST_SUBDIR)/gprof && \
16672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16674 "RANLIB=$${RANLIB}" \
16675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16676 dvi) \
16677 || exit 1
16679 @endif gprof
16681 .PHONY: maybe-pdf-gprof pdf-gprof
16682 maybe-pdf-gprof:
16683 @if gprof
16684 maybe-pdf-gprof: pdf-gprof
16686 pdf-gprof: \
16687 configure-gprof
16688 @: $(MAKE); $(unstage)
16689 @[ -f ./gprof/Makefile ] || exit 0; \
16690 r=`${PWD_COMMAND}`; export r; \
16691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16692 $(HOST_EXPORTS) \
16693 for flag in $(EXTRA_HOST_FLAGS) ; do \
16694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16695 done; \
16696 echo "Doing pdf in gprof" ; \
16697 (cd $(HOST_SUBDIR)/gprof && \
16698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16700 "RANLIB=$${RANLIB}" \
16701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16702 pdf) \
16703 || exit 1
16705 @endif gprof
16707 .PHONY: maybe-html-gprof html-gprof
16708 maybe-html-gprof:
16709 @if gprof
16710 maybe-html-gprof: html-gprof
16712 html-gprof: \
16713 configure-gprof
16714 @: $(MAKE); $(unstage)
16715 @[ -f ./gprof/Makefile ] || exit 0; \
16716 r=`${PWD_COMMAND}`; export r; \
16717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16718 $(HOST_EXPORTS) \
16719 for flag in $(EXTRA_HOST_FLAGS) ; do \
16720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16721 done; \
16722 echo "Doing html in gprof" ; \
16723 (cd $(HOST_SUBDIR)/gprof && \
16724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16726 "RANLIB=$${RANLIB}" \
16727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16728 html) \
16729 || exit 1
16731 @endif gprof
16733 .PHONY: maybe-TAGS-gprof TAGS-gprof
16734 maybe-TAGS-gprof:
16735 @if gprof
16736 maybe-TAGS-gprof: TAGS-gprof
16738 TAGS-gprof: \
16739 configure-gprof
16740 @: $(MAKE); $(unstage)
16741 @[ -f ./gprof/Makefile ] || exit 0; \
16742 r=`${PWD_COMMAND}`; export r; \
16743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16744 $(HOST_EXPORTS) \
16745 for flag in $(EXTRA_HOST_FLAGS) ; do \
16746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16747 done; \
16748 echo "Doing TAGS in gprof" ; \
16749 (cd $(HOST_SUBDIR)/gprof && \
16750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16752 "RANLIB=$${RANLIB}" \
16753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16754 TAGS) \
16755 || exit 1
16757 @endif gprof
16759 .PHONY: maybe-install-info-gprof install-info-gprof
16760 maybe-install-info-gprof:
16761 @if gprof
16762 maybe-install-info-gprof: install-info-gprof
16764 install-info-gprof: \
16765 configure-gprof \
16766 info-gprof
16767 @: $(MAKE); $(unstage)
16768 @[ -f ./gprof/Makefile ] || exit 0; \
16769 r=`${PWD_COMMAND}`; export r; \
16770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16771 $(HOST_EXPORTS) \
16772 for flag in $(EXTRA_HOST_FLAGS) ; do \
16773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16774 done; \
16775 echo "Doing install-info in gprof" ; \
16776 (cd $(HOST_SUBDIR)/gprof && \
16777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16779 "RANLIB=$${RANLIB}" \
16780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16781 install-info) \
16782 || exit 1
16784 @endif gprof
16786 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16787 maybe-install-pdf-gprof:
16788 @if gprof
16789 maybe-install-pdf-gprof: install-pdf-gprof
16791 install-pdf-gprof: \
16792 configure-gprof \
16793 pdf-gprof
16794 @: $(MAKE); $(unstage)
16795 @[ -f ./gprof/Makefile ] || exit 0; \
16796 r=`${PWD_COMMAND}`; export r; \
16797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16798 $(HOST_EXPORTS) \
16799 for flag in $(EXTRA_HOST_FLAGS) ; do \
16800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16801 done; \
16802 echo "Doing install-pdf in gprof" ; \
16803 (cd $(HOST_SUBDIR)/gprof && \
16804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16806 "RANLIB=$${RANLIB}" \
16807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16808 install-pdf) \
16809 || exit 1
16811 @endif gprof
16813 .PHONY: maybe-install-html-gprof install-html-gprof
16814 maybe-install-html-gprof:
16815 @if gprof
16816 maybe-install-html-gprof: install-html-gprof
16818 install-html-gprof: \
16819 configure-gprof \
16820 html-gprof
16821 @: $(MAKE); $(unstage)
16822 @[ -f ./gprof/Makefile ] || exit 0; \
16823 r=`${PWD_COMMAND}`; export r; \
16824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16825 $(HOST_EXPORTS) \
16826 for flag in $(EXTRA_HOST_FLAGS) ; do \
16827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16828 done; \
16829 echo "Doing install-html in gprof" ; \
16830 (cd $(HOST_SUBDIR)/gprof && \
16831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16833 "RANLIB=$${RANLIB}" \
16834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16835 install-html) \
16836 || exit 1
16838 @endif gprof
16840 .PHONY: maybe-installcheck-gprof installcheck-gprof
16841 maybe-installcheck-gprof:
16842 @if gprof
16843 maybe-installcheck-gprof: installcheck-gprof
16845 installcheck-gprof: \
16846 configure-gprof
16847 @: $(MAKE); $(unstage)
16848 @[ -f ./gprof/Makefile ] || exit 0; \
16849 r=`${PWD_COMMAND}`; export r; \
16850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16851 $(HOST_EXPORTS) \
16852 for flag in $(EXTRA_HOST_FLAGS) ; do \
16853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16854 done; \
16855 echo "Doing installcheck in gprof" ; \
16856 (cd $(HOST_SUBDIR)/gprof && \
16857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16859 "RANLIB=$${RANLIB}" \
16860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16861 installcheck) \
16862 || exit 1
16864 @endif gprof
16866 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16867 maybe-mostlyclean-gprof:
16868 @if gprof
16869 maybe-mostlyclean-gprof: mostlyclean-gprof
16871 mostlyclean-gprof:
16872 @: $(MAKE); $(unstage)
16873 @[ -f ./gprof/Makefile ] || exit 0; \
16874 r=`${PWD_COMMAND}`; export r; \
16875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16876 $(HOST_EXPORTS) \
16877 for flag in $(EXTRA_HOST_FLAGS) ; do \
16878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16879 done; \
16880 echo "Doing mostlyclean in gprof" ; \
16881 (cd $(HOST_SUBDIR)/gprof && \
16882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16884 "RANLIB=$${RANLIB}" \
16885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16886 mostlyclean) \
16887 || exit 1
16889 @endif gprof
16891 .PHONY: maybe-clean-gprof clean-gprof
16892 maybe-clean-gprof:
16893 @if gprof
16894 maybe-clean-gprof: clean-gprof
16896 clean-gprof:
16897 @: $(MAKE); $(unstage)
16898 @[ -f ./gprof/Makefile ] || exit 0; \
16899 r=`${PWD_COMMAND}`; export r; \
16900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16901 $(HOST_EXPORTS) \
16902 for flag in $(EXTRA_HOST_FLAGS) ; do \
16903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16904 done; \
16905 echo "Doing clean in gprof" ; \
16906 (cd $(HOST_SUBDIR)/gprof && \
16907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16909 "RANLIB=$${RANLIB}" \
16910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16911 clean) \
16912 || exit 1
16914 @endif gprof
16916 .PHONY: maybe-distclean-gprof distclean-gprof
16917 maybe-distclean-gprof:
16918 @if gprof
16919 maybe-distclean-gprof: distclean-gprof
16921 distclean-gprof:
16922 @: $(MAKE); $(unstage)
16923 @[ -f ./gprof/Makefile ] || exit 0; \
16924 r=`${PWD_COMMAND}`; export r; \
16925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16926 $(HOST_EXPORTS) \
16927 for flag in $(EXTRA_HOST_FLAGS) ; do \
16928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16929 done; \
16930 echo "Doing distclean in gprof" ; \
16931 (cd $(HOST_SUBDIR)/gprof && \
16932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16934 "RANLIB=$${RANLIB}" \
16935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16936 distclean) \
16937 || exit 1
16939 @endif gprof
16941 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16942 maybe-maintainer-clean-gprof:
16943 @if gprof
16944 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16946 maintainer-clean-gprof:
16947 @: $(MAKE); $(unstage)
16948 @[ -f ./gprof/Makefile ] || exit 0; \
16949 r=`${PWD_COMMAND}`; export r; \
16950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16951 $(HOST_EXPORTS) \
16952 for flag in $(EXTRA_HOST_FLAGS) ; do \
16953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16954 done; \
16955 echo "Doing maintainer-clean in gprof" ; \
16956 (cd $(HOST_SUBDIR)/gprof && \
16957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16959 "RANLIB=$${RANLIB}" \
16960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16961 maintainer-clean) \
16962 || exit 1
16964 @endif gprof
16968 .PHONY: configure-intl maybe-configure-intl
16969 maybe-configure-intl:
16970 @if gcc-bootstrap
16971 configure-intl: stage_current
16972 @endif gcc-bootstrap
16973 @if intl
16974 maybe-configure-intl: configure-intl
16975 configure-intl:
16976 @r=`${PWD_COMMAND}`; export r; \
16977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16978 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16980 $(HOST_EXPORTS) \
16981 echo Configuring in $(HOST_SUBDIR)/intl; \
16982 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16983 case $(srcdir) in \
16984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16985 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16987 esac; \
16988 srcdiroption="--srcdir=$${topdir}/intl"; \
16989 libsrcdir="$$s/intl"; \
16990 $(SHELL) $${libsrcdir}/configure \
16991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16992 --target=${target_alias} $${srcdiroption} \
16993 || exit 1
16994 @endif intl
16998 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16999 maybe-configure-stage1-intl:
17000 @if intl-bootstrap
17001 maybe-configure-stage1-intl: configure-stage1-intl
17002 configure-stage1-intl:
17003 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17005 @r=`${PWD_COMMAND}`; export r; \
17006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17007 TFLAGS="$(STAGE1_TFLAGS)"; \
17008 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17009 $(HOST_EXPORTS) \
17010 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17011 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17012 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17013 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
17014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17015 cd $(HOST_SUBDIR)/intl || exit 1; \
17016 case $(srcdir) in \
17017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17018 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17020 esac; \
17021 srcdiroption="--srcdir=$${topdir}/intl"; \
17022 libsrcdir="$$s/intl"; \
17023 $(SHELL) $${libsrcdir}/configure \
17024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17025 --target=${target_alias} $${srcdiroption} \
17026 $(STAGE1_CONFIGURE_FLAGS)
17027 @endif intl-bootstrap
17029 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17030 maybe-configure-stage2-intl:
17031 @if intl-bootstrap
17032 maybe-configure-stage2-intl: configure-stage2-intl
17033 configure-stage2-intl:
17034 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17036 @r=`${PWD_COMMAND}`; export r; \
17037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17038 TFLAGS="$(STAGE2_TFLAGS)"; \
17039 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17040 $(HOST_EXPORTS) \
17041 $(POSTSTAGE1_HOST_EXPORTS) \
17042 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17043 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17044 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17045 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17047 cd $(HOST_SUBDIR)/intl || exit 1; \
17048 case $(srcdir) in \
17049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17050 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17052 esac; \
17053 srcdiroption="--srcdir=$${topdir}/intl"; \
17054 libsrcdir="$$s/intl"; \
17055 $(SHELL) $${libsrcdir}/configure \
17056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17057 --target=${target_alias} $${srcdiroption} \
17058 --with-build-libsubdir=$(HOST_SUBDIR) \
17059 $(STAGE2_CONFIGURE_FLAGS)
17060 @endif intl-bootstrap
17062 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17063 maybe-configure-stage3-intl:
17064 @if intl-bootstrap
17065 maybe-configure-stage3-intl: configure-stage3-intl
17066 configure-stage3-intl:
17067 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17069 @r=`${PWD_COMMAND}`; export r; \
17070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17071 TFLAGS="$(STAGE3_TFLAGS)"; \
17072 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17073 $(HOST_EXPORTS) \
17074 $(POSTSTAGE1_HOST_EXPORTS) \
17075 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17076 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17077 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17078 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17080 cd $(HOST_SUBDIR)/intl || exit 1; \
17081 case $(srcdir) in \
17082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17083 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17085 esac; \
17086 srcdiroption="--srcdir=$${topdir}/intl"; \
17087 libsrcdir="$$s/intl"; \
17088 $(SHELL) $${libsrcdir}/configure \
17089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17090 --target=${target_alias} $${srcdiroption} \
17091 --with-build-libsubdir=$(HOST_SUBDIR) \
17092 $(STAGE3_CONFIGURE_FLAGS)
17093 @endif intl-bootstrap
17095 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17096 maybe-configure-stage4-intl:
17097 @if intl-bootstrap
17098 maybe-configure-stage4-intl: configure-stage4-intl
17099 configure-stage4-intl:
17100 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17101 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17102 @r=`${PWD_COMMAND}`; export r; \
17103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17104 TFLAGS="$(STAGE4_TFLAGS)"; \
17105 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17106 $(HOST_EXPORTS) \
17107 $(POSTSTAGE1_HOST_EXPORTS) \
17108 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17109 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17110 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17111 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17113 cd $(HOST_SUBDIR)/intl || exit 1; \
17114 case $(srcdir) in \
17115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17116 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17118 esac; \
17119 srcdiroption="--srcdir=$${topdir}/intl"; \
17120 libsrcdir="$$s/intl"; \
17121 $(SHELL) $${libsrcdir}/configure \
17122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17123 --target=${target_alias} $${srcdiroption} \
17124 --with-build-libsubdir=$(HOST_SUBDIR) \
17125 $(STAGE4_CONFIGURE_FLAGS)
17126 @endif intl-bootstrap
17128 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17129 maybe-configure-stageprofile-intl:
17130 @if intl-bootstrap
17131 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17132 configure-stageprofile-intl:
17133 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17135 @r=`${PWD_COMMAND}`; export r; \
17136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17137 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17138 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17139 $(HOST_EXPORTS) \
17140 $(POSTSTAGE1_HOST_EXPORTS) \
17141 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17142 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17143 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17144 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17146 cd $(HOST_SUBDIR)/intl || exit 1; \
17147 case $(srcdir) in \
17148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17149 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17151 esac; \
17152 srcdiroption="--srcdir=$${topdir}/intl"; \
17153 libsrcdir="$$s/intl"; \
17154 $(SHELL) $${libsrcdir}/configure \
17155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17156 --target=${target_alias} $${srcdiroption} \
17157 --with-build-libsubdir=$(HOST_SUBDIR) \
17158 $(STAGEprofile_CONFIGURE_FLAGS)
17159 @endif intl-bootstrap
17161 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17162 maybe-configure-stagefeedback-intl:
17163 @if intl-bootstrap
17164 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17165 configure-stagefeedback-intl:
17166 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17168 @r=`${PWD_COMMAND}`; export r; \
17169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17170 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17171 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17172 $(HOST_EXPORTS) \
17173 $(POSTSTAGE1_HOST_EXPORTS) \
17174 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17175 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17176 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17177 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17179 cd $(HOST_SUBDIR)/intl || exit 1; \
17180 case $(srcdir) in \
17181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17182 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17184 esac; \
17185 srcdiroption="--srcdir=$${topdir}/intl"; \
17186 libsrcdir="$$s/intl"; \
17187 $(SHELL) $${libsrcdir}/configure \
17188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17189 --target=${target_alias} $${srcdiroption} \
17190 --with-build-libsubdir=$(HOST_SUBDIR) \
17191 $(STAGEfeedback_CONFIGURE_FLAGS)
17192 @endif intl-bootstrap
17198 .PHONY: all-intl maybe-all-intl
17199 maybe-all-intl:
17200 @if gcc-bootstrap
17201 all-intl: stage_current
17202 @endif gcc-bootstrap
17203 @if intl
17204 TARGET-intl=all
17205 maybe-all-intl: all-intl
17206 all-intl: configure-intl
17207 @r=`${PWD_COMMAND}`; export r; \
17208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17209 $(HOST_EXPORTS) \
17210 (cd $(HOST_SUBDIR)/intl && \
17211 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17212 $(TARGET-intl))
17213 @endif intl
17217 .PHONY: all-stage1-intl maybe-all-stage1-intl
17218 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17219 maybe-all-stage1-intl:
17220 maybe-clean-stage1-intl:
17221 @if intl-bootstrap
17222 maybe-all-stage1-intl: all-stage1-intl
17223 all-stage1: all-stage1-intl
17224 TARGET-stage1-intl = $(TARGET-intl)
17225 all-stage1-intl: configure-stage1-intl
17226 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17227 @r=`${PWD_COMMAND}`; export r; \
17228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17229 TFLAGS="$(STAGE1_TFLAGS)"; \
17230 $(HOST_EXPORTS) \
17231 cd $(HOST_SUBDIR)/intl && \
17232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17233 CFLAGS="$(STAGE1_CFLAGS)" \
17234 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17235 LIBCFLAGS="$(LIBCFLAGS)" \
17236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17239 $(EXTRA_HOST_FLAGS) \
17240 TFLAGS="$(STAGE1_TFLAGS)" \
17241 $(TARGET-stage1-intl)
17243 maybe-clean-stage1-intl: clean-stage1-intl
17244 clean-stage1: clean-stage1-intl
17245 clean-stage1-intl:
17246 @if [ $(current_stage) = stage1 ]; then \
17247 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17248 else \
17249 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17250 $(MAKE) stage1-start; \
17251 fi; \
17252 cd $(HOST_SUBDIR)/intl && \
17253 $(MAKE) $(EXTRA_HOST_FLAGS) \
17254 clean
17255 @endif intl-bootstrap
17258 .PHONY: all-stage2-intl maybe-all-stage2-intl
17259 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17260 maybe-all-stage2-intl:
17261 maybe-clean-stage2-intl:
17262 @if intl-bootstrap
17263 maybe-all-stage2-intl: all-stage2-intl
17264 all-stage2: all-stage2-intl
17265 TARGET-stage2-intl = $(TARGET-intl)
17266 all-stage2-intl: configure-stage2-intl
17267 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17268 @r=`${PWD_COMMAND}`; export r; \
17269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17270 TFLAGS="$(STAGE2_TFLAGS)"; \
17271 $(HOST_EXPORTS) \
17272 $(POSTSTAGE1_HOST_EXPORTS) \
17273 cd $(HOST_SUBDIR)/intl && \
17274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17275 CFLAGS="$(STAGE2_CFLAGS)" \
17276 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17277 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17278 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17279 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17280 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17281 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17282 TFLAGS="$(STAGE2_TFLAGS)" \
17283 $(TARGET-stage2-intl)
17285 maybe-clean-stage2-intl: clean-stage2-intl
17286 clean-stage2: clean-stage2-intl
17287 clean-stage2-intl:
17288 @if [ $(current_stage) = stage2 ]; then \
17289 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17290 else \
17291 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17292 $(MAKE) stage2-start; \
17293 fi; \
17294 cd $(HOST_SUBDIR)/intl && \
17295 $(MAKE) $(EXTRA_HOST_FLAGS) \
17296 $(POSTSTAGE1_FLAGS_TO_PASS) \
17297 clean
17298 @endif intl-bootstrap
17301 .PHONY: all-stage3-intl maybe-all-stage3-intl
17302 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17303 maybe-all-stage3-intl:
17304 maybe-clean-stage3-intl:
17305 @if intl-bootstrap
17306 maybe-all-stage3-intl: all-stage3-intl
17307 all-stage3: all-stage3-intl
17308 TARGET-stage3-intl = $(TARGET-intl)
17309 all-stage3-intl: configure-stage3-intl
17310 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17311 @r=`${PWD_COMMAND}`; export r; \
17312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17313 TFLAGS="$(STAGE3_TFLAGS)"; \
17314 $(HOST_EXPORTS) \
17315 $(POSTSTAGE1_HOST_EXPORTS) \
17316 cd $(HOST_SUBDIR)/intl && \
17317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17318 CFLAGS="$(STAGE3_CFLAGS)" \
17319 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17320 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17324 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17325 TFLAGS="$(STAGE3_TFLAGS)" \
17326 $(TARGET-stage3-intl)
17328 maybe-clean-stage3-intl: clean-stage3-intl
17329 clean-stage3: clean-stage3-intl
17330 clean-stage3-intl:
17331 @if [ $(current_stage) = stage3 ]; then \
17332 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17333 else \
17334 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17335 $(MAKE) stage3-start; \
17336 fi; \
17337 cd $(HOST_SUBDIR)/intl && \
17338 $(MAKE) $(EXTRA_HOST_FLAGS) \
17339 $(POSTSTAGE1_FLAGS_TO_PASS) \
17340 clean
17341 @endif intl-bootstrap
17344 .PHONY: all-stage4-intl maybe-all-stage4-intl
17345 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17346 maybe-all-stage4-intl:
17347 maybe-clean-stage4-intl:
17348 @if intl-bootstrap
17349 maybe-all-stage4-intl: all-stage4-intl
17350 all-stage4: all-stage4-intl
17351 TARGET-stage4-intl = $(TARGET-intl)
17352 all-stage4-intl: configure-stage4-intl
17353 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17354 @r=`${PWD_COMMAND}`; export r; \
17355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17356 TFLAGS="$(STAGE4_TFLAGS)"; \
17357 $(HOST_EXPORTS) \
17358 $(POSTSTAGE1_HOST_EXPORTS) \
17359 cd $(HOST_SUBDIR)/intl && \
17360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17361 CFLAGS="$(STAGE4_CFLAGS)" \
17362 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17363 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17364 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17365 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17366 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17367 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17368 TFLAGS="$(STAGE4_TFLAGS)" \
17369 $(TARGET-stage4-intl)
17371 maybe-clean-stage4-intl: clean-stage4-intl
17372 clean-stage4: clean-stage4-intl
17373 clean-stage4-intl:
17374 @if [ $(current_stage) = stage4 ]; then \
17375 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17376 else \
17377 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17378 $(MAKE) stage4-start; \
17379 fi; \
17380 cd $(HOST_SUBDIR)/intl && \
17381 $(MAKE) $(EXTRA_HOST_FLAGS) \
17382 $(POSTSTAGE1_FLAGS_TO_PASS) \
17383 clean
17384 @endif intl-bootstrap
17387 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17388 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17389 maybe-all-stageprofile-intl:
17390 maybe-clean-stageprofile-intl:
17391 @if intl-bootstrap
17392 maybe-all-stageprofile-intl: all-stageprofile-intl
17393 all-stageprofile: all-stageprofile-intl
17394 TARGET-stageprofile-intl = $(TARGET-intl)
17395 all-stageprofile-intl: configure-stageprofile-intl
17396 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17397 @r=`${PWD_COMMAND}`; export r; \
17398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17399 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17400 $(HOST_EXPORTS) \
17401 $(POSTSTAGE1_HOST_EXPORTS) \
17402 cd $(HOST_SUBDIR)/intl && \
17403 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17404 CFLAGS="$(STAGEprofile_CFLAGS)" \
17405 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17406 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17407 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17408 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17409 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17410 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17411 TFLAGS="$(STAGEprofile_TFLAGS)" \
17412 $(TARGET-stageprofile-intl)
17414 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17415 clean-stageprofile: clean-stageprofile-intl
17416 clean-stageprofile-intl:
17417 @if [ $(current_stage) = stageprofile ]; then \
17418 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17419 else \
17420 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17421 $(MAKE) stageprofile-start; \
17422 fi; \
17423 cd $(HOST_SUBDIR)/intl && \
17424 $(MAKE) $(EXTRA_HOST_FLAGS) \
17425 $(POSTSTAGE1_FLAGS_TO_PASS) \
17426 clean
17427 @endif intl-bootstrap
17430 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17431 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17432 maybe-all-stagefeedback-intl:
17433 maybe-clean-stagefeedback-intl:
17434 @if intl-bootstrap
17435 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17436 all-stagefeedback: all-stagefeedback-intl
17437 TARGET-stagefeedback-intl = $(TARGET-intl)
17438 all-stagefeedback-intl: configure-stagefeedback-intl
17439 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17440 @r=`${PWD_COMMAND}`; export r; \
17441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17442 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17443 $(HOST_EXPORTS) \
17444 $(POSTSTAGE1_HOST_EXPORTS) \
17445 cd $(HOST_SUBDIR)/intl && \
17446 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17447 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17448 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17449 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17450 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17451 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17452 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17453 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17454 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17455 $(TARGET-stagefeedback-intl)
17457 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17458 clean-stagefeedback: clean-stagefeedback-intl
17459 clean-stagefeedback-intl:
17460 @if [ $(current_stage) = stagefeedback ]; then \
17461 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17462 else \
17463 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17464 $(MAKE) stagefeedback-start; \
17465 fi; \
17466 cd $(HOST_SUBDIR)/intl && \
17467 $(MAKE) $(EXTRA_HOST_FLAGS) \
17468 $(POSTSTAGE1_FLAGS_TO_PASS) \
17469 clean
17470 @endif intl-bootstrap
17476 .PHONY: check-intl maybe-check-intl
17477 maybe-check-intl:
17478 @if intl
17479 maybe-check-intl: check-intl
17481 check-intl:
17482 @: $(MAKE); $(unstage)
17483 @r=`${PWD_COMMAND}`; export r; \
17484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17485 $(HOST_EXPORTS) \
17486 (cd $(HOST_SUBDIR)/intl && \
17487 $(MAKE) $(FLAGS_TO_PASS) check)
17489 @endif intl
17491 .PHONY: install-intl maybe-install-intl
17492 maybe-install-intl:
17493 @if intl
17494 maybe-install-intl: install-intl
17496 install-intl: installdirs
17497 @: $(MAKE); $(unstage)
17498 @r=`${PWD_COMMAND}`; export r; \
17499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17500 $(HOST_EXPORTS) \
17501 (cd $(HOST_SUBDIR)/intl && \
17502 $(MAKE) $(FLAGS_TO_PASS) install)
17504 @endif intl
17506 .PHONY: install-strip-intl maybe-install-strip-intl
17507 maybe-install-strip-intl:
17508 @if intl
17509 maybe-install-strip-intl: install-strip-intl
17511 install-strip-intl: installdirs
17512 @: $(MAKE); $(unstage)
17513 @r=`${PWD_COMMAND}`; export r; \
17514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17515 $(HOST_EXPORTS) \
17516 (cd $(HOST_SUBDIR)/intl && \
17517 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17519 @endif intl
17521 # Other targets (info, dvi, pdf, etc.)
17523 .PHONY: maybe-info-intl info-intl
17524 maybe-info-intl:
17525 @if intl
17526 maybe-info-intl: info-intl
17528 info-intl: \
17529 configure-intl
17530 @[ -f ./intl/Makefile ] || exit 0; \
17531 r=`${PWD_COMMAND}`; export r; \
17532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17533 $(HOST_EXPORTS) \
17534 for flag in $(EXTRA_HOST_FLAGS) ; do \
17535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17536 done; \
17537 echo "Doing info in intl" ; \
17538 (cd $(HOST_SUBDIR)/intl && \
17539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17541 "RANLIB=$${RANLIB}" \
17542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17543 info) \
17544 || exit 1
17546 @endif intl
17548 .PHONY: maybe-dvi-intl dvi-intl
17549 maybe-dvi-intl:
17550 @if intl
17551 maybe-dvi-intl: dvi-intl
17553 dvi-intl: \
17554 configure-intl
17555 @[ -f ./intl/Makefile ] || exit 0; \
17556 r=`${PWD_COMMAND}`; export r; \
17557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17558 $(HOST_EXPORTS) \
17559 for flag in $(EXTRA_HOST_FLAGS) ; do \
17560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17561 done; \
17562 echo "Doing dvi in intl" ; \
17563 (cd $(HOST_SUBDIR)/intl && \
17564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17566 "RANLIB=$${RANLIB}" \
17567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17568 dvi) \
17569 || exit 1
17571 @endif intl
17573 .PHONY: maybe-pdf-intl pdf-intl
17574 maybe-pdf-intl:
17575 @if intl
17576 maybe-pdf-intl: pdf-intl
17578 pdf-intl: \
17579 configure-intl
17580 @[ -f ./intl/Makefile ] || exit 0; \
17581 r=`${PWD_COMMAND}`; export r; \
17582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17583 $(HOST_EXPORTS) \
17584 for flag in $(EXTRA_HOST_FLAGS) ; do \
17585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17586 done; \
17587 echo "Doing pdf in intl" ; \
17588 (cd $(HOST_SUBDIR)/intl && \
17589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17591 "RANLIB=$${RANLIB}" \
17592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17593 pdf) \
17594 || exit 1
17596 @endif intl
17598 .PHONY: maybe-html-intl html-intl
17599 maybe-html-intl:
17600 @if intl
17601 maybe-html-intl: html-intl
17603 html-intl: \
17604 configure-intl
17605 @[ -f ./intl/Makefile ] || exit 0; \
17606 r=`${PWD_COMMAND}`; export r; \
17607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17608 $(HOST_EXPORTS) \
17609 for flag in $(EXTRA_HOST_FLAGS) ; do \
17610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17611 done; \
17612 echo "Doing html in intl" ; \
17613 (cd $(HOST_SUBDIR)/intl && \
17614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17616 "RANLIB=$${RANLIB}" \
17617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17618 html) \
17619 || exit 1
17621 @endif intl
17623 .PHONY: maybe-TAGS-intl TAGS-intl
17624 maybe-TAGS-intl:
17625 @if intl
17626 maybe-TAGS-intl: TAGS-intl
17628 TAGS-intl: \
17629 configure-intl
17630 @[ -f ./intl/Makefile ] || exit 0; \
17631 r=`${PWD_COMMAND}`; export r; \
17632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17633 $(HOST_EXPORTS) \
17634 for flag in $(EXTRA_HOST_FLAGS) ; do \
17635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17636 done; \
17637 echo "Doing TAGS in intl" ; \
17638 (cd $(HOST_SUBDIR)/intl && \
17639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17641 "RANLIB=$${RANLIB}" \
17642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17643 TAGS) \
17644 || exit 1
17646 @endif intl
17648 .PHONY: maybe-install-info-intl install-info-intl
17649 maybe-install-info-intl:
17650 @if intl
17651 maybe-install-info-intl: install-info-intl
17653 install-info-intl: \
17654 configure-intl \
17655 info-intl
17656 @[ -f ./intl/Makefile ] || exit 0; \
17657 r=`${PWD_COMMAND}`; export r; \
17658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17659 $(HOST_EXPORTS) \
17660 for flag in $(EXTRA_HOST_FLAGS) ; do \
17661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17662 done; \
17663 echo "Doing install-info in intl" ; \
17664 (cd $(HOST_SUBDIR)/intl && \
17665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17667 "RANLIB=$${RANLIB}" \
17668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17669 install-info) \
17670 || exit 1
17672 @endif intl
17674 .PHONY: maybe-install-pdf-intl install-pdf-intl
17675 maybe-install-pdf-intl:
17676 @if intl
17677 maybe-install-pdf-intl: install-pdf-intl
17679 install-pdf-intl: \
17680 configure-intl \
17681 pdf-intl
17682 @[ -f ./intl/Makefile ] || exit 0; \
17683 r=`${PWD_COMMAND}`; export r; \
17684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17685 $(HOST_EXPORTS) \
17686 for flag in $(EXTRA_HOST_FLAGS) ; do \
17687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17688 done; \
17689 echo "Doing install-pdf in intl" ; \
17690 (cd $(HOST_SUBDIR)/intl && \
17691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17693 "RANLIB=$${RANLIB}" \
17694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17695 install-pdf) \
17696 || exit 1
17698 @endif intl
17700 .PHONY: maybe-install-html-intl install-html-intl
17701 maybe-install-html-intl:
17702 @if intl
17703 maybe-install-html-intl: install-html-intl
17705 install-html-intl: \
17706 configure-intl \
17707 html-intl
17708 @[ -f ./intl/Makefile ] || exit 0; \
17709 r=`${PWD_COMMAND}`; export r; \
17710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17711 $(HOST_EXPORTS) \
17712 for flag in $(EXTRA_HOST_FLAGS) ; do \
17713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17714 done; \
17715 echo "Doing install-html in intl" ; \
17716 (cd $(HOST_SUBDIR)/intl && \
17717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17719 "RANLIB=$${RANLIB}" \
17720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17721 install-html) \
17722 || exit 1
17724 @endif intl
17726 .PHONY: maybe-installcheck-intl installcheck-intl
17727 maybe-installcheck-intl:
17728 @if intl
17729 maybe-installcheck-intl: installcheck-intl
17731 installcheck-intl: \
17732 configure-intl
17733 @[ -f ./intl/Makefile ] || exit 0; \
17734 r=`${PWD_COMMAND}`; export r; \
17735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17736 $(HOST_EXPORTS) \
17737 for flag in $(EXTRA_HOST_FLAGS) ; do \
17738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17739 done; \
17740 echo "Doing installcheck in intl" ; \
17741 (cd $(HOST_SUBDIR)/intl && \
17742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17744 "RANLIB=$${RANLIB}" \
17745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17746 installcheck) \
17747 || exit 1
17749 @endif intl
17751 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17752 maybe-mostlyclean-intl:
17753 @if intl
17754 maybe-mostlyclean-intl: mostlyclean-intl
17756 mostlyclean-intl:
17757 @[ -f ./intl/Makefile ] || exit 0; \
17758 r=`${PWD_COMMAND}`; export r; \
17759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17760 $(HOST_EXPORTS) \
17761 for flag in $(EXTRA_HOST_FLAGS) ; do \
17762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17763 done; \
17764 echo "Doing mostlyclean in intl" ; \
17765 (cd $(HOST_SUBDIR)/intl && \
17766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17768 "RANLIB=$${RANLIB}" \
17769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17770 mostlyclean) \
17771 || exit 1
17773 @endif intl
17775 .PHONY: maybe-clean-intl clean-intl
17776 maybe-clean-intl:
17777 @if intl
17778 maybe-clean-intl: clean-intl
17780 clean-intl:
17781 @[ -f ./intl/Makefile ] || exit 0; \
17782 r=`${PWD_COMMAND}`; export r; \
17783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17784 $(HOST_EXPORTS) \
17785 for flag in $(EXTRA_HOST_FLAGS) ; do \
17786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17787 done; \
17788 echo "Doing clean in intl" ; \
17789 (cd $(HOST_SUBDIR)/intl && \
17790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17792 "RANLIB=$${RANLIB}" \
17793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17794 clean) \
17795 || exit 1
17797 @endif intl
17799 .PHONY: maybe-distclean-intl distclean-intl
17800 maybe-distclean-intl:
17801 @if intl
17802 maybe-distclean-intl: distclean-intl
17804 distclean-intl:
17805 @[ -f ./intl/Makefile ] || exit 0; \
17806 r=`${PWD_COMMAND}`; export r; \
17807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17808 $(HOST_EXPORTS) \
17809 for flag in $(EXTRA_HOST_FLAGS) ; do \
17810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17811 done; \
17812 echo "Doing distclean in intl" ; \
17813 (cd $(HOST_SUBDIR)/intl && \
17814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17816 "RANLIB=$${RANLIB}" \
17817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17818 distclean) \
17819 || exit 1
17821 @endif intl
17823 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17824 maybe-maintainer-clean-intl:
17825 @if intl
17826 maybe-maintainer-clean-intl: maintainer-clean-intl
17828 maintainer-clean-intl:
17829 @[ -f ./intl/Makefile ] || exit 0; \
17830 r=`${PWD_COMMAND}`; export r; \
17831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17832 $(HOST_EXPORTS) \
17833 for flag in $(EXTRA_HOST_FLAGS) ; do \
17834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17835 done; \
17836 echo "Doing maintainer-clean in intl" ; \
17837 (cd $(HOST_SUBDIR)/intl && \
17838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17840 "RANLIB=$${RANLIB}" \
17841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17842 maintainer-clean) \
17843 || exit 1
17845 @endif intl
17849 .PHONY: configure-tcl maybe-configure-tcl
17850 maybe-configure-tcl:
17851 @if gcc-bootstrap
17852 configure-tcl: stage_current
17853 @endif gcc-bootstrap
17854 @if tcl
17855 maybe-configure-tcl: configure-tcl
17856 configure-tcl:
17857 @: $(MAKE); $(unstage)
17858 @r=`${PWD_COMMAND}`; export r; \
17859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17860 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17862 $(HOST_EXPORTS) \
17863 echo Configuring in $(HOST_SUBDIR)/tcl; \
17864 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17865 case $(srcdir) in \
17866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17867 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17869 esac; \
17870 srcdiroption="--srcdir=$${topdir}/tcl"; \
17871 libsrcdir="$$s/tcl"; \
17872 $(SHELL) $${libsrcdir}/configure \
17873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17874 --target=${target_alias} $${srcdiroption} \
17875 || exit 1
17876 @endif tcl
17882 .PHONY: all-tcl maybe-all-tcl
17883 maybe-all-tcl:
17884 @if gcc-bootstrap
17885 all-tcl: stage_current
17886 @endif gcc-bootstrap
17887 @if tcl
17888 TARGET-tcl=all
17889 maybe-all-tcl: all-tcl
17890 all-tcl: configure-tcl
17891 @: $(MAKE); $(unstage)
17892 @r=`${PWD_COMMAND}`; export r; \
17893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17894 $(HOST_EXPORTS) \
17895 (cd $(HOST_SUBDIR)/tcl && \
17896 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17897 $(TARGET-tcl))
17898 @endif tcl
17903 .PHONY: check-tcl maybe-check-tcl
17904 maybe-check-tcl:
17905 @if tcl
17906 maybe-check-tcl: check-tcl
17908 check-tcl:
17909 @: $(MAKE); $(unstage)
17910 @r=`${PWD_COMMAND}`; export r; \
17911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17912 $(HOST_EXPORTS) \
17913 (cd $(HOST_SUBDIR)/tcl && \
17914 $(MAKE) $(FLAGS_TO_PASS) check)
17916 @endif tcl
17918 .PHONY: install-tcl maybe-install-tcl
17919 maybe-install-tcl:
17920 @if tcl
17921 maybe-install-tcl: install-tcl
17923 install-tcl: installdirs
17924 @: $(MAKE); $(unstage)
17925 @r=`${PWD_COMMAND}`; export r; \
17926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17927 $(HOST_EXPORTS) \
17928 (cd $(HOST_SUBDIR)/tcl && \
17929 $(MAKE) $(FLAGS_TO_PASS) install)
17931 @endif tcl
17933 .PHONY: install-strip-tcl maybe-install-strip-tcl
17934 maybe-install-strip-tcl:
17935 @if tcl
17936 maybe-install-strip-tcl: install-strip-tcl
17938 install-strip-tcl: installdirs
17939 @: $(MAKE); $(unstage)
17940 @r=`${PWD_COMMAND}`; export r; \
17941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17942 $(HOST_EXPORTS) \
17943 (cd $(HOST_SUBDIR)/tcl && \
17944 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17946 @endif tcl
17948 # Other targets (info, dvi, pdf, etc.)
17950 .PHONY: maybe-info-tcl info-tcl
17951 maybe-info-tcl:
17952 @if tcl
17953 maybe-info-tcl: info-tcl
17955 info-tcl: \
17956 configure-tcl
17957 @: $(MAKE); $(unstage)
17958 @[ -f ./tcl/Makefile ] || exit 0; \
17959 r=`${PWD_COMMAND}`; export r; \
17960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17961 $(HOST_EXPORTS) \
17962 for flag in $(EXTRA_HOST_FLAGS) ; do \
17963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17964 done; \
17965 echo "Doing info in tcl" ; \
17966 (cd $(HOST_SUBDIR)/tcl && \
17967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17969 "RANLIB=$${RANLIB}" \
17970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17971 info) \
17972 || exit 1
17974 @endif tcl
17976 .PHONY: maybe-dvi-tcl dvi-tcl
17977 maybe-dvi-tcl:
17978 @if tcl
17979 maybe-dvi-tcl: dvi-tcl
17981 dvi-tcl: \
17982 configure-tcl
17983 @: $(MAKE); $(unstage)
17984 @[ -f ./tcl/Makefile ] || exit 0; \
17985 r=`${PWD_COMMAND}`; export r; \
17986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17987 $(HOST_EXPORTS) \
17988 for flag in $(EXTRA_HOST_FLAGS) ; do \
17989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17990 done; \
17991 echo "Doing dvi in tcl" ; \
17992 (cd $(HOST_SUBDIR)/tcl && \
17993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17995 "RANLIB=$${RANLIB}" \
17996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17997 dvi) \
17998 || exit 1
18000 @endif tcl
18002 .PHONY: maybe-pdf-tcl pdf-tcl
18003 maybe-pdf-tcl:
18004 @if tcl
18005 maybe-pdf-tcl: pdf-tcl
18007 pdf-tcl: \
18008 configure-tcl
18009 @: $(MAKE); $(unstage)
18010 @[ -f ./tcl/Makefile ] || exit 0; \
18011 r=`${PWD_COMMAND}`; export r; \
18012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18013 $(HOST_EXPORTS) \
18014 for flag in $(EXTRA_HOST_FLAGS) ; do \
18015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18016 done; \
18017 echo "Doing pdf in tcl" ; \
18018 (cd $(HOST_SUBDIR)/tcl && \
18019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18021 "RANLIB=$${RANLIB}" \
18022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18023 pdf) \
18024 || exit 1
18026 @endif tcl
18028 .PHONY: maybe-html-tcl html-tcl
18029 maybe-html-tcl:
18030 @if tcl
18031 maybe-html-tcl: html-tcl
18033 html-tcl: \
18034 configure-tcl
18035 @: $(MAKE); $(unstage)
18036 @[ -f ./tcl/Makefile ] || exit 0; \
18037 r=`${PWD_COMMAND}`; export r; \
18038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18039 $(HOST_EXPORTS) \
18040 for flag in $(EXTRA_HOST_FLAGS) ; do \
18041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18042 done; \
18043 echo "Doing html in tcl" ; \
18044 (cd $(HOST_SUBDIR)/tcl && \
18045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18047 "RANLIB=$${RANLIB}" \
18048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18049 html) \
18050 || exit 1
18052 @endif tcl
18054 .PHONY: maybe-TAGS-tcl TAGS-tcl
18055 maybe-TAGS-tcl:
18056 @if tcl
18057 maybe-TAGS-tcl: TAGS-tcl
18059 TAGS-tcl: \
18060 configure-tcl
18061 @: $(MAKE); $(unstage)
18062 @[ -f ./tcl/Makefile ] || exit 0; \
18063 r=`${PWD_COMMAND}`; export r; \
18064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18065 $(HOST_EXPORTS) \
18066 for flag in $(EXTRA_HOST_FLAGS) ; do \
18067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18068 done; \
18069 echo "Doing TAGS in tcl" ; \
18070 (cd $(HOST_SUBDIR)/tcl && \
18071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18073 "RANLIB=$${RANLIB}" \
18074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18075 TAGS) \
18076 || exit 1
18078 @endif tcl
18080 .PHONY: maybe-install-info-tcl install-info-tcl
18081 maybe-install-info-tcl:
18082 @if tcl
18083 maybe-install-info-tcl: install-info-tcl
18085 install-info-tcl: \
18086 configure-tcl \
18087 info-tcl
18088 @: $(MAKE); $(unstage)
18089 @[ -f ./tcl/Makefile ] || exit 0; \
18090 r=`${PWD_COMMAND}`; export r; \
18091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18092 $(HOST_EXPORTS) \
18093 for flag in $(EXTRA_HOST_FLAGS) ; do \
18094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18095 done; \
18096 echo "Doing install-info in tcl" ; \
18097 (cd $(HOST_SUBDIR)/tcl && \
18098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18100 "RANLIB=$${RANLIB}" \
18101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18102 install-info) \
18103 || exit 1
18105 @endif tcl
18107 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18108 maybe-install-pdf-tcl:
18109 @if tcl
18110 maybe-install-pdf-tcl: install-pdf-tcl
18112 install-pdf-tcl: \
18113 configure-tcl \
18114 pdf-tcl
18115 @: $(MAKE); $(unstage)
18116 @[ -f ./tcl/Makefile ] || exit 0; \
18117 r=`${PWD_COMMAND}`; export r; \
18118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18119 $(HOST_EXPORTS) \
18120 for flag in $(EXTRA_HOST_FLAGS) ; do \
18121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18122 done; \
18123 echo "Doing install-pdf in tcl" ; \
18124 (cd $(HOST_SUBDIR)/tcl && \
18125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18127 "RANLIB=$${RANLIB}" \
18128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18129 install-pdf) \
18130 || exit 1
18132 @endif tcl
18134 .PHONY: maybe-install-html-tcl install-html-tcl
18135 maybe-install-html-tcl:
18136 @if tcl
18137 maybe-install-html-tcl: install-html-tcl
18139 install-html-tcl: \
18140 configure-tcl \
18141 html-tcl
18142 @: $(MAKE); $(unstage)
18143 @[ -f ./tcl/Makefile ] || exit 0; \
18144 r=`${PWD_COMMAND}`; export r; \
18145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18146 $(HOST_EXPORTS) \
18147 for flag in $(EXTRA_HOST_FLAGS) ; do \
18148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18149 done; \
18150 echo "Doing install-html in tcl" ; \
18151 (cd $(HOST_SUBDIR)/tcl && \
18152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18154 "RANLIB=$${RANLIB}" \
18155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18156 install-html) \
18157 || exit 1
18159 @endif tcl
18161 .PHONY: maybe-installcheck-tcl installcheck-tcl
18162 maybe-installcheck-tcl:
18163 @if tcl
18164 maybe-installcheck-tcl: installcheck-tcl
18166 installcheck-tcl: \
18167 configure-tcl
18168 @: $(MAKE); $(unstage)
18169 @[ -f ./tcl/Makefile ] || exit 0; \
18170 r=`${PWD_COMMAND}`; export r; \
18171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18172 $(HOST_EXPORTS) \
18173 for flag in $(EXTRA_HOST_FLAGS) ; do \
18174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18175 done; \
18176 echo "Doing installcheck in tcl" ; \
18177 (cd $(HOST_SUBDIR)/tcl && \
18178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18180 "RANLIB=$${RANLIB}" \
18181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18182 installcheck) \
18183 || exit 1
18185 @endif tcl
18187 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18188 maybe-mostlyclean-tcl:
18189 @if tcl
18190 maybe-mostlyclean-tcl: mostlyclean-tcl
18192 # tcl doesn't support mostlyclean.
18193 mostlyclean-tcl:
18195 @endif tcl
18197 .PHONY: maybe-clean-tcl clean-tcl
18198 maybe-clean-tcl:
18199 @if tcl
18200 maybe-clean-tcl: clean-tcl
18202 clean-tcl:
18203 @: $(MAKE); $(unstage)
18204 @[ -f ./tcl/Makefile ] || exit 0; \
18205 r=`${PWD_COMMAND}`; export r; \
18206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18207 $(HOST_EXPORTS) \
18208 for flag in $(EXTRA_HOST_FLAGS) ; do \
18209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18210 done; \
18211 echo "Doing clean in tcl" ; \
18212 (cd $(HOST_SUBDIR)/tcl && \
18213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18215 "RANLIB=$${RANLIB}" \
18216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18217 clean) \
18218 || exit 1
18220 @endif tcl
18222 .PHONY: maybe-distclean-tcl distclean-tcl
18223 maybe-distclean-tcl:
18224 @if tcl
18225 maybe-distclean-tcl: distclean-tcl
18227 distclean-tcl:
18228 @: $(MAKE); $(unstage)
18229 @[ -f ./tcl/Makefile ] || exit 0; \
18230 r=`${PWD_COMMAND}`; export r; \
18231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18232 $(HOST_EXPORTS) \
18233 for flag in $(EXTRA_HOST_FLAGS) ; do \
18234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18235 done; \
18236 echo "Doing distclean in tcl" ; \
18237 (cd $(HOST_SUBDIR)/tcl && \
18238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18240 "RANLIB=$${RANLIB}" \
18241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18242 distclean) \
18243 || exit 1
18245 @endif tcl
18247 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18248 maybe-maintainer-clean-tcl:
18249 @if tcl
18250 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18252 maintainer-clean-tcl:
18253 @: $(MAKE); $(unstage)
18254 @[ -f ./tcl/Makefile ] || exit 0; \
18255 r=`${PWD_COMMAND}`; export r; \
18256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18257 $(HOST_EXPORTS) \
18258 for flag in $(EXTRA_HOST_FLAGS) ; do \
18259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18260 done; \
18261 echo "Doing maintainer-clean in tcl" ; \
18262 (cd $(HOST_SUBDIR)/tcl && \
18263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18265 "RANLIB=$${RANLIB}" \
18266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18267 maintainer-clean) \
18268 || exit 1
18270 @endif tcl
18274 .PHONY: configure-itcl maybe-configure-itcl
18275 maybe-configure-itcl:
18276 @if gcc-bootstrap
18277 configure-itcl: stage_current
18278 @endif gcc-bootstrap
18279 @if itcl
18280 maybe-configure-itcl: configure-itcl
18281 configure-itcl:
18282 @: $(MAKE); $(unstage)
18283 @r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18287 $(HOST_EXPORTS) \
18288 echo Configuring in $(HOST_SUBDIR)/itcl; \
18289 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18290 case $(srcdir) in \
18291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18292 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18294 esac; \
18295 srcdiroption="--srcdir=$${topdir}/itcl"; \
18296 libsrcdir="$$s/itcl"; \
18297 $(SHELL) $${libsrcdir}/configure \
18298 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18299 --target=${target_alias} $${srcdiroption} \
18300 || exit 1
18301 @endif itcl
18307 .PHONY: all-itcl maybe-all-itcl
18308 maybe-all-itcl:
18309 @if gcc-bootstrap
18310 all-itcl: stage_current
18311 @endif gcc-bootstrap
18312 @if itcl
18313 TARGET-itcl=all
18314 maybe-all-itcl: all-itcl
18315 all-itcl: configure-itcl
18316 @: $(MAKE); $(unstage)
18317 @r=`${PWD_COMMAND}`; export r; \
18318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18319 $(HOST_EXPORTS) \
18320 (cd $(HOST_SUBDIR)/itcl && \
18321 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18322 $(TARGET-itcl))
18323 @endif itcl
18328 .PHONY: check-itcl maybe-check-itcl
18329 maybe-check-itcl:
18330 @if itcl
18331 maybe-check-itcl: check-itcl
18333 check-itcl:
18334 @: $(MAKE); $(unstage)
18335 @r=`${PWD_COMMAND}`; export r; \
18336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18337 $(HOST_EXPORTS) \
18338 (cd $(HOST_SUBDIR)/itcl && \
18339 $(MAKE) $(FLAGS_TO_PASS) check)
18341 @endif itcl
18343 .PHONY: install-itcl maybe-install-itcl
18344 maybe-install-itcl:
18345 @if itcl
18346 maybe-install-itcl: install-itcl
18348 install-itcl: installdirs
18349 @: $(MAKE); $(unstage)
18350 @r=`${PWD_COMMAND}`; export r; \
18351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18352 $(HOST_EXPORTS) \
18353 (cd $(HOST_SUBDIR)/itcl && \
18354 $(MAKE) $(FLAGS_TO_PASS) install)
18356 @endif itcl
18358 .PHONY: install-strip-itcl maybe-install-strip-itcl
18359 maybe-install-strip-itcl:
18360 @if itcl
18361 maybe-install-strip-itcl: install-strip-itcl
18363 install-strip-itcl: installdirs
18364 @: $(MAKE); $(unstage)
18365 @r=`${PWD_COMMAND}`; export r; \
18366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18367 $(HOST_EXPORTS) \
18368 (cd $(HOST_SUBDIR)/itcl && \
18369 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18371 @endif itcl
18373 # Other targets (info, dvi, pdf, etc.)
18375 .PHONY: maybe-info-itcl info-itcl
18376 maybe-info-itcl:
18377 @if itcl
18378 maybe-info-itcl: info-itcl
18380 info-itcl: \
18381 configure-itcl
18382 @: $(MAKE); $(unstage)
18383 @[ -f ./itcl/Makefile ] || exit 0; \
18384 r=`${PWD_COMMAND}`; export r; \
18385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18386 $(HOST_EXPORTS) \
18387 for flag in $(EXTRA_HOST_FLAGS) ; do \
18388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18389 done; \
18390 echo "Doing info in itcl" ; \
18391 (cd $(HOST_SUBDIR)/itcl && \
18392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18394 "RANLIB=$${RANLIB}" \
18395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18396 info) \
18397 || exit 1
18399 @endif itcl
18401 .PHONY: maybe-dvi-itcl dvi-itcl
18402 maybe-dvi-itcl:
18403 @if itcl
18404 maybe-dvi-itcl: dvi-itcl
18406 dvi-itcl: \
18407 configure-itcl
18408 @: $(MAKE); $(unstage)
18409 @[ -f ./itcl/Makefile ] || exit 0; \
18410 r=`${PWD_COMMAND}`; export r; \
18411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18412 $(HOST_EXPORTS) \
18413 for flag in $(EXTRA_HOST_FLAGS) ; do \
18414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18415 done; \
18416 echo "Doing dvi in itcl" ; \
18417 (cd $(HOST_SUBDIR)/itcl && \
18418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18420 "RANLIB=$${RANLIB}" \
18421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18422 dvi) \
18423 || exit 1
18425 @endif itcl
18427 .PHONY: maybe-pdf-itcl pdf-itcl
18428 maybe-pdf-itcl:
18429 @if itcl
18430 maybe-pdf-itcl: pdf-itcl
18432 pdf-itcl: \
18433 configure-itcl
18434 @: $(MAKE); $(unstage)
18435 @[ -f ./itcl/Makefile ] || exit 0; \
18436 r=`${PWD_COMMAND}`; export r; \
18437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18438 $(HOST_EXPORTS) \
18439 for flag in $(EXTRA_HOST_FLAGS) ; do \
18440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18441 done; \
18442 echo "Doing pdf in itcl" ; \
18443 (cd $(HOST_SUBDIR)/itcl && \
18444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18446 "RANLIB=$${RANLIB}" \
18447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18448 pdf) \
18449 || exit 1
18451 @endif itcl
18453 .PHONY: maybe-html-itcl html-itcl
18454 maybe-html-itcl:
18455 @if itcl
18456 maybe-html-itcl: html-itcl
18458 html-itcl: \
18459 configure-itcl
18460 @: $(MAKE); $(unstage)
18461 @[ -f ./itcl/Makefile ] || exit 0; \
18462 r=`${PWD_COMMAND}`; export r; \
18463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18464 $(HOST_EXPORTS) \
18465 for flag in $(EXTRA_HOST_FLAGS) ; do \
18466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18467 done; \
18468 echo "Doing html in itcl" ; \
18469 (cd $(HOST_SUBDIR)/itcl && \
18470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18472 "RANLIB=$${RANLIB}" \
18473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18474 html) \
18475 || exit 1
18477 @endif itcl
18479 .PHONY: maybe-TAGS-itcl TAGS-itcl
18480 maybe-TAGS-itcl:
18481 @if itcl
18482 maybe-TAGS-itcl: TAGS-itcl
18484 TAGS-itcl: \
18485 configure-itcl
18486 @: $(MAKE); $(unstage)
18487 @[ -f ./itcl/Makefile ] || exit 0; \
18488 r=`${PWD_COMMAND}`; export r; \
18489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18490 $(HOST_EXPORTS) \
18491 for flag in $(EXTRA_HOST_FLAGS) ; do \
18492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18493 done; \
18494 echo "Doing TAGS in itcl" ; \
18495 (cd $(HOST_SUBDIR)/itcl && \
18496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18498 "RANLIB=$${RANLIB}" \
18499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18500 TAGS) \
18501 || exit 1
18503 @endif itcl
18505 .PHONY: maybe-install-info-itcl install-info-itcl
18506 maybe-install-info-itcl:
18507 @if itcl
18508 maybe-install-info-itcl: install-info-itcl
18510 install-info-itcl: \
18511 configure-itcl \
18512 info-itcl
18513 @: $(MAKE); $(unstage)
18514 @[ -f ./itcl/Makefile ] || exit 0; \
18515 r=`${PWD_COMMAND}`; export r; \
18516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18517 $(HOST_EXPORTS) \
18518 for flag in $(EXTRA_HOST_FLAGS) ; do \
18519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18520 done; \
18521 echo "Doing install-info in itcl" ; \
18522 (cd $(HOST_SUBDIR)/itcl && \
18523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18525 "RANLIB=$${RANLIB}" \
18526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18527 install-info) \
18528 || exit 1
18530 @endif itcl
18532 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18533 maybe-install-pdf-itcl:
18534 @if itcl
18535 maybe-install-pdf-itcl: install-pdf-itcl
18537 install-pdf-itcl: \
18538 configure-itcl \
18539 pdf-itcl
18540 @: $(MAKE); $(unstage)
18541 @[ -f ./itcl/Makefile ] || exit 0; \
18542 r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18544 $(HOST_EXPORTS) \
18545 for flag in $(EXTRA_HOST_FLAGS) ; do \
18546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18547 done; \
18548 echo "Doing install-pdf in itcl" ; \
18549 (cd $(HOST_SUBDIR)/itcl && \
18550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18552 "RANLIB=$${RANLIB}" \
18553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18554 install-pdf) \
18555 || exit 1
18557 @endif itcl
18559 .PHONY: maybe-install-html-itcl install-html-itcl
18560 maybe-install-html-itcl:
18561 @if itcl
18562 maybe-install-html-itcl: install-html-itcl
18564 install-html-itcl: \
18565 configure-itcl \
18566 html-itcl
18567 @: $(MAKE); $(unstage)
18568 @[ -f ./itcl/Makefile ] || exit 0; \
18569 r=`${PWD_COMMAND}`; export r; \
18570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18571 $(HOST_EXPORTS) \
18572 for flag in $(EXTRA_HOST_FLAGS) ; do \
18573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18574 done; \
18575 echo "Doing install-html in itcl" ; \
18576 (cd $(HOST_SUBDIR)/itcl && \
18577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18579 "RANLIB=$${RANLIB}" \
18580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18581 install-html) \
18582 || exit 1
18584 @endif itcl
18586 .PHONY: maybe-installcheck-itcl installcheck-itcl
18587 maybe-installcheck-itcl:
18588 @if itcl
18589 maybe-installcheck-itcl: installcheck-itcl
18591 installcheck-itcl: \
18592 configure-itcl
18593 @: $(MAKE); $(unstage)
18594 @[ -f ./itcl/Makefile ] || exit 0; \
18595 r=`${PWD_COMMAND}`; export r; \
18596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18597 $(HOST_EXPORTS) \
18598 for flag in $(EXTRA_HOST_FLAGS) ; do \
18599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18600 done; \
18601 echo "Doing installcheck in itcl" ; \
18602 (cd $(HOST_SUBDIR)/itcl && \
18603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18605 "RANLIB=$${RANLIB}" \
18606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18607 installcheck) \
18608 || exit 1
18610 @endif itcl
18612 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18613 maybe-mostlyclean-itcl:
18614 @if itcl
18615 maybe-mostlyclean-itcl: mostlyclean-itcl
18617 mostlyclean-itcl:
18618 @: $(MAKE); $(unstage)
18619 @[ -f ./itcl/Makefile ] || exit 0; \
18620 r=`${PWD_COMMAND}`; export r; \
18621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18622 $(HOST_EXPORTS) \
18623 for flag in $(EXTRA_HOST_FLAGS) ; do \
18624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18625 done; \
18626 echo "Doing mostlyclean in itcl" ; \
18627 (cd $(HOST_SUBDIR)/itcl && \
18628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18630 "RANLIB=$${RANLIB}" \
18631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18632 mostlyclean) \
18633 || exit 1
18635 @endif itcl
18637 .PHONY: maybe-clean-itcl clean-itcl
18638 maybe-clean-itcl:
18639 @if itcl
18640 maybe-clean-itcl: clean-itcl
18642 clean-itcl:
18643 @: $(MAKE); $(unstage)
18644 @[ -f ./itcl/Makefile ] || exit 0; \
18645 r=`${PWD_COMMAND}`; export r; \
18646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18647 $(HOST_EXPORTS) \
18648 for flag in $(EXTRA_HOST_FLAGS) ; do \
18649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18650 done; \
18651 echo "Doing clean in itcl" ; \
18652 (cd $(HOST_SUBDIR)/itcl && \
18653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18655 "RANLIB=$${RANLIB}" \
18656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18657 clean) \
18658 || exit 1
18660 @endif itcl
18662 .PHONY: maybe-distclean-itcl distclean-itcl
18663 maybe-distclean-itcl:
18664 @if itcl
18665 maybe-distclean-itcl: distclean-itcl
18667 distclean-itcl:
18668 @: $(MAKE); $(unstage)
18669 @[ -f ./itcl/Makefile ] || exit 0; \
18670 r=`${PWD_COMMAND}`; export r; \
18671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18672 $(HOST_EXPORTS) \
18673 for flag in $(EXTRA_HOST_FLAGS) ; do \
18674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18675 done; \
18676 echo "Doing distclean in itcl" ; \
18677 (cd $(HOST_SUBDIR)/itcl && \
18678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18680 "RANLIB=$${RANLIB}" \
18681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18682 distclean) \
18683 || exit 1
18685 @endif itcl
18687 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18688 maybe-maintainer-clean-itcl:
18689 @if itcl
18690 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18692 maintainer-clean-itcl:
18693 @: $(MAKE); $(unstage)
18694 @[ -f ./itcl/Makefile ] || exit 0; \
18695 r=`${PWD_COMMAND}`; export r; \
18696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18697 $(HOST_EXPORTS) \
18698 for flag in $(EXTRA_HOST_FLAGS) ; do \
18699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18700 done; \
18701 echo "Doing maintainer-clean in itcl" ; \
18702 (cd $(HOST_SUBDIR)/itcl && \
18703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18705 "RANLIB=$${RANLIB}" \
18706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18707 maintainer-clean) \
18708 || exit 1
18710 @endif itcl
18714 .PHONY: configure-ld maybe-configure-ld
18715 maybe-configure-ld:
18716 @if gcc-bootstrap
18717 configure-ld: stage_current
18718 @endif gcc-bootstrap
18719 @if ld
18720 maybe-configure-ld: configure-ld
18721 configure-ld:
18722 @r=`${PWD_COMMAND}`; export r; \
18723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18724 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18726 $(HOST_EXPORTS) \
18727 echo Configuring in $(HOST_SUBDIR)/ld; \
18728 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18729 case $(srcdir) in \
18730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18731 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18733 esac; \
18734 srcdiroption="--srcdir=$${topdir}/ld"; \
18735 libsrcdir="$$s/ld"; \
18736 $(SHELL) $${libsrcdir}/configure \
18737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18738 --target=${target_alias} $${srcdiroption} \
18739 || exit 1
18740 @endif ld
18744 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18745 maybe-configure-stage1-ld:
18746 @if ld-bootstrap
18747 maybe-configure-stage1-ld: configure-stage1-ld
18748 configure-stage1-ld:
18749 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18750 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18751 @r=`${PWD_COMMAND}`; export r; \
18752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18753 TFLAGS="$(STAGE1_TFLAGS)"; \
18754 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18755 $(HOST_EXPORTS) \
18756 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18757 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18758 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18759 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18761 cd $(HOST_SUBDIR)/ld || exit 1; \
18762 case $(srcdir) in \
18763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18764 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18766 esac; \
18767 srcdiroption="--srcdir=$${topdir}/ld"; \
18768 libsrcdir="$$s/ld"; \
18769 $(SHELL) $${libsrcdir}/configure \
18770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18771 --target=${target_alias} $${srcdiroption} \
18772 $(STAGE1_CONFIGURE_FLAGS)
18773 @endif ld-bootstrap
18775 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18776 maybe-configure-stage2-ld:
18777 @if ld-bootstrap
18778 maybe-configure-stage2-ld: configure-stage2-ld
18779 configure-stage2-ld:
18780 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18782 @r=`${PWD_COMMAND}`; export r; \
18783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18784 TFLAGS="$(STAGE2_TFLAGS)"; \
18785 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18786 $(HOST_EXPORTS) \
18787 $(POSTSTAGE1_HOST_EXPORTS) \
18788 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18789 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18790 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18791 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18793 cd $(HOST_SUBDIR)/ld || exit 1; \
18794 case $(srcdir) in \
18795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18796 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18798 esac; \
18799 srcdiroption="--srcdir=$${topdir}/ld"; \
18800 libsrcdir="$$s/ld"; \
18801 $(SHELL) $${libsrcdir}/configure \
18802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18803 --target=${target_alias} $${srcdiroption} \
18804 --with-build-libsubdir=$(HOST_SUBDIR) \
18805 $(STAGE2_CONFIGURE_FLAGS)
18806 @endif ld-bootstrap
18808 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18809 maybe-configure-stage3-ld:
18810 @if ld-bootstrap
18811 maybe-configure-stage3-ld: configure-stage3-ld
18812 configure-stage3-ld:
18813 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18815 @r=`${PWD_COMMAND}`; export r; \
18816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18817 TFLAGS="$(STAGE3_TFLAGS)"; \
18818 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18819 $(HOST_EXPORTS) \
18820 $(POSTSTAGE1_HOST_EXPORTS) \
18821 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18822 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18823 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18824 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18826 cd $(HOST_SUBDIR)/ld || exit 1; \
18827 case $(srcdir) in \
18828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18829 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18831 esac; \
18832 srcdiroption="--srcdir=$${topdir}/ld"; \
18833 libsrcdir="$$s/ld"; \
18834 $(SHELL) $${libsrcdir}/configure \
18835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18836 --target=${target_alias} $${srcdiroption} \
18837 --with-build-libsubdir=$(HOST_SUBDIR) \
18838 $(STAGE3_CONFIGURE_FLAGS)
18839 @endif ld-bootstrap
18841 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18842 maybe-configure-stage4-ld:
18843 @if ld-bootstrap
18844 maybe-configure-stage4-ld: configure-stage4-ld
18845 configure-stage4-ld:
18846 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18847 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18848 @r=`${PWD_COMMAND}`; export r; \
18849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18850 TFLAGS="$(STAGE4_TFLAGS)"; \
18851 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18852 $(HOST_EXPORTS) \
18853 $(POSTSTAGE1_HOST_EXPORTS) \
18854 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18855 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18856 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18857 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18859 cd $(HOST_SUBDIR)/ld || exit 1; \
18860 case $(srcdir) in \
18861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18862 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18864 esac; \
18865 srcdiroption="--srcdir=$${topdir}/ld"; \
18866 libsrcdir="$$s/ld"; \
18867 $(SHELL) $${libsrcdir}/configure \
18868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18869 --target=${target_alias} $${srcdiroption} \
18870 --with-build-libsubdir=$(HOST_SUBDIR) \
18871 $(STAGE4_CONFIGURE_FLAGS)
18872 @endif ld-bootstrap
18874 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18875 maybe-configure-stageprofile-ld:
18876 @if ld-bootstrap
18877 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18878 configure-stageprofile-ld:
18879 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18880 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18881 @r=`${PWD_COMMAND}`; export r; \
18882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18883 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18884 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18885 $(HOST_EXPORTS) \
18886 $(POSTSTAGE1_HOST_EXPORTS) \
18887 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18888 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18889 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18890 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18892 cd $(HOST_SUBDIR)/ld || exit 1; \
18893 case $(srcdir) in \
18894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18895 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18897 esac; \
18898 srcdiroption="--srcdir=$${topdir}/ld"; \
18899 libsrcdir="$$s/ld"; \
18900 $(SHELL) $${libsrcdir}/configure \
18901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18902 --target=${target_alias} $${srcdiroption} \
18903 --with-build-libsubdir=$(HOST_SUBDIR) \
18904 $(STAGEprofile_CONFIGURE_FLAGS)
18905 @endif ld-bootstrap
18907 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18908 maybe-configure-stagefeedback-ld:
18909 @if ld-bootstrap
18910 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18911 configure-stagefeedback-ld:
18912 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18914 @r=`${PWD_COMMAND}`; export r; \
18915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18916 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18917 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18918 $(HOST_EXPORTS) \
18919 $(POSTSTAGE1_HOST_EXPORTS) \
18920 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18921 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18922 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18923 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18925 cd $(HOST_SUBDIR)/ld || exit 1; \
18926 case $(srcdir) in \
18927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18928 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18930 esac; \
18931 srcdiroption="--srcdir=$${topdir}/ld"; \
18932 libsrcdir="$$s/ld"; \
18933 $(SHELL) $${libsrcdir}/configure \
18934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18935 --target=${target_alias} $${srcdiroption} \
18936 --with-build-libsubdir=$(HOST_SUBDIR) \
18937 $(STAGEfeedback_CONFIGURE_FLAGS)
18938 @endif ld-bootstrap
18944 .PHONY: all-ld maybe-all-ld
18945 maybe-all-ld:
18946 @if gcc-bootstrap
18947 all-ld: stage_current
18948 @endif gcc-bootstrap
18949 @if ld
18950 TARGET-ld=all
18951 maybe-all-ld: all-ld
18952 all-ld: configure-ld
18953 @r=`${PWD_COMMAND}`; export r; \
18954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18955 $(HOST_EXPORTS) \
18956 (cd $(HOST_SUBDIR)/ld && \
18957 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18958 $(TARGET-ld))
18959 @endif ld
18963 .PHONY: all-stage1-ld maybe-all-stage1-ld
18964 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18965 maybe-all-stage1-ld:
18966 maybe-clean-stage1-ld:
18967 @if ld-bootstrap
18968 maybe-all-stage1-ld: all-stage1-ld
18969 all-stage1: all-stage1-ld
18970 TARGET-stage1-ld = $(TARGET-ld)
18971 all-stage1-ld: configure-stage1-ld
18972 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18973 @r=`${PWD_COMMAND}`; export r; \
18974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18975 TFLAGS="$(STAGE1_TFLAGS)"; \
18976 $(HOST_EXPORTS) \
18977 cd $(HOST_SUBDIR)/ld && \
18978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18979 CFLAGS="$(STAGE1_CFLAGS)" \
18980 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18981 LIBCFLAGS="$(LIBCFLAGS)" \
18982 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18983 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18984 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18985 $(EXTRA_HOST_FLAGS) \
18986 TFLAGS="$(STAGE1_TFLAGS)" \
18987 $(TARGET-stage1-ld)
18989 maybe-clean-stage1-ld: clean-stage1-ld
18990 clean-stage1: clean-stage1-ld
18991 clean-stage1-ld:
18992 @if [ $(current_stage) = stage1 ]; then \
18993 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18994 else \
18995 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18996 $(MAKE) stage1-start; \
18997 fi; \
18998 cd $(HOST_SUBDIR)/ld && \
18999 $(MAKE) $(EXTRA_HOST_FLAGS) \
19000 clean
19001 @endif ld-bootstrap
19004 .PHONY: all-stage2-ld maybe-all-stage2-ld
19005 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
19006 maybe-all-stage2-ld:
19007 maybe-clean-stage2-ld:
19008 @if ld-bootstrap
19009 maybe-all-stage2-ld: all-stage2-ld
19010 all-stage2: all-stage2-ld
19011 TARGET-stage2-ld = $(TARGET-ld)
19012 all-stage2-ld: configure-stage2-ld
19013 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19014 @r=`${PWD_COMMAND}`; export r; \
19015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19016 TFLAGS="$(STAGE2_TFLAGS)"; \
19017 $(HOST_EXPORTS) \
19018 $(POSTSTAGE1_HOST_EXPORTS) \
19019 cd $(HOST_SUBDIR)/ld && \
19020 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19021 CFLAGS="$(STAGE2_CFLAGS)" \
19022 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19023 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19024 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19025 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19026 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19027 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19028 TFLAGS="$(STAGE2_TFLAGS)" \
19029 $(TARGET-stage2-ld)
19031 maybe-clean-stage2-ld: clean-stage2-ld
19032 clean-stage2: clean-stage2-ld
19033 clean-stage2-ld:
19034 @if [ $(current_stage) = stage2 ]; then \
19035 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19036 else \
19037 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19038 $(MAKE) stage2-start; \
19039 fi; \
19040 cd $(HOST_SUBDIR)/ld && \
19041 $(MAKE) $(EXTRA_HOST_FLAGS) \
19042 $(POSTSTAGE1_FLAGS_TO_PASS) \
19043 clean
19044 @endif ld-bootstrap
19047 .PHONY: all-stage3-ld maybe-all-stage3-ld
19048 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19049 maybe-all-stage3-ld:
19050 maybe-clean-stage3-ld:
19051 @if ld-bootstrap
19052 maybe-all-stage3-ld: all-stage3-ld
19053 all-stage3: all-stage3-ld
19054 TARGET-stage3-ld = $(TARGET-ld)
19055 all-stage3-ld: configure-stage3-ld
19056 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19057 @r=`${PWD_COMMAND}`; export r; \
19058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19059 TFLAGS="$(STAGE3_TFLAGS)"; \
19060 $(HOST_EXPORTS) \
19061 $(POSTSTAGE1_HOST_EXPORTS) \
19062 cd $(HOST_SUBDIR)/ld && \
19063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19064 CFLAGS="$(STAGE3_CFLAGS)" \
19065 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19066 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19071 TFLAGS="$(STAGE3_TFLAGS)" \
19072 $(TARGET-stage3-ld)
19074 maybe-clean-stage3-ld: clean-stage3-ld
19075 clean-stage3: clean-stage3-ld
19076 clean-stage3-ld:
19077 @if [ $(current_stage) = stage3 ]; then \
19078 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19079 else \
19080 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19081 $(MAKE) stage3-start; \
19082 fi; \
19083 cd $(HOST_SUBDIR)/ld && \
19084 $(MAKE) $(EXTRA_HOST_FLAGS) \
19085 $(POSTSTAGE1_FLAGS_TO_PASS) \
19086 clean
19087 @endif ld-bootstrap
19090 .PHONY: all-stage4-ld maybe-all-stage4-ld
19091 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19092 maybe-all-stage4-ld:
19093 maybe-clean-stage4-ld:
19094 @if ld-bootstrap
19095 maybe-all-stage4-ld: all-stage4-ld
19096 all-stage4: all-stage4-ld
19097 TARGET-stage4-ld = $(TARGET-ld)
19098 all-stage4-ld: configure-stage4-ld
19099 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19100 @r=`${PWD_COMMAND}`; export r; \
19101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19102 TFLAGS="$(STAGE4_TFLAGS)"; \
19103 $(HOST_EXPORTS) \
19104 $(POSTSTAGE1_HOST_EXPORTS) \
19105 cd $(HOST_SUBDIR)/ld && \
19106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19107 CFLAGS="$(STAGE4_CFLAGS)" \
19108 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19109 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19113 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19114 TFLAGS="$(STAGE4_TFLAGS)" \
19115 $(TARGET-stage4-ld)
19117 maybe-clean-stage4-ld: clean-stage4-ld
19118 clean-stage4: clean-stage4-ld
19119 clean-stage4-ld:
19120 @if [ $(current_stage) = stage4 ]; then \
19121 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19122 else \
19123 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19124 $(MAKE) stage4-start; \
19125 fi; \
19126 cd $(HOST_SUBDIR)/ld && \
19127 $(MAKE) $(EXTRA_HOST_FLAGS) \
19128 $(POSTSTAGE1_FLAGS_TO_PASS) \
19129 clean
19130 @endif ld-bootstrap
19133 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19134 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19135 maybe-all-stageprofile-ld:
19136 maybe-clean-stageprofile-ld:
19137 @if ld-bootstrap
19138 maybe-all-stageprofile-ld: all-stageprofile-ld
19139 all-stageprofile: all-stageprofile-ld
19140 TARGET-stageprofile-ld = $(TARGET-ld)
19141 all-stageprofile-ld: configure-stageprofile-ld
19142 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19143 @r=`${PWD_COMMAND}`; export r; \
19144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19145 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19146 $(HOST_EXPORTS) \
19147 $(POSTSTAGE1_HOST_EXPORTS) \
19148 cd $(HOST_SUBDIR)/ld && \
19149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19150 CFLAGS="$(STAGEprofile_CFLAGS)" \
19151 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19152 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19156 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19157 TFLAGS="$(STAGEprofile_TFLAGS)" \
19158 $(TARGET-stageprofile-ld)
19160 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19161 clean-stageprofile: clean-stageprofile-ld
19162 clean-stageprofile-ld:
19163 @if [ $(current_stage) = stageprofile ]; then \
19164 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19165 else \
19166 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19167 $(MAKE) stageprofile-start; \
19168 fi; \
19169 cd $(HOST_SUBDIR)/ld && \
19170 $(MAKE) $(EXTRA_HOST_FLAGS) \
19171 $(POSTSTAGE1_FLAGS_TO_PASS) \
19172 clean
19173 @endif ld-bootstrap
19176 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19177 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19178 maybe-all-stagefeedback-ld:
19179 maybe-clean-stagefeedback-ld:
19180 @if ld-bootstrap
19181 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19182 all-stagefeedback: all-stagefeedback-ld
19183 TARGET-stagefeedback-ld = $(TARGET-ld)
19184 all-stagefeedback-ld: configure-stagefeedback-ld
19185 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19186 @r=`${PWD_COMMAND}`; export r; \
19187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19188 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19189 $(HOST_EXPORTS) \
19190 $(POSTSTAGE1_HOST_EXPORTS) \
19191 cd $(HOST_SUBDIR)/ld && \
19192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19193 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19194 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19195 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19200 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19201 $(TARGET-stagefeedback-ld)
19203 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19204 clean-stagefeedback: clean-stagefeedback-ld
19205 clean-stagefeedback-ld:
19206 @if [ $(current_stage) = stagefeedback ]; then \
19207 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19208 else \
19209 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19210 $(MAKE) stagefeedback-start; \
19211 fi; \
19212 cd $(HOST_SUBDIR)/ld && \
19213 $(MAKE) $(EXTRA_HOST_FLAGS) \
19214 $(POSTSTAGE1_FLAGS_TO_PASS) \
19215 clean
19216 @endif ld-bootstrap
19222 .PHONY: check-ld maybe-check-ld
19223 maybe-check-ld:
19224 @if ld
19225 maybe-check-ld: check-ld
19227 check-ld:
19228 @: $(MAKE); $(unstage)
19229 @r=`${PWD_COMMAND}`; export r; \
19230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19231 $(HOST_EXPORTS) \
19232 (cd $(HOST_SUBDIR)/ld && \
19233 $(MAKE) $(FLAGS_TO_PASS) check)
19235 @endif ld
19237 .PHONY: install-ld maybe-install-ld
19238 maybe-install-ld:
19239 @if ld
19240 maybe-install-ld: install-ld
19242 install-ld: installdirs
19243 @: $(MAKE); $(unstage)
19244 @r=`${PWD_COMMAND}`; export r; \
19245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19246 $(HOST_EXPORTS) \
19247 (cd $(HOST_SUBDIR)/ld && \
19248 $(MAKE) $(FLAGS_TO_PASS) install)
19250 @endif ld
19252 .PHONY: install-strip-ld maybe-install-strip-ld
19253 maybe-install-strip-ld:
19254 @if ld
19255 maybe-install-strip-ld: install-strip-ld
19257 install-strip-ld: installdirs
19258 @: $(MAKE); $(unstage)
19259 @r=`${PWD_COMMAND}`; export r; \
19260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19261 $(HOST_EXPORTS) \
19262 (cd $(HOST_SUBDIR)/ld && \
19263 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19265 @endif ld
19267 # Other targets (info, dvi, pdf, etc.)
19269 .PHONY: maybe-info-ld info-ld
19270 maybe-info-ld:
19271 @if ld
19272 maybe-info-ld: info-ld
19274 info-ld: \
19275 configure-ld
19276 @[ -f ./ld/Makefile ] || exit 0; \
19277 r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 $(HOST_EXPORTS) \
19280 for flag in $(EXTRA_HOST_FLAGS) ; do \
19281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19282 done; \
19283 echo "Doing info in ld" ; \
19284 (cd $(HOST_SUBDIR)/ld && \
19285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19287 "RANLIB=$${RANLIB}" \
19288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19289 info) \
19290 || exit 1
19292 @endif ld
19294 .PHONY: maybe-dvi-ld dvi-ld
19295 maybe-dvi-ld:
19296 @if ld
19297 maybe-dvi-ld: dvi-ld
19299 dvi-ld: \
19300 configure-ld
19301 @[ -f ./ld/Makefile ] || exit 0; \
19302 r=`${PWD_COMMAND}`; export r; \
19303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19304 $(HOST_EXPORTS) \
19305 for flag in $(EXTRA_HOST_FLAGS) ; do \
19306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19307 done; \
19308 echo "Doing dvi in ld" ; \
19309 (cd $(HOST_SUBDIR)/ld && \
19310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19312 "RANLIB=$${RANLIB}" \
19313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19314 dvi) \
19315 || exit 1
19317 @endif ld
19319 .PHONY: maybe-pdf-ld pdf-ld
19320 maybe-pdf-ld:
19321 @if ld
19322 maybe-pdf-ld: pdf-ld
19324 pdf-ld: \
19325 configure-ld
19326 @[ -f ./ld/Makefile ] || exit 0; \
19327 r=`${PWD_COMMAND}`; export r; \
19328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19329 $(HOST_EXPORTS) \
19330 for flag in $(EXTRA_HOST_FLAGS) ; do \
19331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19332 done; \
19333 echo "Doing pdf in ld" ; \
19334 (cd $(HOST_SUBDIR)/ld && \
19335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19337 "RANLIB=$${RANLIB}" \
19338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19339 pdf) \
19340 || exit 1
19342 @endif ld
19344 .PHONY: maybe-html-ld html-ld
19345 maybe-html-ld:
19346 @if ld
19347 maybe-html-ld: html-ld
19349 html-ld: \
19350 configure-ld
19351 @[ -f ./ld/Makefile ] || exit 0; \
19352 r=`${PWD_COMMAND}`; export r; \
19353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19354 $(HOST_EXPORTS) \
19355 for flag in $(EXTRA_HOST_FLAGS) ; do \
19356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19357 done; \
19358 echo "Doing html in ld" ; \
19359 (cd $(HOST_SUBDIR)/ld && \
19360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19362 "RANLIB=$${RANLIB}" \
19363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19364 html) \
19365 || exit 1
19367 @endif ld
19369 .PHONY: maybe-TAGS-ld TAGS-ld
19370 maybe-TAGS-ld:
19371 @if ld
19372 maybe-TAGS-ld: TAGS-ld
19374 TAGS-ld: \
19375 configure-ld
19376 @[ -f ./ld/Makefile ] || exit 0; \
19377 r=`${PWD_COMMAND}`; export r; \
19378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19379 $(HOST_EXPORTS) \
19380 for flag in $(EXTRA_HOST_FLAGS) ; do \
19381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19382 done; \
19383 echo "Doing TAGS in ld" ; \
19384 (cd $(HOST_SUBDIR)/ld && \
19385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19387 "RANLIB=$${RANLIB}" \
19388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19389 TAGS) \
19390 || exit 1
19392 @endif ld
19394 .PHONY: maybe-install-info-ld install-info-ld
19395 maybe-install-info-ld:
19396 @if ld
19397 maybe-install-info-ld: install-info-ld
19399 install-info-ld: \
19400 configure-ld \
19401 info-ld
19402 @[ -f ./ld/Makefile ] || exit 0; \
19403 r=`${PWD_COMMAND}`; export r; \
19404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19405 $(HOST_EXPORTS) \
19406 for flag in $(EXTRA_HOST_FLAGS) ; do \
19407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19408 done; \
19409 echo "Doing install-info in ld" ; \
19410 (cd $(HOST_SUBDIR)/ld && \
19411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19413 "RANLIB=$${RANLIB}" \
19414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19415 install-info) \
19416 || exit 1
19418 @endif ld
19420 .PHONY: maybe-install-pdf-ld install-pdf-ld
19421 maybe-install-pdf-ld:
19422 @if ld
19423 maybe-install-pdf-ld: install-pdf-ld
19425 install-pdf-ld: \
19426 configure-ld \
19427 pdf-ld
19428 @[ -f ./ld/Makefile ] || exit 0; \
19429 r=`${PWD_COMMAND}`; export r; \
19430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19431 $(HOST_EXPORTS) \
19432 for flag in $(EXTRA_HOST_FLAGS) ; do \
19433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19434 done; \
19435 echo "Doing install-pdf in ld" ; \
19436 (cd $(HOST_SUBDIR)/ld && \
19437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19439 "RANLIB=$${RANLIB}" \
19440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19441 install-pdf) \
19442 || exit 1
19444 @endif ld
19446 .PHONY: maybe-install-html-ld install-html-ld
19447 maybe-install-html-ld:
19448 @if ld
19449 maybe-install-html-ld: install-html-ld
19451 install-html-ld: \
19452 configure-ld \
19453 html-ld
19454 @[ -f ./ld/Makefile ] || exit 0; \
19455 r=`${PWD_COMMAND}`; export r; \
19456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19457 $(HOST_EXPORTS) \
19458 for flag in $(EXTRA_HOST_FLAGS) ; do \
19459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19460 done; \
19461 echo "Doing install-html in ld" ; \
19462 (cd $(HOST_SUBDIR)/ld && \
19463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19465 "RANLIB=$${RANLIB}" \
19466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19467 install-html) \
19468 || exit 1
19470 @endif ld
19472 .PHONY: maybe-installcheck-ld installcheck-ld
19473 maybe-installcheck-ld:
19474 @if ld
19475 maybe-installcheck-ld: installcheck-ld
19477 installcheck-ld: \
19478 configure-ld
19479 @[ -f ./ld/Makefile ] || exit 0; \
19480 r=`${PWD_COMMAND}`; export r; \
19481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19482 $(HOST_EXPORTS) \
19483 for flag in $(EXTRA_HOST_FLAGS) ; do \
19484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19485 done; \
19486 echo "Doing installcheck in ld" ; \
19487 (cd $(HOST_SUBDIR)/ld && \
19488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19490 "RANLIB=$${RANLIB}" \
19491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19492 installcheck) \
19493 || exit 1
19495 @endif ld
19497 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19498 maybe-mostlyclean-ld:
19499 @if ld
19500 maybe-mostlyclean-ld: mostlyclean-ld
19502 mostlyclean-ld:
19503 @[ -f ./ld/Makefile ] || exit 0; \
19504 r=`${PWD_COMMAND}`; export r; \
19505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19506 $(HOST_EXPORTS) \
19507 for flag in $(EXTRA_HOST_FLAGS) ; do \
19508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19509 done; \
19510 echo "Doing mostlyclean in ld" ; \
19511 (cd $(HOST_SUBDIR)/ld && \
19512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19514 "RANLIB=$${RANLIB}" \
19515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19516 mostlyclean) \
19517 || exit 1
19519 @endif ld
19521 .PHONY: maybe-clean-ld clean-ld
19522 maybe-clean-ld:
19523 @if ld
19524 maybe-clean-ld: clean-ld
19526 clean-ld:
19527 @[ -f ./ld/Makefile ] || exit 0; \
19528 r=`${PWD_COMMAND}`; export r; \
19529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19530 $(HOST_EXPORTS) \
19531 for flag in $(EXTRA_HOST_FLAGS) ; do \
19532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19533 done; \
19534 echo "Doing clean in ld" ; \
19535 (cd $(HOST_SUBDIR)/ld && \
19536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19538 "RANLIB=$${RANLIB}" \
19539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19540 clean) \
19541 || exit 1
19543 @endif ld
19545 .PHONY: maybe-distclean-ld distclean-ld
19546 maybe-distclean-ld:
19547 @if ld
19548 maybe-distclean-ld: distclean-ld
19550 distclean-ld:
19551 @[ -f ./ld/Makefile ] || exit 0; \
19552 r=`${PWD_COMMAND}`; export r; \
19553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19554 $(HOST_EXPORTS) \
19555 for flag in $(EXTRA_HOST_FLAGS) ; do \
19556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19557 done; \
19558 echo "Doing distclean in ld" ; \
19559 (cd $(HOST_SUBDIR)/ld && \
19560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19562 "RANLIB=$${RANLIB}" \
19563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19564 distclean) \
19565 || exit 1
19567 @endif ld
19569 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19570 maybe-maintainer-clean-ld:
19571 @if ld
19572 maybe-maintainer-clean-ld: maintainer-clean-ld
19574 maintainer-clean-ld:
19575 @[ -f ./ld/Makefile ] || exit 0; \
19576 r=`${PWD_COMMAND}`; export r; \
19577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19578 $(HOST_EXPORTS) \
19579 for flag in $(EXTRA_HOST_FLAGS) ; do \
19580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19581 done; \
19582 echo "Doing maintainer-clean in ld" ; \
19583 (cd $(HOST_SUBDIR)/ld && \
19584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19586 "RANLIB=$${RANLIB}" \
19587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19588 maintainer-clean) \
19589 || exit 1
19591 @endif ld
19595 .PHONY: configure-libcpp maybe-configure-libcpp
19596 maybe-configure-libcpp:
19597 @if gcc-bootstrap
19598 configure-libcpp: stage_current
19599 @endif gcc-bootstrap
19600 @if libcpp
19601 maybe-configure-libcpp: configure-libcpp
19602 configure-libcpp:
19603 @r=`${PWD_COMMAND}`; export r; \
19604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19605 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19607 $(HOST_EXPORTS) \
19608 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19609 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19610 case $(srcdir) in \
19611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19612 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19614 esac; \
19615 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19616 libsrcdir="$$s/libcpp"; \
19617 $(SHELL) $${libsrcdir}/configure \
19618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19619 --target=${target_alias} $${srcdiroption} \
19620 || exit 1
19621 @endif libcpp
19625 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19626 maybe-configure-stage1-libcpp:
19627 @if libcpp-bootstrap
19628 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19629 configure-stage1-libcpp:
19630 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19631 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19632 @r=`${PWD_COMMAND}`; export r; \
19633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19634 TFLAGS="$(STAGE1_TFLAGS)"; \
19635 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19636 $(HOST_EXPORTS) \
19637 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19638 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19639 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19640 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19642 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19643 case $(srcdir) in \
19644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19645 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19647 esac; \
19648 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19649 libsrcdir="$$s/libcpp"; \
19650 $(SHELL) $${libsrcdir}/configure \
19651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19652 --target=${target_alias} $${srcdiroption} \
19653 $(STAGE1_CONFIGURE_FLAGS)
19654 @endif libcpp-bootstrap
19656 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19657 maybe-configure-stage2-libcpp:
19658 @if libcpp-bootstrap
19659 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19660 configure-stage2-libcpp:
19661 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19662 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19663 @r=`${PWD_COMMAND}`; export r; \
19664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19665 TFLAGS="$(STAGE2_TFLAGS)"; \
19666 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19667 $(HOST_EXPORTS) \
19668 $(POSTSTAGE1_HOST_EXPORTS) \
19669 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19670 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19671 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19672 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19674 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19675 case $(srcdir) in \
19676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19677 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19679 esac; \
19680 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19681 libsrcdir="$$s/libcpp"; \
19682 $(SHELL) $${libsrcdir}/configure \
19683 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19684 --target=${target_alias} $${srcdiroption} \
19685 --with-build-libsubdir=$(HOST_SUBDIR) \
19686 $(STAGE2_CONFIGURE_FLAGS)
19687 @endif libcpp-bootstrap
19689 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19690 maybe-configure-stage3-libcpp:
19691 @if libcpp-bootstrap
19692 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19693 configure-stage3-libcpp:
19694 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19696 @r=`${PWD_COMMAND}`; export r; \
19697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19698 TFLAGS="$(STAGE3_TFLAGS)"; \
19699 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19700 $(HOST_EXPORTS) \
19701 $(POSTSTAGE1_HOST_EXPORTS) \
19702 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19703 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19704 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19705 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19707 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19708 case $(srcdir) in \
19709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19710 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19712 esac; \
19713 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19714 libsrcdir="$$s/libcpp"; \
19715 $(SHELL) $${libsrcdir}/configure \
19716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19717 --target=${target_alias} $${srcdiroption} \
19718 --with-build-libsubdir=$(HOST_SUBDIR) \
19719 $(STAGE3_CONFIGURE_FLAGS)
19720 @endif libcpp-bootstrap
19722 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19723 maybe-configure-stage4-libcpp:
19724 @if libcpp-bootstrap
19725 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19726 configure-stage4-libcpp:
19727 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19728 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19729 @r=`${PWD_COMMAND}`; export r; \
19730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19731 TFLAGS="$(STAGE4_TFLAGS)"; \
19732 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19733 $(HOST_EXPORTS) \
19734 $(POSTSTAGE1_HOST_EXPORTS) \
19735 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19736 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19737 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19738 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19740 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19741 case $(srcdir) in \
19742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19743 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19745 esac; \
19746 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19747 libsrcdir="$$s/libcpp"; \
19748 $(SHELL) $${libsrcdir}/configure \
19749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19750 --target=${target_alias} $${srcdiroption} \
19751 --with-build-libsubdir=$(HOST_SUBDIR) \
19752 $(STAGE4_CONFIGURE_FLAGS)
19753 @endif libcpp-bootstrap
19755 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19756 maybe-configure-stageprofile-libcpp:
19757 @if libcpp-bootstrap
19758 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19759 configure-stageprofile-libcpp:
19760 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19761 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19762 @r=`${PWD_COMMAND}`; export r; \
19763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19764 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19765 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19766 $(HOST_EXPORTS) \
19767 $(POSTSTAGE1_HOST_EXPORTS) \
19768 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19769 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19770 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19771 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19773 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19774 case $(srcdir) in \
19775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19776 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19778 esac; \
19779 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19780 libsrcdir="$$s/libcpp"; \
19781 $(SHELL) $${libsrcdir}/configure \
19782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19783 --target=${target_alias} $${srcdiroption} \
19784 --with-build-libsubdir=$(HOST_SUBDIR) \
19785 $(STAGEprofile_CONFIGURE_FLAGS)
19786 @endif libcpp-bootstrap
19788 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19789 maybe-configure-stagefeedback-libcpp:
19790 @if libcpp-bootstrap
19791 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19792 configure-stagefeedback-libcpp:
19793 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19795 @r=`${PWD_COMMAND}`; export r; \
19796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19797 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19798 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19799 $(HOST_EXPORTS) \
19800 $(POSTSTAGE1_HOST_EXPORTS) \
19801 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19802 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19803 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19804 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19806 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19807 case $(srcdir) in \
19808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19809 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19811 esac; \
19812 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19813 libsrcdir="$$s/libcpp"; \
19814 $(SHELL) $${libsrcdir}/configure \
19815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19816 --target=${target_alias} $${srcdiroption} \
19817 --with-build-libsubdir=$(HOST_SUBDIR) \
19818 $(STAGEfeedback_CONFIGURE_FLAGS)
19819 @endif libcpp-bootstrap
19825 .PHONY: all-libcpp maybe-all-libcpp
19826 maybe-all-libcpp:
19827 @if gcc-bootstrap
19828 all-libcpp: stage_current
19829 @endif gcc-bootstrap
19830 @if libcpp
19831 TARGET-libcpp=all
19832 maybe-all-libcpp: all-libcpp
19833 all-libcpp: configure-libcpp
19834 @r=`${PWD_COMMAND}`; export r; \
19835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19836 $(HOST_EXPORTS) \
19837 (cd $(HOST_SUBDIR)/libcpp && \
19838 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19839 $(TARGET-libcpp))
19840 @endif libcpp
19844 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19845 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19846 maybe-all-stage1-libcpp:
19847 maybe-clean-stage1-libcpp:
19848 @if libcpp-bootstrap
19849 maybe-all-stage1-libcpp: all-stage1-libcpp
19850 all-stage1: all-stage1-libcpp
19851 TARGET-stage1-libcpp = $(TARGET-libcpp)
19852 all-stage1-libcpp: configure-stage1-libcpp
19853 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19854 @r=`${PWD_COMMAND}`; export r; \
19855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19856 TFLAGS="$(STAGE1_TFLAGS)"; \
19857 $(HOST_EXPORTS) \
19858 cd $(HOST_SUBDIR)/libcpp && \
19859 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19860 CFLAGS="$(STAGE1_CFLAGS)" \
19861 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19862 LIBCFLAGS="$(LIBCFLAGS)" \
19863 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19864 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19865 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19866 $(EXTRA_HOST_FLAGS) \
19867 TFLAGS="$(STAGE1_TFLAGS)" \
19868 $(TARGET-stage1-libcpp)
19870 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19871 clean-stage1: clean-stage1-libcpp
19872 clean-stage1-libcpp:
19873 @if [ $(current_stage) = stage1 ]; then \
19874 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19875 else \
19876 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19877 $(MAKE) stage1-start; \
19878 fi; \
19879 cd $(HOST_SUBDIR)/libcpp && \
19880 $(MAKE) $(EXTRA_HOST_FLAGS) \
19881 clean
19882 @endif libcpp-bootstrap
19885 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19886 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19887 maybe-all-stage2-libcpp:
19888 maybe-clean-stage2-libcpp:
19889 @if libcpp-bootstrap
19890 maybe-all-stage2-libcpp: all-stage2-libcpp
19891 all-stage2: all-stage2-libcpp
19892 TARGET-stage2-libcpp = $(TARGET-libcpp)
19893 all-stage2-libcpp: configure-stage2-libcpp
19894 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19895 @r=`${PWD_COMMAND}`; export r; \
19896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19897 TFLAGS="$(STAGE2_TFLAGS)"; \
19898 $(HOST_EXPORTS) \
19899 $(POSTSTAGE1_HOST_EXPORTS) \
19900 cd $(HOST_SUBDIR)/libcpp && \
19901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19902 CFLAGS="$(STAGE2_CFLAGS)" \
19903 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19904 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19908 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19909 TFLAGS="$(STAGE2_TFLAGS)" \
19910 $(TARGET-stage2-libcpp)
19912 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19913 clean-stage2: clean-stage2-libcpp
19914 clean-stage2-libcpp:
19915 @if [ $(current_stage) = stage2 ]; then \
19916 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19917 else \
19918 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19919 $(MAKE) stage2-start; \
19920 fi; \
19921 cd $(HOST_SUBDIR)/libcpp && \
19922 $(MAKE) $(EXTRA_HOST_FLAGS) \
19923 $(POSTSTAGE1_FLAGS_TO_PASS) \
19924 clean
19925 @endif libcpp-bootstrap
19928 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19929 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19930 maybe-all-stage3-libcpp:
19931 maybe-clean-stage3-libcpp:
19932 @if libcpp-bootstrap
19933 maybe-all-stage3-libcpp: all-stage3-libcpp
19934 all-stage3: all-stage3-libcpp
19935 TARGET-stage3-libcpp = $(TARGET-libcpp)
19936 all-stage3-libcpp: configure-stage3-libcpp
19937 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19938 @r=`${PWD_COMMAND}`; export r; \
19939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19940 TFLAGS="$(STAGE3_TFLAGS)"; \
19941 $(HOST_EXPORTS) \
19942 $(POSTSTAGE1_HOST_EXPORTS) \
19943 cd $(HOST_SUBDIR)/libcpp && \
19944 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19945 CFLAGS="$(STAGE3_CFLAGS)" \
19946 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19947 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19948 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19949 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19950 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19951 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19952 TFLAGS="$(STAGE3_TFLAGS)" \
19953 $(TARGET-stage3-libcpp)
19955 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19956 clean-stage3: clean-stage3-libcpp
19957 clean-stage3-libcpp:
19958 @if [ $(current_stage) = stage3 ]; then \
19959 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19960 else \
19961 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19962 $(MAKE) stage3-start; \
19963 fi; \
19964 cd $(HOST_SUBDIR)/libcpp && \
19965 $(MAKE) $(EXTRA_HOST_FLAGS) \
19966 $(POSTSTAGE1_FLAGS_TO_PASS) \
19967 clean
19968 @endif libcpp-bootstrap
19971 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19972 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19973 maybe-all-stage4-libcpp:
19974 maybe-clean-stage4-libcpp:
19975 @if libcpp-bootstrap
19976 maybe-all-stage4-libcpp: all-stage4-libcpp
19977 all-stage4: all-stage4-libcpp
19978 TARGET-stage4-libcpp = $(TARGET-libcpp)
19979 all-stage4-libcpp: configure-stage4-libcpp
19980 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19981 @r=`${PWD_COMMAND}`; export r; \
19982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19983 TFLAGS="$(STAGE4_TFLAGS)"; \
19984 $(HOST_EXPORTS) \
19985 $(POSTSTAGE1_HOST_EXPORTS) \
19986 cd $(HOST_SUBDIR)/libcpp && \
19987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19988 CFLAGS="$(STAGE4_CFLAGS)" \
19989 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19990 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19994 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19995 TFLAGS="$(STAGE4_TFLAGS)" \
19996 $(TARGET-stage4-libcpp)
19998 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19999 clean-stage4: clean-stage4-libcpp
20000 clean-stage4-libcpp:
20001 @if [ $(current_stage) = stage4 ]; then \
20002 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20003 else \
20004 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20005 $(MAKE) stage4-start; \
20006 fi; \
20007 cd $(HOST_SUBDIR)/libcpp && \
20008 $(MAKE) $(EXTRA_HOST_FLAGS) \
20009 $(POSTSTAGE1_FLAGS_TO_PASS) \
20010 clean
20011 @endif libcpp-bootstrap
20014 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20015 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20016 maybe-all-stageprofile-libcpp:
20017 maybe-clean-stageprofile-libcpp:
20018 @if libcpp-bootstrap
20019 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20020 all-stageprofile: all-stageprofile-libcpp
20021 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20022 all-stageprofile-libcpp: configure-stageprofile-libcpp
20023 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20024 @r=`${PWD_COMMAND}`; export r; \
20025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20026 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20027 $(HOST_EXPORTS) \
20028 $(POSTSTAGE1_HOST_EXPORTS) \
20029 cd $(HOST_SUBDIR)/libcpp && \
20030 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20031 CFLAGS="$(STAGEprofile_CFLAGS)" \
20032 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20033 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20037 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20038 TFLAGS="$(STAGEprofile_TFLAGS)" \
20039 $(TARGET-stageprofile-libcpp)
20041 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20042 clean-stageprofile: clean-stageprofile-libcpp
20043 clean-stageprofile-libcpp:
20044 @if [ $(current_stage) = stageprofile ]; then \
20045 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20046 else \
20047 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20048 $(MAKE) stageprofile-start; \
20049 fi; \
20050 cd $(HOST_SUBDIR)/libcpp && \
20051 $(MAKE) $(EXTRA_HOST_FLAGS) \
20052 $(POSTSTAGE1_FLAGS_TO_PASS) \
20053 clean
20054 @endif libcpp-bootstrap
20057 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20058 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20059 maybe-all-stagefeedback-libcpp:
20060 maybe-clean-stagefeedback-libcpp:
20061 @if libcpp-bootstrap
20062 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20063 all-stagefeedback: all-stagefeedback-libcpp
20064 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20065 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20066 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20067 @r=`${PWD_COMMAND}`; export r; \
20068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20069 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20070 $(HOST_EXPORTS) \
20071 $(POSTSTAGE1_HOST_EXPORTS) \
20072 cd $(HOST_SUBDIR)/libcpp && \
20073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20074 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20075 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20076 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20077 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20078 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20079 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20080 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20081 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20082 $(TARGET-stagefeedback-libcpp)
20084 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20085 clean-stagefeedback: clean-stagefeedback-libcpp
20086 clean-stagefeedback-libcpp:
20087 @if [ $(current_stage) = stagefeedback ]; then \
20088 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20089 else \
20090 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20091 $(MAKE) stagefeedback-start; \
20092 fi; \
20093 cd $(HOST_SUBDIR)/libcpp && \
20094 $(MAKE) $(EXTRA_HOST_FLAGS) \
20095 $(POSTSTAGE1_FLAGS_TO_PASS) \
20096 clean
20097 @endif libcpp-bootstrap
20103 .PHONY: check-libcpp maybe-check-libcpp
20104 maybe-check-libcpp:
20105 @if libcpp
20106 maybe-check-libcpp: check-libcpp
20108 check-libcpp:
20109 @: $(MAKE); $(unstage)
20110 @r=`${PWD_COMMAND}`; export r; \
20111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20112 $(HOST_EXPORTS) \
20113 (cd $(HOST_SUBDIR)/libcpp && \
20114 $(MAKE) $(FLAGS_TO_PASS) check)
20116 @endif libcpp
20118 .PHONY: install-libcpp maybe-install-libcpp
20119 maybe-install-libcpp:
20120 @if libcpp
20121 maybe-install-libcpp: install-libcpp
20123 install-libcpp: installdirs
20124 @: $(MAKE); $(unstage)
20125 @r=`${PWD_COMMAND}`; export r; \
20126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20127 $(HOST_EXPORTS) \
20128 (cd $(HOST_SUBDIR)/libcpp && \
20129 $(MAKE) $(FLAGS_TO_PASS) install)
20131 @endif libcpp
20133 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20134 maybe-install-strip-libcpp:
20135 @if libcpp
20136 maybe-install-strip-libcpp: install-strip-libcpp
20138 install-strip-libcpp: installdirs
20139 @: $(MAKE); $(unstage)
20140 @r=`${PWD_COMMAND}`; export r; \
20141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20142 $(HOST_EXPORTS) \
20143 (cd $(HOST_SUBDIR)/libcpp && \
20144 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20146 @endif libcpp
20148 # Other targets (info, dvi, pdf, etc.)
20150 .PHONY: maybe-info-libcpp info-libcpp
20151 maybe-info-libcpp:
20152 @if libcpp
20153 maybe-info-libcpp: info-libcpp
20155 info-libcpp: \
20156 configure-libcpp
20157 @[ -f ./libcpp/Makefile ] || exit 0; \
20158 r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20160 $(HOST_EXPORTS) \
20161 for flag in $(EXTRA_HOST_FLAGS) ; do \
20162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20163 done; \
20164 echo "Doing info in libcpp" ; \
20165 (cd $(HOST_SUBDIR)/libcpp && \
20166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20168 "RANLIB=$${RANLIB}" \
20169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20170 info) \
20171 || exit 1
20173 @endif libcpp
20175 .PHONY: maybe-dvi-libcpp dvi-libcpp
20176 maybe-dvi-libcpp:
20177 @if libcpp
20178 maybe-dvi-libcpp: dvi-libcpp
20180 dvi-libcpp: \
20181 configure-libcpp
20182 @[ -f ./libcpp/Makefile ] || exit 0; \
20183 r=`${PWD_COMMAND}`; export r; \
20184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20185 $(HOST_EXPORTS) \
20186 for flag in $(EXTRA_HOST_FLAGS) ; do \
20187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20188 done; \
20189 echo "Doing dvi in libcpp" ; \
20190 (cd $(HOST_SUBDIR)/libcpp && \
20191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20193 "RANLIB=$${RANLIB}" \
20194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20195 dvi) \
20196 || exit 1
20198 @endif libcpp
20200 .PHONY: maybe-pdf-libcpp pdf-libcpp
20201 maybe-pdf-libcpp:
20202 @if libcpp
20203 maybe-pdf-libcpp: pdf-libcpp
20205 pdf-libcpp: \
20206 configure-libcpp
20207 @[ -f ./libcpp/Makefile ] || exit 0; \
20208 r=`${PWD_COMMAND}`; export r; \
20209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20210 $(HOST_EXPORTS) \
20211 for flag in $(EXTRA_HOST_FLAGS) ; do \
20212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20213 done; \
20214 echo "Doing pdf in libcpp" ; \
20215 (cd $(HOST_SUBDIR)/libcpp && \
20216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20218 "RANLIB=$${RANLIB}" \
20219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20220 pdf) \
20221 || exit 1
20223 @endif libcpp
20225 .PHONY: maybe-html-libcpp html-libcpp
20226 maybe-html-libcpp:
20227 @if libcpp
20228 maybe-html-libcpp: html-libcpp
20230 html-libcpp: \
20231 configure-libcpp
20232 @[ -f ./libcpp/Makefile ] || exit 0; \
20233 r=`${PWD_COMMAND}`; export r; \
20234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20235 $(HOST_EXPORTS) \
20236 for flag in $(EXTRA_HOST_FLAGS) ; do \
20237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20238 done; \
20239 echo "Doing html in libcpp" ; \
20240 (cd $(HOST_SUBDIR)/libcpp && \
20241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20243 "RANLIB=$${RANLIB}" \
20244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20245 html) \
20246 || exit 1
20248 @endif libcpp
20250 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20251 maybe-TAGS-libcpp:
20252 @if libcpp
20253 maybe-TAGS-libcpp: TAGS-libcpp
20255 TAGS-libcpp: \
20256 configure-libcpp
20257 @[ -f ./libcpp/Makefile ] || exit 0; \
20258 r=`${PWD_COMMAND}`; export r; \
20259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20260 $(HOST_EXPORTS) \
20261 for flag in $(EXTRA_HOST_FLAGS) ; do \
20262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20263 done; \
20264 echo "Doing TAGS in libcpp" ; \
20265 (cd $(HOST_SUBDIR)/libcpp && \
20266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20268 "RANLIB=$${RANLIB}" \
20269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20270 TAGS) \
20271 || exit 1
20273 @endif libcpp
20275 .PHONY: maybe-install-info-libcpp install-info-libcpp
20276 maybe-install-info-libcpp:
20277 @if libcpp
20278 maybe-install-info-libcpp: install-info-libcpp
20280 install-info-libcpp: \
20281 configure-libcpp \
20282 info-libcpp
20283 @[ -f ./libcpp/Makefile ] || exit 0; \
20284 r=`${PWD_COMMAND}`; export r; \
20285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20286 $(HOST_EXPORTS) \
20287 for flag in $(EXTRA_HOST_FLAGS) ; do \
20288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20289 done; \
20290 echo "Doing install-info in libcpp" ; \
20291 (cd $(HOST_SUBDIR)/libcpp && \
20292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20294 "RANLIB=$${RANLIB}" \
20295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20296 install-info) \
20297 || exit 1
20299 @endif libcpp
20301 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20302 maybe-install-pdf-libcpp:
20303 @if libcpp
20304 maybe-install-pdf-libcpp: install-pdf-libcpp
20306 install-pdf-libcpp: \
20307 configure-libcpp \
20308 pdf-libcpp
20309 @[ -f ./libcpp/Makefile ] || exit 0; \
20310 r=`${PWD_COMMAND}`; export r; \
20311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20312 $(HOST_EXPORTS) \
20313 for flag in $(EXTRA_HOST_FLAGS) ; do \
20314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20315 done; \
20316 echo "Doing install-pdf in libcpp" ; \
20317 (cd $(HOST_SUBDIR)/libcpp && \
20318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20320 "RANLIB=$${RANLIB}" \
20321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20322 install-pdf) \
20323 || exit 1
20325 @endif libcpp
20327 .PHONY: maybe-install-html-libcpp install-html-libcpp
20328 maybe-install-html-libcpp:
20329 @if libcpp
20330 maybe-install-html-libcpp: install-html-libcpp
20332 install-html-libcpp: \
20333 configure-libcpp \
20334 html-libcpp
20335 @[ -f ./libcpp/Makefile ] || exit 0; \
20336 r=`${PWD_COMMAND}`; export r; \
20337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20338 $(HOST_EXPORTS) \
20339 for flag in $(EXTRA_HOST_FLAGS) ; do \
20340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20341 done; \
20342 echo "Doing install-html in libcpp" ; \
20343 (cd $(HOST_SUBDIR)/libcpp && \
20344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20346 "RANLIB=$${RANLIB}" \
20347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20348 install-html) \
20349 || exit 1
20351 @endif libcpp
20353 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20354 maybe-installcheck-libcpp:
20355 @if libcpp
20356 maybe-installcheck-libcpp: installcheck-libcpp
20358 installcheck-libcpp: \
20359 configure-libcpp
20360 @[ -f ./libcpp/Makefile ] || exit 0; \
20361 r=`${PWD_COMMAND}`; export r; \
20362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20363 $(HOST_EXPORTS) \
20364 for flag in $(EXTRA_HOST_FLAGS) ; do \
20365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20366 done; \
20367 echo "Doing installcheck in libcpp" ; \
20368 (cd $(HOST_SUBDIR)/libcpp && \
20369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20371 "RANLIB=$${RANLIB}" \
20372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20373 installcheck) \
20374 || exit 1
20376 @endif libcpp
20378 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20379 maybe-mostlyclean-libcpp:
20380 @if libcpp
20381 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20383 mostlyclean-libcpp:
20384 @[ -f ./libcpp/Makefile ] || exit 0; \
20385 r=`${PWD_COMMAND}`; export r; \
20386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20387 $(HOST_EXPORTS) \
20388 for flag in $(EXTRA_HOST_FLAGS) ; do \
20389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20390 done; \
20391 echo "Doing mostlyclean in libcpp" ; \
20392 (cd $(HOST_SUBDIR)/libcpp && \
20393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20395 "RANLIB=$${RANLIB}" \
20396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20397 mostlyclean) \
20398 || exit 1
20400 @endif libcpp
20402 .PHONY: maybe-clean-libcpp clean-libcpp
20403 maybe-clean-libcpp:
20404 @if libcpp
20405 maybe-clean-libcpp: clean-libcpp
20407 clean-libcpp:
20408 @[ -f ./libcpp/Makefile ] || exit 0; \
20409 r=`${PWD_COMMAND}`; export r; \
20410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20411 $(HOST_EXPORTS) \
20412 for flag in $(EXTRA_HOST_FLAGS) ; do \
20413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20414 done; \
20415 echo "Doing clean in libcpp" ; \
20416 (cd $(HOST_SUBDIR)/libcpp && \
20417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20419 "RANLIB=$${RANLIB}" \
20420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20421 clean) \
20422 || exit 1
20424 @endif libcpp
20426 .PHONY: maybe-distclean-libcpp distclean-libcpp
20427 maybe-distclean-libcpp:
20428 @if libcpp
20429 maybe-distclean-libcpp: distclean-libcpp
20431 distclean-libcpp:
20432 @[ -f ./libcpp/Makefile ] || exit 0; \
20433 r=`${PWD_COMMAND}`; export r; \
20434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20435 $(HOST_EXPORTS) \
20436 for flag in $(EXTRA_HOST_FLAGS) ; do \
20437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20438 done; \
20439 echo "Doing distclean in libcpp" ; \
20440 (cd $(HOST_SUBDIR)/libcpp && \
20441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20443 "RANLIB=$${RANLIB}" \
20444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20445 distclean) \
20446 || exit 1
20448 @endif libcpp
20450 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20451 maybe-maintainer-clean-libcpp:
20452 @if libcpp
20453 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20455 maintainer-clean-libcpp:
20456 @[ -f ./libcpp/Makefile ] || exit 0; \
20457 r=`${PWD_COMMAND}`; export r; \
20458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20459 $(HOST_EXPORTS) \
20460 for flag in $(EXTRA_HOST_FLAGS) ; do \
20461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20462 done; \
20463 echo "Doing maintainer-clean in libcpp" ; \
20464 (cd $(HOST_SUBDIR)/libcpp && \
20465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20467 "RANLIB=$${RANLIB}" \
20468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20469 maintainer-clean) \
20470 || exit 1
20472 @endif libcpp
20476 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20477 maybe-configure-libdecnumber:
20478 @if gcc-bootstrap
20479 configure-libdecnumber: stage_current
20480 @endif gcc-bootstrap
20481 @if libdecnumber
20482 maybe-configure-libdecnumber: configure-libdecnumber
20483 configure-libdecnumber:
20484 @r=`${PWD_COMMAND}`; export r; \
20485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20486 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20488 $(HOST_EXPORTS) \
20489 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20490 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20491 case $(srcdir) in \
20492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20493 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20495 esac; \
20496 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20497 libsrcdir="$$s/libdecnumber"; \
20498 $(SHELL) $${libsrcdir}/configure \
20499 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20500 --target=${target_alias} $${srcdiroption} \
20501 || exit 1
20502 @endif libdecnumber
20506 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20507 maybe-configure-stage1-libdecnumber:
20508 @if libdecnumber-bootstrap
20509 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20510 configure-stage1-libdecnumber:
20511 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20512 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20513 @r=`${PWD_COMMAND}`; export r; \
20514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20515 TFLAGS="$(STAGE1_TFLAGS)"; \
20516 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20517 $(HOST_EXPORTS) \
20518 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20519 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20520 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20521 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20523 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20524 case $(srcdir) in \
20525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20526 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20528 esac; \
20529 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20530 libsrcdir="$$s/libdecnumber"; \
20531 $(SHELL) $${libsrcdir}/configure \
20532 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20533 --target=${target_alias} $${srcdiroption} \
20534 $(STAGE1_CONFIGURE_FLAGS)
20535 @endif libdecnumber-bootstrap
20537 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20538 maybe-configure-stage2-libdecnumber:
20539 @if libdecnumber-bootstrap
20540 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20541 configure-stage2-libdecnumber:
20542 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20543 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20544 @r=`${PWD_COMMAND}`; export r; \
20545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20546 TFLAGS="$(STAGE2_TFLAGS)"; \
20547 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20548 $(HOST_EXPORTS) \
20549 $(POSTSTAGE1_HOST_EXPORTS) \
20550 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20551 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20552 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20553 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20555 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20556 case $(srcdir) in \
20557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20558 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20560 esac; \
20561 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20562 libsrcdir="$$s/libdecnumber"; \
20563 $(SHELL) $${libsrcdir}/configure \
20564 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20565 --target=${target_alias} $${srcdiroption} \
20566 --with-build-libsubdir=$(HOST_SUBDIR) \
20567 $(STAGE2_CONFIGURE_FLAGS)
20568 @endif libdecnumber-bootstrap
20570 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20571 maybe-configure-stage3-libdecnumber:
20572 @if libdecnumber-bootstrap
20573 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20574 configure-stage3-libdecnumber:
20575 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20576 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20577 @r=`${PWD_COMMAND}`; export r; \
20578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20579 TFLAGS="$(STAGE3_TFLAGS)"; \
20580 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20581 $(HOST_EXPORTS) \
20582 $(POSTSTAGE1_HOST_EXPORTS) \
20583 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20584 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20585 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20586 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20588 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20589 case $(srcdir) in \
20590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20591 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20593 esac; \
20594 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20595 libsrcdir="$$s/libdecnumber"; \
20596 $(SHELL) $${libsrcdir}/configure \
20597 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20598 --target=${target_alias} $${srcdiroption} \
20599 --with-build-libsubdir=$(HOST_SUBDIR) \
20600 $(STAGE3_CONFIGURE_FLAGS)
20601 @endif libdecnumber-bootstrap
20603 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20604 maybe-configure-stage4-libdecnumber:
20605 @if libdecnumber-bootstrap
20606 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20607 configure-stage4-libdecnumber:
20608 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20609 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20610 @r=`${PWD_COMMAND}`; export r; \
20611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20612 TFLAGS="$(STAGE4_TFLAGS)"; \
20613 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20614 $(HOST_EXPORTS) \
20615 $(POSTSTAGE1_HOST_EXPORTS) \
20616 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20617 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20618 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20619 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20621 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20622 case $(srcdir) in \
20623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20624 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20626 esac; \
20627 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20628 libsrcdir="$$s/libdecnumber"; \
20629 $(SHELL) $${libsrcdir}/configure \
20630 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20631 --target=${target_alias} $${srcdiroption} \
20632 --with-build-libsubdir=$(HOST_SUBDIR) \
20633 $(STAGE4_CONFIGURE_FLAGS)
20634 @endif libdecnumber-bootstrap
20636 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20637 maybe-configure-stageprofile-libdecnumber:
20638 @if libdecnumber-bootstrap
20639 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20640 configure-stageprofile-libdecnumber:
20641 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20642 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20643 @r=`${PWD_COMMAND}`; export r; \
20644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20645 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20646 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20647 $(HOST_EXPORTS) \
20648 $(POSTSTAGE1_HOST_EXPORTS) \
20649 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20650 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20651 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20652 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20654 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20655 case $(srcdir) in \
20656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20657 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20659 esac; \
20660 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20661 libsrcdir="$$s/libdecnumber"; \
20662 $(SHELL) $${libsrcdir}/configure \
20663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20664 --target=${target_alias} $${srcdiroption} \
20665 --with-build-libsubdir=$(HOST_SUBDIR) \
20666 $(STAGEprofile_CONFIGURE_FLAGS)
20667 @endif libdecnumber-bootstrap
20669 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20670 maybe-configure-stagefeedback-libdecnumber:
20671 @if libdecnumber-bootstrap
20672 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20673 configure-stagefeedback-libdecnumber:
20674 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20675 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20676 @r=`${PWD_COMMAND}`; export r; \
20677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20678 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20679 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20680 $(HOST_EXPORTS) \
20681 $(POSTSTAGE1_HOST_EXPORTS) \
20682 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20683 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20684 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20685 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20687 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20688 case $(srcdir) in \
20689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20690 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20692 esac; \
20693 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20694 libsrcdir="$$s/libdecnumber"; \
20695 $(SHELL) $${libsrcdir}/configure \
20696 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20697 --target=${target_alias} $${srcdiroption} \
20698 --with-build-libsubdir=$(HOST_SUBDIR) \
20699 $(STAGEfeedback_CONFIGURE_FLAGS)
20700 @endif libdecnumber-bootstrap
20706 .PHONY: all-libdecnumber maybe-all-libdecnumber
20707 maybe-all-libdecnumber:
20708 @if gcc-bootstrap
20709 all-libdecnumber: stage_current
20710 @endif gcc-bootstrap
20711 @if libdecnumber
20712 TARGET-libdecnumber=all
20713 maybe-all-libdecnumber: all-libdecnumber
20714 all-libdecnumber: configure-libdecnumber
20715 @r=`${PWD_COMMAND}`; export r; \
20716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20717 $(HOST_EXPORTS) \
20718 (cd $(HOST_SUBDIR)/libdecnumber && \
20719 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20720 $(TARGET-libdecnumber))
20721 @endif libdecnumber
20725 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20726 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20727 maybe-all-stage1-libdecnumber:
20728 maybe-clean-stage1-libdecnumber:
20729 @if libdecnumber-bootstrap
20730 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20731 all-stage1: all-stage1-libdecnumber
20732 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20733 all-stage1-libdecnumber: configure-stage1-libdecnumber
20734 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20735 @r=`${PWD_COMMAND}`; export r; \
20736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20737 TFLAGS="$(STAGE1_TFLAGS)"; \
20738 $(HOST_EXPORTS) \
20739 cd $(HOST_SUBDIR)/libdecnumber && \
20740 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20741 CFLAGS="$(STAGE1_CFLAGS)" \
20742 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20743 LIBCFLAGS="$(LIBCFLAGS)" \
20744 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20745 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20746 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20747 $(EXTRA_HOST_FLAGS) \
20748 TFLAGS="$(STAGE1_TFLAGS)" \
20749 $(TARGET-stage1-libdecnumber)
20751 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20752 clean-stage1: clean-stage1-libdecnumber
20753 clean-stage1-libdecnumber:
20754 @if [ $(current_stage) = stage1 ]; then \
20755 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20756 else \
20757 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20758 $(MAKE) stage1-start; \
20759 fi; \
20760 cd $(HOST_SUBDIR)/libdecnumber && \
20761 $(MAKE) $(EXTRA_HOST_FLAGS) \
20762 clean
20763 @endif libdecnumber-bootstrap
20766 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20767 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20768 maybe-all-stage2-libdecnumber:
20769 maybe-clean-stage2-libdecnumber:
20770 @if libdecnumber-bootstrap
20771 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20772 all-stage2: all-stage2-libdecnumber
20773 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20774 all-stage2-libdecnumber: configure-stage2-libdecnumber
20775 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20776 @r=`${PWD_COMMAND}`; export r; \
20777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20778 TFLAGS="$(STAGE2_TFLAGS)"; \
20779 $(HOST_EXPORTS) \
20780 $(POSTSTAGE1_HOST_EXPORTS) \
20781 cd $(HOST_SUBDIR)/libdecnumber && \
20782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20783 CFLAGS="$(STAGE2_CFLAGS)" \
20784 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20785 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20786 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20787 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20788 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20789 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20790 TFLAGS="$(STAGE2_TFLAGS)" \
20791 $(TARGET-stage2-libdecnumber)
20793 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20794 clean-stage2: clean-stage2-libdecnumber
20795 clean-stage2-libdecnumber:
20796 @if [ $(current_stage) = stage2 ]; then \
20797 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20798 else \
20799 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20800 $(MAKE) stage2-start; \
20801 fi; \
20802 cd $(HOST_SUBDIR)/libdecnumber && \
20803 $(MAKE) $(EXTRA_HOST_FLAGS) \
20804 $(POSTSTAGE1_FLAGS_TO_PASS) \
20805 clean
20806 @endif libdecnumber-bootstrap
20809 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20810 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20811 maybe-all-stage3-libdecnumber:
20812 maybe-clean-stage3-libdecnumber:
20813 @if libdecnumber-bootstrap
20814 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20815 all-stage3: all-stage3-libdecnumber
20816 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20817 all-stage3-libdecnumber: configure-stage3-libdecnumber
20818 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20819 @r=`${PWD_COMMAND}`; export r; \
20820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20821 TFLAGS="$(STAGE3_TFLAGS)"; \
20822 $(HOST_EXPORTS) \
20823 $(POSTSTAGE1_HOST_EXPORTS) \
20824 cd $(HOST_SUBDIR)/libdecnumber && \
20825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20826 CFLAGS="$(STAGE3_CFLAGS)" \
20827 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20828 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20832 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20833 TFLAGS="$(STAGE3_TFLAGS)" \
20834 $(TARGET-stage3-libdecnumber)
20836 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20837 clean-stage3: clean-stage3-libdecnumber
20838 clean-stage3-libdecnumber:
20839 @if [ $(current_stage) = stage3 ]; then \
20840 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20841 else \
20842 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20843 $(MAKE) stage3-start; \
20844 fi; \
20845 cd $(HOST_SUBDIR)/libdecnumber && \
20846 $(MAKE) $(EXTRA_HOST_FLAGS) \
20847 $(POSTSTAGE1_FLAGS_TO_PASS) \
20848 clean
20849 @endif libdecnumber-bootstrap
20852 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20853 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20854 maybe-all-stage4-libdecnumber:
20855 maybe-clean-stage4-libdecnumber:
20856 @if libdecnumber-bootstrap
20857 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20858 all-stage4: all-stage4-libdecnumber
20859 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20860 all-stage4-libdecnumber: configure-stage4-libdecnumber
20861 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20862 @r=`${PWD_COMMAND}`; export r; \
20863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20864 TFLAGS="$(STAGE4_TFLAGS)"; \
20865 $(HOST_EXPORTS) \
20866 $(POSTSTAGE1_HOST_EXPORTS) \
20867 cd $(HOST_SUBDIR)/libdecnumber && \
20868 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20869 CFLAGS="$(STAGE4_CFLAGS)" \
20870 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20871 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20872 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20873 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20874 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20875 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20876 TFLAGS="$(STAGE4_TFLAGS)" \
20877 $(TARGET-stage4-libdecnumber)
20879 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20880 clean-stage4: clean-stage4-libdecnumber
20881 clean-stage4-libdecnumber:
20882 @if [ $(current_stage) = stage4 ]; then \
20883 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20884 else \
20885 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20886 $(MAKE) stage4-start; \
20887 fi; \
20888 cd $(HOST_SUBDIR)/libdecnumber && \
20889 $(MAKE) $(EXTRA_HOST_FLAGS) \
20890 $(POSTSTAGE1_FLAGS_TO_PASS) \
20891 clean
20892 @endif libdecnumber-bootstrap
20895 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20896 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20897 maybe-all-stageprofile-libdecnumber:
20898 maybe-clean-stageprofile-libdecnumber:
20899 @if libdecnumber-bootstrap
20900 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20901 all-stageprofile: all-stageprofile-libdecnumber
20902 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20903 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20904 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20905 @r=`${PWD_COMMAND}`; export r; \
20906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20907 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20908 $(HOST_EXPORTS) \
20909 $(POSTSTAGE1_HOST_EXPORTS) \
20910 cd $(HOST_SUBDIR)/libdecnumber && \
20911 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20912 CFLAGS="$(STAGEprofile_CFLAGS)" \
20913 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20914 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20915 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20916 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20917 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20918 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20919 TFLAGS="$(STAGEprofile_TFLAGS)" \
20920 $(TARGET-stageprofile-libdecnumber)
20922 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20923 clean-stageprofile: clean-stageprofile-libdecnumber
20924 clean-stageprofile-libdecnumber:
20925 @if [ $(current_stage) = stageprofile ]; then \
20926 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20927 else \
20928 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20929 $(MAKE) stageprofile-start; \
20930 fi; \
20931 cd $(HOST_SUBDIR)/libdecnumber && \
20932 $(MAKE) $(EXTRA_HOST_FLAGS) \
20933 $(POSTSTAGE1_FLAGS_TO_PASS) \
20934 clean
20935 @endif libdecnumber-bootstrap
20938 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20939 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20940 maybe-all-stagefeedback-libdecnumber:
20941 maybe-clean-stagefeedback-libdecnumber:
20942 @if libdecnumber-bootstrap
20943 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20944 all-stagefeedback: all-stagefeedback-libdecnumber
20945 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20946 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20947 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20948 @r=`${PWD_COMMAND}`; export r; \
20949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20950 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20951 $(HOST_EXPORTS) \
20952 $(POSTSTAGE1_HOST_EXPORTS) \
20953 cd $(HOST_SUBDIR)/libdecnumber && \
20954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20955 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20956 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20957 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20961 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20962 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20963 $(TARGET-stagefeedback-libdecnumber)
20965 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20966 clean-stagefeedback: clean-stagefeedback-libdecnumber
20967 clean-stagefeedback-libdecnumber:
20968 @if [ $(current_stage) = stagefeedback ]; then \
20969 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20970 else \
20971 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20972 $(MAKE) stagefeedback-start; \
20973 fi; \
20974 cd $(HOST_SUBDIR)/libdecnumber && \
20975 $(MAKE) $(EXTRA_HOST_FLAGS) \
20976 $(POSTSTAGE1_FLAGS_TO_PASS) \
20977 clean
20978 @endif libdecnumber-bootstrap
20984 .PHONY: check-libdecnumber maybe-check-libdecnumber
20985 maybe-check-libdecnumber:
20986 @if libdecnumber
20987 maybe-check-libdecnumber: check-libdecnumber
20989 check-libdecnumber:
20990 @: $(MAKE); $(unstage)
20991 @r=`${PWD_COMMAND}`; export r; \
20992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20993 $(HOST_EXPORTS) \
20994 (cd $(HOST_SUBDIR)/libdecnumber && \
20995 $(MAKE) $(FLAGS_TO_PASS) check)
20997 @endif libdecnumber
20999 .PHONY: install-libdecnumber maybe-install-libdecnumber
21000 maybe-install-libdecnumber:
21001 @if libdecnumber
21002 maybe-install-libdecnumber: install-libdecnumber
21004 install-libdecnumber: installdirs
21005 @: $(MAKE); $(unstage)
21006 @r=`${PWD_COMMAND}`; export r; \
21007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21008 $(HOST_EXPORTS) \
21009 (cd $(HOST_SUBDIR)/libdecnumber && \
21010 $(MAKE) $(FLAGS_TO_PASS) install)
21012 @endif libdecnumber
21014 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21015 maybe-install-strip-libdecnumber:
21016 @if libdecnumber
21017 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21019 install-strip-libdecnumber: installdirs
21020 @: $(MAKE); $(unstage)
21021 @r=`${PWD_COMMAND}`; export r; \
21022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023 $(HOST_EXPORTS) \
21024 (cd $(HOST_SUBDIR)/libdecnumber && \
21025 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21027 @endif libdecnumber
21029 # Other targets (info, dvi, pdf, etc.)
21031 .PHONY: maybe-info-libdecnumber info-libdecnumber
21032 maybe-info-libdecnumber:
21033 @if libdecnumber
21034 maybe-info-libdecnumber: info-libdecnumber
21036 info-libdecnumber: \
21037 configure-libdecnumber
21038 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21039 r=`${PWD_COMMAND}`; export r; \
21040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21041 $(HOST_EXPORTS) \
21042 for flag in $(EXTRA_HOST_FLAGS) ; do \
21043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21044 done; \
21045 echo "Doing info in libdecnumber" ; \
21046 (cd $(HOST_SUBDIR)/libdecnumber && \
21047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21049 "RANLIB=$${RANLIB}" \
21050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21051 info) \
21052 || exit 1
21054 @endif libdecnumber
21056 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21057 maybe-dvi-libdecnumber:
21058 @if libdecnumber
21059 maybe-dvi-libdecnumber: dvi-libdecnumber
21061 dvi-libdecnumber: \
21062 configure-libdecnumber
21063 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21064 r=`${PWD_COMMAND}`; export r; \
21065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21066 $(HOST_EXPORTS) \
21067 for flag in $(EXTRA_HOST_FLAGS) ; do \
21068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21069 done; \
21070 echo "Doing dvi in libdecnumber" ; \
21071 (cd $(HOST_SUBDIR)/libdecnumber && \
21072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21074 "RANLIB=$${RANLIB}" \
21075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21076 dvi) \
21077 || exit 1
21079 @endif libdecnumber
21081 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21082 maybe-pdf-libdecnumber:
21083 @if libdecnumber
21084 maybe-pdf-libdecnumber: pdf-libdecnumber
21086 pdf-libdecnumber: \
21087 configure-libdecnumber
21088 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21089 r=`${PWD_COMMAND}`; export r; \
21090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21091 $(HOST_EXPORTS) \
21092 for flag in $(EXTRA_HOST_FLAGS) ; do \
21093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21094 done; \
21095 echo "Doing pdf in libdecnumber" ; \
21096 (cd $(HOST_SUBDIR)/libdecnumber && \
21097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21099 "RANLIB=$${RANLIB}" \
21100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21101 pdf) \
21102 || exit 1
21104 @endif libdecnumber
21106 .PHONY: maybe-html-libdecnumber html-libdecnumber
21107 maybe-html-libdecnumber:
21108 @if libdecnumber
21109 maybe-html-libdecnumber: html-libdecnumber
21111 html-libdecnumber: \
21112 configure-libdecnumber
21113 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21114 r=`${PWD_COMMAND}`; export r; \
21115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21116 $(HOST_EXPORTS) \
21117 for flag in $(EXTRA_HOST_FLAGS) ; do \
21118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21119 done; \
21120 echo "Doing html in libdecnumber" ; \
21121 (cd $(HOST_SUBDIR)/libdecnumber && \
21122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21124 "RANLIB=$${RANLIB}" \
21125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21126 html) \
21127 || exit 1
21129 @endif libdecnumber
21131 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21132 maybe-TAGS-libdecnumber:
21133 @if libdecnumber
21134 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21136 TAGS-libdecnumber: \
21137 configure-libdecnumber
21138 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21139 r=`${PWD_COMMAND}`; export r; \
21140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21141 $(HOST_EXPORTS) \
21142 for flag in $(EXTRA_HOST_FLAGS) ; do \
21143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21144 done; \
21145 echo "Doing TAGS in libdecnumber" ; \
21146 (cd $(HOST_SUBDIR)/libdecnumber && \
21147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21149 "RANLIB=$${RANLIB}" \
21150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21151 TAGS) \
21152 || exit 1
21154 @endif libdecnumber
21156 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21157 maybe-install-info-libdecnumber:
21158 @if libdecnumber
21159 maybe-install-info-libdecnumber: install-info-libdecnumber
21161 install-info-libdecnumber: \
21162 configure-libdecnumber \
21163 info-libdecnumber
21164 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21165 r=`${PWD_COMMAND}`; export r; \
21166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21167 $(HOST_EXPORTS) \
21168 for flag in $(EXTRA_HOST_FLAGS) ; do \
21169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21170 done; \
21171 echo "Doing install-info in libdecnumber" ; \
21172 (cd $(HOST_SUBDIR)/libdecnumber && \
21173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21175 "RANLIB=$${RANLIB}" \
21176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21177 install-info) \
21178 || exit 1
21180 @endif libdecnumber
21182 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21183 maybe-install-pdf-libdecnumber:
21184 @if libdecnumber
21185 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21187 install-pdf-libdecnumber: \
21188 configure-libdecnumber \
21189 pdf-libdecnumber
21190 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21191 r=`${PWD_COMMAND}`; export r; \
21192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21193 $(HOST_EXPORTS) \
21194 for flag in $(EXTRA_HOST_FLAGS) ; do \
21195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21196 done; \
21197 echo "Doing install-pdf in libdecnumber" ; \
21198 (cd $(HOST_SUBDIR)/libdecnumber && \
21199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21201 "RANLIB=$${RANLIB}" \
21202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21203 install-pdf) \
21204 || exit 1
21206 @endif libdecnumber
21208 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21209 maybe-install-html-libdecnumber:
21210 @if libdecnumber
21211 maybe-install-html-libdecnumber: install-html-libdecnumber
21213 install-html-libdecnumber: \
21214 configure-libdecnumber \
21215 html-libdecnumber
21216 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21217 r=`${PWD_COMMAND}`; export r; \
21218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21219 $(HOST_EXPORTS) \
21220 for flag in $(EXTRA_HOST_FLAGS) ; do \
21221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21222 done; \
21223 echo "Doing install-html in libdecnumber" ; \
21224 (cd $(HOST_SUBDIR)/libdecnumber && \
21225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21227 "RANLIB=$${RANLIB}" \
21228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21229 install-html) \
21230 || exit 1
21232 @endif libdecnumber
21234 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21235 maybe-installcheck-libdecnumber:
21236 @if libdecnumber
21237 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21239 installcheck-libdecnumber: \
21240 configure-libdecnumber
21241 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21242 r=`${PWD_COMMAND}`; export r; \
21243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21244 $(HOST_EXPORTS) \
21245 for flag in $(EXTRA_HOST_FLAGS) ; do \
21246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21247 done; \
21248 echo "Doing installcheck in libdecnumber" ; \
21249 (cd $(HOST_SUBDIR)/libdecnumber && \
21250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21252 "RANLIB=$${RANLIB}" \
21253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21254 installcheck) \
21255 || exit 1
21257 @endif libdecnumber
21259 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21260 maybe-mostlyclean-libdecnumber:
21261 @if libdecnumber
21262 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21264 mostlyclean-libdecnumber:
21265 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21266 r=`${PWD_COMMAND}`; export r; \
21267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21268 $(HOST_EXPORTS) \
21269 for flag in $(EXTRA_HOST_FLAGS) ; do \
21270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21271 done; \
21272 echo "Doing mostlyclean in libdecnumber" ; \
21273 (cd $(HOST_SUBDIR)/libdecnumber && \
21274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21276 "RANLIB=$${RANLIB}" \
21277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21278 mostlyclean) \
21279 || exit 1
21281 @endif libdecnumber
21283 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21284 maybe-clean-libdecnumber:
21285 @if libdecnumber
21286 maybe-clean-libdecnumber: clean-libdecnumber
21288 clean-libdecnumber:
21289 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21290 r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21292 $(HOST_EXPORTS) \
21293 for flag in $(EXTRA_HOST_FLAGS) ; do \
21294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21295 done; \
21296 echo "Doing clean in libdecnumber" ; \
21297 (cd $(HOST_SUBDIR)/libdecnumber && \
21298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21300 "RANLIB=$${RANLIB}" \
21301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21302 clean) \
21303 || exit 1
21305 @endif libdecnumber
21307 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21308 maybe-distclean-libdecnumber:
21309 @if libdecnumber
21310 maybe-distclean-libdecnumber: distclean-libdecnumber
21312 distclean-libdecnumber:
21313 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21314 r=`${PWD_COMMAND}`; export r; \
21315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21316 $(HOST_EXPORTS) \
21317 for flag in $(EXTRA_HOST_FLAGS) ; do \
21318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21319 done; \
21320 echo "Doing distclean in libdecnumber" ; \
21321 (cd $(HOST_SUBDIR)/libdecnumber && \
21322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21324 "RANLIB=$${RANLIB}" \
21325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21326 distclean) \
21327 || exit 1
21329 @endif libdecnumber
21331 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21332 maybe-maintainer-clean-libdecnumber:
21333 @if libdecnumber
21334 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21336 maintainer-clean-libdecnumber:
21337 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21338 r=`${PWD_COMMAND}`; export r; \
21339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21340 $(HOST_EXPORTS) \
21341 for flag in $(EXTRA_HOST_FLAGS) ; do \
21342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21343 done; \
21344 echo "Doing maintainer-clean in libdecnumber" ; \
21345 (cd $(HOST_SUBDIR)/libdecnumber && \
21346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21348 "RANLIB=$${RANLIB}" \
21349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21350 maintainer-clean) \
21351 || exit 1
21353 @endif libdecnumber
21357 .PHONY: configure-libgui maybe-configure-libgui
21358 maybe-configure-libgui:
21359 @if gcc-bootstrap
21360 configure-libgui: stage_current
21361 @endif gcc-bootstrap
21362 @if libgui
21363 maybe-configure-libgui: configure-libgui
21364 configure-libgui:
21365 @: $(MAKE); $(unstage)
21366 @r=`${PWD_COMMAND}`; export r; \
21367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21368 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21370 $(HOST_EXPORTS) \
21371 echo Configuring in $(HOST_SUBDIR)/libgui; \
21372 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21373 case $(srcdir) in \
21374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21375 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21377 esac; \
21378 srcdiroption="--srcdir=$${topdir}/libgui"; \
21379 libsrcdir="$$s/libgui"; \
21380 $(SHELL) $${libsrcdir}/configure \
21381 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21382 --target=${target_alias} $${srcdiroption} \
21383 || exit 1
21384 @endif libgui
21390 .PHONY: all-libgui maybe-all-libgui
21391 maybe-all-libgui:
21392 @if gcc-bootstrap
21393 all-libgui: stage_current
21394 @endif gcc-bootstrap
21395 @if libgui
21396 TARGET-libgui=all
21397 maybe-all-libgui: all-libgui
21398 all-libgui: configure-libgui
21399 @: $(MAKE); $(unstage)
21400 @r=`${PWD_COMMAND}`; export r; \
21401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21402 $(HOST_EXPORTS) \
21403 (cd $(HOST_SUBDIR)/libgui && \
21404 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21405 $(TARGET-libgui))
21406 @endif libgui
21411 .PHONY: check-libgui maybe-check-libgui
21412 maybe-check-libgui:
21413 @if libgui
21414 maybe-check-libgui: check-libgui
21416 check-libgui:
21417 @: $(MAKE); $(unstage)
21418 @r=`${PWD_COMMAND}`; export r; \
21419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21420 $(HOST_EXPORTS) \
21421 (cd $(HOST_SUBDIR)/libgui && \
21422 $(MAKE) $(FLAGS_TO_PASS) check)
21424 @endif libgui
21426 .PHONY: install-libgui maybe-install-libgui
21427 maybe-install-libgui:
21428 @if libgui
21429 maybe-install-libgui: install-libgui
21431 install-libgui: installdirs
21432 @: $(MAKE); $(unstage)
21433 @r=`${PWD_COMMAND}`; export r; \
21434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21435 $(HOST_EXPORTS) \
21436 (cd $(HOST_SUBDIR)/libgui && \
21437 $(MAKE) $(FLAGS_TO_PASS) install)
21439 @endif libgui
21441 .PHONY: install-strip-libgui maybe-install-strip-libgui
21442 maybe-install-strip-libgui:
21443 @if libgui
21444 maybe-install-strip-libgui: install-strip-libgui
21446 install-strip-libgui: installdirs
21447 @: $(MAKE); $(unstage)
21448 @r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 $(HOST_EXPORTS) \
21451 (cd $(HOST_SUBDIR)/libgui && \
21452 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21454 @endif libgui
21456 # Other targets (info, dvi, pdf, etc.)
21458 .PHONY: maybe-info-libgui info-libgui
21459 maybe-info-libgui:
21460 @if libgui
21461 maybe-info-libgui: info-libgui
21463 info-libgui: \
21464 configure-libgui
21465 @: $(MAKE); $(unstage)
21466 @[ -f ./libgui/Makefile ] || exit 0; \
21467 r=`${PWD_COMMAND}`; export r; \
21468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21469 $(HOST_EXPORTS) \
21470 for flag in $(EXTRA_HOST_FLAGS) ; do \
21471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21472 done; \
21473 echo "Doing info in libgui" ; \
21474 (cd $(HOST_SUBDIR)/libgui && \
21475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21477 "RANLIB=$${RANLIB}" \
21478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21479 info) \
21480 || exit 1
21482 @endif libgui
21484 .PHONY: maybe-dvi-libgui dvi-libgui
21485 maybe-dvi-libgui:
21486 @if libgui
21487 maybe-dvi-libgui: dvi-libgui
21489 dvi-libgui: \
21490 configure-libgui
21491 @: $(MAKE); $(unstage)
21492 @[ -f ./libgui/Makefile ] || exit 0; \
21493 r=`${PWD_COMMAND}`; export r; \
21494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21495 $(HOST_EXPORTS) \
21496 for flag in $(EXTRA_HOST_FLAGS) ; do \
21497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21498 done; \
21499 echo "Doing dvi in libgui" ; \
21500 (cd $(HOST_SUBDIR)/libgui && \
21501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21503 "RANLIB=$${RANLIB}" \
21504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21505 dvi) \
21506 || exit 1
21508 @endif libgui
21510 .PHONY: maybe-pdf-libgui pdf-libgui
21511 maybe-pdf-libgui:
21512 @if libgui
21513 maybe-pdf-libgui: pdf-libgui
21515 pdf-libgui: \
21516 configure-libgui
21517 @: $(MAKE); $(unstage)
21518 @[ -f ./libgui/Makefile ] || exit 0; \
21519 r=`${PWD_COMMAND}`; export r; \
21520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21521 $(HOST_EXPORTS) \
21522 for flag in $(EXTRA_HOST_FLAGS) ; do \
21523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21524 done; \
21525 echo "Doing pdf in libgui" ; \
21526 (cd $(HOST_SUBDIR)/libgui && \
21527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21529 "RANLIB=$${RANLIB}" \
21530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21531 pdf) \
21532 || exit 1
21534 @endif libgui
21536 .PHONY: maybe-html-libgui html-libgui
21537 maybe-html-libgui:
21538 @if libgui
21539 maybe-html-libgui: html-libgui
21541 html-libgui: \
21542 configure-libgui
21543 @: $(MAKE); $(unstage)
21544 @[ -f ./libgui/Makefile ] || exit 0; \
21545 r=`${PWD_COMMAND}`; export r; \
21546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21547 $(HOST_EXPORTS) \
21548 for flag in $(EXTRA_HOST_FLAGS) ; do \
21549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21550 done; \
21551 echo "Doing html in libgui" ; \
21552 (cd $(HOST_SUBDIR)/libgui && \
21553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21555 "RANLIB=$${RANLIB}" \
21556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21557 html) \
21558 || exit 1
21560 @endif libgui
21562 .PHONY: maybe-TAGS-libgui TAGS-libgui
21563 maybe-TAGS-libgui:
21564 @if libgui
21565 maybe-TAGS-libgui: TAGS-libgui
21567 TAGS-libgui: \
21568 configure-libgui
21569 @: $(MAKE); $(unstage)
21570 @[ -f ./libgui/Makefile ] || exit 0; \
21571 r=`${PWD_COMMAND}`; export r; \
21572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21573 $(HOST_EXPORTS) \
21574 for flag in $(EXTRA_HOST_FLAGS) ; do \
21575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21576 done; \
21577 echo "Doing TAGS in libgui" ; \
21578 (cd $(HOST_SUBDIR)/libgui && \
21579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21581 "RANLIB=$${RANLIB}" \
21582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21583 TAGS) \
21584 || exit 1
21586 @endif libgui
21588 .PHONY: maybe-install-info-libgui install-info-libgui
21589 maybe-install-info-libgui:
21590 @if libgui
21591 maybe-install-info-libgui: install-info-libgui
21593 install-info-libgui: \
21594 configure-libgui \
21595 info-libgui
21596 @: $(MAKE); $(unstage)
21597 @[ -f ./libgui/Makefile ] || exit 0; \
21598 r=`${PWD_COMMAND}`; export r; \
21599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21600 $(HOST_EXPORTS) \
21601 for flag in $(EXTRA_HOST_FLAGS) ; do \
21602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21603 done; \
21604 echo "Doing install-info in libgui" ; \
21605 (cd $(HOST_SUBDIR)/libgui && \
21606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21608 "RANLIB=$${RANLIB}" \
21609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21610 install-info) \
21611 || exit 1
21613 @endif libgui
21615 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21616 maybe-install-pdf-libgui:
21617 @if libgui
21618 maybe-install-pdf-libgui: install-pdf-libgui
21620 install-pdf-libgui: \
21621 configure-libgui \
21622 pdf-libgui
21623 @: $(MAKE); $(unstage)
21624 @[ -f ./libgui/Makefile ] || exit 0; \
21625 r=`${PWD_COMMAND}`; export r; \
21626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21627 $(HOST_EXPORTS) \
21628 for flag in $(EXTRA_HOST_FLAGS) ; do \
21629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21630 done; \
21631 echo "Doing install-pdf in libgui" ; \
21632 (cd $(HOST_SUBDIR)/libgui && \
21633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21635 "RANLIB=$${RANLIB}" \
21636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21637 install-pdf) \
21638 || exit 1
21640 @endif libgui
21642 .PHONY: maybe-install-html-libgui install-html-libgui
21643 maybe-install-html-libgui:
21644 @if libgui
21645 maybe-install-html-libgui: install-html-libgui
21647 install-html-libgui: \
21648 configure-libgui \
21649 html-libgui
21650 @: $(MAKE); $(unstage)
21651 @[ -f ./libgui/Makefile ] || exit 0; \
21652 r=`${PWD_COMMAND}`; export r; \
21653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21654 $(HOST_EXPORTS) \
21655 for flag in $(EXTRA_HOST_FLAGS) ; do \
21656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21657 done; \
21658 echo "Doing install-html in libgui" ; \
21659 (cd $(HOST_SUBDIR)/libgui && \
21660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21662 "RANLIB=$${RANLIB}" \
21663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21664 install-html) \
21665 || exit 1
21667 @endif libgui
21669 .PHONY: maybe-installcheck-libgui installcheck-libgui
21670 maybe-installcheck-libgui:
21671 @if libgui
21672 maybe-installcheck-libgui: installcheck-libgui
21674 installcheck-libgui: \
21675 configure-libgui
21676 @: $(MAKE); $(unstage)
21677 @[ -f ./libgui/Makefile ] || exit 0; \
21678 r=`${PWD_COMMAND}`; export r; \
21679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21680 $(HOST_EXPORTS) \
21681 for flag in $(EXTRA_HOST_FLAGS) ; do \
21682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21683 done; \
21684 echo "Doing installcheck in libgui" ; \
21685 (cd $(HOST_SUBDIR)/libgui && \
21686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21688 "RANLIB=$${RANLIB}" \
21689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21690 installcheck) \
21691 || exit 1
21693 @endif libgui
21695 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21696 maybe-mostlyclean-libgui:
21697 @if libgui
21698 maybe-mostlyclean-libgui: mostlyclean-libgui
21700 mostlyclean-libgui:
21701 @: $(MAKE); $(unstage)
21702 @[ -f ./libgui/Makefile ] || exit 0; \
21703 r=`${PWD_COMMAND}`; export r; \
21704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21705 $(HOST_EXPORTS) \
21706 for flag in $(EXTRA_HOST_FLAGS) ; do \
21707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21708 done; \
21709 echo "Doing mostlyclean in libgui" ; \
21710 (cd $(HOST_SUBDIR)/libgui && \
21711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21713 "RANLIB=$${RANLIB}" \
21714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21715 mostlyclean) \
21716 || exit 1
21718 @endif libgui
21720 .PHONY: maybe-clean-libgui clean-libgui
21721 maybe-clean-libgui:
21722 @if libgui
21723 maybe-clean-libgui: clean-libgui
21725 clean-libgui:
21726 @: $(MAKE); $(unstage)
21727 @[ -f ./libgui/Makefile ] || exit 0; \
21728 r=`${PWD_COMMAND}`; export r; \
21729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21730 $(HOST_EXPORTS) \
21731 for flag in $(EXTRA_HOST_FLAGS) ; do \
21732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21733 done; \
21734 echo "Doing clean in libgui" ; \
21735 (cd $(HOST_SUBDIR)/libgui && \
21736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21738 "RANLIB=$${RANLIB}" \
21739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21740 clean) \
21741 || exit 1
21743 @endif libgui
21745 .PHONY: maybe-distclean-libgui distclean-libgui
21746 maybe-distclean-libgui:
21747 @if libgui
21748 maybe-distclean-libgui: distclean-libgui
21750 distclean-libgui:
21751 @: $(MAKE); $(unstage)
21752 @[ -f ./libgui/Makefile ] || exit 0; \
21753 r=`${PWD_COMMAND}`; export r; \
21754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21755 $(HOST_EXPORTS) \
21756 for flag in $(EXTRA_HOST_FLAGS) ; do \
21757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21758 done; \
21759 echo "Doing distclean in libgui" ; \
21760 (cd $(HOST_SUBDIR)/libgui && \
21761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21763 "RANLIB=$${RANLIB}" \
21764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21765 distclean) \
21766 || exit 1
21768 @endif libgui
21770 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21771 maybe-maintainer-clean-libgui:
21772 @if libgui
21773 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21775 maintainer-clean-libgui:
21776 @: $(MAKE); $(unstage)
21777 @[ -f ./libgui/Makefile ] || exit 0; \
21778 r=`${PWD_COMMAND}`; export r; \
21779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21780 $(HOST_EXPORTS) \
21781 for flag in $(EXTRA_HOST_FLAGS) ; do \
21782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21783 done; \
21784 echo "Doing maintainer-clean in libgui" ; \
21785 (cd $(HOST_SUBDIR)/libgui && \
21786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21788 "RANLIB=$${RANLIB}" \
21789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21790 maintainer-clean) \
21791 || exit 1
21793 @endif libgui
21797 .PHONY: configure-libiberty maybe-configure-libiberty
21798 maybe-configure-libiberty:
21799 @if gcc-bootstrap
21800 configure-libiberty: stage_current
21801 @endif gcc-bootstrap
21802 @if libiberty
21803 maybe-configure-libiberty: configure-libiberty
21804 configure-libiberty:
21805 @r=`${PWD_COMMAND}`; export r; \
21806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21807 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21809 $(HOST_EXPORTS) \
21810 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21811 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21812 case $(srcdir) in \
21813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21814 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21816 esac; \
21817 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21818 libsrcdir="$$s/libiberty"; \
21819 $(SHELL) $${libsrcdir}/configure \
21820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21821 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21822 || exit 1
21823 @endif libiberty
21827 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21828 maybe-configure-stage1-libiberty:
21829 @if libiberty-bootstrap
21830 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21831 configure-stage1-libiberty:
21832 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21833 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21834 @r=`${PWD_COMMAND}`; export r; \
21835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21836 TFLAGS="$(STAGE1_TFLAGS)"; \
21837 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21838 $(HOST_EXPORTS) \
21839 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21840 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21841 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21842 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21844 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21845 case $(srcdir) in \
21846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21847 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21849 esac; \
21850 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21851 libsrcdir="$$s/libiberty"; \
21852 $(SHELL) $${libsrcdir}/configure \
21853 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21854 --target=${target_alias} $${srcdiroption} \
21855 $(STAGE1_CONFIGURE_FLAGS) \
21856 @extra_host_libiberty_configure_flags@
21857 @endif libiberty-bootstrap
21859 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21860 maybe-configure-stage2-libiberty:
21861 @if libiberty-bootstrap
21862 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21863 configure-stage2-libiberty:
21864 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21866 @r=`${PWD_COMMAND}`; export r; \
21867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21868 TFLAGS="$(STAGE2_TFLAGS)"; \
21869 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21870 $(HOST_EXPORTS) \
21871 $(POSTSTAGE1_HOST_EXPORTS) \
21872 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21873 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21874 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21875 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21877 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21878 case $(srcdir) in \
21879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21880 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21882 esac; \
21883 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21884 libsrcdir="$$s/libiberty"; \
21885 $(SHELL) $${libsrcdir}/configure \
21886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21887 --target=${target_alias} $${srcdiroption} \
21888 --with-build-libsubdir=$(HOST_SUBDIR) \
21889 $(STAGE2_CONFIGURE_FLAGS) \
21890 @extra_host_libiberty_configure_flags@
21891 @endif libiberty-bootstrap
21893 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21894 maybe-configure-stage3-libiberty:
21895 @if libiberty-bootstrap
21896 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21897 configure-stage3-libiberty:
21898 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21900 @r=`${PWD_COMMAND}`; export r; \
21901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21902 TFLAGS="$(STAGE3_TFLAGS)"; \
21903 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21904 $(HOST_EXPORTS) \
21905 $(POSTSTAGE1_HOST_EXPORTS) \
21906 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21907 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21908 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21909 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21911 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21912 case $(srcdir) in \
21913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21914 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21916 esac; \
21917 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21918 libsrcdir="$$s/libiberty"; \
21919 $(SHELL) $${libsrcdir}/configure \
21920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21921 --target=${target_alias} $${srcdiroption} \
21922 --with-build-libsubdir=$(HOST_SUBDIR) \
21923 $(STAGE3_CONFIGURE_FLAGS) \
21924 @extra_host_libiberty_configure_flags@
21925 @endif libiberty-bootstrap
21927 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21928 maybe-configure-stage4-libiberty:
21929 @if libiberty-bootstrap
21930 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21931 configure-stage4-libiberty:
21932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21934 @r=`${PWD_COMMAND}`; export r; \
21935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21936 TFLAGS="$(STAGE4_TFLAGS)"; \
21937 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21938 $(HOST_EXPORTS) \
21939 $(POSTSTAGE1_HOST_EXPORTS) \
21940 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21941 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21942 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21943 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21945 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21946 case $(srcdir) in \
21947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21948 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21950 esac; \
21951 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21952 libsrcdir="$$s/libiberty"; \
21953 $(SHELL) $${libsrcdir}/configure \
21954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21955 --target=${target_alias} $${srcdiroption} \
21956 --with-build-libsubdir=$(HOST_SUBDIR) \
21957 $(STAGE4_CONFIGURE_FLAGS) \
21958 @extra_host_libiberty_configure_flags@
21959 @endif libiberty-bootstrap
21961 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21962 maybe-configure-stageprofile-libiberty:
21963 @if libiberty-bootstrap
21964 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21965 configure-stageprofile-libiberty:
21966 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21968 @r=`${PWD_COMMAND}`; export r; \
21969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21970 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21971 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21972 $(HOST_EXPORTS) \
21973 $(POSTSTAGE1_HOST_EXPORTS) \
21974 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21975 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21976 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21977 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21979 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21980 case $(srcdir) in \
21981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21982 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21984 esac; \
21985 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21986 libsrcdir="$$s/libiberty"; \
21987 $(SHELL) $${libsrcdir}/configure \
21988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21989 --target=${target_alias} $${srcdiroption} \
21990 --with-build-libsubdir=$(HOST_SUBDIR) \
21991 $(STAGEprofile_CONFIGURE_FLAGS) \
21992 @extra_host_libiberty_configure_flags@
21993 @endif libiberty-bootstrap
21995 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21996 maybe-configure-stagefeedback-libiberty:
21997 @if libiberty-bootstrap
21998 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21999 configure-stagefeedback-libiberty:
22000 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22002 @r=`${PWD_COMMAND}`; export r; \
22003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22004 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22005 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22006 $(HOST_EXPORTS) \
22007 $(POSTSTAGE1_HOST_EXPORTS) \
22008 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22009 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22010 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22011 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22013 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22014 case $(srcdir) in \
22015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22016 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22018 esac; \
22019 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22020 libsrcdir="$$s/libiberty"; \
22021 $(SHELL) $${libsrcdir}/configure \
22022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22023 --target=${target_alias} $${srcdiroption} \
22024 --with-build-libsubdir=$(HOST_SUBDIR) \
22025 $(STAGEfeedback_CONFIGURE_FLAGS) \
22026 @extra_host_libiberty_configure_flags@
22027 @endif libiberty-bootstrap
22033 .PHONY: all-libiberty maybe-all-libiberty
22034 maybe-all-libiberty:
22035 @if gcc-bootstrap
22036 all-libiberty: stage_current
22037 @endif gcc-bootstrap
22038 @if libiberty
22039 TARGET-libiberty=all
22040 maybe-all-libiberty: all-libiberty
22041 all-libiberty: configure-libiberty
22042 @r=`${PWD_COMMAND}`; export r; \
22043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22044 $(HOST_EXPORTS) \
22045 (cd $(HOST_SUBDIR)/libiberty && \
22046 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22047 $(TARGET-libiberty))
22048 @endif libiberty
22052 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22053 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22054 maybe-all-stage1-libiberty:
22055 maybe-clean-stage1-libiberty:
22056 @if libiberty-bootstrap
22057 maybe-all-stage1-libiberty: all-stage1-libiberty
22058 all-stage1: all-stage1-libiberty
22059 TARGET-stage1-libiberty = $(TARGET-libiberty)
22060 all-stage1-libiberty: configure-stage1-libiberty
22061 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22062 @r=`${PWD_COMMAND}`; export r; \
22063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22064 TFLAGS="$(STAGE1_TFLAGS)"; \
22065 $(HOST_EXPORTS) \
22066 cd $(HOST_SUBDIR)/libiberty && \
22067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22068 CFLAGS="$(STAGE1_CFLAGS)" \
22069 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22070 LIBCFLAGS="$(LIBCFLAGS)" \
22071 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22072 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22073 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22074 $(EXTRA_HOST_FLAGS) \
22075 TFLAGS="$(STAGE1_TFLAGS)" \
22076 $(TARGET-stage1-libiberty)
22078 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22079 clean-stage1: clean-stage1-libiberty
22080 clean-stage1-libiberty:
22081 @if [ $(current_stage) = stage1 ]; then \
22082 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22083 else \
22084 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22085 $(MAKE) stage1-start; \
22086 fi; \
22087 cd $(HOST_SUBDIR)/libiberty && \
22088 $(MAKE) $(EXTRA_HOST_FLAGS) \
22089 clean
22090 @endif libiberty-bootstrap
22093 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22094 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22095 maybe-all-stage2-libiberty:
22096 maybe-clean-stage2-libiberty:
22097 @if libiberty-bootstrap
22098 maybe-all-stage2-libiberty: all-stage2-libiberty
22099 all-stage2: all-stage2-libiberty
22100 TARGET-stage2-libiberty = $(TARGET-libiberty)
22101 all-stage2-libiberty: configure-stage2-libiberty
22102 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22103 @r=`${PWD_COMMAND}`; export r; \
22104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22105 TFLAGS="$(STAGE2_TFLAGS)"; \
22106 $(HOST_EXPORTS) \
22107 $(POSTSTAGE1_HOST_EXPORTS) \
22108 cd $(HOST_SUBDIR)/libiberty && \
22109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22110 CFLAGS="$(STAGE2_CFLAGS)" \
22111 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22112 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22117 TFLAGS="$(STAGE2_TFLAGS)" \
22118 $(TARGET-stage2-libiberty)
22120 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22121 clean-stage2: clean-stage2-libiberty
22122 clean-stage2-libiberty:
22123 @if [ $(current_stage) = stage2 ]; then \
22124 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22125 else \
22126 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22127 $(MAKE) stage2-start; \
22128 fi; \
22129 cd $(HOST_SUBDIR)/libiberty && \
22130 $(MAKE) $(EXTRA_HOST_FLAGS) \
22131 $(POSTSTAGE1_FLAGS_TO_PASS) \
22132 clean
22133 @endif libiberty-bootstrap
22136 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22137 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22138 maybe-all-stage3-libiberty:
22139 maybe-clean-stage3-libiberty:
22140 @if libiberty-bootstrap
22141 maybe-all-stage3-libiberty: all-stage3-libiberty
22142 all-stage3: all-stage3-libiberty
22143 TARGET-stage3-libiberty = $(TARGET-libiberty)
22144 all-stage3-libiberty: configure-stage3-libiberty
22145 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22146 @r=`${PWD_COMMAND}`; export r; \
22147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22148 TFLAGS="$(STAGE3_TFLAGS)"; \
22149 $(HOST_EXPORTS) \
22150 $(POSTSTAGE1_HOST_EXPORTS) \
22151 cd $(HOST_SUBDIR)/libiberty && \
22152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22153 CFLAGS="$(STAGE3_CFLAGS)" \
22154 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22155 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22160 TFLAGS="$(STAGE3_TFLAGS)" \
22161 $(TARGET-stage3-libiberty)
22163 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22164 clean-stage3: clean-stage3-libiberty
22165 clean-stage3-libiberty:
22166 @if [ $(current_stage) = stage3 ]; then \
22167 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22168 else \
22169 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22170 $(MAKE) stage3-start; \
22171 fi; \
22172 cd $(HOST_SUBDIR)/libiberty && \
22173 $(MAKE) $(EXTRA_HOST_FLAGS) \
22174 $(POSTSTAGE1_FLAGS_TO_PASS) \
22175 clean
22176 @endif libiberty-bootstrap
22179 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22180 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22181 maybe-all-stage4-libiberty:
22182 maybe-clean-stage4-libiberty:
22183 @if libiberty-bootstrap
22184 maybe-all-stage4-libiberty: all-stage4-libiberty
22185 all-stage4: all-stage4-libiberty
22186 TARGET-stage4-libiberty = $(TARGET-libiberty)
22187 all-stage4-libiberty: configure-stage4-libiberty
22188 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22189 @r=`${PWD_COMMAND}`; export r; \
22190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22191 TFLAGS="$(STAGE4_TFLAGS)"; \
22192 $(HOST_EXPORTS) \
22193 $(POSTSTAGE1_HOST_EXPORTS) \
22194 cd $(HOST_SUBDIR)/libiberty && \
22195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22196 CFLAGS="$(STAGE4_CFLAGS)" \
22197 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22198 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22202 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22203 TFLAGS="$(STAGE4_TFLAGS)" \
22204 $(TARGET-stage4-libiberty)
22206 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22207 clean-stage4: clean-stage4-libiberty
22208 clean-stage4-libiberty:
22209 @if [ $(current_stage) = stage4 ]; then \
22210 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22211 else \
22212 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22213 $(MAKE) stage4-start; \
22214 fi; \
22215 cd $(HOST_SUBDIR)/libiberty && \
22216 $(MAKE) $(EXTRA_HOST_FLAGS) \
22217 $(POSTSTAGE1_FLAGS_TO_PASS) \
22218 clean
22219 @endif libiberty-bootstrap
22222 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22223 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22224 maybe-all-stageprofile-libiberty:
22225 maybe-clean-stageprofile-libiberty:
22226 @if libiberty-bootstrap
22227 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22228 all-stageprofile: all-stageprofile-libiberty
22229 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22230 all-stageprofile-libiberty: configure-stageprofile-libiberty
22231 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22232 @r=`${PWD_COMMAND}`; export r; \
22233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22234 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22235 $(HOST_EXPORTS) \
22236 $(POSTSTAGE1_HOST_EXPORTS) \
22237 cd $(HOST_SUBDIR)/libiberty && \
22238 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22239 CFLAGS="$(STAGEprofile_CFLAGS)" \
22240 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22241 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22242 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22243 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22244 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22245 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22246 TFLAGS="$(STAGEprofile_TFLAGS)" \
22247 $(TARGET-stageprofile-libiberty)
22249 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22250 clean-stageprofile: clean-stageprofile-libiberty
22251 clean-stageprofile-libiberty:
22252 @if [ $(current_stage) = stageprofile ]; then \
22253 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22254 else \
22255 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22256 $(MAKE) stageprofile-start; \
22257 fi; \
22258 cd $(HOST_SUBDIR)/libiberty && \
22259 $(MAKE) $(EXTRA_HOST_FLAGS) \
22260 $(POSTSTAGE1_FLAGS_TO_PASS) \
22261 clean
22262 @endif libiberty-bootstrap
22265 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22266 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22267 maybe-all-stagefeedback-libiberty:
22268 maybe-clean-stagefeedback-libiberty:
22269 @if libiberty-bootstrap
22270 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22271 all-stagefeedback: all-stagefeedback-libiberty
22272 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22273 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22274 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22275 @r=`${PWD_COMMAND}`; export r; \
22276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22277 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22278 $(HOST_EXPORTS) \
22279 $(POSTSTAGE1_HOST_EXPORTS) \
22280 cd $(HOST_SUBDIR)/libiberty && \
22281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22282 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22283 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22284 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22288 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22289 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22290 $(TARGET-stagefeedback-libiberty)
22292 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22293 clean-stagefeedback: clean-stagefeedback-libiberty
22294 clean-stagefeedback-libiberty:
22295 @if [ $(current_stage) = stagefeedback ]; then \
22296 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22297 else \
22298 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22299 $(MAKE) stagefeedback-start; \
22300 fi; \
22301 cd $(HOST_SUBDIR)/libiberty && \
22302 $(MAKE) $(EXTRA_HOST_FLAGS) \
22303 $(POSTSTAGE1_FLAGS_TO_PASS) \
22304 clean
22305 @endif libiberty-bootstrap
22311 .PHONY: check-libiberty maybe-check-libiberty
22312 maybe-check-libiberty:
22313 @if libiberty
22314 maybe-check-libiberty: check-libiberty
22316 check-libiberty:
22317 @: $(MAKE); $(unstage)
22318 @r=`${PWD_COMMAND}`; export r; \
22319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22320 $(HOST_EXPORTS) \
22321 (cd $(HOST_SUBDIR)/libiberty && \
22322 $(MAKE) $(FLAGS_TO_PASS) check)
22324 @endif libiberty
22326 .PHONY: install-libiberty maybe-install-libiberty
22327 maybe-install-libiberty:
22328 @if libiberty
22329 maybe-install-libiberty: install-libiberty
22331 install-libiberty: installdirs
22332 @: $(MAKE); $(unstage)
22333 @r=`${PWD_COMMAND}`; export r; \
22334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22335 $(HOST_EXPORTS) \
22336 (cd $(HOST_SUBDIR)/libiberty && \
22337 $(MAKE) $(FLAGS_TO_PASS) install)
22339 @endif libiberty
22341 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22342 maybe-install-strip-libiberty:
22343 @if libiberty
22344 maybe-install-strip-libiberty: install-strip-libiberty
22346 install-strip-libiberty: installdirs
22347 @: $(MAKE); $(unstage)
22348 @r=`${PWD_COMMAND}`; export r; \
22349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22350 $(HOST_EXPORTS) \
22351 (cd $(HOST_SUBDIR)/libiberty && \
22352 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22354 @endif libiberty
22356 # Other targets (info, dvi, pdf, etc.)
22358 .PHONY: maybe-info-libiberty info-libiberty
22359 maybe-info-libiberty:
22360 @if libiberty
22361 maybe-info-libiberty: info-libiberty
22363 info-libiberty: \
22364 configure-libiberty
22365 @[ -f ./libiberty/Makefile ] || exit 0; \
22366 r=`${PWD_COMMAND}`; export r; \
22367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22368 $(HOST_EXPORTS) \
22369 for flag in $(EXTRA_HOST_FLAGS) ; do \
22370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22371 done; \
22372 echo "Doing info in libiberty" ; \
22373 (cd $(HOST_SUBDIR)/libiberty && \
22374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22376 "RANLIB=$${RANLIB}" \
22377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22378 info) \
22379 || exit 1
22381 @endif libiberty
22383 .PHONY: maybe-dvi-libiberty dvi-libiberty
22384 maybe-dvi-libiberty:
22385 @if libiberty
22386 maybe-dvi-libiberty: dvi-libiberty
22388 dvi-libiberty: \
22389 configure-libiberty
22390 @[ -f ./libiberty/Makefile ] || exit 0; \
22391 r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22393 $(HOST_EXPORTS) \
22394 for flag in $(EXTRA_HOST_FLAGS) ; do \
22395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22396 done; \
22397 echo "Doing dvi in libiberty" ; \
22398 (cd $(HOST_SUBDIR)/libiberty && \
22399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22401 "RANLIB=$${RANLIB}" \
22402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22403 dvi) \
22404 || exit 1
22406 @endif libiberty
22408 .PHONY: maybe-pdf-libiberty pdf-libiberty
22409 maybe-pdf-libiberty:
22410 @if libiberty
22411 maybe-pdf-libiberty: pdf-libiberty
22413 pdf-libiberty: \
22414 configure-libiberty
22415 @[ -f ./libiberty/Makefile ] || exit 0; \
22416 r=`${PWD_COMMAND}`; export r; \
22417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 $(HOST_EXPORTS) \
22419 for flag in $(EXTRA_HOST_FLAGS) ; do \
22420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22421 done; \
22422 echo "Doing pdf in libiberty" ; \
22423 (cd $(HOST_SUBDIR)/libiberty && \
22424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22426 "RANLIB=$${RANLIB}" \
22427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22428 pdf) \
22429 || exit 1
22431 @endif libiberty
22433 .PHONY: maybe-html-libiberty html-libiberty
22434 maybe-html-libiberty:
22435 @if libiberty
22436 maybe-html-libiberty: html-libiberty
22438 html-libiberty: \
22439 configure-libiberty
22440 @[ -f ./libiberty/Makefile ] || exit 0; \
22441 r=`${PWD_COMMAND}`; export r; \
22442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22443 $(HOST_EXPORTS) \
22444 for flag in $(EXTRA_HOST_FLAGS) ; do \
22445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22446 done; \
22447 echo "Doing html in libiberty" ; \
22448 (cd $(HOST_SUBDIR)/libiberty && \
22449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22451 "RANLIB=$${RANLIB}" \
22452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22453 html) \
22454 || exit 1
22456 @endif libiberty
22458 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22459 maybe-TAGS-libiberty:
22460 @if libiberty
22461 maybe-TAGS-libiberty: TAGS-libiberty
22463 TAGS-libiberty: \
22464 configure-libiberty
22465 @[ -f ./libiberty/Makefile ] || exit 0; \
22466 r=`${PWD_COMMAND}`; export r; \
22467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22468 $(HOST_EXPORTS) \
22469 for flag in $(EXTRA_HOST_FLAGS) ; do \
22470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22471 done; \
22472 echo "Doing TAGS in libiberty" ; \
22473 (cd $(HOST_SUBDIR)/libiberty && \
22474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22476 "RANLIB=$${RANLIB}" \
22477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22478 TAGS) \
22479 || exit 1
22481 @endif libiberty
22483 .PHONY: maybe-install-info-libiberty install-info-libiberty
22484 maybe-install-info-libiberty:
22485 @if libiberty
22486 maybe-install-info-libiberty: install-info-libiberty
22488 install-info-libiberty: \
22489 configure-libiberty \
22490 info-libiberty
22491 @[ -f ./libiberty/Makefile ] || exit 0; \
22492 r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 $(HOST_EXPORTS) \
22495 for flag in $(EXTRA_HOST_FLAGS) ; do \
22496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22497 done; \
22498 echo "Doing install-info in libiberty" ; \
22499 (cd $(HOST_SUBDIR)/libiberty && \
22500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22502 "RANLIB=$${RANLIB}" \
22503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22504 install-info) \
22505 || exit 1
22507 @endif libiberty
22509 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22510 maybe-install-pdf-libiberty:
22511 @if libiberty
22512 maybe-install-pdf-libiberty: install-pdf-libiberty
22514 install-pdf-libiberty: \
22515 configure-libiberty \
22516 pdf-libiberty
22517 @[ -f ./libiberty/Makefile ] || exit 0; \
22518 r=`${PWD_COMMAND}`; export r; \
22519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22520 $(HOST_EXPORTS) \
22521 for flag in $(EXTRA_HOST_FLAGS) ; do \
22522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22523 done; \
22524 echo "Doing install-pdf in libiberty" ; \
22525 (cd $(HOST_SUBDIR)/libiberty && \
22526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22528 "RANLIB=$${RANLIB}" \
22529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22530 install-pdf) \
22531 || exit 1
22533 @endif libiberty
22535 .PHONY: maybe-install-html-libiberty install-html-libiberty
22536 maybe-install-html-libiberty:
22537 @if libiberty
22538 maybe-install-html-libiberty: install-html-libiberty
22540 install-html-libiberty: \
22541 configure-libiberty \
22542 html-libiberty
22543 @[ -f ./libiberty/Makefile ] || exit 0; \
22544 r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 $(HOST_EXPORTS) \
22547 for flag in $(EXTRA_HOST_FLAGS) ; do \
22548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22549 done; \
22550 echo "Doing install-html in libiberty" ; \
22551 (cd $(HOST_SUBDIR)/libiberty && \
22552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22554 "RANLIB=$${RANLIB}" \
22555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22556 install-html) \
22557 || exit 1
22559 @endif libiberty
22561 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22562 maybe-installcheck-libiberty:
22563 @if libiberty
22564 maybe-installcheck-libiberty: installcheck-libiberty
22566 installcheck-libiberty: \
22567 configure-libiberty
22568 @[ -f ./libiberty/Makefile ] || exit 0; \
22569 r=`${PWD_COMMAND}`; export r; \
22570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22571 $(HOST_EXPORTS) \
22572 for flag in $(EXTRA_HOST_FLAGS) ; do \
22573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22574 done; \
22575 echo "Doing installcheck in libiberty" ; \
22576 (cd $(HOST_SUBDIR)/libiberty && \
22577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22579 "RANLIB=$${RANLIB}" \
22580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22581 installcheck) \
22582 || exit 1
22584 @endif libiberty
22586 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22587 maybe-mostlyclean-libiberty:
22588 @if libiberty
22589 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22591 mostlyclean-libiberty:
22592 @[ -f ./libiberty/Makefile ] || exit 0; \
22593 r=`${PWD_COMMAND}`; export r; \
22594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22595 $(HOST_EXPORTS) \
22596 for flag in $(EXTRA_HOST_FLAGS) ; do \
22597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22598 done; \
22599 echo "Doing mostlyclean in libiberty" ; \
22600 (cd $(HOST_SUBDIR)/libiberty && \
22601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22603 "RANLIB=$${RANLIB}" \
22604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22605 mostlyclean) \
22606 || exit 1
22608 @endif libiberty
22610 .PHONY: maybe-clean-libiberty clean-libiberty
22611 maybe-clean-libiberty:
22612 @if libiberty
22613 maybe-clean-libiberty: clean-libiberty
22615 clean-libiberty:
22616 @[ -f ./libiberty/Makefile ] || exit 0; \
22617 r=`${PWD_COMMAND}`; export r; \
22618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22619 $(HOST_EXPORTS) \
22620 for flag in $(EXTRA_HOST_FLAGS) ; do \
22621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22622 done; \
22623 echo "Doing clean in libiberty" ; \
22624 (cd $(HOST_SUBDIR)/libiberty && \
22625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22627 "RANLIB=$${RANLIB}" \
22628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22629 clean) \
22630 || exit 1
22632 @endif libiberty
22634 .PHONY: maybe-distclean-libiberty distclean-libiberty
22635 maybe-distclean-libiberty:
22636 @if libiberty
22637 maybe-distclean-libiberty: distclean-libiberty
22639 distclean-libiberty:
22640 @[ -f ./libiberty/Makefile ] || exit 0; \
22641 r=`${PWD_COMMAND}`; export r; \
22642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22643 $(HOST_EXPORTS) \
22644 for flag in $(EXTRA_HOST_FLAGS) ; do \
22645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22646 done; \
22647 echo "Doing distclean in libiberty" ; \
22648 (cd $(HOST_SUBDIR)/libiberty && \
22649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22651 "RANLIB=$${RANLIB}" \
22652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22653 distclean) \
22654 || exit 1
22656 @endif libiberty
22658 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22659 maybe-maintainer-clean-libiberty:
22660 @if libiberty
22661 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22663 maintainer-clean-libiberty:
22664 @[ -f ./libiberty/Makefile ] || exit 0; \
22665 r=`${PWD_COMMAND}`; export r; \
22666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22667 $(HOST_EXPORTS) \
22668 for flag in $(EXTRA_HOST_FLAGS) ; do \
22669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22670 done; \
22671 echo "Doing maintainer-clean in libiberty" ; \
22672 (cd $(HOST_SUBDIR)/libiberty && \
22673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22675 "RANLIB=$${RANLIB}" \
22676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22677 maintainer-clean) \
22678 || exit 1
22680 @endif libiberty
22684 .PHONY: configure-libiconv maybe-configure-libiconv
22685 maybe-configure-libiconv:
22686 @if gcc-bootstrap
22687 configure-libiconv: stage_current
22688 @endif gcc-bootstrap
22689 @if libiconv
22690 maybe-configure-libiconv: configure-libiconv
22691 configure-libiconv:
22692 @: $(MAKE); $(unstage)
22693 @r=`${PWD_COMMAND}`; export r; \
22694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22695 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22697 $(HOST_EXPORTS) \
22698 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22699 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22700 case $(srcdir) in \
22701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22702 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22704 esac; \
22705 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22706 libsrcdir="$$s/libiconv"; \
22707 $(SHELL) $${libsrcdir}/configure \
22708 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22709 --target=${target_alias} $${srcdiroption} --disable-shared \
22710 || exit 1
22711 @endif libiconv
22717 .PHONY: all-libiconv maybe-all-libiconv
22718 maybe-all-libiconv:
22719 @if gcc-bootstrap
22720 all-libiconv: stage_current
22721 @endif gcc-bootstrap
22722 @if libiconv
22723 TARGET-libiconv=all
22724 maybe-all-libiconv: all-libiconv
22725 all-libiconv: configure-libiconv
22726 @: $(MAKE); $(unstage)
22727 @r=`${PWD_COMMAND}`; export r; \
22728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22729 $(HOST_EXPORTS) \
22730 (cd $(HOST_SUBDIR)/libiconv && \
22731 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22732 $(TARGET-libiconv))
22733 @endif libiconv
22738 .PHONY: check-libiconv maybe-check-libiconv
22739 maybe-check-libiconv:
22740 @if libiconv
22741 maybe-check-libiconv: check-libiconv
22743 check-libiconv:
22744 @: $(MAKE); $(unstage)
22745 @r=`${PWD_COMMAND}`; export r; \
22746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22747 $(HOST_EXPORTS) \
22748 (cd $(HOST_SUBDIR)/libiconv && \
22749 $(MAKE) $(FLAGS_TO_PASS) check)
22751 @endif libiconv
22753 .PHONY: install-libiconv maybe-install-libiconv
22754 maybe-install-libiconv:
22755 @if libiconv
22756 maybe-install-libiconv: install-libiconv
22758 install-libiconv:
22760 @endif libiconv
22762 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22763 maybe-install-strip-libiconv:
22764 @if libiconv
22765 maybe-install-strip-libiconv: install-strip-libiconv
22767 install-strip-libiconv:
22769 @endif libiconv
22771 # Other targets (info, dvi, pdf, etc.)
22773 .PHONY: maybe-info-libiconv info-libiconv
22774 maybe-info-libiconv:
22775 @if libiconv
22776 maybe-info-libiconv: info-libiconv
22778 info-libiconv: \
22779 configure-libiconv
22780 @: $(MAKE); $(unstage)
22781 @[ -f ./libiconv/Makefile ] || exit 0; \
22782 r=`${PWD_COMMAND}`; export r; \
22783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22784 $(HOST_EXPORTS) \
22785 for flag in $(EXTRA_HOST_FLAGS) ; do \
22786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22787 done; \
22788 echo "Doing info in libiconv" ; \
22789 (cd $(HOST_SUBDIR)/libiconv && \
22790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22792 "RANLIB=$${RANLIB}" \
22793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22794 info) \
22795 || exit 1
22797 @endif libiconv
22799 .PHONY: maybe-dvi-libiconv dvi-libiconv
22800 maybe-dvi-libiconv:
22801 @if libiconv
22802 maybe-dvi-libiconv: dvi-libiconv
22804 dvi-libiconv: \
22805 configure-libiconv
22806 @: $(MAKE); $(unstage)
22807 @[ -f ./libiconv/Makefile ] || exit 0; \
22808 r=`${PWD_COMMAND}`; export r; \
22809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22810 $(HOST_EXPORTS) \
22811 for flag in $(EXTRA_HOST_FLAGS) ; do \
22812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22813 done; \
22814 echo "Doing dvi in libiconv" ; \
22815 (cd $(HOST_SUBDIR)/libiconv && \
22816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22818 "RANLIB=$${RANLIB}" \
22819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22820 dvi) \
22821 || exit 1
22823 @endif libiconv
22825 .PHONY: maybe-pdf-libiconv pdf-libiconv
22826 maybe-pdf-libiconv:
22827 @if libiconv
22828 maybe-pdf-libiconv: pdf-libiconv
22830 pdf-libiconv: \
22831 configure-libiconv
22832 @: $(MAKE); $(unstage)
22833 @[ -f ./libiconv/Makefile ] || exit 0; \
22834 r=`${PWD_COMMAND}`; export r; \
22835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22836 $(HOST_EXPORTS) \
22837 for flag in $(EXTRA_HOST_FLAGS) ; do \
22838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22839 done; \
22840 echo "Doing pdf in libiconv" ; \
22841 (cd $(HOST_SUBDIR)/libiconv && \
22842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22844 "RANLIB=$${RANLIB}" \
22845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22846 pdf) \
22847 || exit 1
22849 @endif libiconv
22851 .PHONY: maybe-html-libiconv html-libiconv
22852 maybe-html-libiconv:
22853 @if libiconv
22854 maybe-html-libiconv: html-libiconv
22856 html-libiconv: \
22857 configure-libiconv
22858 @: $(MAKE); $(unstage)
22859 @[ -f ./libiconv/Makefile ] || exit 0; \
22860 r=`${PWD_COMMAND}`; export r; \
22861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22862 $(HOST_EXPORTS) \
22863 for flag in $(EXTRA_HOST_FLAGS) ; do \
22864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22865 done; \
22866 echo "Doing html in libiconv" ; \
22867 (cd $(HOST_SUBDIR)/libiconv && \
22868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22870 "RANLIB=$${RANLIB}" \
22871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22872 html) \
22873 || exit 1
22875 @endif libiconv
22877 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22878 maybe-TAGS-libiconv:
22879 @if libiconv
22880 maybe-TAGS-libiconv: TAGS-libiconv
22882 TAGS-libiconv: \
22883 configure-libiconv
22884 @: $(MAKE); $(unstage)
22885 @[ -f ./libiconv/Makefile ] || exit 0; \
22886 r=`${PWD_COMMAND}`; export r; \
22887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22888 $(HOST_EXPORTS) \
22889 for flag in $(EXTRA_HOST_FLAGS) ; do \
22890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22891 done; \
22892 echo "Doing TAGS in libiconv" ; \
22893 (cd $(HOST_SUBDIR)/libiconv && \
22894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22896 "RANLIB=$${RANLIB}" \
22897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22898 TAGS) \
22899 || exit 1
22901 @endif libiconv
22903 .PHONY: maybe-install-info-libiconv install-info-libiconv
22904 maybe-install-info-libiconv:
22905 @if libiconv
22906 maybe-install-info-libiconv: install-info-libiconv
22908 # libiconv doesn't support install-info.
22909 install-info-libiconv:
22911 @endif libiconv
22913 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22914 maybe-install-pdf-libiconv:
22915 @if libiconv
22916 maybe-install-pdf-libiconv: install-pdf-libiconv
22918 # libiconv doesn't support install-pdf.
22919 install-pdf-libiconv:
22921 @endif libiconv
22923 .PHONY: maybe-install-html-libiconv install-html-libiconv
22924 maybe-install-html-libiconv:
22925 @if libiconv
22926 maybe-install-html-libiconv: install-html-libiconv
22928 # libiconv doesn't support install-html.
22929 install-html-libiconv:
22931 @endif libiconv
22933 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22934 maybe-installcheck-libiconv:
22935 @if libiconv
22936 maybe-installcheck-libiconv: installcheck-libiconv
22938 installcheck-libiconv: \
22939 configure-libiconv
22940 @: $(MAKE); $(unstage)
22941 @[ -f ./libiconv/Makefile ] || exit 0; \
22942 r=`${PWD_COMMAND}`; export r; \
22943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22944 $(HOST_EXPORTS) \
22945 for flag in $(EXTRA_HOST_FLAGS) ; do \
22946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22947 done; \
22948 echo "Doing installcheck in libiconv" ; \
22949 (cd $(HOST_SUBDIR)/libiconv && \
22950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22952 "RANLIB=$${RANLIB}" \
22953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22954 installcheck) \
22955 || exit 1
22957 @endif libiconv
22959 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22960 maybe-mostlyclean-libiconv:
22961 @if libiconv
22962 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22964 mostlyclean-libiconv:
22965 @: $(MAKE); $(unstage)
22966 @[ -f ./libiconv/Makefile ] || exit 0; \
22967 r=`${PWD_COMMAND}`; export r; \
22968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22969 $(HOST_EXPORTS) \
22970 for flag in $(EXTRA_HOST_FLAGS) ; do \
22971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22972 done; \
22973 echo "Doing mostlyclean in libiconv" ; \
22974 (cd $(HOST_SUBDIR)/libiconv && \
22975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22977 "RANLIB=$${RANLIB}" \
22978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22979 mostlyclean) \
22980 || exit 1
22982 @endif libiconv
22984 .PHONY: maybe-clean-libiconv clean-libiconv
22985 maybe-clean-libiconv:
22986 @if libiconv
22987 maybe-clean-libiconv: clean-libiconv
22989 clean-libiconv:
22990 @: $(MAKE); $(unstage)
22991 @[ -f ./libiconv/Makefile ] || exit 0; \
22992 r=`${PWD_COMMAND}`; export r; \
22993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22994 $(HOST_EXPORTS) \
22995 for flag in $(EXTRA_HOST_FLAGS) ; do \
22996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22997 done; \
22998 echo "Doing clean in libiconv" ; \
22999 (cd $(HOST_SUBDIR)/libiconv && \
23000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23002 "RANLIB=$${RANLIB}" \
23003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23004 clean) \
23005 || exit 1
23007 @endif libiconv
23009 .PHONY: maybe-distclean-libiconv distclean-libiconv
23010 maybe-distclean-libiconv:
23011 @if libiconv
23012 maybe-distclean-libiconv: distclean-libiconv
23014 distclean-libiconv:
23015 @: $(MAKE); $(unstage)
23016 @[ -f ./libiconv/Makefile ] || exit 0; \
23017 r=`${PWD_COMMAND}`; export r; \
23018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23019 $(HOST_EXPORTS) \
23020 for flag in $(EXTRA_HOST_FLAGS) ; do \
23021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23022 done; \
23023 echo "Doing distclean in libiconv" ; \
23024 (cd $(HOST_SUBDIR)/libiconv && \
23025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23027 "RANLIB=$${RANLIB}" \
23028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23029 distclean) \
23030 || exit 1
23032 @endif libiconv
23034 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23035 maybe-maintainer-clean-libiconv:
23036 @if libiconv
23037 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23039 maintainer-clean-libiconv:
23040 @: $(MAKE); $(unstage)
23041 @[ -f ./libiconv/Makefile ] || exit 0; \
23042 r=`${PWD_COMMAND}`; export r; \
23043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23044 $(HOST_EXPORTS) \
23045 for flag in $(EXTRA_HOST_FLAGS) ; do \
23046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23047 done; \
23048 echo "Doing maintainer-clean in libiconv" ; \
23049 (cd $(HOST_SUBDIR)/libiconv && \
23050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23052 "RANLIB=$${RANLIB}" \
23053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23054 maintainer-clean) \
23055 || exit 1
23057 @endif libiconv
23061 .PHONY: configure-m4 maybe-configure-m4
23062 maybe-configure-m4:
23063 @if gcc-bootstrap
23064 configure-m4: stage_current
23065 @endif gcc-bootstrap
23066 @if m4
23067 maybe-configure-m4: configure-m4
23068 configure-m4:
23069 @: $(MAKE); $(unstage)
23070 @r=`${PWD_COMMAND}`; export r; \
23071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23072 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23074 $(HOST_EXPORTS) \
23075 echo Configuring in $(HOST_SUBDIR)/m4; \
23076 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23077 case $(srcdir) in \
23078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23079 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23081 esac; \
23082 srcdiroption="--srcdir=$${topdir}/m4"; \
23083 libsrcdir="$$s/m4"; \
23084 $(SHELL) $${libsrcdir}/configure \
23085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23086 --target=${target_alias} $${srcdiroption} \
23087 || exit 1
23088 @endif m4
23094 .PHONY: all-m4 maybe-all-m4
23095 maybe-all-m4:
23096 @if gcc-bootstrap
23097 all-m4: stage_current
23098 @endif gcc-bootstrap
23099 @if m4
23100 TARGET-m4=all
23101 maybe-all-m4: all-m4
23102 all-m4: configure-m4
23103 @: $(MAKE); $(unstage)
23104 @r=`${PWD_COMMAND}`; export r; \
23105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23106 $(HOST_EXPORTS) \
23107 (cd $(HOST_SUBDIR)/m4 && \
23108 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23109 $(TARGET-m4))
23110 @endif m4
23115 .PHONY: check-m4 maybe-check-m4
23116 maybe-check-m4:
23117 @if m4
23118 maybe-check-m4: check-m4
23120 check-m4:
23121 @: $(MAKE); $(unstage)
23122 @r=`${PWD_COMMAND}`; export r; \
23123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23124 $(HOST_EXPORTS) \
23125 (cd $(HOST_SUBDIR)/m4 && \
23126 $(MAKE) $(FLAGS_TO_PASS) check)
23128 @endif m4
23130 .PHONY: install-m4 maybe-install-m4
23131 maybe-install-m4:
23132 @if m4
23133 maybe-install-m4: install-m4
23135 install-m4: installdirs
23136 @: $(MAKE); $(unstage)
23137 @r=`${PWD_COMMAND}`; export r; \
23138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23139 $(HOST_EXPORTS) \
23140 (cd $(HOST_SUBDIR)/m4 && \
23141 $(MAKE) $(FLAGS_TO_PASS) install)
23143 @endif m4
23145 .PHONY: install-strip-m4 maybe-install-strip-m4
23146 maybe-install-strip-m4:
23147 @if m4
23148 maybe-install-strip-m4: install-strip-m4
23150 install-strip-m4: installdirs
23151 @: $(MAKE); $(unstage)
23152 @r=`${PWD_COMMAND}`; export r; \
23153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23154 $(HOST_EXPORTS) \
23155 (cd $(HOST_SUBDIR)/m4 && \
23156 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23158 @endif m4
23160 # Other targets (info, dvi, pdf, etc.)
23162 .PHONY: maybe-info-m4 info-m4
23163 maybe-info-m4:
23164 @if m4
23165 maybe-info-m4: info-m4
23167 info-m4: \
23168 configure-m4
23169 @: $(MAKE); $(unstage)
23170 @[ -f ./m4/Makefile ] || exit 0; \
23171 r=`${PWD_COMMAND}`; export r; \
23172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23173 $(HOST_EXPORTS) \
23174 for flag in $(EXTRA_HOST_FLAGS) ; do \
23175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23176 done; \
23177 echo "Doing info in m4" ; \
23178 (cd $(HOST_SUBDIR)/m4 && \
23179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23181 "RANLIB=$${RANLIB}" \
23182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23183 info) \
23184 || exit 1
23186 @endif m4
23188 .PHONY: maybe-dvi-m4 dvi-m4
23189 maybe-dvi-m4:
23190 @if m4
23191 maybe-dvi-m4: dvi-m4
23193 dvi-m4: \
23194 configure-m4
23195 @: $(MAKE); $(unstage)
23196 @[ -f ./m4/Makefile ] || exit 0; \
23197 r=`${PWD_COMMAND}`; export r; \
23198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23199 $(HOST_EXPORTS) \
23200 for flag in $(EXTRA_HOST_FLAGS) ; do \
23201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23202 done; \
23203 echo "Doing dvi in m4" ; \
23204 (cd $(HOST_SUBDIR)/m4 && \
23205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23207 "RANLIB=$${RANLIB}" \
23208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23209 dvi) \
23210 || exit 1
23212 @endif m4
23214 .PHONY: maybe-pdf-m4 pdf-m4
23215 maybe-pdf-m4:
23216 @if m4
23217 maybe-pdf-m4: pdf-m4
23219 pdf-m4: \
23220 configure-m4
23221 @: $(MAKE); $(unstage)
23222 @[ -f ./m4/Makefile ] || exit 0; \
23223 r=`${PWD_COMMAND}`; export r; \
23224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23225 $(HOST_EXPORTS) \
23226 for flag in $(EXTRA_HOST_FLAGS) ; do \
23227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23228 done; \
23229 echo "Doing pdf in m4" ; \
23230 (cd $(HOST_SUBDIR)/m4 && \
23231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23233 "RANLIB=$${RANLIB}" \
23234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23235 pdf) \
23236 || exit 1
23238 @endif m4
23240 .PHONY: maybe-html-m4 html-m4
23241 maybe-html-m4:
23242 @if m4
23243 maybe-html-m4: html-m4
23245 html-m4: \
23246 configure-m4
23247 @: $(MAKE); $(unstage)
23248 @[ -f ./m4/Makefile ] || exit 0; \
23249 r=`${PWD_COMMAND}`; export r; \
23250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23251 $(HOST_EXPORTS) \
23252 for flag in $(EXTRA_HOST_FLAGS) ; do \
23253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23254 done; \
23255 echo "Doing html in m4" ; \
23256 (cd $(HOST_SUBDIR)/m4 && \
23257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23259 "RANLIB=$${RANLIB}" \
23260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23261 html) \
23262 || exit 1
23264 @endif m4
23266 .PHONY: maybe-TAGS-m4 TAGS-m4
23267 maybe-TAGS-m4:
23268 @if m4
23269 maybe-TAGS-m4: TAGS-m4
23271 TAGS-m4: \
23272 configure-m4
23273 @: $(MAKE); $(unstage)
23274 @[ -f ./m4/Makefile ] || exit 0; \
23275 r=`${PWD_COMMAND}`; export r; \
23276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23277 $(HOST_EXPORTS) \
23278 for flag in $(EXTRA_HOST_FLAGS) ; do \
23279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23280 done; \
23281 echo "Doing TAGS in m4" ; \
23282 (cd $(HOST_SUBDIR)/m4 && \
23283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23285 "RANLIB=$${RANLIB}" \
23286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23287 TAGS) \
23288 || exit 1
23290 @endif m4
23292 .PHONY: maybe-install-info-m4 install-info-m4
23293 maybe-install-info-m4:
23294 @if m4
23295 maybe-install-info-m4: install-info-m4
23297 install-info-m4: \
23298 configure-m4 \
23299 info-m4
23300 @: $(MAKE); $(unstage)
23301 @[ -f ./m4/Makefile ] || exit 0; \
23302 r=`${PWD_COMMAND}`; export r; \
23303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23304 $(HOST_EXPORTS) \
23305 for flag in $(EXTRA_HOST_FLAGS) ; do \
23306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23307 done; \
23308 echo "Doing install-info in m4" ; \
23309 (cd $(HOST_SUBDIR)/m4 && \
23310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23312 "RANLIB=$${RANLIB}" \
23313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23314 install-info) \
23315 || exit 1
23317 @endif m4
23319 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23320 maybe-install-pdf-m4:
23321 @if m4
23322 maybe-install-pdf-m4: install-pdf-m4
23324 install-pdf-m4: \
23325 configure-m4 \
23326 pdf-m4
23327 @: $(MAKE); $(unstage)
23328 @[ -f ./m4/Makefile ] || exit 0; \
23329 r=`${PWD_COMMAND}`; export r; \
23330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23331 $(HOST_EXPORTS) \
23332 for flag in $(EXTRA_HOST_FLAGS) ; do \
23333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23334 done; \
23335 echo "Doing install-pdf in m4" ; \
23336 (cd $(HOST_SUBDIR)/m4 && \
23337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23339 "RANLIB=$${RANLIB}" \
23340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23341 install-pdf) \
23342 || exit 1
23344 @endif m4
23346 .PHONY: maybe-install-html-m4 install-html-m4
23347 maybe-install-html-m4:
23348 @if m4
23349 maybe-install-html-m4: install-html-m4
23351 install-html-m4: \
23352 configure-m4 \
23353 html-m4
23354 @: $(MAKE); $(unstage)
23355 @[ -f ./m4/Makefile ] || exit 0; \
23356 r=`${PWD_COMMAND}`; export r; \
23357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23358 $(HOST_EXPORTS) \
23359 for flag in $(EXTRA_HOST_FLAGS) ; do \
23360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23361 done; \
23362 echo "Doing install-html in m4" ; \
23363 (cd $(HOST_SUBDIR)/m4 && \
23364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23366 "RANLIB=$${RANLIB}" \
23367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23368 install-html) \
23369 || exit 1
23371 @endif m4
23373 .PHONY: maybe-installcheck-m4 installcheck-m4
23374 maybe-installcheck-m4:
23375 @if m4
23376 maybe-installcheck-m4: installcheck-m4
23378 installcheck-m4: \
23379 configure-m4
23380 @: $(MAKE); $(unstage)
23381 @[ -f ./m4/Makefile ] || exit 0; \
23382 r=`${PWD_COMMAND}`; export r; \
23383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23384 $(HOST_EXPORTS) \
23385 for flag in $(EXTRA_HOST_FLAGS) ; do \
23386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23387 done; \
23388 echo "Doing installcheck in m4" ; \
23389 (cd $(HOST_SUBDIR)/m4 && \
23390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23392 "RANLIB=$${RANLIB}" \
23393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23394 installcheck) \
23395 || exit 1
23397 @endif m4
23399 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23400 maybe-mostlyclean-m4:
23401 @if m4
23402 maybe-mostlyclean-m4: mostlyclean-m4
23404 mostlyclean-m4:
23405 @: $(MAKE); $(unstage)
23406 @[ -f ./m4/Makefile ] || exit 0; \
23407 r=`${PWD_COMMAND}`; export r; \
23408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23409 $(HOST_EXPORTS) \
23410 for flag in $(EXTRA_HOST_FLAGS) ; do \
23411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23412 done; \
23413 echo "Doing mostlyclean in m4" ; \
23414 (cd $(HOST_SUBDIR)/m4 && \
23415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23417 "RANLIB=$${RANLIB}" \
23418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23419 mostlyclean) \
23420 || exit 1
23422 @endif m4
23424 .PHONY: maybe-clean-m4 clean-m4
23425 maybe-clean-m4:
23426 @if m4
23427 maybe-clean-m4: clean-m4
23429 clean-m4:
23430 @: $(MAKE); $(unstage)
23431 @[ -f ./m4/Makefile ] || exit 0; \
23432 r=`${PWD_COMMAND}`; export r; \
23433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23434 $(HOST_EXPORTS) \
23435 for flag in $(EXTRA_HOST_FLAGS) ; do \
23436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23437 done; \
23438 echo "Doing clean in m4" ; \
23439 (cd $(HOST_SUBDIR)/m4 && \
23440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23442 "RANLIB=$${RANLIB}" \
23443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23444 clean) \
23445 || exit 1
23447 @endif m4
23449 .PHONY: maybe-distclean-m4 distclean-m4
23450 maybe-distclean-m4:
23451 @if m4
23452 maybe-distclean-m4: distclean-m4
23454 distclean-m4:
23455 @: $(MAKE); $(unstage)
23456 @[ -f ./m4/Makefile ] || exit 0; \
23457 r=`${PWD_COMMAND}`; export r; \
23458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23459 $(HOST_EXPORTS) \
23460 for flag in $(EXTRA_HOST_FLAGS) ; do \
23461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23462 done; \
23463 echo "Doing distclean in m4" ; \
23464 (cd $(HOST_SUBDIR)/m4 && \
23465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23467 "RANLIB=$${RANLIB}" \
23468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23469 distclean) \
23470 || exit 1
23472 @endif m4
23474 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23475 maybe-maintainer-clean-m4:
23476 @if m4
23477 maybe-maintainer-clean-m4: maintainer-clean-m4
23479 maintainer-clean-m4:
23480 @: $(MAKE); $(unstage)
23481 @[ -f ./m4/Makefile ] || exit 0; \
23482 r=`${PWD_COMMAND}`; export r; \
23483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23484 $(HOST_EXPORTS) \
23485 for flag in $(EXTRA_HOST_FLAGS) ; do \
23486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23487 done; \
23488 echo "Doing maintainer-clean in m4" ; \
23489 (cd $(HOST_SUBDIR)/m4 && \
23490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23492 "RANLIB=$${RANLIB}" \
23493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23494 maintainer-clean) \
23495 || exit 1
23497 @endif m4
23501 .PHONY: configure-readline maybe-configure-readline
23502 maybe-configure-readline:
23503 @if gcc-bootstrap
23504 configure-readline: stage_current
23505 @endif gcc-bootstrap
23506 @if readline
23507 maybe-configure-readline: configure-readline
23508 configure-readline:
23509 @: $(MAKE); $(unstage)
23510 @r=`${PWD_COMMAND}`; export r; \
23511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23512 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23514 $(HOST_EXPORTS) \
23515 echo Configuring in $(HOST_SUBDIR)/readline; \
23516 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23517 case $(srcdir) in \
23518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23519 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23521 esac; \
23522 srcdiroption="--srcdir=$${topdir}/readline"; \
23523 libsrcdir="$$s/readline"; \
23524 $(SHELL) $${libsrcdir}/configure \
23525 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23526 --target=${target_alias} $${srcdiroption} \
23527 || exit 1
23528 @endif readline
23534 .PHONY: all-readline maybe-all-readline
23535 maybe-all-readline:
23536 @if gcc-bootstrap
23537 all-readline: stage_current
23538 @endif gcc-bootstrap
23539 @if readline
23540 TARGET-readline=all
23541 maybe-all-readline: all-readline
23542 all-readline: configure-readline
23543 @: $(MAKE); $(unstage)
23544 @r=`${PWD_COMMAND}`; export r; \
23545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23546 $(HOST_EXPORTS) \
23547 (cd $(HOST_SUBDIR)/readline && \
23548 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23549 $(TARGET-readline))
23550 @endif readline
23555 .PHONY: check-readline maybe-check-readline
23556 maybe-check-readline:
23557 @if readline
23558 maybe-check-readline: check-readline
23560 check-readline:
23561 @: $(MAKE); $(unstage)
23562 @r=`${PWD_COMMAND}`; export r; \
23563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23564 $(HOST_EXPORTS) \
23565 (cd $(HOST_SUBDIR)/readline && \
23566 $(MAKE) $(FLAGS_TO_PASS) check)
23568 @endif readline
23570 .PHONY: install-readline maybe-install-readline
23571 maybe-install-readline:
23572 @if readline
23573 maybe-install-readline: install-readline
23575 install-readline: installdirs
23576 @: $(MAKE); $(unstage)
23577 @r=`${PWD_COMMAND}`; export r; \
23578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23579 $(HOST_EXPORTS) \
23580 (cd $(HOST_SUBDIR)/readline && \
23581 $(MAKE) $(FLAGS_TO_PASS) install)
23583 @endif readline
23585 .PHONY: install-strip-readline maybe-install-strip-readline
23586 maybe-install-strip-readline:
23587 @if readline
23588 maybe-install-strip-readline: install-strip-readline
23590 install-strip-readline: installdirs
23591 @: $(MAKE); $(unstage)
23592 @r=`${PWD_COMMAND}`; export r; \
23593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23594 $(HOST_EXPORTS) \
23595 (cd $(HOST_SUBDIR)/readline && \
23596 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23598 @endif readline
23600 # Other targets (info, dvi, pdf, etc.)
23602 .PHONY: maybe-info-readline info-readline
23603 maybe-info-readline:
23604 @if readline
23605 maybe-info-readline: info-readline
23607 info-readline: \
23608 configure-readline
23609 @: $(MAKE); $(unstage)
23610 @[ -f ./readline/Makefile ] || exit 0; \
23611 r=`${PWD_COMMAND}`; export r; \
23612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23613 $(HOST_EXPORTS) \
23614 for flag in $(EXTRA_HOST_FLAGS) ; do \
23615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23616 done; \
23617 echo "Doing info in readline" ; \
23618 (cd $(HOST_SUBDIR)/readline && \
23619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23621 "RANLIB=$${RANLIB}" \
23622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23623 info) \
23624 || exit 1
23626 @endif readline
23628 .PHONY: maybe-dvi-readline dvi-readline
23629 maybe-dvi-readline:
23630 @if readline
23631 maybe-dvi-readline: dvi-readline
23633 dvi-readline: \
23634 configure-readline
23635 @: $(MAKE); $(unstage)
23636 @[ -f ./readline/Makefile ] || exit 0; \
23637 r=`${PWD_COMMAND}`; export r; \
23638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23639 $(HOST_EXPORTS) \
23640 for flag in $(EXTRA_HOST_FLAGS) ; do \
23641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23642 done; \
23643 echo "Doing dvi in readline" ; \
23644 (cd $(HOST_SUBDIR)/readline && \
23645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23647 "RANLIB=$${RANLIB}" \
23648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23649 dvi) \
23650 || exit 1
23652 @endif readline
23654 .PHONY: maybe-pdf-readline pdf-readline
23655 maybe-pdf-readline:
23656 @if readline
23657 maybe-pdf-readline: pdf-readline
23659 pdf-readline: \
23660 configure-readline
23661 @: $(MAKE); $(unstage)
23662 @[ -f ./readline/Makefile ] || exit 0; \
23663 r=`${PWD_COMMAND}`; export r; \
23664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23665 $(HOST_EXPORTS) \
23666 for flag in $(EXTRA_HOST_FLAGS) ; do \
23667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23668 done; \
23669 echo "Doing pdf in readline" ; \
23670 (cd $(HOST_SUBDIR)/readline && \
23671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23673 "RANLIB=$${RANLIB}" \
23674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23675 pdf) \
23676 || exit 1
23678 @endif readline
23680 .PHONY: maybe-html-readline html-readline
23681 maybe-html-readline:
23682 @if readline
23683 maybe-html-readline: html-readline
23685 html-readline: \
23686 configure-readline
23687 @: $(MAKE); $(unstage)
23688 @[ -f ./readline/Makefile ] || exit 0; \
23689 r=`${PWD_COMMAND}`; export r; \
23690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23691 $(HOST_EXPORTS) \
23692 for flag in $(EXTRA_HOST_FLAGS) ; do \
23693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23694 done; \
23695 echo "Doing html in readline" ; \
23696 (cd $(HOST_SUBDIR)/readline && \
23697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23699 "RANLIB=$${RANLIB}" \
23700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23701 html) \
23702 || exit 1
23704 @endif readline
23706 .PHONY: maybe-TAGS-readline TAGS-readline
23707 maybe-TAGS-readline:
23708 @if readline
23709 maybe-TAGS-readline: TAGS-readline
23711 TAGS-readline: \
23712 configure-readline
23713 @: $(MAKE); $(unstage)
23714 @[ -f ./readline/Makefile ] || exit 0; \
23715 r=`${PWD_COMMAND}`; export r; \
23716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23717 $(HOST_EXPORTS) \
23718 for flag in $(EXTRA_HOST_FLAGS) ; do \
23719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23720 done; \
23721 echo "Doing TAGS in readline" ; \
23722 (cd $(HOST_SUBDIR)/readline && \
23723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23725 "RANLIB=$${RANLIB}" \
23726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23727 TAGS) \
23728 || exit 1
23730 @endif readline
23732 .PHONY: maybe-install-info-readline install-info-readline
23733 maybe-install-info-readline:
23734 @if readline
23735 maybe-install-info-readline: install-info-readline
23737 install-info-readline: \
23738 configure-readline \
23739 info-readline
23740 @: $(MAKE); $(unstage)
23741 @[ -f ./readline/Makefile ] || exit 0; \
23742 r=`${PWD_COMMAND}`; export r; \
23743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23744 $(HOST_EXPORTS) \
23745 for flag in $(EXTRA_HOST_FLAGS) ; do \
23746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23747 done; \
23748 echo "Doing install-info in readline" ; \
23749 (cd $(HOST_SUBDIR)/readline && \
23750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23752 "RANLIB=$${RANLIB}" \
23753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23754 install-info) \
23755 || exit 1
23757 @endif readline
23759 .PHONY: maybe-install-pdf-readline install-pdf-readline
23760 maybe-install-pdf-readline:
23761 @if readline
23762 maybe-install-pdf-readline: install-pdf-readline
23764 install-pdf-readline: \
23765 configure-readline \
23766 pdf-readline
23767 @: $(MAKE); $(unstage)
23768 @[ -f ./readline/Makefile ] || exit 0; \
23769 r=`${PWD_COMMAND}`; export r; \
23770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23771 $(HOST_EXPORTS) \
23772 for flag in $(EXTRA_HOST_FLAGS) ; do \
23773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23774 done; \
23775 echo "Doing install-pdf in readline" ; \
23776 (cd $(HOST_SUBDIR)/readline && \
23777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23779 "RANLIB=$${RANLIB}" \
23780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23781 install-pdf) \
23782 || exit 1
23784 @endif readline
23786 .PHONY: maybe-install-html-readline install-html-readline
23787 maybe-install-html-readline:
23788 @if readline
23789 maybe-install-html-readline: install-html-readline
23791 install-html-readline: \
23792 configure-readline \
23793 html-readline
23794 @: $(MAKE); $(unstage)
23795 @[ -f ./readline/Makefile ] || exit 0; \
23796 r=`${PWD_COMMAND}`; export r; \
23797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23798 $(HOST_EXPORTS) \
23799 for flag in $(EXTRA_HOST_FLAGS) ; do \
23800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23801 done; \
23802 echo "Doing install-html in readline" ; \
23803 (cd $(HOST_SUBDIR)/readline && \
23804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23806 "RANLIB=$${RANLIB}" \
23807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23808 install-html) \
23809 || exit 1
23811 @endif readline
23813 .PHONY: maybe-installcheck-readline installcheck-readline
23814 maybe-installcheck-readline:
23815 @if readline
23816 maybe-installcheck-readline: installcheck-readline
23818 installcheck-readline: \
23819 configure-readline
23820 @: $(MAKE); $(unstage)
23821 @[ -f ./readline/Makefile ] || exit 0; \
23822 r=`${PWD_COMMAND}`; export r; \
23823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23824 $(HOST_EXPORTS) \
23825 for flag in $(EXTRA_HOST_FLAGS) ; do \
23826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23827 done; \
23828 echo "Doing installcheck in readline" ; \
23829 (cd $(HOST_SUBDIR)/readline && \
23830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23832 "RANLIB=$${RANLIB}" \
23833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23834 installcheck) \
23835 || exit 1
23837 @endif readline
23839 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23840 maybe-mostlyclean-readline:
23841 @if readline
23842 maybe-mostlyclean-readline: mostlyclean-readline
23844 mostlyclean-readline:
23845 @: $(MAKE); $(unstage)
23846 @[ -f ./readline/Makefile ] || exit 0; \
23847 r=`${PWD_COMMAND}`; export r; \
23848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23849 $(HOST_EXPORTS) \
23850 for flag in $(EXTRA_HOST_FLAGS) ; do \
23851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23852 done; \
23853 echo "Doing mostlyclean in readline" ; \
23854 (cd $(HOST_SUBDIR)/readline && \
23855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23857 "RANLIB=$${RANLIB}" \
23858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23859 mostlyclean) \
23860 || exit 1
23862 @endif readline
23864 .PHONY: maybe-clean-readline clean-readline
23865 maybe-clean-readline:
23866 @if readline
23867 maybe-clean-readline: clean-readline
23869 clean-readline:
23870 @: $(MAKE); $(unstage)
23871 @[ -f ./readline/Makefile ] || exit 0; \
23872 r=`${PWD_COMMAND}`; export r; \
23873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23874 $(HOST_EXPORTS) \
23875 for flag in $(EXTRA_HOST_FLAGS) ; do \
23876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23877 done; \
23878 echo "Doing clean in readline" ; \
23879 (cd $(HOST_SUBDIR)/readline && \
23880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23882 "RANLIB=$${RANLIB}" \
23883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23884 clean) \
23885 || exit 1
23887 @endif readline
23889 .PHONY: maybe-distclean-readline distclean-readline
23890 maybe-distclean-readline:
23891 @if readline
23892 maybe-distclean-readline: distclean-readline
23894 distclean-readline:
23895 @: $(MAKE); $(unstage)
23896 @[ -f ./readline/Makefile ] || exit 0; \
23897 r=`${PWD_COMMAND}`; export r; \
23898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23899 $(HOST_EXPORTS) \
23900 for flag in $(EXTRA_HOST_FLAGS) ; do \
23901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23902 done; \
23903 echo "Doing distclean in readline" ; \
23904 (cd $(HOST_SUBDIR)/readline && \
23905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23907 "RANLIB=$${RANLIB}" \
23908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23909 distclean) \
23910 || exit 1
23912 @endif readline
23914 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23915 maybe-maintainer-clean-readline:
23916 @if readline
23917 maybe-maintainer-clean-readline: maintainer-clean-readline
23919 maintainer-clean-readline:
23920 @: $(MAKE); $(unstage)
23921 @[ -f ./readline/Makefile ] || exit 0; \
23922 r=`${PWD_COMMAND}`; export r; \
23923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23924 $(HOST_EXPORTS) \
23925 for flag in $(EXTRA_HOST_FLAGS) ; do \
23926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23927 done; \
23928 echo "Doing maintainer-clean in readline" ; \
23929 (cd $(HOST_SUBDIR)/readline && \
23930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23932 "RANLIB=$${RANLIB}" \
23933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23934 maintainer-clean) \
23935 || exit 1
23937 @endif readline
23941 .PHONY: configure-sid maybe-configure-sid
23942 maybe-configure-sid:
23943 @if gcc-bootstrap
23944 configure-sid: stage_current
23945 @endif gcc-bootstrap
23946 @if sid
23947 maybe-configure-sid: configure-sid
23948 configure-sid:
23949 @: $(MAKE); $(unstage)
23950 @r=`${PWD_COMMAND}`; export r; \
23951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23952 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23954 $(HOST_EXPORTS) \
23955 echo Configuring in $(HOST_SUBDIR)/sid; \
23956 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23957 case $(srcdir) in \
23958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23959 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23961 esac; \
23962 srcdiroption="--srcdir=$${topdir}/sid"; \
23963 libsrcdir="$$s/sid"; \
23964 $(SHELL) $${libsrcdir}/configure \
23965 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23966 --target=${target_alias} $${srcdiroption} \
23967 || exit 1
23968 @endif sid
23974 .PHONY: all-sid maybe-all-sid
23975 maybe-all-sid:
23976 @if gcc-bootstrap
23977 all-sid: stage_current
23978 @endif gcc-bootstrap
23979 @if sid
23980 TARGET-sid=all
23981 maybe-all-sid: all-sid
23982 all-sid: configure-sid
23983 @: $(MAKE); $(unstage)
23984 @r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986 $(HOST_EXPORTS) \
23987 (cd $(HOST_SUBDIR)/sid && \
23988 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23989 $(TARGET-sid))
23990 @endif sid
23995 .PHONY: check-sid maybe-check-sid
23996 maybe-check-sid:
23997 @if sid
23998 maybe-check-sid: check-sid
24000 check-sid:
24001 @: $(MAKE); $(unstage)
24002 @r=`${PWD_COMMAND}`; export r; \
24003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24004 $(HOST_EXPORTS) \
24005 (cd $(HOST_SUBDIR)/sid && \
24006 $(MAKE) $(FLAGS_TO_PASS) check)
24008 @endif sid
24010 .PHONY: install-sid maybe-install-sid
24011 maybe-install-sid:
24012 @if sid
24013 maybe-install-sid: install-sid
24015 install-sid: installdirs
24016 @: $(MAKE); $(unstage)
24017 @r=`${PWD_COMMAND}`; export r; \
24018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24019 $(HOST_EXPORTS) \
24020 (cd $(HOST_SUBDIR)/sid && \
24021 $(MAKE) $(FLAGS_TO_PASS) install)
24023 @endif sid
24025 .PHONY: install-strip-sid maybe-install-strip-sid
24026 maybe-install-strip-sid:
24027 @if sid
24028 maybe-install-strip-sid: install-strip-sid
24030 install-strip-sid: installdirs
24031 @: $(MAKE); $(unstage)
24032 @r=`${PWD_COMMAND}`; export r; \
24033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24034 $(HOST_EXPORTS) \
24035 (cd $(HOST_SUBDIR)/sid && \
24036 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24038 @endif sid
24040 # Other targets (info, dvi, pdf, etc.)
24042 .PHONY: maybe-info-sid info-sid
24043 maybe-info-sid:
24044 @if sid
24045 maybe-info-sid: info-sid
24047 info-sid: \
24048 configure-sid
24049 @: $(MAKE); $(unstage)
24050 @[ -f ./sid/Makefile ] || exit 0; \
24051 r=`${PWD_COMMAND}`; export r; \
24052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24053 $(HOST_EXPORTS) \
24054 for flag in $(EXTRA_HOST_FLAGS) ; do \
24055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24056 done; \
24057 echo "Doing info in sid" ; \
24058 (cd $(HOST_SUBDIR)/sid && \
24059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24061 "RANLIB=$${RANLIB}" \
24062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24063 info) \
24064 || exit 1
24066 @endif sid
24068 .PHONY: maybe-dvi-sid dvi-sid
24069 maybe-dvi-sid:
24070 @if sid
24071 maybe-dvi-sid: dvi-sid
24073 dvi-sid: \
24074 configure-sid
24075 @: $(MAKE); $(unstage)
24076 @[ -f ./sid/Makefile ] || exit 0; \
24077 r=`${PWD_COMMAND}`; export r; \
24078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24079 $(HOST_EXPORTS) \
24080 for flag in $(EXTRA_HOST_FLAGS) ; do \
24081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24082 done; \
24083 echo "Doing dvi in sid" ; \
24084 (cd $(HOST_SUBDIR)/sid && \
24085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24087 "RANLIB=$${RANLIB}" \
24088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24089 dvi) \
24090 || exit 1
24092 @endif sid
24094 .PHONY: maybe-pdf-sid pdf-sid
24095 maybe-pdf-sid:
24096 @if sid
24097 maybe-pdf-sid: pdf-sid
24099 pdf-sid: \
24100 configure-sid
24101 @: $(MAKE); $(unstage)
24102 @[ -f ./sid/Makefile ] || exit 0; \
24103 r=`${PWD_COMMAND}`; export r; \
24104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24105 $(HOST_EXPORTS) \
24106 for flag in $(EXTRA_HOST_FLAGS) ; do \
24107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24108 done; \
24109 echo "Doing pdf in sid" ; \
24110 (cd $(HOST_SUBDIR)/sid && \
24111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24113 "RANLIB=$${RANLIB}" \
24114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24115 pdf) \
24116 || exit 1
24118 @endif sid
24120 .PHONY: maybe-html-sid html-sid
24121 maybe-html-sid:
24122 @if sid
24123 maybe-html-sid: html-sid
24125 html-sid: \
24126 configure-sid
24127 @: $(MAKE); $(unstage)
24128 @[ -f ./sid/Makefile ] || exit 0; \
24129 r=`${PWD_COMMAND}`; export r; \
24130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24131 $(HOST_EXPORTS) \
24132 for flag in $(EXTRA_HOST_FLAGS) ; do \
24133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24134 done; \
24135 echo "Doing html in sid" ; \
24136 (cd $(HOST_SUBDIR)/sid && \
24137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24139 "RANLIB=$${RANLIB}" \
24140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24141 html) \
24142 || exit 1
24144 @endif sid
24146 .PHONY: maybe-TAGS-sid TAGS-sid
24147 maybe-TAGS-sid:
24148 @if sid
24149 maybe-TAGS-sid: TAGS-sid
24151 TAGS-sid: \
24152 configure-sid
24153 @: $(MAKE); $(unstage)
24154 @[ -f ./sid/Makefile ] || exit 0; \
24155 r=`${PWD_COMMAND}`; export r; \
24156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24157 $(HOST_EXPORTS) \
24158 for flag in $(EXTRA_HOST_FLAGS) ; do \
24159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24160 done; \
24161 echo "Doing TAGS in sid" ; \
24162 (cd $(HOST_SUBDIR)/sid && \
24163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24165 "RANLIB=$${RANLIB}" \
24166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24167 TAGS) \
24168 || exit 1
24170 @endif sid
24172 .PHONY: maybe-install-info-sid install-info-sid
24173 maybe-install-info-sid:
24174 @if sid
24175 maybe-install-info-sid: install-info-sid
24177 install-info-sid: \
24178 configure-sid \
24179 info-sid
24180 @: $(MAKE); $(unstage)
24181 @[ -f ./sid/Makefile ] || exit 0; \
24182 r=`${PWD_COMMAND}`; export r; \
24183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24184 $(HOST_EXPORTS) \
24185 for flag in $(EXTRA_HOST_FLAGS) ; do \
24186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24187 done; \
24188 echo "Doing install-info in sid" ; \
24189 (cd $(HOST_SUBDIR)/sid && \
24190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24192 "RANLIB=$${RANLIB}" \
24193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24194 install-info) \
24195 || exit 1
24197 @endif sid
24199 .PHONY: maybe-install-pdf-sid install-pdf-sid
24200 maybe-install-pdf-sid:
24201 @if sid
24202 maybe-install-pdf-sid: install-pdf-sid
24204 install-pdf-sid: \
24205 configure-sid \
24206 pdf-sid
24207 @: $(MAKE); $(unstage)
24208 @[ -f ./sid/Makefile ] || exit 0; \
24209 r=`${PWD_COMMAND}`; export r; \
24210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24211 $(HOST_EXPORTS) \
24212 for flag in $(EXTRA_HOST_FLAGS) ; do \
24213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24214 done; \
24215 echo "Doing install-pdf in sid" ; \
24216 (cd $(HOST_SUBDIR)/sid && \
24217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24219 "RANLIB=$${RANLIB}" \
24220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24221 install-pdf) \
24222 || exit 1
24224 @endif sid
24226 .PHONY: maybe-install-html-sid install-html-sid
24227 maybe-install-html-sid:
24228 @if sid
24229 maybe-install-html-sid: install-html-sid
24231 install-html-sid: \
24232 configure-sid \
24233 html-sid
24234 @: $(MAKE); $(unstage)
24235 @[ -f ./sid/Makefile ] || exit 0; \
24236 r=`${PWD_COMMAND}`; export r; \
24237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24238 $(HOST_EXPORTS) \
24239 for flag in $(EXTRA_HOST_FLAGS) ; do \
24240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24241 done; \
24242 echo "Doing install-html in sid" ; \
24243 (cd $(HOST_SUBDIR)/sid && \
24244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24246 "RANLIB=$${RANLIB}" \
24247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24248 install-html) \
24249 || exit 1
24251 @endif sid
24253 .PHONY: maybe-installcheck-sid installcheck-sid
24254 maybe-installcheck-sid:
24255 @if sid
24256 maybe-installcheck-sid: installcheck-sid
24258 installcheck-sid: \
24259 configure-sid
24260 @: $(MAKE); $(unstage)
24261 @[ -f ./sid/Makefile ] || exit 0; \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 for flag in $(EXTRA_HOST_FLAGS) ; do \
24266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24267 done; \
24268 echo "Doing installcheck in sid" ; \
24269 (cd $(HOST_SUBDIR)/sid && \
24270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24272 "RANLIB=$${RANLIB}" \
24273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24274 installcheck) \
24275 || exit 1
24277 @endif sid
24279 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24280 maybe-mostlyclean-sid:
24281 @if sid
24282 maybe-mostlyclean-sid: mostlyclean-sid
24284 mostlyclean-sid:
24285 @: $(MAKE); $(unstage)
24286 @[ -f ./sid/Makefile ] || exit 0; \
24287 r=`${PWD_COMMAND}`; export r; \
24288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24289 $(HOST_EXPORTS) \
24290 for flag in $(EXTRA_HOST_FLAGS) ; do \
24291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24292 done; \
24293 echo "Doing mostlyclean in sid" ; \
24294 (cd $(HOST_SUBDIR)/sid && \
24295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24297 "RANLIB=$${RANLIB}" \
24298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24299 mostlyclean) \
24300 || exit 1
24302 @endif sid
24304 .PHONY: maybe-clean-sid clean-sid
24305 maybe-clean-sid:
24306 @if sid
24307 maybe-clean-sid: clean-sid
24309 clean-sid:
24310 @: $(MAKE); $(unstage)
24311 @[ -f ./sid/Makefile ] || exit 0; \
24312 r=`${PWD_COMMAND}`; export r; \
24313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24314 $(HOST_EXPORTS) \
24315 for flag in $(EXTRA_HOST_FLAGS) ; do \
24316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24317 done; \
24318 echo "Doing clean in sid" ; \
24319 (cd $(HOST_SUBDIR)/sid && \
24320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24322 "RANLIB=$${RANLIB}" \
24323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24324 clean) \
24325 || exit 1
24327 @endif sid
24329 .PHONY: maybe-distclean-sid distclean-sid
24330 maybe-distclean-sid:
24331 @if sid
24332 maybe-distclean-sid: distclean-sid
24334 distclean-sid:
24335 @: $(MAKE); $(unstage)
24336 @[ -f ./sid/Makefile ] || exit 0; \
24337 r=`${PWD_COMMAND}`; export r; \
24338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24339 $(HOST_EXPORTS) \
24340 for flag in $(EXTRA_HOST_FLAGS) ; do \
24341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24342 done; \
24343 echo "Doing distclean in sid" ; \
24344 (cd $(HOST_SUBDIR)/sid && \
24345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24347 "RANLIB=$${RANLIB}" \
24348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24349 distclean) \
24350 || exit 1
24352 @endif sid
24354 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24355 maybe-maintainer-clean-sid:
24356 @if sid
24357 maybe-maintainer-clean-sid: maintainer-clean-sid
24359 maintainer-clean-sid:
24360 @: $(MAKE); $(unstage)
24361 @[ -f ./sid/Makefile ] || exit 0; \
24362 r=`${PWD_COMMAND}`; export r; \
24363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24364 $(HOST_EXPORTS) \
24365 for flag in $(EXTRA_HOST_FLAGS) ; do \
24366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24367 done; \
24368 echo "Doing maintainer-clean in sid" ; \
24369 (cd $(HOST_SUBDIR)/sid && \
24370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24372 "RANLIB=$${RANLIB}" \
24373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24374 maintainer-clean) \
24375 || exit 1
24377 @endif sid
24381 .PHONY: configure-sim maybe-configure-sim
24382 maybe-configure-sim:
24383 @if gcc-bootstrap
24384 configure-sim: stage_current
24385 @endif gcc-bootstrap
24386 @if sim
24387 maybe-configure-sim: configure-sim
24388 configure-sim:
24389 @: $(MAKE); $(unstage)
24390 @r=`${PWD_COMMAND}`; export r; \
24391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24392 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24393 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24394 $(HOST_EXPORTS) \
24395 echo Configuring in $(HOST_SUBDIR)/sim; \
24396 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24397 case $(srcdir) in \
24398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24399 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24401 esac; \
24402 srcdiroption="--srcdir=$${topdir}/sim"; \
24403 libsrcdir="$$s/sim"; \
24404 $(SHELL) $${libsrcdir}/configure \
24405 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24406 --target=${target_alias} $${srcdiroption} \
24407 || exit 1
24408 @endif sim
24414 .PHONY: all-sim maybe-all-sim
24415 maybe-all-sim:
24416 @if gcc-bootstrap
24417 all-sim: stage_current
24418 @endif gcc-bootstrap
24419 @if sim
24420 TARGET-sim=all
24421 maybe-all-sim: all-sim
24422 all-sim: configure-sim
24423 @: $(MAKE); $(unstage)
24424 @r=`${PWD_COMMAND}`; export r; \
24425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24426 $(HOST_EXPORTS) \
24427 (cd $(HOST_SUBDIR)/sim && \
24428 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24429 $(TARGET-sim))
24430 @endif sim
24435 .PHONY: check-sim maybe-check-sim
24436 maybe-check-sim:
24437 @if sim
24438 maybe-check-sim: check-sim
24440 check-sim:
24441 @: $(MAKE); $(unstage)
24442 @r=`${PWD_COMMAND}`; export r; \
24443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24444 $(HOST_EXPORTS) \
24445 (cd $(HOST_SUBDIR)/sim && \
24446 $(MAKE) $(FLAGS_TO_PASS) check)
24448 @endif sim
24450 .PHONY: install-sim maybe-install-sim
24451 maybe-install-sim:
24452 @if sim
24453 maybe-install-sim: install-sim
24455 install-sim: installdirs
24456 @: $(MAKE); $(unstage)
24457 @r=`${PWD_COMMAND}`; export r; \
24458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24459 $(HOST_EXPORTS) \
24460 (cd $(HOST_SUBDIR)/sim && \
24461 $(MAKE) $(FLAGS_TO_PASS) install)
24463 @endif sim
24465 .PHONY: install-strip-sim maybe-install-strip-sim
24466 maybe-install-strip-sim:
24467 @if sim
24468 maybe-install-strip-sim: install-strip-sim
24470 install-strip-sim: installdirs
24471 @: $(MAKE); $(unstage)
24472 @r=`${PWD_COMMAND}`; export r; \
24473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24474 $(HOST_EXPORTS) \
24475 (cd $(HOST_SUBDIR)/sim && \
24476 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24478 @endif sim
24480 # Other targets (info, dvi, pdf, etc.)
24482 .PHONY: maybe-info-sim info-sim
24483 maybe-info-sim:
24484 @if sim
24485 maybe-info-sim: info-sim
24487 info-sim: \
24488 configure-sim
24489 @: $(MAKE); $(unstage)
24490 @[ -f ./sim/Makefile ] || exit 0; \
24491 r=`${PWD_COMMAND}`; export r; \
24492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24493 $(HOST_EXPORTS) \
24494 for flag in $(EXTRA_HOST_FLAGS) ; do \
24495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24496 done; \
24497 echo "Doing info in sim" ; \
24498 (cd $(HOST_SUBDIR)/sim && \
24499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24501 "RANLIB=$${RANLIB}" \
24502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24503 info) \
24504 || exit 1
24506 @endif sim
24508 .PHONY: maybe-dvi-sim dvi-sim
24509 maybe-dvi-sim:
24510 @if sim
24511 maybe-dvi-sim: dvi-sim
24513 dvi-sim: \
24514 configure-sim
24515 @: $(MAKE); $(unstage)
24516 @[ -f ./sim/Makefile ] || exit 0; \
24517 r=`${PWD_COMMAND}`; export r; \
24518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24519 $(HOST_EXPORTS) \
24520 for flag in $(EXTRA_HOST_FLAGS) ; do \
24521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24522 done; \
24523 echo "Doing dvi in sim" ; \
24524 (cd $(HOST_SUBDIR)/sim && \
24525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24527 "RANLIB=$${RANLIB}" \
24528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24529 dvi) \
24530 || exit 1
24532 @endif sim
24534 .PHONY: maybe-pdf-sim pdf-sim
24535 maybe-pdf-sim:
24536 @if sim
24537 maybe-pdf-sim: pdf-sim
24539 pdf-sim: \
24540 configure-sim
24541 @: $(MAKE); $(unstage)
24542 @[ -f ./sim/Makefile ] || exit 0; \
24543 r=`${PWD_COMMAND}`; export r; \
24544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24545 $(HOST_EXPORTS) \
24546 for flag in $(EXTRA_HOST_FLAGS) ; do \
24547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24548 done; \
24549 echo "Doing pdf in sim" ; \
24550 (cd $(HOST_SUBDIR)/sim && \
24551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24553 "RANLIB=$${RANLIB}" \
24554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24555 pdf) \
24556 || exit 1
24558 @endif sim
24560 .PHONY: maybe-html-sim html-sim
24561 maybe-html-sim:
24562 @if sim
24563 maybe-html-sim: html-sim
24565 html-sim: \
24566 configure-sim
24567 @: $(MAKE); $(unstage)
24568 @[ -f ./sim/Makefile ] || exit 0; \
24569 r=`${PWD_COMMAND}`; export r; \
24570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24571 $(HOST_EXPORTS) \
24572 for flag in $(EXTRA_HOST_FLAGS) ; do \
24573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24574 done; \
24575 echo "Doing html in sim" ; \
24576 (cd $(HOST_SUBDIR)/sim && \
24577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24579 "RANLIB=$${RANLIB}" \
24580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24581 html) \
24582 || exit 1
24584 @endif sim
24586 .PHONY: maybe-TAGS-sim TAGS-sim
24587 maybe-TAGS-sim:
24588 @if sim
24589 maybe-TAGS-sim: TAGS-sim
24591 TAGS-sim: \
24592 configure-sim
24593 @: $(MAKE); $(unstage)
24594 @[ -f ./sim/Makefile ] || exit 0; \
24595 r=`${PWD_COMMAND}`; export r; \
24596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24597 $(HOST_EXPORTS) \
24598 for flag in $(EXTRA_HOST_FLAGS) ; do \
24599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24600 done; \
24601 echo "Doing TAGS in sim" ; \
24602 (cd $(HOST_SUBDIR)/sim && \
24603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24605 "RANLIB=$${RANLIB}" \
24606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24607 TAGS) \
24608 || exit 1
24610 @endif sim
24612 .PHONY: maybe-install-info-sim install-info-sim
24613 maybe-install-info-sim:
24614 @if sim
24615 maybe-install-info-sim: install-info-sim
24617 install-info-sim: \
24618 configure-sim \
24619 info-sim
24620 @: $(MAKE); $(unstage)
24621 @[ -f ./sim/Makefile ] || exit 0; \
24622 r=`${PWD_COMMAND}`; export r; \
24623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24624 $(HOST_EXPORTS) \
24625 for flag in $(EXTRA_HOST_FLAGS) ; do \
24626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24627 done; \
24628 echo "Doing install-info in sim" ; \
24629 (cd $(HOST_SUBDIR)/sim && \
24630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24632 "RANLIB=$${RANLIB}" \
24633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24634 install-info) \
24635 || exit 1
24637 @endif sim
24639 .PHONY: maybe-install-pdf-sim install-pdf-sim
24640 maybe-install-pdf-sim:
24641 @if sim
24642 maybe-install-pdf-sim: install-pdf-sim
24644 install-pdf-sim: \
24645 configure-sim \
24646 pdf-sim
24647 @: $(MAKE); $(unstage)
24648 @[ -f ./sim/Makefile ] || exit 0; \
24649 r=`${PWD_COMMAND}`; export r; \
24650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24651 $(HOST_EXPORTS) \
24652 for flag in $(EXTRA_HOST_FLAGS) ; do \
24653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24654 done; \
24655 echo "Doing install-pdf in sim" ; \
24656 (cd $(HOST_SUBDIR)/sim && \
24657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24659 "RANLIB=$${RANLIB}" \
24660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24661 install-pdf) \
24662 || exit 1
24664 @endif sim
24666 .PHONY: maybe-install-html-sim install-html-sim
24667 maybe-install-html-sim:
24668 @if sim
24669 maybe-install-html-sim: install-html-sim
24671 install-html-sim: \
24672 configure-sim \
24673 html-sim
24674 @: $(MAKE); $(unstage)
24675 @[ -f ./sim/Makefile ] || exit 0; \
24676 r=`${PWD_COMMAND}`; export r; \
24677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24678 $(HOST_EXPORTS) \
24679 for flag in $(EXTRA_HOST_FLAGS) ; do \
24680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24681 done; \
24682 echo "Doing install-html in sim" ; \
24683 (cd $(HOST_SUBDIR)/sim && \
24684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24686 "RANLIB=$${RANLIB}" \
24687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24688 install-html) \
24689 || exit 1
24691 @endif sim
24693 .PHONY: maybe-installcheck-sim installcheck-sim
24694 maybe-installcheck-sim:
24695 @if sim
24696 maybe-installcheck-sim: installcheck-sim
24698 installcheck-sim: \
24699 configure-sim
24700 @: $(MAKE); $(unstage)
24701 @[ -f ./sim/Makefile ] || exit 0; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(HOST_EXPORTS) \
24705 for flag in $(EXTRA_HOST_FLAGS) ; do \
24706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24707 done; \
24708 echo "Doing installcheck in sim" ; \
24709 (cd $(HOST_SUBDIR)/sim && \
24710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24712 "RANLIB=$${RANLIB}" \
24713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24714 installcheck) \
24715 || exit 1
24717 @endif sim
24719 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24720 maybe-mostlyclean-sim:
24721 @if sim
24722 maybe-mostlyclean-sim: mostlyclean-sim
24724 mostlyclean-sim:
24725 @: $(MAKE); $(unstage)
24726 @[ -f ./sim/Makefile ] || exit 0; \
24727 r=`${PWD_COMMAND}`; export r; \
24728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24729 $(HOST_EXPORTS) \
24730 for flag in $(EXTRA_HOST_FLAGS) ; do \
24731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24732 done; \
24733 echo "Doing mostlyclean in sim" ; \
24734 (cd $(HOST_SUBDIR)/sim && \
24735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24737 "RANLIB=$${RANLIB}" \
24738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24739 mostlyclean) \
24740 || exit 1
24742 @endif sim
24744 .PHONY: maybe-clean-sim clean-sim
24745 maybe-clean-sim:
24746 @if sim
24747 maybe-clean-sim: clean-sim
24749 clean-sim:
24750 @: $(MAKE); $(unstage)
24751 @[ -f ./sim/Makefile ] || exit 0; \
24752 r=`${PWD_COMMAND}`; export r; \
24753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24754 $(HOST_EXPORTS) \
24755 for flag in $(EXTRA_HOST_FLAGS) ; do \
24756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24757 done; \
24758 echo "Doing clean in sim" ; \
24759 (cd $(HOST_SUBDIR)/sim && \
24760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24762 "RANLIB=$${RANLIB}" \
24763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24764 clean) \
24765 || exit 1
24767 @endif sim
24769 .PHONY: maybe-distclean-sim distclean-sim
24770 maybe-distclean-sim:
24771 @if sim
24772 maybe-distclean-sim: distclean-sim
24774 distclean-sim:
24775 @: $(MAKE); $(unstage)
24776 @[ -f ./sim/Makefile ] || exit 0; \
24777 r=`${PWD_COMMAND}`; export r; \
24778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24779 $(HOST_EXPORTS) \
24780 for flag in $(EXTRA_HOST_FLAGS) ; do \
24781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24782 done; \
24783 echo "Doing distclean in sim" ; \
24784 (cd $(HOST_SUBDIR)/sim && \
24785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24787 "RANLIB=$${RANLIB}" \
24788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24789 distclean) \
24790 || exit 1
24792 @endif sim
24794 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24795 maybe-maintainer-clean-sim:
24796 @if sim
24797 maybe-maintainer-clean-sim: maintainer-clean-sim
24799 maintainer-clean-sim:
24800 @: $(MAKE); $(unstage)
24801 @[ -f ./sim/Makefile ] || exit 0; \
24802 r=`${PWD_COMMAND}`; export r; \
24803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24804 $(HOST_EXPORTS) \
24805 for flag in $(EXTRA_HOST_FLAGS) ; do \
24806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24807 done; \
24808 echo "Doing maintainer-clean in sim" ; \
24809 (cd $(HOST_SUBDIR)/sim && \
24810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24812 "RANLIB=$${RANLIB}" \
24813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24814 maintainer-clean) \
24815 || exit 1
24817 @endif sim
24821 .PHONY: configure-texinfo maybe-configure-texinfo
24822 maybe-configure-texinfo:
24823 @if gcc-bootstrap
24824 configure-texinfo: stage_current
24825 @endif gcc-bootstrap
24826 @if texinfo
24827 maybe-configure-texinfo: configure-texinfo
24828 configure-texinfo:
24829 @: $(MAKE); $(unstage)
24830 @r=`${PWD_COMMAND}`; export r; \
24831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24832 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24834 $(HOST_EXPORTS) \
24835 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24836 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24837 case $(srcdir) in \
24838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24839 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24841 esac; \
24842 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24843 libsrcdir="$$s/texinfo"; \
24844 $(SHELL) $${libsrcdir}/configure \
24845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24846 --target=${target_alias} $${srcdiroption} \
24847 || exit 1
24848 @endif texinfo
24854 .PHONY: all-texinfo maybe-all-texinfo
24855 maybe-all-texinfo:
24856 @if gcc-bootstrap
24857 all-texinfo: stage_current
24858 @endif gcc-bootstrap
24859 @if texinfo
24860 TARGET-texinfo=all
24861 maybe-all-texinfo: all-texinfo
24862 all-texinfo: configure-texinfo
24863 @: $(MAKE); $(unstage)
24864 @r=`${PWD_COMMAND}`; export r; \
24865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24866 $(HOST_EXPORTS) \
24867 (cd $(HOST_SUBDIR)/texinfo && \
24868 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24869 $(TARGET-texinfo))
24870 @endif texinfo
24875 .PHONY: check-texinfo maybe-check-texinfo
24876 maybe-check-texinfo:
24877 @if texinfo
24878 maybe-check-texinfo: check-texinfo
24880 check-texinfo:
24881 @: $(MAKE); $(unstage)
24882 @r=`${PWD_COMMAND}`; export r; \
24883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24884 $(HOST_EXPORTS) \
24885 (cd $(HOST_SUBDIR)/texinfo && \
24886 $(MAKE) $(FLAGS_TO_PASS) check)
24888 @endif texinfo
24890 .PHONY: install-texinfo maybe-install-texinfo
24891 maybe-install-texinfo:
24892 @if texinfo
24893 maybe-install-texinfo: install-texinfo
24895 install-texinfo:
24897 @endif texinfo
24899 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24900 maybe-install-strip-texinfo:
24901 @if texinfo
24902 maybe-install-strip-texinfo: install-strip-texinfo
24904 install-strip-texinfo:
24906 @endif texinfo
24908 # Other targets (info, dvi, pdf, etc.)
24910 .PHONY: maybe-info-texinfo info-texinfo
24911 maybe-info-texinfo:
24912 @if texinfo
24913 maybe-info-texinfo: info-texinfo
24915 info-texinfo: \
24916 configure-texinfo
24917 @: $(MAKE); $(unstage)
24918 @[ -f ./texinfo/Makefile ] || exit 0; \
24919 r=`${PWD_COMMAND}`; export r; \
24920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24921 $(HOST_EXPORTS) \
24922 for flag in $(EXTRA_HOST_FLAGS) ; do \
24923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24924 done; \
24925 echo "Doing info in texinfo" ; \
24926 (cd $(HOST_SUBDIR)/texinfo && \
24927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24929 "RANLIB=$${RANLIB}" \
24930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24931 info) \
24932 || exit 1
24934 @endif texinfo
24936 .PHONY: maybe-dvi-texinfo dvi-texinfo
24937 maybe-dvi-texinfo:
24938 @if texinfo
24939 maybe-dvi-texinfo: dvi-texinfo
24941 dvi-texinfo: \
24942 configure-texinfo
24943 @: $(MAKE); $(unstage)
24944 @[ -f ./texinfo/Makefile ] || exit 0; \
24945 r=`${PWD_COMMAND}`; export r; \
24946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24947 $(HOST_EXPORTS) \
24948 for flag in $(EXTRA_HOST_FLAGS) ; do \
24949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24950 done; \
24951 echo "Doing dvi in texinfo" ; \
24952 (cd $(HOST_SUBDIR)/texinfo && \
24953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24955 "RANLIB=$${RANLIB}" \
24956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24957 dvi) \
24958 || exit 1
24960 @endif texinfo
24962 .PHONY: maybe-pdf-texinfo pdf-texinfo
24963 maybe-pdf-texinfo:
24964 @if texinfo
24965 maybe-pdf-texinfo: pdf-texinfo
24967 pdf-texinfo: \
24968 configure-texinfo
24969 @: $(MAKE); $(unstage)
24970 @[ -f ./texinfo/Makefile ] || exit 0; \
24971 r=`${PWD_COMMAND}`; export r; \
24972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24973 $(HOST_EXPORTS) \
24974 for flag in $(EXTRA_HOST_FLAGS) ; do \
24975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24976 done; \
24977 echo "Doing pdf in texinfo" ; \
24978 (cd $(HOST_SUBDIR)/texinfo && \
24979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24981 "RANLIB=$${RANLIB}" \
24982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24983 pdf) \
24984 || exit 1
24986 @endif texinfo
24988 .PHONY: maybe-html-texinfo html-texinfo
24989 maybe-html-texinfo:
24990 @if texinfo
24991 maybe-html-texinfo: html-texinfo
24993 html-texinfo: \
24994 configure-texinfo
24995 @: $(MAKE); $(unstage)
24996 @[ -f ./texinfo/Makefile ] || exit 0; \
24997 r=`${PWD_COMMAND}`; export r; \
24998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24999 $(HOST_EXPORTS) \
25000 for flag in $(EXTRA_HOST_FLAGS) ; do \
25001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25002 done; \
25003 echo "Doing html in texinfo" ; \
25004 (cd $(HOST_SUBDIR)/texinfo && \
25005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25007 "RANLIB=$${RANLIB}" \
25008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25009 html) \
25010 || exit 1
25012 @endif texinfo
25014 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25015 maybe-TAGS-texinfo:
25016 @if texinfo
25017 maybe-TAGS-texinfo: TAGS-texinfo
25019 TAGS-texinfo: \
25020 configure-texinfo
25021 @: $(MAKE); $(unstage)
25022 @[ -f ./texinfo/Makefile ] || exit 0; \
25023 r=`${PWD_COMMAND}`; export r; \
25024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25025 $(HOST_EXPORTS) \
25026 for flag in $(EXTRA_HOST_FLAGS) ; do \
25027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25028 done; \
25029 echo "Doing TAGS in texinfo" ; \
25030 (cd $(HOST_SUBDIR)/texinfo && \
25031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25033 "RANLIB=$${RANLIB}" \
25034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25035 TAGS) \
25036 || exit 1
25038 @endif texinfo
25040 .PHONY: maybe-install-info-texinfo install-info-texinfo
25041 maybe-install-info-texinfo:
25042 @if texinfo
25043 maybe-install-info-texinfo: install-info-texinfo
25045 install-info-texinfo: \
25046 configure-texinfo \
25047 info-texinfo
25048 @: $(MAKE); $(unstage)
25049 @[ -f ./texinfo/Makefile ] || exit 0; \
25050 r=`${PWD_COMMAND}`; export r; \
25051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25052 $(HOST_EXPORTS) \
25053 for flag in $(EXTRA_HOST_FLAGS) ; do \
25054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25055 done; \
25056 echo "Doing install-info in texinfo" ; \
25057 (cd $(HOST_SUBDIR)/texinfo && \
25058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25060 "RANLIB=$${RANLIB}" \
25061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25062 install-info) \
25063 || exit 1
25065 @endif texinfo
25067 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25068 maybe-install-pdf-texinfo:
25069 @if texinfo
25070 maybe-install-pdf-texinfo: install-pdf-texinfo
25072 install-pdf-texinfo: \
25073 configure-texinfo \
25074 pdf-texinfo
25075 @: $(MAKE); $(unstage)
25076 @[ -f ./texinfo/Makefile ] || exit 0; \
25077 r=`${PWD_COMMAND}`; export r; \
25078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25079 $(HOST_EXPORTS) \
25080 for flag in $(EXTRA_HOST_FLAGS) ; do \
25081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25082 done; \
25083 echo "Doing install-pdf in texinfo" ; \
25084 (cd $(HOST_SUBDIR)/texinfo && \
25085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25087 "RANLIB=$${RANLIB}" \
25088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25089 install-pdf) \
25090 || exit 1
25092 @endif texinfo
25094 .PHONY: maybe-install-html-texinfo install-html-texinfo
25095 maybe-install-html-texinfo:
25096 @if texinfo
25097 maybe-install-html-texinfo: install-html-texinfo
25099 install-html-texinfo: \
25100 configure-texinfo \
25101 html-texinfo
25102 @: $(MAKE); $(unstage)
25103 @[ -f ./texinfo/Makefile ] || exit 0; \
25104 r=`${PWD_COMMAND}`; export r; \
25105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25106 $(HOST_EXPORTS) \
25107 for flag in $(EXTRA_HOST_FLAGS) ; do \
25108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25109 done; \
25110 echo "Doing install-html in texinfo" ; \
25111 (cd $(HOST_SUBDIR)/texinfo && \
25112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25114 "RANLIB=$${RANLIB}" \
25115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25116 install-html) \
25117 || exit 1
25119 @endif texinfo
25121 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25122 maybe-installcheck-texinfo:
25123 @if texinfo
25124 maybe-installcheck-texinfo: installcheck-texinfo
25126 installcheck-texinfo: \
25127 configure-texinfo
25128 @: $(MAKE); $(unstage)
25129 @[ -f ./texinfo/Makefile ] || exit 0; \
25130 r=`${PWD_COMMAND}`; export r; \
25131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25132 $(HOST_EXPORTS) \
25133 for flag in $(EXTRA_HOST_FLAGS) ; do \
25134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25135 done; \
25136 echo "Doing installcheck in texinfo" ; \
25137 (cd $(HOST_SUBDIR)/texinfo && \
25138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25140 "RANLIB=$${RANLIB}" \
25141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25142 installcheck) \
25143 || exit 1
25145 @endif texinfo
25147 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25148 maybe-mostlyclean-texinfo:
25149 @if texinfo
25150 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25152 mostlyclean-texinfo:
25153 @: $(MAKE); $(unstage)
25154 @[ -f ./texinfo/Makefile ] || exit 0; \
25155 r=`${PWD_COMMAND}`; export r; \
25156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25157 $(HOST_EXPORTS) \
25158 for flag in $(EXTRA_HOST_FLAGS) ; do \
25159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25160 done; \
25161 echo "Doing mostlyclean in texinfo" ; \
25162 (cd $(HOST_SUBDIR)/texinfo && \
25163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25165 "RANLIB=$${RANLIB}" \
25166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25167 mostlyclean) \
25168 || exit 1
25170 @endif texinfo
25172 .PHONY: maybe-clean-texinfo clean-texinfo
25173 maybe-clean-texinfo:
25174 @if texinfo
25175 maybe-clean-texinfo: clean-texinfo
25177 clean-texinfo:
25178 @: $(MAKE); $(unstage)
25179 @[ -f ./texinfo/Makefile ] || exit 0; \
25180 r=`${PWD_COMMAND}`; export r; \
25181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25182 $(HOST_EXPORTS) \
25183 for flag in $(EXTRA_HOST_FLAGS) ; do \
25184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25185 done; \
25186 echo "Doing clean in texinfo" ; \
25187 (cd $(HOST_SUBDIR)/texinfo && \
25188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25190 "RANLIB=$${RANLIB}" \
25191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25192 clean) \
25193 || exit 1
25195 @endif texinfo
25197 .PHONY: maybe-distclean-texinfo distclean-texinfo
25198 maybe-distclean-texinfo:
25199 @if texinfo
25200 maybe-distclean-texinfo: distclean-texinfo
25202 distclean-texinfo:
25203 @: $(MAKE); $(unstage)
25204 @[ -f ./texinfo/Makefile ] || exit 0; \
25205 r=`${PWD_COMMAND}`; export r; \
25206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25207 $(HOST_EXPORTS) \
25208 for flag in $(EXTRA_HOST_FLAGS) ; do \
25209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25210 done; \
25211 echo "Doing distclean in texinfo" ; \
25212 (cd $(HOST_SUBDIR)/texinfo && \
25213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25215 "RANLIB=$${RANLIB}" \
25216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25217 distclean) \
25218 || exit 1
25220 @endif texinfo
25222 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25223 maybe-maintainer-clean-texinfo:
25224 @if texinfo
25225 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25227 maintainer-clean-texinfo:
25228 @: $(MAKE); $(unstage)
25229 @[ -f ./texinfo/Makefile ] || exit 0; \
25230 r=`${PWD_COMMAND}`; export r; \
25231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25232 $(HOST_EXPORTS) \
25233 for flag in $(EXTRA_HOST_FLAGS) ; do \
25234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25235 done; \
25236 echo "Doing maintainer-clean in texinfo" ; \
25237 (cd $(HOST_SUBDIR)/texinfo && \
25238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25240 "RANLIB=$${RANLIB}" \
25241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25242 maintainer-clean) \
25243 || exit 1
25245 @endif texinfo
25249 .PHONY: configure-zlib maybe-configure-zlib
25250 maybe-configure-zlib:
25251 @if gcc-bootstrap
25252 configure-zlib: stage_current
25253 @endif gcc-bootstrap
25254 @if zlib
25255 maybe-configure-zlib: configure-zlib
25256 configure-zlib:
25257 @r=`${PWD_COMMAND}`; export r; \
25258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25259 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25261 $(HOST_EXPORTS) \
25262 echo Configuring in $(HOST_SUBDIR)/zlib; \
25263 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25264 case $(srcdir) in \
25265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25266 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25268 esac; \
25269 srcdiroption="--srcdir=$${topdir}/zlib"; \
25270 libsrcdir="$$s/zlib"; \
25271 $(SHELL) $${libsrcdir}/configure \
25272 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25273 --target=${target_alias} $${srcdiroption} \
25274 || exit 1
25275 @endif zlib
25279 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25280 maybe-configure-stage1-zlib:
25281 @if zlib-bootstrap
25282 maybe-configure-stage1-zlib: configure-stage1-zlib
25283 configure-stage1-zlib:
25284 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25285 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25286 @r=`${PWD_COMMAND}`; export r; \
25287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25288 TFLAGS="$(STAGE1_TFLAGS)"; \
25289 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25290 $(HOST_EXPORTS) \
25291 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25292 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25293 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25294 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25296 cd $(HOST_SUBDIR)/zlib || exit 1; \
25297 case $(srcdir) in \
25298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25299 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25301 esac; \
25302 srcdiroption="--srcdir=$${topdir}/zlib"; \
25303 libsrcdir="$$s/zlib"; \
25304 $(SHELL) $${libsrcdir}/configure \
25305 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25306 --target=${target_alias} $${srcdiroption} \
25307 $(STAGE1_CONFIGURE_FLAGS)
25308 @endif zlib-bootstrap
25310 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25311 maybe-configure-stage2-zlib:
25312 @if zlib-bootstrap
25313 maybe-configure-stage2-zlib: configure-stage2-zlib
25314 configure-stage2-zlib:
25315 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25316 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25317 @r=`${PWD_COMMAND}`; export r; \
25318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25319 TFLAGS="$(STAGE2_TFLAGS)"; \
25320 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25321 $(HOST_EXPORTS) \
25322 $(POSTSTAGE1_HOST_EXPORTS) \
25323 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25324 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25325 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25326 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25328 cd $(HOST_SUBDIR)/zlib || exit 1; \
25329 case $(srcdir) in \
25330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25331 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25333 esac; \
25334 srcdiroption="--srcdir=$${topdir}/zlib"; \
25335 libsrcdir="$$s/zlib"; \
25336 $(SHELL) $${libsrcdir}/configure \
25337 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25338 --target=${target_alias} $${srcdiroption} \
25339 --with-build-libsubdir=$(HOST_SUBDIR) \
25340 $(STAGE2_CONFIGURE_FLAGS)
25341 @endif zlib-bootstrap
25343 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25344 maybe-configure-stage3-zlib:
25345 @if zlib-bootstrap
25346 maybe-configure-stage3-zlib: configure-stage3-zlib
25347 configure-stage3-zlib:
25348 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25350 @r=`${PWD_COMMAND}`; export r; \
25351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25352 TFLAGS="$(STAGE3_TFLAGS)"; \
25353 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25354 $(HOST_EXPORTS) \
25355 $(POSTSTAGE1_HOST_EXPORTS) \
25356 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25357 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25358 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25359 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25361 cd $(HOST_SUBDIR)/zlib || exit 1; \
25362 case $(srcdir) in \
25363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25364 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25366 esac; \
25367 srcdiroption="--srcdir=$${topdir}/zlib"; \
25368 libsrcdir="$$s/zlib"; \
25369 $(SHELL) $${libsrcdir}/configure \
25370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25371 --target=${target_alias} $${srcdiroption} \
25372 --with-build-libsubdir=$(HOST_SUBDIR) \
25373 $(STAGE3_CONFIGURE_FLAGS)
25374 @endif zlib-bootstrap
25376 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25377 maybe-configure-stage4-zlib:
25378 @if zlib-bootstrap
25379 maybe-configure-stage4-zlib: configure-stage4-zlib
25380 configure-stage4-zlib:
25381 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25382 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25383 @r=`${PWD_COMMAND}`; export r; \
25384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25385 TFLAGS="$(STAGE4_TFLAGS)"; \
25386 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25387 $(HOST_EXPORTS) \
25388 $(POSTSTAGE1_HOST_EXPORTS) \
25389 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25390 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25391 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25392 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25393 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25394 cd $(HOST_SUBDIR)/zlib || exit 1; \
25395 case $(srcdir) in \
25396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25397 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25399 esac; \
25400 srcdiroption="--srcdir=$${topdir}/zlib"; \
25401 libsrcdir="$$s/zlib"; \
25402 $(SHELL) $${libsrcdir}/configure \
25403 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25404 --target=${target_alias} $${srcdiroption} \
25405 --with-build-libsubdir=$(HOST_SUBDIR) \
25406 $(STAGE4_CONFIGURE_FLAGS)
25407 @endif zlib-bootstrap
25409 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25410 maybe-configure-stageprofile-zlib:
25411 @if zlib-bootstrap
25412 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25413 configure-stageprofile-zlib:
25414 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25415 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25416 @r=`${PWD_COMMAND}`; export r; \
25417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25418 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25419 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25420 $(HOST_EXPORTS) \
25421 $(POSTSTAGE1_HOST_EXPORTS) \
25422 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25423 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25424 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25425 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25427 cd $(HOST_SUBDIR)/zlib || exit 1; \
25428 case $(srcdir) in \
25429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25430 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25432 esac; \
25433 srcdiroption="--srcdir=$${topdir}/zlib"; \
25434 libsrcdir="$$s/zlib"; \
25435 $(SHELL) $${libsrcdir}/configure \
25436 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25437 --target=${target_alias} $${srcdiroption} \
25438 --with-build-libsubdir=$(HOST_SUBDIR) \
25439 $(STAGEprofile_CONFIGURE_FLAGS)
25440 @endif zlib-bootstrap
25442 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25443 maybe-configure-stagefeedback-zlib:
25444 @if zlib-bootstrap
25445 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25446 configure-stagefeedback-zlib:
25447 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25448 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25449 @r=`${PWD_COMMAND}`; export r; \
25450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25451 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25452 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25453 $(HOST_EXPORTS) \
25454 $(POSTSTAGE1_HOST_EXPORTS) \
25455 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25456 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25457 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25458 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25460 cd $(HOST_SUBDIR)/zlib || exit 1; \
25461 case $(srcdir) in \
25462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25463 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25465 esac; \
25466 srcdiroption="--srcdir=$${topdir}/zlib"; \
25467 libsrcdir="$$s/zlib"; \
25468 $(SHELL) $${libsrcdir}/configure \
25469 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25470 --target=${target_alias} $${srcdiroption} \
25471 --with-build-libsubdir=$(HOST_SUBDIR) \
25472 $(STAGEfeedback_CONFIGURE_FLAGS)
25473 @endif zlib-bootstrap
25479 .PHONY: all-zlib maybe-all-zlib
25480 maybe-all-zlib:
25481 @if gcc-bootstrap
25482 all-zlib: stage_current
25483 @endif gcc-bootstrap
25484 @if zlib
25485 TARGET-zlib=all
25486 maybe-all-zlib: all-zlib
25487 all-zlib: configure-zlib
25488 @r=`${PWD_COMMAND}`; export r; \
25489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25490 $(HOST_EXPORTS) \
25491 (cd $(HOST_SUBDIR)/zlib && \
25492 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25493 $(TARGET-zlib))
25494 @endif zlib
25498 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25499 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25500 maybe-all-stage1-zlib:
25501 maybe-clean-stage1-zlib:
25502 @if zlib-bootstrap
25503 maybe-all-stage1-zlib: all-stage1-zlib
25504 all-stage1: all-stage1-zlib
25505 TARGET-stage1-zlib = $(TARGET-zlib)
25506 all-stage1-zlib: configure-stage1-zlib
25507 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25508 @r=`${PWD_COMMAND}`; export r; \
25509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25510 TFLAGS="$(STAGE1_TFLAGS)"; \
25511 $(HOST_EXPORTS) \
25512 cd $(HOST_SUBDIR)/zlib && \
25513 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25514 CFLAGS="$(STAGE1_CFLAGS)" \
25515 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25516 LIBCFLAGS="$(LIBCFLAGS)" \
25517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25520 $(EXTRA_HOST_FLAGS) \
25521 TFLAGS="$(STAGE1_TFLAGS)" \
25522 $(TARGET-stage1-zlib)
25524 maybe-clean-stage1-zlib: clean-stage1-zlib
25525 clean-stage1: clean-stage1-zlib
25526 clean-stage1-zlib:
25527 @if [ $(current_stage) = stage1 ]; then \
25528 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25529 else \
25530 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25531 $(MAKE) stage1-start; \
25532 fi; \
25533 cd $(HOST_SUBDIR)/zlib && \
25534 $(MAKE) $(EXTRA_HOST_FLAGS) \
25535 clean
25536 @endif zlib-bootstrap
25539 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25540 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25541 maybe-all-stage2-zlib:
25542 maybe-clean-stage2-zlib:
25543 @if zlib-bootstrap
25544 maybe-all-stage2-zlib: all-stage2-zlib
25545 all-stage2: all-stage2-zlib
25546 TARGET-stage2-zlib = $(TARGET-zlib)
25547 all-stage2-zlib: configure-stage2-zlib
25548 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25549 @r=`${PWD_COMMAND}`; export r; \
25550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25551 TFLAGS="$(STAGE2_TFLAGS)"; \
25552 $(HOST_EXPORTS) \
25553 $(POSTSTAGE1_HOST_EXPORTS) \
25554 cd $(HOST_SUBDIR)/zlib && \
25555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25556 CFLAGS="$(STAGE2_CFLAGS)" \
25557 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25558 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25562 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25563 TFLAGS="$(STAGE2_TFLAGS)" \
25564 $(TARGET-stage2-zlib)
25566 maybe-clean-stage2-zlib: clean-stage2-zlib
25567 clean-stage2: clean-stage2-zlib
25568 clean-stage2-zlib:
25569 @if [ $(current_stage) = stage2 ]; then \
25570 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25571 else \
25572 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25573 $(MAKE) stage2-start; \
25574 fi; \
25575 cd $(HOST_SUBDIR)/zlib && \
25576 $(MAKE) $(EXTRA_HOST_FLAGS) \
25577 $(POSTSTAGE1_FLAGS_TO_PASS) \
25578 clean
25579 @endif zlib-bootstrap
25582 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25583 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25584 maybe-all-stage3-zlib:
25585 maybe-clean-stage3-zlib:
25586 @if zlib-bootstrap
25587 maybe-all-stage3-zlib: all-stage3-zlib
25588 all-stage3: all-stage3-zlib
25589 TARGET-stage3-zlib = $(TARGET-zlib)
25590 all-stage3-zlib: configure-stage3-zlib
25591 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25592 @r=`${PWD_COMMAND}`; export r; \
25593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25594 TFLAGS="$(STAGE3_TFLAGS)"; \
25595 $(HOST_EXPORTS) \
25596 $(POSTSTAGE1_HOST_EXPORTS) \
25597 cd $(HOST_SUBDIR)/zlib && \
25598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25599 CFLAGS="$(STAGE3_CFLAGS)" \
25600 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25601 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25602 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25603 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25604 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25605 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25606 TFLAGS="$(STAGE3_TFLAGS)" \
25607 $(TARGET-stage3-zlib)
25609 maybe-clean-stage3-zlib: clean-stage3-zlib
25610 clean-stage3: clean-stage3-zlib
25611 clean-stage3-zlib:
25612 @if [ $(current_stage) = stage3 ]; then \
25613 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25614 else \
25615 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25616 $(MAKE) stage3-start; \
25617 fi; \
25618 cd $(HOST_SUBDIR)/zlib && \
25619 $(MAKE) $(EXTRA_HOST_FLAGS) \
25620 $(POSTSTAGE1_FLAGS_TO_PASS) \
25621 clean
25622 @endif zlib-bootstrap
25625 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25626 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25627 maybe-all-stage4-zlib:
25628 maybe-clean-stage4-zlib:
25629 @if zlib-bootstrap
25630 maybe-all-stage4-zlib: all-stage4-zlib
25631 all-stage4: all-stage4-zlib
25632 TARGET-stage4-zlib = $(TARGET-zlib)
25633 all-stage4-zlib: configure-stage4-zlib
25634 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25635 @r=`${PWD_COMMAND}`; export r; \
25636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25637 TFLAGS="$(STAGE4_TFLAGS)"; \
25638 $(HOST_EXPORTS) \
25639 $(POSTSTAGE1_HOST_EXPORTS) \
25640 cd $(HOST_SUBDIR)/zlib && \
25641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25642 CFLAGS="$(STAGE4_CFLAGS)" \
25643 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25644 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25645 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25646 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25647 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25648 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25649 TFLAGS="$(STAGE4_TFLAGS)" \
25650 $(TARGET-stage4-zlib)
25652 maybe-clean-stage4-zlib: clean-stage4-zlib
25653 clean-stage4: clean-stage4-zlib
25654 clean-stage4-zlib:
25655 @if [ $(current_stage) = stage4 ]; then \
25656 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25657 else \
25658 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25659 $(MAKE) stage4-start; \
25660 fi; \
25661 cd $(HOST_SUBDIR)/zlib && \
25662 $(MAKE) $(EXTRA_HOST_FLAGS) \
25663 $(POSTSTAGE1_FLAGS_TO_PASS) \
25664 clean
25665 @endif zlib-bootstrap
25668 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25669 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25670 maybe-all-stageprofile-zlib:
25671 maybe-clean-stageprofile-zlib:
25672 @if zlib-bootstrap
25673 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25674 all-stageprofile: all-stageprofile-zlib
25675 TARGET-stageprofile-zlib = $(TARGET-zlib)
25676 all-stageprofile-zlib: configure-stageprofile-zlib
25677 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25678 @r=`${PWD_COMMAND}`; export r; \
25679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25680 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25681 $(HOST_EXPORTS) \
25682 $(POSTSTAGE1_HOST_EXPORTS) \
25683 cd $(HOST_SUBDIR)/zlib && \
25684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25685 CFLAGS="$(STAGEprofile_CFLAGS)" \
25686 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25687 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25691 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25692 TFLAGS="$(STAGEprofile_TFLAGS)" \
25693 $(TARGET-stageprofile-zlib)
25695 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25696 clean-stageprofile: clean-stageprofile-zlib
25697 clean-stageprofile-zlib:
25698 @if [ $(current_stage) = stageprofile ]; then \
25699 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25700 else \
25701 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25702 $(MAKE) stageprofile-start; \
25703 fi; \
25704 cd $(HOST_SUBDIR)/zlib && \
25705 $(MAKE) $(EXTRA_HOST_FLAGS) \
25706 $(POSTSTAGE1_FLAGS_TO_PASS) \
25707 clean
25708 @endif zlib-bootstrap
25711 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25712 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25713 maybe-all-stagefeedback-zlib:
25714 maybe-clean-stagefeedback-zlib:
25715 @if zlib-bootstrap
25716 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25717 all-stagefeedback: all-stagefeedback-zlib
25718 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25719 all-stagefeedback-zlib: configure-stagefeedback-zlib
25720 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25721 @r=`${PWD_COMMAND}`; export r; \
25722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25723 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25724 $(HOST_EXPORTS) \
25725 $(POSTSTAGE1_HOST_EXPORTS) \
25726 cd $(HOST_SUBDIR)/zlib && \
25727 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25728 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25729 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25730 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25731 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25732 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25733 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25734 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25735 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25736 $(TARGET-stagefeedback-zlib)
25738 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25739 clean-stagefeedback: clean-stagefeedback-zlib
25740 clean-stagefeedback-zlib:
25741 @if [ $(current_stage) = stagefeedback ]; then \
25742 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25743 else \
25744 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25745 $(MAKE) stagefeedback-start; \
25746 fi; \
25747 cd $(HOST_SUBDIR)/zlib && \
25748 $(MAKE) $(EXTRA_HOST_FLAGS) \
25749 $(POSTSTAGE1_FLAGS_TO_PASS) \
25750 clean
25751 @endif zlib-bootstrap
25757 .PHONY: check-zlib maybe-check-zlib
25758 maybe-check-zlib:
25759 @if zlib
25760 maybe-check-zlib: check-zlib
25762 check-zlib:
25764 @endif zlib
25766 .PHONY: install-zlib maybe-install-zlib
25767 maybe-install-zlib:
25768 @if zlib
25769 maybe-install-zlib: install-zlib
25771 install-zlib:
25773 @endif zlib
25775 .PHONY: install-strip-zlib maybe-install-strip-zlib
25776 maybe-install-strip-zlib:
25777 @if zlib
25778 maybe-install-strip-zlib: install-strip-zlib
25780 install-strip-zlib:
25782 @endif zlib
25784 # Other targets (info, dvi, pdf, etc.)
25786 .PHONY: maybe-info-zlib info-zlib
25787 maybe-info-zlib:
25788 @if zlib
25789 maybe-info-zlib: info-zlib
25791 info-zlib: \
25792 configure-zlib
25793 @[ -f ./zlib/Makefile ] || exit 0; \
25794 r=`${PWD_COMMAND}`; export r; \
25795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25796 $(HOST_EXPORTS) \
25797 for flag in $(EXTRA_HOST_FLAGS) ; do \
25798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25799 done; \
25800 echo "Doing info in zlib" ; \
25801 (cd $(HOST_SUBDIR)/zlib && \
25802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25804 "RANLIB=$${RANLIB}" \
25805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25806 info) \
25807 || exit 1
25809 @endif zlib
25811 .PHONY: maybe-dvi-zlib dvi-zlib
25812 maybe-dvi-zlib:
25813 @if zlib
25814 maybe-dvi-zlib: dvi-zlib
25816 dvi-zlib: \
25817 configure-zlib
25818 @[ -f ./zlib/Makefile ] || exit 0; \
25819 r=`${PWD_COMMAND}`; export r; \
25820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25821 $(HOST_EXPORTS) \
25822 for flag in $(EXTRA_HOST_FLAGS) ; do \
25823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25824 done; \
25825 echo "Doing dvi in zlib" ; \
25826 (cd $(HOST_SUBDIR)/zlib && \
25827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25829 "RANLIB=$${RANLIB}" \
25830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25831 dvi) \
25832 || exit 1
25834 @endif zlib
25836 .PHONY: maybe-pdf-zlib pdf-zlib
25837 maybe-pdf-zlib:
25838 @if zlib
25839 maybe-pdf-zlib: pdf-zlib
25841 pdf-zlib: \
25842 configure-zlib
25843 @[ -f ./zlib/Makefile ] || exit 0; \
25844 r=`${PWD_COMMAND}`; export r; \
25845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25846 $(HOST_EXPORTS) \
25847 for flag in $(EXTRA_HOST_FLAGS) ; do \
25848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25849 done; \
25850 echo "Doing pdf in zlib" ; \
25851 (cd $(HOST_SUBDIR)/zlib && \
25852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25854 "RANLIB=$${RANLIB}" \
25855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25856 pdf) \
25857 || exit 1
25859 @endif zlib
25861 .PHONY: maybe-html-zlib html-zlib
25862 maybe-html-zlib:
25863 @if zlib
25864 maybe-html-zlib: html-zlib
25866 html-zlib: \
25867 configure-zlib
25868 @[ -f ./zlib/Makefile ] || exit 0; \
25869 r=`${PWD_COMMAND}`; export r; \
25870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25871 $(HOST_EXPORTS) \
25872 for flag in $(EXTRA_HOST_FLAGS) ; do \
25873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25874 done; \
25875 echo "Doing html in zlib" ; \
25876 (cd $(HOST_SUBDIR)/zlib && \
25877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25879 "RANLIB=$${RANLIB}" \
25880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25881 html) \
25882 || exit 1
25884 @endif zlib
25886 .PHONY: maybe-TAGS-zlib TAGS-zlib
25887 maybe-TAGS-zlib:
25888 @if zlib
25889 maybe-TAGS-zlib: TAGS-zlib
25891 TAGS-zlib: \
25892 configure-zlib
25893 @[ -f ./zlib/Makefile ] || exit 0; \
25894 r=`${PWD_COMMAND}`; export r; \
25895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25896 $(HOST_EXPORTS) \
25897 for flag in $(EXTRA_HOST_FLAGS) ; do \
25898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25899 done; \
25900 echo "Doing TAGS in zlib" ; \
25901 (cd $(HOST_SUBDIR)/zlib && \
25902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25904 "RANLIB=$${RANLIB}" \
25905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25906 TAGS) \
25907 || exit 1
25909 @endif zlib
25911 .PHONY: maybe-install-info-zlib install-info-zlib
25912 maybe-install-info-zlib:
25913 @if zlib
25914 maybe-install-info-zlib: install-info-zlib
25916 install-info-zlib: \
25917 configure-zlib \
25918 info-zlib
25919 @[ -f ./zlib/Makefile ] || exit 0; \
25920 r=`${PWD_COMMAND}`; export r; \
25921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25922 $(HOST_EXPORTS) \
25923 for flag in $(EXTRA_HOST_FLAGS) ; do \
25924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25925 done; \
25926 echo "Doing install-info in zlib" ; \
25927 (cd $(HOST_SUBDIR)/zlib && \
25928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25930 "RANLIB=$${RANLIB}" \
25931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25932 install-info) \
25933 || exit 1
25935 @endif zlib
25937 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25938 maybe-install-pdf-zlib:
25939 @if zlib
25940 maybe-install-pdf-zlib: install-pdf-zlib
25942 install-pdf-zlib: \
25943 configure-zlib \
25944 pdf-zlib
25945 @[ -f ./zlib/Makefile ] || exit 0; \
25946 r=`${PWD_COMMAND}`; export r; \
25947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25948 $(HOST_EXPORTS) \
25949 for flag in $(EXTRA_HOST_FLAGS) ; do \
25950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25951 done; \
25952 echo "Doing install-pdf in zlib" ; \
25953 (cd $(HOST_SUBDIR)/zlib && \
25954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25956 "RANLIB=$${RANLIB}" \
25957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25958 install-pdf) \
25959 || exit 1
25961 @endif zlib
25963 .PHONY: maybe-install-html-zlib install-html-zlib
25964 maybe-install-html-zlib:
25965 @if zlib
25966 maybe-install-html-zlib: install-html-zlib
25968 install-html-zlib: \
25969 configure-zlib \
25970 html-zlib
25971 @[ -f ./zlib/Makefile ] || exit 0; \
25972 r=`${PWD_COMMAND}`; export r; \
25973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25974 $(HOST_EXPORTS) \
25975 for flag in $(EXTRA_HOST_FLAGS) ; do \
25976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25977 done; \
25978 echo "Doing install-html in zlib" ; \
25979 (cd $(HOST_SUBDIR)/zlib && \
25980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25982 "RANLIB=$${RANLIB}" \
25983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25984 install-html) \
25985 || exit 1
25987 @endif zlib
25989 .PHONY: maybe-installcheck-zlib installcheck-zlib
25990 maybe-installcheck-zlib:
25991 @if zlib
25992 maybe-installcheck-zlib: installcheck-zlib
25994 installcheck-zlib: \
25995 configure-zlib
25996 @[ -f ./zlib/Makefile ] || exit 0; \
25997 r=`${PWD_COMMAND}`; export r; \
25998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25999 $(HOST_EXPORTS) \
26000 for flag in $(EXTRA_HOST_FLAGS) ; do \
26001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26002 done; \
26003 echo "Doing installcheck in zlib" ; \
26004 (cd $(HOST_SUBDIR)/zlib && \
26005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26007 "RANLIB=$${RANLIB}" \
26008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26009 installcheck) \
26010 || exit 1
26012 @endif zlib
26014 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26015 maybe-mostlyclean-zlib:
26016 @if zlib
26017 maybe-mostlyclean-zlib: mostlyclean-zlib
26019 mostlyclean-zlib:
26020 @[ -f ./zlib/Makefile ] || exit 0; \
26021 r=`${PWD_COMMAND}`; export r; \
26022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26023 $(HOST_EXPORTS) \
26024 for flag in $(EXTRA_HOST_FLAGS) ; do \
26025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26026 done; \
26027 echo "Doing mostlyclean in zlib" ; \
26028 (cd $(HOST_SUBDIR)/zlib && \
26029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26031 "RANLIB=$${RANLIB}" \
26032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26033 mostlyclean) \
26034 || exit 1
26036 @endif zlib
26038 .PHONY: maybe-clean-zlib clean-zlib
26039 maybe-clean-zlib:
26040 @if zlib
26041 maybe-clean-zlib: clean-zlib
26043 clean-zlib:
26044 @[ -f ./zlib/Makefile ] || exit 0; \
26045 r=`${PWD_COMMAND}`; export r; \
26046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26047 $(HOST_EXPORTS) \
26048 for flag in $(EXTRA_HOST_FLAGS) ; do \
26049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26050 done; \
26051 echo "Doing clean in zlib" ; \
26052 (cd $(HOST_SUBDIR)/zlib && \
26053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26055 "RANLIB=$${RANLIB}" \
26056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26057 clean) \
26058 || exit 1
26060 @endif zlib
26062 .PHONY: maybe-distclean-zlib distclean-zlib
26063 maybe-distclean-zlib:
26064 @if zlib
26065 maybe-distclean-zlib: distclean-zlib
26067 distclean-zlib:
26068 @[ -f ./zlib/Makefile ] || exit 0; \
26069 r=`${PWD_COMMAND}`; export r; \
26070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26071 $(HOST_EXPORTS) \
26072 for flag in $(EXTRA_HOST_FLAGS) ; do \
26073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26074 done; \
26075 echo "Doing distclean in zlib" ; \
26076 (cd $(HOST_SUBDIR)/zlib && \
26077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26079 "RANLIB=$${RANLIB}" \
26080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26081 distclean) \
26082 || exit 1
26084 @endif zlib
26086 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26087 maybe-maintainer-clean-zlib:
26088 @if zlib
26089 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26091 maintainer-clean-zlib:
26092 @[ -f ./zlib/Makefile ] || exit 0; \
26093 r=`${PWD_COMMAND}`; export r; \
26094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26095 $(HOST_EXPORTS) \
26096 for flag in $(EXTRA_HOST_FLAGS) ; do \
26097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26098 done; \
26099 echo "Doing maintainer-clean in zlib" ; \
26100 (cd $(HOST_SUBDIR)/zlib && \
26101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26103 "RANLIB=$${RANLIB}" \
26104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26105 maintainer-clean) \
26106 || exit 1
26108 @endif zlib
26112 .PHONY: configure-gdb maybe-configure-gdb
26113 maybe-configure-gdb:
26114 @if gcc-bootstrap
26115 configure-gdb: stage_current
26116 @endif gcc-bootstrap
26117 @if gdb
26118 maybe-configure-gdb: configure-gdb
26119 configure-gdb:
26120 @: $(MAKE); $(unstage)
26121 @r=`${PWD_COMMAND}`; export r; \
26122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26123 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26125 $(HOST_EXPORTS) \
26126 echo Configuring in $(HOST_SUBDIR)/gdb; \
26127 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26128 case $(srcdir) in \
26129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26130 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26132 esac; \
26133 srcdiroption="--srcdir=$${topdir}/gdb"; \
26134 libsrcdir="$$s/gdb"; \
26135 $(SHELL) $${libsrcdir}/configure \
26136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26137 --target=${target_alias} $${srcdiroption} \
26138 || exit 1
26139 @endif gdb
26145 .PHONY: all-gdb maybe-all-gdb
26146 maybe-all-gdb:
26147 @if gcc-bootstrap
26148 all-gdb: stage_current
26149 @endif gcc-bootstrap
26150 @if gdb
26151 TARGET-gdb=all
26152 maybe-all-gdb: all-gdb
26153 all-gdb: configure-gdb
26154 @: $(MAKE); $(unstage)
26155 @r=`${PWD_COMMAND}`; export r; \
26156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26157 $(HOST_EXPORTS) \
26158 (cd $(HOST_SUBDIR)/gdb && \
26159 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26160 $(TARGET-gdb))
26161 @endif gdb
26166 .PHONY: check-gdb maybe-check-gdb
26167 maybe-check-gdb:
26168 @if gdb
26169 maybe-check-gdb: check-gdb
26171 check-gdb:
26172 @: $(MAKE); $(unstage)
26173 @r=`${PWD_COMMAND}`; export r; \
26174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26175 $(HOST_EXPORTS) \
26176 (cd $(HOST_SUBDIR)/gdb && \
26177 $(MAKE) $(FLAGS_TO_PASS) check)
26179 @endif gdb
26181 .PHONY: install-gdb maybe-install-gdb
26182 maybe-install-gdb:
26183 @if gdb
26184 maybe-install-gdb: install-gdb
26186 install-gdb: installdirs
26187 @: $(MAKE); $(unstage)
26188 @r=`${PWD_COMMAND}`; export r; \
26189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26190 $(HOST_EXPORTS) \
26191 (cd $(HOST_SUBDIR)/gdb && \
26192 $(MAKE) $(FLAGS_TO_PASS) install)
26194 @endif gdb
26196 .PHONY: install-strip-gdb maybe-install-strip-gdb
26197 maybe-install-strip-gdb:
26198 @if gdb
26199 maybe-install-strip-gdb: install-strip-gdb
26201 install-strip-gdb: installdirs
26202 @: $(MAKE); $(unstage)
26203 @r=`${PWD_COMMAND}`; export r; \
26204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26205 $(HOST_EXPORTS) \
26206 (cd $(HOST_SUBDIR)/gdb && \
26207 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26209 @endif gdb
26211 # Other targets (info, dvi, pdf, etc.)
26213 .PHONY: maybe-info-gdb info-gdb
26214 maybe-info-gdb:
26215 @if gdb
26216 maybe-info-gdb: info-gdb
26218 info-gdb: \
26219 configure-gdb
26220 @: $(MAKE); $(unstage)
26221 @[ -f ./gdb/Makefile ] || exit 0; \
26222 r=`${PWD_COMMAND}`; export r; \
26223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26224 $(HOST_EXPORTS) \
26225 for flag in $(EXTRA_HOST_FLAGS) ; do \
26226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26227 done; \
26228 echo "Doing info in gdb" ; \
26229 (cd $(HOST_SUBDIR)/gdb && \
26230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26232 "RANLIB=$${RANLIB}" \
26233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26234 info) \
26235 || exit 1
26237 @endif gdb
26239 .PHONY: maybe-dvi-gdb dvi-gdb
26240 maybe-dvi-gdb:
26241 @if gdb
26242 maybe-dvi-gdb: dvi-gdb
26244 dvi-gdb: \
26245 configure-gdb
26246 @: $(MAKE); $(unstage)
26247 @[ -f ./gdb/Makefile ] || exit 0; \
26248 r=`${PWD_COMMAND}`; export r; \
26249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26250 $(HOST_EXPORTS) \
26251 for flag in $(EXTRA_HOST_FLAGS) ; do \
26252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26253 done; \
26254 echo "Doing dvi in gdb" ; \
26255 (cd $(HOST_SUBDIR)/gdb && \
26256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26258 "RANLIB=$${RANLIB}" \
26259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26260 dvi) \
26261 || exit 1
26263 @endif gdb
26265 .PHONY: maybe-pdf-gdb pdf-gdb
26266 maybe-pdf-gdb:
26267 @if gdb
26268 maybe-pdf-gdb: pdf-gdb
26270 pdf-gdb: \
26271 configure-gdb
26272 @: $(MAKE); $(unstage)
26273 @[ -f ./gdb/Makefile ] || exit 0; \
26274 r=`${PWD_COMMAND}`; export r; \
26275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26276 $(HOST_EXPORTS) \
26277 for flag in $(EXTRA_HOST_FLAGS) ; do \
26278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26279 done; \
26280 echo "Doing pdf in gdb" ; \
26281 (cd $(HOST_SUBDIR)/gdb && \
26282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26284 "RANLIB=$${RANLIB}" \
26285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26286 pdf) \
26287 || exit 1
26289 @endif gdb
26291 .PHONY: maybe-html-gdb html-gdb
26292 maybe-html-gdb:
26293 @if gdb
26294 maybe-html-gdb: html-gdb
26296 html-gdb: \
26297 configure-gdb
26298 @: $(MAKE); $(unstage)
26299 @[ -f ./gdb/Makefile ] || exit 0; \
26300 r=`${PWD_COMMAND}`; export r; \
26301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26302 $(HOST_EXPORTS) \
26303 for flag in $(EXTRA_HOST_FLAGS) ; do \
26304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26305 done; \
26306 echo "Doing html in gdb" ; \
26307 (cd $(HOST_SUBDIR)/gdb && \
26308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26310 "RANLIB=$${RANLIB}" \
26311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26312 html) \
26313 || exit 1
26315 @endif gdb
26317 .PHONY: maybe-TAGS-gdb TAGS-gdb
26318 maybe-TAGS-gdb:
26319 @if gdb
26320 maybe-TAGS-gdb: TAGS-gdb
26322 TAGS-gdb: \
26323 configure-gdb
26324 @: $(MAKE); $(unstage)
26325 @[ -f ./gdb/Makefile ] || exit 0; \
26326 r=`${PWD_COMMAND}`; export r; \
26327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26328 $(HOST_EXPORTS) \
26329 for flag in $(EXTRA_HOST_FLAGS) ; do \
26330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26331 done; \
26332 echo "Doing TAGS in gdb" ; \
26333 (cd $(HOST_SUBDIR)/gdb && \
26334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26336 "RANLIB=$${RANLIB}" \
26337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26338 TAGS) \
26339 || exit 1
26341 @endif gdb
26343 .PHONY: maybe-install-info-gdb install-info-gdb
26344 maybe-install-info-gdb:
26345 @if gdb
26346 maybe-install-info-gdb: install-info-gdb
26348 install-info-gdb: \
26349 configure-gdb \
26350 info-gdb
26351 @: $(MAKE); $(unstage)
26352 @[ -f ./gdb/Makefile ] || exit 0; \
26353 r=`${PWD_COMMAND}`; export r; \
26354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26355 $(HOST_EXPORTS) \
26356 for flag in $(EXTRA_HOST_FLAGS) ; do \
26357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26358 done; \
26359 echo "Doing install-info in gdb" ; \
26360 (cd $(HOST_SUBDIR)/gdb && \
26361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26363 "RANLIB=$${RANLIB}" \
26364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26365 install-info) \
26366 || exit 1
26368 @endif gdb
26370 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26371 maybe-install-pdf-gdb:
26372 @if gdb
26373 maybe-install-pdf-gdb: install-pdf-gdb
26375 install-pdf-gdb: \
26376 configure-gdb \
26377 pdf-gdb
26378 @: $(MAKE); $(unstage)
26379 @[ -f ./gdb/Makefile ] || exit 0; \
26380 r=`${PWD_COMMAND}`; export r; \
26381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26382 $(HOST_EXPORTS) \
26383 for flag in $(EXTRA_HOST_FLAGS) ; do \
26384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26385 done; \
26386 echo "Doing install-pdf in gdb" ; \
26387 (cd $(HOST_SUBDIR)/gdb && \
26388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26390 "RANLIB=$${RANLIB}" \
26391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26392 install-pdf) \
26393 || exit 1
26395 @endif gdb
26397 .PHONY: maybe-install-html-gdb install-html-gdb
26398 maybe-install-html-gdb:
26399 @if gdb
26400 maybe-install-html-gdb: install-html-gdb
26402 install-html-gdb: \
26403 configure-gdb \
26404 html-gdb
26405 @: $(MAKE); $(unstage)
26406 @[ -f ./gdb/Makefile ] || exit 0; \
26407 r=`${PWD_COMMAND}`; export r; \
26408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26409 $(HOST_EXPORTS) \
26410 for flag in $(EXTRA_HOST_FLAGS) ; do \
26411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26412 done; \
26413 echo "Doing install-html in gdb" ; \
26414 (cd $(HOST_SUBDIR)/gdb && \
26415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26417 "RANLIB=$${RANLIB}" \
26418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26419 install-html) \
26420 || exit 1
26422 @endif gdb
26424 .PHONY: maybe-installcheck-gdb installcheck-gdb
26425 maybe-installcheck-gdb:
26426 @if gdb
26427 maybe-installcheck-gdb: installcheck-gdb
26429 installcheck-gdb: \
26430 configure-gdb
26431 @: $(MAKE); $(unstage)
26432 @[ -f ./gdb/Makefile ] || exit 0; \
26433 r=`${PWD_COMMAND}`; export r; \
26434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26435 $(HOST_EXPORTS) \
26436 for flag in $(EXTRA_HOST_FLAGS) ; do \
26437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26438 done; \
26439 echo "Doing installcheck in gdb" ; \
26440 (cd $(HOST_SUBDIR)/gdb && \
26441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26443 "RANLIB=$${RANLIB}" \
26444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26445 installcheck) \
26446 || exit 1
26448 @endif gdb
26450 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26451 maybe-mostlyclean-gdb:
26452 @if gdb
26453 maybe-mostlyclean-gdb: mostlyclean-gdb
26455 mostlyclean-gdb:
26456 @: $(MAKE); $(unstage)
26457 @[ -f ./gdb/Makefile ] || exit 0; \
26458 r=`${PWD_COMMAND}`; export r; \
26459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26460 $(HOST_EXPORTS) \
26461 for flag in $(EXTRA_HOST_FLAGS) ; do \
26462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26463 done; \
26464 echo "Doing mostlyclean in gdb" ; \
26465 (cd $(HOST_SUBDIR)/gdb && \
26466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26468 "RANLIB=$${RANLIB}" \
26469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26470 mostlyclean) \
26471 || exit 1
26473 @endif gdb
26475 .PHONY: maybe-clean-gdb clean-gdb
26476 maybe-clean-gdb:
26477 @if gdb
26478 maybe-clean-gdb: clean-gdb
26480 clean-gdb:
26481 @: $(MAKE); $(unstage)
26482 @[ -f ./gdb/Makefile ] || exit 0; \
26483 r=`${PWD_COMMAND}`; export r; \
26484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26485 $(HOST_EXPORTS) \
26486 for flag in $(EXTRA_HOST_FLAGS) ; do \
26487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26488 done; \
26489 echo "Doing clean in gdb" ; \
26490 (cd $(HOST_SUBDIR)/gdb && \
26491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26493 "RANLIB=$${RANLIB}" \
26494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26495 clean) \
26496 || exit 1
26498 @endif gdb
26500 .PHONY: maybe-distclean-gdb distclean-gdb
26501 maybe-distclean-gdb:
26502 @if gdb
26503 maybe-distclean-gdb: distclean-gdb
26505 distclean-gdb:
26506 @: $(MAKE); $(unstage)
26507 @[ -f ./gdb/Makefile ] || exit 0; \
26508 r=`${PWD_COMMAND}`; export r; \
26509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26510 $(HOST_EXPORTS) \
26511 for flag in $(EXTRA_HOST_FLAGS) ; do \
26512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26513 done; \
26514 echo "Doing distclean in gdb" ; \
26515 (cd $(HOST_SUBDIR)/gdb && \
26516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26518 "RANLIB=$${RANLIB}" \
26519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26520 distclean) \
26521 || exit 1
26523 @endif gdb
26525 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26526 maybe-maintainer-clean-gdb:
26527 @if gdb
26528 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26530 maintainer-clean-gdb:
26531 @: $(MAKE); $(unstage)
26532 @[ -f ./gdb/Makefile ] || exit 0; \
26533 r=`${PWD_COMMAND}`; export r; \
26534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26535 $(HOST_EXPORTS) \
26536 for flag in $(EXTRA_HOST_FLAGS) ; do \
26537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26538 done; \
26539 echo "Doing maintainer-clean in gdb" ; \
26540 (cd $(HOST_SUBDIR)/gdb && \
26541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26543 "RANLIB=$${RANLIB}" \
26544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26545 maintainer-clean) \
26546 || exit 1
26548 @endif gdb
26552 .PHONY: configure-expect maybe-configure-expect
26553 maybe-configure-expect:
26554 @if gcc-bootstrap
26555 configure-expect: stage_current
26556 @endif gcc-bootstrap
26557 @if expect
26558 maybe-configure-expect: configure-expect
26559 configure-expect:
26560 @: $(MAKE); $(unstage)
26561 @r=`${PWD_COMMAND}`; export r; \
26562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26563 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26565 $(HOST_EXPORTS) \
26566 echo Configuring in $(HOST_SUBDIR)/expect; \
26567 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26568 case $(srcdir) in \
26569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26570 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26572 esac; \
26573 srcdiroption="--srcdir=$${topdir}/expect"; \
26574 libsrcdir="$$s/expect"; \
26575 $(SHELL) $${libsrcdir}/configure \
26576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26577 --target=${target_alias} $${srcdiroption} \
26578 || exit 1
26579 @endif expect
26585 .PHONY: all-expect maybe-all-expect
26586 maybe-all-expect:
26587 @if gcc-bootstrap
26588 all-expect: stage_current
26589 @endif gcc-bootstrap
26590 @if expect
26591 TARGET-expect=all
26592 maybe-all-expect: all-expect
26593 all-expect: configure-expect
26594 @: $(MAKE); $(unstage)
26595 @r=`${PWD_COMMAND}`; export r; \
26596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26597 $(HOST_EXPORTS) \
26598 (cd $(HOST_SUBDIR)/expect && \
26599 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26600 $(TARGET-expect))
26601 @endif expect
26606 .PHONY: check-expect maybe-check-expect
26607 maybe-check-expect:
26608 @if expect
26609 maybe-check-expect: check-expect
26611 check-expect:
26612 @: $(MAKE); $(unstage)
26613 @r=`${PWD_COMMAND}`; export r; \
26614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26615 $(HOST_EXPORTS) \
26616 (cd $(HOST_SUBDIR)/expect && \
26617 $(MAKE) $(FLAGS_TO_PASS) check)
26619 @endif expect
26621 .PHONY: install-expect maybe-install-expect
26622 maybe-install-expect:
26623 @if expect
26624 maybe-install-expect: install-expect
26626 install-expect: installdirs
26627 @: $(MAKE); $(unstage)
26628 @r=`${PWD_COMMAND}`; export r; \
26629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26630 $(HOST_EXPORTS) \
26631 (cd $(HOST_SUBDIR)/expect && \
26632 $(MAKE) $(FLAGS_TO_PASS) install)
26634 @endif expect
26636 .PHONY: install-strip-expect maybe-install-strip-expect
26637 maybe-install-strip-expect:
26638 @if expect
26639 maybe-install-strip-expect: install-strip-expect
26641 install-strip-expect: installdirs
26642 @: $(MAKE); $(unstage)
26643 @r=`${PWD_COMMAND}`; export r; \
26644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26645 $(HOST_EXPORTS) \
26646 (cd $(HOST_SUBDIR)/expect && \
26647 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26649 @endif expect
26651 # Other targets (info, dvi, pdf, etc.)
26653 .PHONY: maybe-info-expect info-expect
26654 maybe-info-expect:
26655 @if expect
26656 maybe-info-expect: info-expect
26658 info-expect: \
26659 configure-expect
26660 @: $(MAKE); $(unstage)
26661 @[ -f ./expect/Makefile ] || exit 0; \
26662 r=`${PWD_COMMAND}`; export r; \
26663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26664 $(HOST_EXPORTS) \
26665 for flag in $(EXTRA_HOST_FLAGS) ; do \
26666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26667 done; \
26668 echo "Doing info in expect" ; \
26669 (cd $(HOST_SUBDIR)/expect && \
26670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26672 "RANLIB=$${RANLIB}" \
26673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26674 info) \
26675 || exit 1
26677 @endif expect
26679 .PHONY: maybe-dvi-expect dvi-expect
26680 maybe-dvi-expect:
26681 @if expect
26682 maybe-dvi-expect: dvi-expect
26684 dvi-expect: \
26685 configure-expect
26686 @: $(MAKE); $(unstage)
26687 @[ -f ./expect/Makefile ] || exit 0; \
26688 r=`${PWD_COMMAND}`; export r; \
26689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26690 $(HOST_EXPORTS) \
26691 for flag in $(EXTRA_HOST_FLAGS) ; do \
26692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26693 done; \
26694 echo "Doing dvi in expect" ; \
26695 (cd $(HOST_SUBDIR)/expect && \
26696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26698 "RANLIB=$${RANLIB}" \
26699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26700 dvi) \
26701 || exit 1
26703 @endif expect
26705 .PHONY: maybe-pdf-expect pdf-expect
26706 maybe-pdf-expect:
26707 @if expect
26708 maybe-pdf-expect: pdf-expect
26710 pdf-expect: \
26711 configure-expect
26712 @: $(MAKE); $(unstage)
26713 @[ -f ./expect/Makefile ] || exit 0; \
26714 r=`${PWD_COMMAND}`; export r; \
26715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26716 $(HOST_EXPORTS) \
26717 for flag in $(EXTRA_HOST_FLAGS) ; do \
26718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26719 done; \
26720 echo "Doing pdf in expect" ; \
26721 (cd $(HOST_SUBDIR)/expect && \
26722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26724 "RANLIB=$${RANLIB}" \
26725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26726 pdf) \
26727 || exit 1
26729 @endif expect
26731 .PHONY: maybe-html-expect html-expect
26732 maybe-html-expect:
26733 @if expect
26734 maybe-html-expect: html-expect
26736 html-expect: \
26737 configure-expect
26738 @: $(MAKE); $(unstage)
26739 @[ -f ./expect/Makefile ] || exit 0; \
26740 r=`${PWD_COMMAND}`; export r; \
26741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26742 $(HOST_EXPORTS) \
26743 for flag in $(EXTRA_HOST_FLAGS) ; do \
26744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26745 done; \
26746 echo "Doing html in expect" ; \
26747 (cd $(HOST_SUBDIR)/expect && \
26748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26750 "RANLIB=$${RANLIB}" \
26751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26752 html) \
26753 || exit 1
26755 @endif expect
26757 .PHONY: maybe-TAGS-expect TAGS-expect
26758 maybe-TAGS-expect:
26759 @if expect
26760 maybe-TAGS-expect: TAGS-expect
26762 TAGS-expect: \
26763 configure-expect
26764 @: $(MAKE); $(unstage)
26765 @[ -f ./expect/Makefile ] || exit 0; \
26766 r=`${PWD_COMMAND}`; export r; \
26767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26768 $(HOST_EXPORTS) \
26769 for flag in $(EXTRA_HOST_FLAGS) ; do \
26770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26771 done; \
26772 echo "Doing TAGS in expect" ; \
26773 (cd $(HOST_SUBDIR)/expect && \
26774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26776 "RANLIB=$${RANLIB}" \
26777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26778 TAGS) \
26779 || exit 1
26781 @endif expect
26783 .PHONY: maybe-install-info-expect install-info-expect
26784 maybe-install-info-expect:
26785 @if expect
26786 maybe-install-info-expect: install-info-expect
26788 install-info-expect: \
26789 configure-expect \
26790 info-expect
26791 @: $(MAKE); $(unstage)
26792 @[ -f ./expect/Makefile ] || exit 0; \
26793 r=`${PWD_COMMAND}`; export r; \
26794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26795 $(HOST_EXPORTS) \
26796 for flag in $(EXTRA_HOST_FLAGS) ; do \
26797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26798 done; \
26799 echo "Doing install-info in expect" ; \
26800 (cd $(HOST_SUBDIR)/expect && \
26801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26803 "RANLIB=$${RANLIB}" \
26804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26805 install-info) \
26806 || exit 1
26808 @endif expect
26810 .PHONY: maybe-install-pdf-expect install-pdf-expect
26811 maybe-install-pdf-expect:
26812 @if expect
26813 maybe-install-pdf-expect: install-pdf-expect
26815 install-pdf-expect: \
26816 configure-expect \
26817 pdf-expect
26818 @: $(MAKE); $(unstage)
26819 @[ -f ./expect/Makefile ] || exit 0; \
26820 r=`${PWD_COMMAND}`; export r; \
26821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26822 $(HOST_EXPORTS) \
26823 for flag in $(EXTRA_HOST_FLAGS) ; do \
26824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26825 done; \
26826 echo "Doing install-pdf in expect" ; \
26827 (cd $(HOST_SUBDIR)/expect && \
26828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26830 "RANLIB=$${RANLIB}" \
26831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26832 install-pdf) \
26833 || exit 1
26835 @endif expect
26837 .PHONY: maybe-install-html-expect install-html-expect
26838 maybe-install-html-expect:
26839 @if expect
26840 maybe-install-html-expect: install-html-expect
26842 install-html-expect: \
26843 configure-expect \
26844 html-expect
26845 @: $(MAKE); $(unstage)
26846 @[ -f ./expect/Makefile ] || exit 0; \
26847 r=`${PWD_COMMAND}`; export r; \
26848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26849 $(HOST_EXPORTS) \
26850 for flag in $(EXTRA_HOST_FLAGS) ; do \
26851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26852 done; \
26853 echo "Doing install-html in expect" ; \
26854 (cd $(HOST_SUBDIR)/expect && \
26855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26857 "RANLIB=$${RANLIB}" \
26858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26859 install-html) \
26860 || exit 1
26862 @endif expect
26864 .PHONY: maybe-installcheck-expect installcheck-expect
26865 maybe-installcheck-expect:
26866 @if expect
26867 maybe-installcheck-expect: installcheck-expect
26869 installcheck-expect: \
26870 configure-expect
26871 @: $(MAKE); $(unstage)
26872 @[ -f ./expect/Makefile ] || exit 0; \
26873 r=`${PWD_COMMAND}`; export r; \
26874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26875 $(HOST_EXPORTS) \
26876 for flag in $(EXTRA_HOST_FLAGS) ; do \
26877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26878 done; \
26879 echo "Doing installcheck in expect" ; \
26880 (cd $(HOST_SUBDIR)/expect && \
26881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26883 "RANLIB=$${RANLIB}" \
26884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26885 installcheck) \
26886 || exit 1
26888 @endif expect
26890 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26891 maybe-mostlyclean-expect:
26892 @if expect
26893 maybe-mostlyclean-expect: mostlyclean-expect
26895 mostlyclean-expect:
26896 @: $(MAKE); $(unstage)
26897 @[ -f ./expect/Makefile ] || exit 0; \
26898 r=`${PWD_COMMAND}`; export r; \
26899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26900 $(HOST_EXPORTS) \
26901 for flag in $(EXTRA_HOST_FLAGS) ; do \
26902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26903 done; \
26904 echo "Doing mostlyclean in expect" ; \
26905 (cd $(HOST_SUBDIR)/expect && \
26906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26908 "RANLIB=$${RANLIB}" \
26909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26910 mostlyclean) \
26911 || exit 1
26913 @endif expect
26915 .PHONY: maybe-clean-expect clean-expect
26916 maybe-clean-expect:
26917 @if expect
26918 maybe-clean-expect: clean-expect
26920 clean-expect:
26921 @: $(MAKE); $(unstage)
26922 @[ -f ./expect/Makefile ] || exit 0; \
26923 r=`${PWD_COMMAND}`; export r; \
26924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26925 $(HOST_EXPORTS) \
26926 for flag in $(EXTRA_HOST_FLAGS) ; do \
26927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26928 done; \
26929 echo "Doing clean in expect" ; \
26930 (cd $(HOST_SUBDIR)/expect && \
26931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26933 "RANLIB=$${RANLIB}" \
26934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26935 clean) \
26936 || exit 1
26938 @endif expect
26940 .PHONY: maybe-distclean-expect distclean-expect
26941 maybe-distclean-expect:
26942 @if expect
26943 maybe-distclean-expect: distclean-expect
26945 distclean-expect:
26946 @: $(MAKE); $(unstage)
26947 @[ -f ./expect/Makefile ] || exit 0; \
26948 r=`${PWD_COMMAND}`; export r; \
26949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26950 $(HOST_EXPORTS) \
26951 for flag in $(EXTRA_HOST_FLAGS) ; do \
26952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26953 done; \
26954 echo "Doing distclean in expect" ; \
26955 (cd $(HOST_SUBDIR)/expect && \
26956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26958 "RANLIB=$${RANLIB}" \
26959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26960 distclean) \
26961 || exit 1
26963 @endif expect
26965 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26966 maybe-maintainer-clean-expect:
26967 @if expect
26968 maybe-maintainer-clean-expect: maintainer-clean-expect
26970 maintainer-clean-expect:
26971 @: $(MAKE); $(unstage)
26972 @[ -f ./expect/Makefile ] || exit 0; \
26973 r=`${PWD_COMMAND}`; export r; \
26974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26975 $(HOST_EXPORTS) \
26976 for flag in $(EXTRA_HOST_FLAGS) ; do \
26977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26978 done; \
26979 echo "Doing maintainer-clean in expect" ; \
26980 (cd $(HOST_SUBDIR)/expect && \
26981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26983 "RANLIB=$${RANLIB}" \
26984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26985 maintainer-clean) \
26986 || exit 1
26988 @endif expect
26992 .PHONY: configure-guile maybe-configure-guile
26993 maybe-configure-guile:
26994 @if gcc-bootstrap
26995 configure-guile: stage_current
26996 @endif gcc-bootstrap
26997 @if guile
26998 maybe-configure-guile: configure-guile
26999 configure-guile:
27000 @: $(MAKE); $(unstage)
27001 @r=`${PWD_COMMAND}`; export r; \
27002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27003 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27005 $(HOST_EXPORTS) \
27006 echo Configuring in $(HOST_SUBDIR)/guile; \
27007 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27008 case $(srcdir) in \
27009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27010 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27012 esac; \
27013 srcdiroption="--srcdir=$${topdir}/guile"; \
27014 libsrcdir="$$s/guile"; \
27015 $(SHELL) $${libsrcdir}/configure \
27016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27017 --target=${target_alias} $${srcdiroption} \
27018 || exit 1
27019 @endif guile
27025 .PHONY: all-guile maybe-all-guile
27026 maybe-all-guile:
27027 @if gcc-bootstrap
27028 all-guile: stage_current
27029 @endif gcc-bootstrap
27030 @if guile
27031 TARGET-guile=all
27032 maybe-all-guile: all-guile
27033 all-guile: configure-guile
27034 @: $(MAKE); $(unstage)
27035 @r=`${PWD_COMMAND}`; export r; \
27036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27037 $(HOST_EXPORTS) \
27038 (cd $(HOST_SUBDIR)/guile && \
27039 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27040 $(TARGET-guile))
27041 @endif guile
27046 .PHONY: check-guile maybe-check-guile
27047 maybe-check-guile:
27048 @if guile
27049 maybe-check-guile: check-guile
27051 check-guile:
27052 @: $(MAKE); $(unstage)
27053 @r=`${PWD_COMMAND}`; export r; \
27054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27055 $(HOST_EXPORTS) \
27056 (cd $(HOST_SUBDIR)/guile && \
27057 $(MAKE) $(FLAGS_TO_PASS) check)
27059 @endif guile
27061 .PHONY: install-guile maybe-install-guile
27062 maybe-install-guile:
27063 @if guile
27064 maybe-install-guile: install-guile
27066 install-guile: installdirs
27067 @: $(MAKE); $(unstage)
27068 @r=`${PWD_COMMAND}`; export r; \
27069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27070 $(HOST_EXPORTS) \
27071 (cd $(HOST_SUBDIR)/guile && \
27072 $(MAKE) $(FLAGS_TO_PASS) install)
27074 @endif guile
27076 .PHONY: install-strip-guile maybe-install-strip-guile
27077 maybe-install-strip-guile:
27078 @if guile
27079 maybe-install-strip-guile: install-strip-guile
27081 install-strip-guile: installdirs
27082 @: $(MAKE); $(unstage)
27083 @r=`${PWD_COMMAND}`; export r; \
27084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27085 $(HOST_EXPORTS) \
27086 (cd $(HOST_SUBDIR)/guile && \
27087 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27089 @endif guile
27091 # Other targets (info, dvi, pdf, etc.)
27093 .PHONY: maybe-info-guile info-guile
27094 maybe-info-guile:
27095 @if guile
27096 maybe-info-guile: info-guile
27098 info-guile: \
27099 configure-guile
27100 @: $(MAKE); $(unstage)
27101 @[ -f ./guile/Makefile ] || exit 0; \
27102 r=`${PWD_COMMAND}`; export r; \
27103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27104 $(HOST_EXPORTS) \
27105 for flag in $(EXTRA_HOST_FLAGS) ; do \
27106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27107 done; \
27108 echo "Doing info in guile" ; \
27109 (cd $(HOST_SUBDIR)/guile && \
27110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27112 "RANLIB=$${RANLIB}" \
27113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27114 info) \
27115 || exit 1
27117 @endif guile
27119 .PHONY: maybe-dvi-guile dvi-guile
27120 maybe-dvi-guile:
27121 @if guile
27122 maybe-dvi-guile: dvi-guile
27124 dvi-guile: \
27125 configure-guile
27126 @: $(MAKE); $(unstage)
27127 @[ -f ./guile/Makefile ] || exit 0; \
27128 r=`${PWD_COMMAND}`; export r; \
27129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27130 $(HOST_EXPORTS) \
27131 for flag in $(EXTRA_HOST_FLAGS) ; do \
27132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27133 done; \
27134 echo "Doing dvi in guile" ; \
27135 (cd $(HOST_SUBDIR)/guile && \
27136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27138 "RANLIB=$${RANLIB}" \
27139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27140 dvi) \
27141 || exit 1
27143 @endif guile
27145 .PHONY: maybe-pdf-guile pdf-guile
27146 maybe-pdf-guile:
27147 @if guile
27148 maybe-pdf-guile: pdf-guile
27150 pdf-guile: \
27151 configure-guile
27152 @: $(MAKE); $(unstage)
27153 @[ -f ./guile/Makefile ] || exit 0; \
27154 r=`${PWD_COMMAND}`; export r; \
27155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27156 $(HOST_EXPORTS) \
27157 for flag in $(EXTRA_HOST_FLAGS) ; do \
27158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27159 done; \
27160 echo "Doing pdf in guile" ; \
27161 (cd $(HOST_SUBDIR)/guile && \
27162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27164 "RANLIB=$${RANLIB}" \
27165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27166 pdf) \
27167 || exit 1
27169 @endif guile
27171 .PHONY: maybe-html-guile html-guile
27172 maybe-html-guile:
27173 @if guile
27174 maybe-html-guile: html-guile
27176 html-guile: \
27177 configure-guile
27178 @: $(MAKE); $(unstage)
27179 @[ -f ./guile/Makefile ] || exit 0; \
27180 r=`${PWD_COMMAND}`; export r; \
27181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27182 $(HOST_EXPORTS) \
27183 for flag in $(EXTRA_HOST_FLAGS) ; do \
27184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27185 done; \
27186 echo "Doing html in guile" ; \
27187 (cd $(HOST_SUBDIR)/guile && \
27188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27190 "RANLIB=$${RANLIB}" \
27191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27192 html) \
27193 || exit 1
27195 @endif guile
27197 .PHONY: maybe-TAGS-guile TAGS-guile
27198 maybe-TAGS-guile:
27199 @if guile
27200 maybe-TAGS-guile: TAGS-guile
27202 TAGS-guile: \
27203 configure-guile
27204 @: $(MAKE); $(unstage)
27205 @[ -f ./guile/Makefile ] || exit 0; \
27206 r=`${PWD_COMMAND}`; export r; \
27207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27208 $(HOST_EXPORTS) \
27209 for flag in $(EXTRA_HOST_FLAGS) ; do \
27210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27211 done; \
27212 echo "Doing TAGS in guile" ; \
27213 (cd $(HOST_SUBDIR)/guile && \
27214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27216 "RANLIB=$${RANLIB}" \
27217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27218 TAGS) \
27219 || exit 1
27221 @endif guile
27223 .PHONY: maybe-install-info-guile install-info-guile
27224 maybe-install-info-guile:
27225 @if guile
27226 maybe-install-info-guile: install-info-guile
27228 install-info-guile: \
27229 configure-guile \
27230 info-guile
27231 @: $(MAKE); $(unstage)
27232 @[ -f ./guile/Makefile ] || exit 0; \
27233 r=`${PWD_COMMAND}`; export r; \
27234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27235 $(HOST_EXPORTS) \
27236 for flag in $(EXTRA_HOST_FLAGS) ; do \
27237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27238 done; \
27239 echo "Doing install-info in guile" ; \
27240 (cd $(HOST_SUBDIR)/guile && \
27241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27243 "RANLIB=$${RANLIB}" \
27244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27245 install-info) \
27246 || exit 1
27248 @endif guile
27250 .PHONY: maybe-install-pdf-guile install-pdf-guile
27251 maybe-install-pdf-guile:
27252 @if guile
27253 maybe-install-pdf-guile: install-pdf-guile
27255 install-pdf-guile: \
27256 configure-guile \
27257 pdf-guile
27258 @: $(MAKE); $(unstage)
27259 @[ -f ./guile/Makefile ] || exit 0; \
27260 r=`${PWD_COMMAND}`; export r; \
27261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27262 $(HOST_EXPORTS) \
27263 for flag in $(EXTRA_HOST_FLAGS) ; do \
27264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27265 done; \
27266 echo "Doing install-pdf in guile" ; \
27267 (cd $(HOST_SUBDIR)/guile && \
27268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27270 "RANLIB=$${RANLIB}" \
27271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27272 install-pdf) \
27273 || exit 1
27275 @endif guile
27277 .PHONY: maybe-install-html-guile install-html-guile
27278 maybe-install-html-guile:
27279 @if guile
27280 maybe-install-html-guile: install-html-guile
27282 install-html-guile: \
27283 configure-guile \
27284 html-guile
27285 @: $(MAKE); $(unstage)
27286 @[ -f ./guile/Makefile ] || exit 0; \
27287 r=`${PWD_COMMAND}`; export r; \
27288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27289 $(HOST_EXPORTS) \
27290 for flag in $(EXTRA_HOST_FLAGS) ; do \
27291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27292 done; \
27293 echo "Doing install-html in guile" ; \
27294 (cd $(HOST_SUBDIR)/guile && \
27295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27297 "RANLIB=$${RANLIB}" \
27298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27299 install-html) \
27300 || exit 1
27302 @endif guile
27304 .PHONY: maybe-installcheck-guile installcheck-guile
27305 maybe-installcheck-guile:
27306 @if guile
27307 maybe-installcheck-guile: installcheck-guile
27309 installcheck-guile: \
27310 configure-guile
27311 @: $(MAKE); $(unstage)
27312 @[ -f ./guile/Makefile ] || exit 0; \
27313 r=`${PWD_COMMAND}`; export r; \
27314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27315 $(HOST_EXPORTS) \
27316 for flag in $(EXTRA_HOST_FLAGS) ; do \
27317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27318 done; \
27319 echo "Doing installcheck in guile" ; \
27320 (cd $(HOST_SUBDIR)/guile && \
27321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27323 "RANLIB=$${RANLIB}" \
27324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27325 installcheck) \
27326 || exit 1
27328 @endif guile
27330 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27331 maybe-mostlyclean-guile:
27332 @if guile
27333 maybe-mostlyclean-guile: mostlyclean-guile
27335 mostlyclean-guile:
27336 @: $(MAKE); $(unstage)
27337 @[ -f ./guile/Makefile ] || exit 0; \
27338 r=`${PWD_COMMAND}`; export r; \
27339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27340 $(HOST_EXPORTS) \
27341 for flag in $(EXTRA_HOST_FLAGS) ; do \
27342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27343 done; \
27344 echo "Doing mostlyclean in guile" ; \
27345 (cd $(HOST_SUBDIR)/guile && \
27346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27348 "RANLIB=$${RANLIB}" \
27349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27350 mostlyclean) \
27351 || exit 1
27353 @endif guile
27355 .PHONY: maybe-clean-guile clean-guile
27356 maybe-clean-guile:
27357 @if guile
27358 maybe-clean-guile: clean-guile
27360 clean-guile:
27361 @: $(MAKE); $(unstage)
27362 @[ -f ./guile/Makefile ] || exit 0; \
27363 r=`${PWD_COMMAND}`; export r; \
27364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27365 $(HOST_EXPORTS) \
27366 for flag in $(EXTRA_HOST_FLAGS) ; do \
27367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27368 done; \
27369 echo "Doing clean in guile" ; \
27370 (cd $(HOST_SUBDIR)/guile && \
27371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27373 "RANLIB=$${RANLIB}" \
27374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27375 clean) \
27376 || exit 1
27378 @endif guile
27380 .PHONY: maybe-distclean-guile distclean-guile
27381 maybe-distclean-guile:
27382 @if guile
27383 maybe-distclean-guile: distclean-guile
27385 distclean-guile:
27386 @: $(MAKE); $(unstage)
27387 @[ -f ./guile/Makefile ] || exit 0; \
27388 r=`${PWD_COMMAND}`; export r; \
27389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27390 $(HOST_EXPORTS) \
27391 for flag in $(EXTRA_HOST_FLAGS) ; do \
27392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27393 done; \
27394 echo "Doing distclean in guile" ; \
27395 (cd $(HOST_SUBDIR)/guile && \
27396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27398 "RANLIB=$${RANLIB}" \
27399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27400 distclean) \
27401 || exit 1
27403 @endif guile
27405 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27406 maybe-maintainer-clean-guile:
27407 @if guile
27408 maybe-maintainer-clean-guile: maintainer-clean-guile
27410 maintainer-clean-guile:
27411 @: $(MAKE); $(unstage)
27412 @[ -f ./guile/Makefile ] || exit 0; \
27413 r=`${PWD_COMMAND}`; export r; \
27414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27415 $(HOST_EXPORTS) \
27416 for flag in $(EXTRA_HOST_FLAGS) ; do \
27417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27418 done; \
27419 echo "Doing maintainer-clean in guile" ; \
27420 (cd $(HOST_SUBDIR)/guile && \
27421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27423 "RANLIB=$${RANLIB}" \
27424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27425 maintainer-clean) \
27426 || exit 1
27428 @endif guile
27432 .PHONY: configure-tk maybe-configure-tk
27433 maybe-configure-tk:
27434 @if gcc-bootstrap
27435 configure-tk: stage_current
27436 @endif gcc-bootstrap
27437 @if tk
27438 maybe-configure-tk: configure-tk
27439 configure-tk:
27440 @: $(MAKE); $(unstage)
27441 @r=`${PWD_COMMAND}`; export r; \
27442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27443 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27445 $(HOST_EXPORTS) \
27446 echo Configuring in $(HOST_SUBDIR)/tk; \
27447 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27448 case $(srcdir) in \
27449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27450 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27452 esac; \
27453 srcdiroption="--srcdir=$${topdir}/tk"; \
27454 libsrcdir="$$s/tk"; \
27455 $(SHELL) $${libsrcdir}/configure \
27456 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27457 --target=${target_alias} $${srcdiroption} \
27458 || exit 1
27459 @endif tk
27465 .PHONY: all-tk maybe-all-tk
27466 maybe-all-tk:
27467 @if gcc-bootstrap
27468 all-tk: stage_current
27469 @endif gcc-bootstrap
27470 @if tk
27471 TARGET-tk=all
27472 maybe-all-tk: all-tk
27473 all-tk: configure-tk
27474 @: $(MAKE); $(unstage)
27475 @r=`${PWD_COMMAND}`; export r; \
27476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27477 $(HOST_EXPORTS) \
27478 (cd $(HOST_SUBDIR)/tk && \
27479 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27480 $(TARGET-tk))
27481 @endif tk
27486 .PHONY: check-tk maybe-check-tk
27487 maybe-check-tk:
27488 @if tk
27489 maybe-check-tk: check-tk
27491 check-tk:
27492 @: $(MAKE); $(unstage)
27493 @r=`${PWD_COMMAND}`; export r; \
27494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27495 $(HOST_EXPORTS) \
27496 (cd $(HOST_SUBDIR)/tk && \
27497 $(MAKE) $(FLAGS_TO_PASS) check)
27499 @endif tk
27501 .PHONY: install-tk maybe-install-tk
27502 maybe-install-tk:
27503 @if tk
27504 maybe-install-tk: install-tk
27506 install-tk: installdirs
27507 @: $(MAKE); $(unstage)
27508 @r=`${PWD_COMMAND}`; export r; \
27509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27510 $(HOST_EXPORTS) \
27511 (cd $(HOST_SUBDIR)/tk && \
27512 $(MAKE) $(FLAGS_TO_PASS) install)
27514 @endif tk
27516 .PHONY: install-strip-tk maybe-install-strip-tk
27517 maybe-install-strip-tk:
27518 @if tk
27519 maybe-install-strip-tk: install-strip-tk
27521 install-strip-tk: installdirs
27522 @: $(MAKE); $(unstage)
27523 @r=`${PWD_COMMAND}`; export r; \
27524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27525 $(HOST_EXPORTS) \
27526 (cd $(HOST_SUBDIR)/tk && \
27527 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27529 @endif tk
27531 # Other targets (info, dvi, pdf, etc.)
27533 .PHONY: maybe-info-tk info-tk
27534 maybe-info-tk:
27535 @if tk
27536 maybe-info-tk: info-tk
27538 info-tk: \
27539 configure-tk
27540 @: $(MAKE); $(unstage)
27541 @[ -f ./tk/Makefile ] || exit 0; \
27542 r=`${PWD_COMMAND}`; export r; \
27543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27544 $(HOST_EXPORTS) \
27545 for flag in $(EXTRA_HOST_FLAGS) ; do \
27546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27547 done; \
27548 echo "Doing info in tk" ; \
27549 (cd $(HOST_SUBDIR)/tk && \
27550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27552 "RANLIB=$${RANLIB}" \
27553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27554 info) \
27555 || exit 1
27557 @endif tk
27559 .PHONY: maybe-dvi-tk dvi-tk
27560 maybe-dvi-tk:
27561 @if tk
27562 maybe-dvi-tk: dvi-tk
27564 dvi-tk: \
27565 configure-tk
27566 @: $(MAKE); $(unstage)
27567 @[ -f ./tk/Makefile ] || exit 0; \
27568 r=`${PWD_COMMAND}`; export r; \
27569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27570 $(HOST_EXPORTS) \
27571 for flag in $(EXTRA_HOST_FLAGS) ; do \
27572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27573 done; \
27574 echo "Doing dvi in tk" ; \
27575 (cd $(HOST_SUBDIR)/tk && \
27576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27578 "RANLIB=$${RANLIB}" \
27579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27580 dvi) \
27581 || exit 1
27583 @endif tk
27585 .PHONY: maybe-pdf-tk pdf-tk
27586 maybe-pdf-tk:
27587 @if tk
27588 maybe-pdf-tk: pdf-tk
27590 pdf-tk: \
27591 configure-tk
27592 @: $(MAKE); $(unstage)
27593 @[ -f ./tk/Makefile ] || exit 0; \
27594 r=`${PWD_COMMAND}`; export r; \
27595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27596 $(HOST_EXPORTS) \
27597 for flag in $(EXTRA_HOST_FLAGS) ; do \
27598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27599 done; \
27600 echo "Doing pdf in tk" ; \
27601 (cd $(HOST_SUBDIR)/tk && \
27602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27604 "RANLIB=$${RANLIB}" \
27605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27606 pdf) \
27607 || exit 1
27609 @endif tk
27611 .PHONY: maybe-html-tk html-tk
27612 maybe-html-tk:
27613 @if tk
27614 maybe-html-tk: html-tk
27616 html-tk: \
27617 configure-tk
27618 @: $(MAKE); $(unstage)
27619 @[ -f ./tk/Makefile ] || exit 0; \
27620 r=`${PWD_COMMAND}`; export r; \
27621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27622 $(HOST_EXPORTS) \
27623 for flag in $(EXTRA_HOST_FLAGS) ; do \
27624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27625 done; \
27626 echo "Doing html in tk" ; \
27627 (cd $(HOST_SUBDIR)/tk && \
27628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27630 "RANLIB=$${RANLIB}" \
27631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27632 html) \
27633 || exit 1
27635 @endif tk
27637 .PHONY: maybe-TAGS-tk TAGS-tk
27638 maybe-TAGS-tk:
27639 @if tk
27640 maybe-TAGS-tk: TAGS-tk
27642 TAGS-tk: \
27643 configure-tk
27644 @: $(MAKE); $(unstage)
27645 @[ -f ./tk/Makefile ] || exit 0; \
27646 r=`${PWD_COMMAND}`; export r; \
27647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27648 $(HOST_EXPORTS) \
27649 for flag in $(EXTRA_HOST_FLAGS) ; do \
27650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27651 done; \
27652 echo "Doing TAGS in tk" ; \
27653 (cd $(HOST_SUBDIR)/tk && \
27654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27656 "RANLIB=$${RANLIB}" \
27657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27658 TAGS) \
27659 || exit 1
27661 @endif tk
27663 .PHONY: maybe-install-info-tk install-info-tk
27664 maybe-install-info-tk:
27665 @if tk
27666 maybe-install-info-tk: install-info-tk
27668 install-info-tk: \
27669 configure-tk \
27670 info-tk
27671 @: $(MAKE); $(unstage)
27672 @[ -f ./tk/Makefile ] || exit 0; \
27673 r=`${PWD_COMMAND}`; export r; \
27674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27675 $(HOST_EXPORTS) \
27676 for flag in $(EXTRA_HOST_FLAGS) ; do \
27677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27678 done; \
27679 echo "Doing install-info in tk" ; \
27680 (cd $(HOST_SUBDIR)/tk && \
27681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27683 "RANLIB=$${RANLIB}" \
27684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27685 install-info) \
27686 || exit 1
27688 @endif tk
27690 .PHONY: maybe-install-pdf-tk install-pdf-tk
27691 maybe-install-pdf-tk:
27692 @if tk
27693 maybe-install-pdf-tk: install-pdf-tk
27695 install-pdf-tk: \
27696 configure-tk \
27697 pdf-tk
27698 @: $(MAKE); $(unstage)
27699 @[ -f ./tk/Makefile ] || exit 0; \
27700 r=`${PWD_COMMAND}`; export r; \
27701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27702 $(HOST_EXPORTS) \
27703 for flag in $(EXTRA_HOST_FLAGS) ; do \
27704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27705 done; \
27706 echo "Doing install-pdf in tk" ; \
27707 (cd $(HOST_SUBDIR)/tk && \
27708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27710 "RANLIB=$${RANLIB}" \
27711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27712 install-pdf) \
27713 || exit 1
27715 @endif tk
27717 .PHONY: maybe-install-html-tk install-html-tk
27718 maybe-install-html-tk:
27719 @if tk
27720 maybe-install-html-tk: install-html-tk
27722 install-html-tk: \
27723 configure-tk \
27724 html-tk
27725 @: $(MAKE); $(unstage)
27726 @[ -f ./tk/Makefile ] || exit 0; \
27727 r=`${PWD_COMMAND}`; export r; \
27728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27729 $(HOST_EXPORTS) \
27730 for flag in $(EXTRA_HOST_FLAGS) ; do \
27731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27732 done; \
27733 echo "Doing install-html in tk" ; \
27734 (cd $(HOST_SUBDIR)/tk && \
27735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27737 "RANLIB=$${RANLIB}" \
27738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27739 install-html) \
27740 || exit 1
27742 @endif tk
27744 .PHONY: maybe-installcheck-tk installcheck-tk
27745 maybe-installcheck-tk:
27746 @if tk
27747 maybe-installcheck-tk: installcheck-tk
27749 installcheck-tk: \
27750 configure-tk
27751 @: $(MAKE); $(unstage)
27752 @[ -f ./tk/Makefile ] || exit 0; \
27753 r=`${PWD_COMMAND}`; export r; \
27754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27755 $(HOST_EXPORTS) \
27756 for flag in $(EXTRA_HOST_FLAGS) ; do \
27757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27758 done; \
27759 echo "Doing installcheck in tk" ; \
27760 (cd $(HOST_SUBDIR)/tk && \
27761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27763 "RANLIB=$${RANLIB}" \
27764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27765 installcheck) \
27766 || exit 1
27768 @endif tk
27770 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27771 maybe-mostlyclean-tk:
27772 @if tk
27773 maybe-mostlyclean-tk: mostlyclean-tk
27775 mostlyclean-tk:
27776 @: $(MAKE); $(unstage)
27777 @[ -f ./tk/Makefile ] || exit 0; \
27778 r=`${PWD_COMMAND}`; export r; \
27779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27780 $(HOST_EXPORTS) \
27781 for flag in $(EXTRA_HOST_FLAGS) ; do \
27782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27783 done; \
27784 echo "Doing mostlyclean in tk" ; \
27785 (cd $(HOST_SUBDIR)/tk && \
27786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27788 "RANLIB=$${RANLIB}" \
27789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27790 mostlyclean) \
27791 || exit 1
27793 @endif tk
27795 .PHONY: maybe-clean-tk clean-tk
27796 maybe-clean-tk:
27797 @if tk
27798 maybe-clean-tk: clean-tk
27800 clean-tk:
27801 @: $(MAKE); $(unstage)
27802 @[ -f ./tk/Makefile ] || exit 0; \
27803 r=`${PWD_COMMAND}`; export r; \
27804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27805 $(HOST_EXPORTS) \
27806 for flag in $(EXTRA_HOST_FLAGS) ; do \
27807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27808 done; \
27809 echo "Doing clean in tk" ; \
27810 (cd $(HOST_SUBDIR)/tk && \
27811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27813 "RANLIB=$${RANLIB}" \
27814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27815 clean) \
27816 || exit 1
27818 @endif tk
27820 .PHONY: maybe-distclean-tk distclean-tk
27821 maybe-distclean-tk:
27822 @if tk
27823 maybe-distclean-tk: distclean-tk
27825 distclean-tk:
27826 @: $(MAKE); $(unstage)
27827 @[ -f ./tk/Makefile ] || exit 0; \
27828 r=`${PWD_COMMAND}`; export r; \
27829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27830 $(HOST_EXPORTS) \
27831 for flag in $(EXTRA_HOST_FLAGS) ; do \
27832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27833 done; \
27834 echo "Doing distclean in tk" ; \
27835 (cd $(HOST_SUBDIR)/tk && \
27836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27838 "RANLIB=$${RANLIB}" \
27839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27840 distclean) \
27841 || exit 1
27843 @endif tk
27845 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27846 maybe-maintainer-clean-tk:
27847 @if tk
27848 maybe-maintainer-clean-tk: maintainer-clean-tk
27850 maintainer-clean-tk:
27851 @: $(MAKE); $(unstage)
27852 @[ -f ./tk/Makefile ] || exit 0; \
27853 r=`${PWD_COMMAND}`; export r; \
27854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27855 $(HOST_EXPORTS) \
27856 for flag in $(EXTRA_HOST_FLAGS) ; do \
27857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27858 done; \
27859 echo "Doing maintainer-clean in tk" ; \
27860 (cd $(HOST_SUBDIR)/tk && \
27861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27863 "RANLIB=$${RANLIB}" \
27864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27865 maintainer-clean) \
27866 || exit 1
27868 @endif tk
27872 .PHONY: configure-libtermcap maybe-configure-libtermcap
27873 maybe-configure-libtermcap:
27874 @if gcc-bootstrap
27875 configure-libtermcap: stage_current
27876 @endif gcc-bootstrap
27877 @if libtermcap
27878 maybe-configure-libtermcap: configure-libtermcap
27879 configure-libtermcap:
27880 @: $(MAKE); $(unstage)
27881 @r=`${PWD_COMMAND}`; export r; \
27882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27883 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27885 $(HOST_EXPORTS) \
27886 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27887 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27888 case $(srcdir) in \
27889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27890 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27892 esac; \
27893 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27894 libsrcdir="$$s/libtermcap"; \
27895 $(SHELL) $${libsrcdir}/configure \
27896 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27897 --target=${target_alias} $${srcdiroption} \
27898 || exit 1
27899 @endif libtermcap
27905 .PHONY: all-libtermcap maybe-all-libtermcap
27906 maybe-all-libtermcap:
27907 @if gcc-bootstrap
27908 all-libtermcap: stage_current
27909 @endif gcc-bootstrap
27910 @if libtermcap
27911 TARGET-libtermcap=all
27912 maybe-all-libtermcap: all-libtermcap
27913 all-libtermcap: configure-libtermcap
27914 @: $(MAKE); $(unstage)
27915 @r=`${PWD_COMMAND}`; export r; \
27916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27917 $(HOST_EXPORTS) \
27918 (cd $(HOST_SUBDIR)/libtermcap && \
27919 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27920 $(TARGET-libtermcap))
27921 @endif libtermcap
27926 .PHONY: check-libtermcap maybe-check-libtermcap
27927 maybe-check-libtermcap:
27928 @if libtermcap
27929 maybe-check-libtermcap: check-libtermcap
27931 check-libtermcap:
27933 @endif libtermcap
27935 .PHONY: install-libtermcap maybe-install-libtermcap
27936 maybe-install-libtermcap:
27937 @if libtermcap
27938 maybe-install-libtermcap: install-libtermcap
27940 install-libtermcap: installdirs
27941 @: $(MAKE); $(unstage)
27942 @r=`${PWD_COMMAND}`; export r; \
27943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27944 $(HOST_EXPORTS) \
27945 (cd $(HOST_SUBDIR)/libtermcap && \
27946 $(MAKE) $(FLAGS_TO_PASS) install)
27948 @endif libtermcap
27950 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27951 maybe-install-strip-libtermcap:
27952 @if libtermcap
27953 maybe-install-strip-libtermcap: install-strip-libtermcap
27955 install-strip-libtermcap: installdirs
27956 @: $(MAKE); $(unstage)
27957 @r=`${PWD_COMMAND}`; export r; \
27958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27959 $(HOST_EXPORTS) \
27960 (cd $(HOST_SUBDIR)/libtermcap && \
27961 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27963 @endif libtermcap
27965 # Other targets (info, dvi, pdf, etc.)
27967 .PHONY: maybe-info-libtermcap info-libtermcap
27968 maybe-info-libtermcap:
27969 @if libtermcap
27970 maybe-info-libtermcap: info-libtermcap
27972 info-libtermcap: \
27973 configure-libtermcap
27974 @: $(MAKE); $(unstage)
27975 @[ -f ./libtermcap/Makefile ] || exit 0; \
27976 r=`${PWD_COMMAND}`; export r; \
27977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27978 $(HOST_EXPORTS) \
27979 for flag in $(EXTRA_HOST_FLAGS) ; do \
27980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27981 done; \
27982 echo "Doing info in libtermcap" ; \
27983 (cd $(HOST_SUBDIR)/libtermcap && \
27984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27986 "RANLIB=$${RANLIB}" \
27987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27988 info) \
27989 || exit 1
27991 @endif libtermcap
27993 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27994 maybe-dvi-libtermcap:
27995 @if libtermcap
27996 maybe-dvi-libtermcap: dvi-libtermcap
27998 dvi-libtermcap: \
27999 configure-libtermcap
28000 @: $(MAKE); $(unstage)
28001 @[ -f ./libtermcap/Makefile ] || exit 0; \
28002 r=`${PWD_COMMAND}`; export r; \
28003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28004 $(HOST_EXPORTS) \
28005 for flag in $(EXTRA_HOST_FLAGS) ; do \
28006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28007 done; \
28008 echo "Doing dvi in libtermcap" ; \
28009 (cd $(HOST_SUBDIR)/libtermcap && \
28010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28012 "RANLIB=$${RANLIB}" \
28013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28014 dvi) \
28015 || exit 1
28017 @endif libtermcap
28019 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28020 maybe-pdf-libtermcap:
28021 @if libtermcap
28022 maybe-pdf-libtermcap: pdf-libtermcap
28024 pdf-libtermcap: \
28025 configure-libtermcap
28026 @: $(MAKE); $(unstage)
28027 @[ -f ./libtermcap/Makefile ] || exit 0; \
28028 r=`${PWD_COMMAND}`; export r; \
28029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28030 $(HOST_EXPORTS) \
28031 for flag in $(EXTRA_HOST_FLAGS) ; do \
28032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28033 done; \
28034 echo "Doing pdf in libtermcap" ; \
28035 (cd $(HOST_SUBDIR)/libtermcap && \
28036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28038 "RANLIB=$${RANLIB}" \
28039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28040 pdf) \
28041 || exit 1
28043 @endif libtermcap
28045 .PHONY: maybe-html-libtermcap html-libtermcap
28046 maybe-html-libtermcap:
28047 @if libtermcap
28048 maybe-html-libtermcap: html-libtermcap
28050 html-libtermcap: \
28051 configure-libtermcap
28052 @: $(MAKE); $(unstage)
28053 @[ -f ./libtermcap/Makefile ] || exit 0; \
28054 r=`${PWD_COMMAND}`; export r; \
28055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28056 $(HOST_EXPORTS) \
28057 for flag in $(EXTRA_HOST_FLAGS) ; do \
28058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28059 done; \
28060 echo "Doing html in libtermcap" ; \
28061 (cd $(HOST_SUBDIR)/libtermcap && \
28062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28064 "RANLIB=$${RANLIB}" \
28065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28066 html) \
28067 || exit 1
28069 @endif libtermcap
28071 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28072 maybe-TAGS-libtermcap:
28073 @if libtermcap
28074 maybe-TAGS-libtermcap: TAGS-libtermcap
28076 TAGS-libtermcap: \
28077 configure-libtermcap
28078 @: $(MAKE); $(unstage)
28079 @[ -f ./libtermcap/Makefile ] || exit 0; \
28080 r=`${PWD_COMMAND}`; export r; \
28081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28082 $(HOST_EXPORTS) \
28083 for flag in $(EXTRA_HOST_FLAGS) ; do \
28084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28085 done; \
28086 echo "Doing TAGS in libtermcap" ; \
28087 (cd $(HOST_SUBDIR)/libtermcap && \
28088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28090 "RANLIB=$${RANLIB}" \
28091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28092 TAGS) \
28093 || exit 1
28095 @endif libtermcap
28097 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28098 maybe-install-info-libtermcap:
28099 @if libtermcap
28100 maybe-install-info-libtermcap: install-info-libtermcap
28102 install-info-libtermcap: \
28103 configure-libtermcap \
28104 info-libtermcap
28105 @: $(MAKE); $(unstage)
28106 @[ -f ./libtermcap/Makefile ] || exit 0; \
28107 r=`${PWD_COMMAND}`; export r; \
28108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28109 $(HOST_EXPORTS) \
28110 for flag in $(EXTRA_HOST_FLAGS) ; do \
28111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28112 done; \
28113 echo "Doing install-info in libtermcap" ; \
28114 (cd $(HOST_SUBDIR)/libtermcap && \
28115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28117 "RANLIB=$${RANLIB}" \
28118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28119 install-info) \
28120 || exit 1
28122 @endif libtermcap
28124 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28125 maybe-install-pdf-libtermcap:
28126 @if libtermcap
28127 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28129 install-pdf-libtermcap: \
28130 configure-libtermcap \
28131 pdf-libtermcap
28132 @: $(MAKE); $(unstage)
28133 @[ -f ./libtermcap/Makefile ] || exit 0; \
28134 r=`${PWD_COMMAND}`; export r; \
28135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28136 $(HOST_EXPORTS) \
28137 for flag in $(EXTRA_HOST_FLAGS) ; do \
28138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28139 done; \
28140 echo "Doing install-pdf in libtermcap" ; \
28141 (cd $(HOST_SUBDIR)/libtermcap && \
28142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28144 "RANLIB=$${RANLIB}" \
28145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28146 install-pdf) \
28147 || exit 1
28149 @endif libtermcap
28151 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28152 maybe-install-html-libtermcap:
28153 @if libtermcap
28154 maybe-install-html-libtermcap: install-html-libtermcap
28156 install-html-libtermcap: \
28157 configure-libtermcap \
28158 html-libtermcap
28159 @: $(MAKE); $(unstage)
28160 @[ -f ./libtermcap/Makefile ] || exit 0; \
28161 r=`${PWD_COMMAND}`; export r; \
28162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28163 $(HOST_EXPORTS) \
28164 for flag in $(EXTRA_HOST_FLAGS) ; do \
28165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28166 done; \
28167 echo "Doing install-html in libtermcap" ; \
28168 (cd $(HOST_SUBDIR)/libtermcap && \
28169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28171 "RANLIB=$${RANLIB}" \
28172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28173 install-html) \
28174 || exit 1
28176 @endif libtermcap
28178 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28179 maybe-installcheck-libtermcap:
28180 @if libtermcap
28181 maybe-installcheck-libtermcap: installcheck-libtermcap
28183 installcheck-libtermcap: \
28184 configure-libtermcap
28185 @: $(MAKE); $(unstage)
28186 @[ -f ./libtermcap/Makefile ] || exit 0; \
28187 r=`${PWD_COMMAND}`; export r; \
28188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28189 $(HOST_EXPORTS) \
28190 for flag in $(EXTRA_HOST_FLAGS) ; do \
28191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28192 done; \
28193 echo "Doing installcheck in libtermcap" ; \
28194 (cd $(HOST_SUBDIR)/libtermcap && \
28195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28197 "RANLIB=$${RANLIB}" \
28198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28199 installcheck) \
28200 || exit 1
28202 @endif libtermcap
28204 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28205 maybe-mostlyclean-libtermcap:
28206 @if libtermcap
28207 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28209 # libtermcap doesn't support mostlyclean.
28210 mostlyclean-libtermcap:
28212 @endif libtermcap
28214 .PHONY: maybe-clean-libtermcap clean-libtermcap
28215 maybe-clean-libtermcap:
28216 @if libtermcap
28217 maybe-clean-libtermcap: clean-libtermcap
28219 # libtermcap doesn't support clean.
28220 clean-libtermcap:
28222 @endif libtermcap
28224 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28225 maybe-distclean-libtermcap:
28226 @if libtermcap
28227 maybe-distclean-libtermcap: distclean-libtermcap
28229 # libtermcap doesn't support distclean.
28230 distclean-libtermcap:
28232 @endif libtermcap
28234 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28235 maybe-maintainer-clean-libtermcap:
28236 @if libtermcap
28237 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28239 # libtermcap doesn't support maintainer-clean.
28240 maintainer-clean-libtermcap:
28242 @endif libtermcap
28246 .PHONY: configure-utils maybe-configure-utils
28247 maybe-configure-utils:
28248 @if gcc-bootstrap
28249 configure-utils: stage_current
28250 @endif gcc-bootstrap
28251 @if utils
28252 maybe-configure-utils: configure-utils
28253 configure-utils:
28254 @: $(MAKE); $(unstage)
28255 @r=`${PWD_COMMAND}`; export r; \
28256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28257 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28259 $(HOST_EXPORTS) \
28260 echo Configuring in $(HOST_SUBDIR)/utils; \
28261 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28262 case $(srcdir) in \
28263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28264 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28266 esac; \
28267 srcdiroption="--srcdir=$${topdir}/utils"; \
28268 libsrcdir="$$s/utils"; \
28269 $(SHELL) $${libsrcdir}/configure \
28270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28271 --target=${target_alias} $${srcdiroption} \
28272 || exit 1
28273 @endif utils
28279 .PHONY: all-utils maybe-all-utils
28280 maybe-all-utils:
28281 @if gcc-bootstrap
28282 all-utils: stage_current
28283 @endif gcc-bootstrap
28284 @if utils
28285 TARGET-utils=all
28286 maybe-all-utils: all-utils
28287 all-utils: configure-utils
28288 @: $(MAKE); $(unstage)
28289 @r=`${PWD_COMMAND}`; export r; \
28290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28291 $(HOST_EXPORTS) \
28292 (cd $(HOST_SUBDIR)/utils && \
28293 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28294 $(TARGET-utils))
28295 @endif utils
28300 .PHONY: check-utils maybe-check-utils
28301 maybe-check-utils:
28302 @if utils
28303 maybe-check-utils: check-utils
28305 check-utils:
28307 @endif utils
28309 .PHONY: install-utils maybe-install-utils
28310 maybe-install-utils:
28311 @if utils
28312 maybe-install-utils: install-utils
28314 install-utils: installdirs
28315 @: $(MAKE); $(unstage)
28316 @r=`${PWD_COMMAND}`; export r; \
28317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28318 $(HOST_EXPORTS) \
28319 (cd $(HOST_SUBDIR)/utils && \
28320 $(MAKE) $(FLAGS_TO_PASS) install)
28322 @endif utils
28324 .PHONY: install-strip-utils maybe-install-strip-utils
28325 maybe-install-strip-utils:
28326 @if utils
28327 maybe-install-strip-utils: install-strip-utils
28329 install-strip-utils: installdirs
28330 @: $(MAKE); $(unstage)
28331 @r=`${PWD_COMMAND}`; export r; \
28332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28333 $(HOST_EXPORTS) \
28334 (cd $(HOST_SUBDIR)/utils && \
28335 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28337 @endif utils
28339 # Other targets (info, dvi, pdf, etc.)
28341 .PHONY: maybe-info-utils info-utils
28342 maybe-info-utils:
28343 @if utils
28344 maybe-info-utils: info-utils
28346 info-utils: \
28347 configure-utils
28348 @: $(MAKE); $(unstage)
28349 @[ -f ./utils/Makefile ] || exit 0; \
28350 r=`${PWD_COMMAND}`; export r; \
28351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28352 $(HOST_EXPORTS) \
28353 for flag in $(EXTRA_HOST_FLAGS) ; do \
28354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28355 done; \
28356 echo "Doing info in utils" ; \
28357 (cd $(HOST_SUBDIR)/utils && \
28358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28360 "RANLIB=$${RANLIB}" \
28361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28362 info) \
28363 || exit 1
28365 @endif utils
28367 .PHONY: maybe-dvi-utils dvi-utils
28368 maybe-dvi-utils:
28369 @if utils
28370 maybe-dvi-utils: dvi-utils
28372 dvi-utils: \
28373 configure-utils
28374 @: $(MAKE); $(unstage)
28375 @[ -f ./utils/Makefile ] || exit 0; \
28376 r=`${PWD_COMMAND}`; export r; \
28377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28378 $(HOST_EXPORTS) \
28379 for flag in $(EXTRA_HOST_FLAGS) ; do \
28380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28381 done; \
28382 echo "Doing dvi in utils" ; \
28383 (cd $(HOST_SUBDIR)/utils && \
28384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28386 "RANLIB=$${RANLIB}" \
28387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28388 dvi) \
28389 || exit 1
28391 @endif utils
28393 .PHONY: maybe-pdf-utils pdf-utils
28394 maybe-pdf-utils:
28395 @if utils
28396 maybe-pdf-utils: pdf-utils
28398 pdf-utils: \
28399 configure-utils
28400 @: $(MAKE); $(unstage)
28401 @[ -f ./utils/Makefile ] || exit 0; \
28402 r=`${PWD_COMMAND}`; export r; \
28403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28404 $(HOST_EXPORTS) \
28405 for flag in $(EXTRA_HOST_FLAGS) ; do \
28406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28407 done; \
28408 echo "Doing pdf in utils" ; \
28409 (cd $(HOST_SUBDIR)/utils && \
28410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28412 "RANLIB=$${RANLIB}" \
28413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28414 pdf) \
28415 || exit 1
28417 @endif utils
28419 .PHONY: maybe-html-utils html-utils
28420 maybe-html-utils:
28421 @if utils
28422 maybe-html-utils: html-utils
28424 html-utils: \
28425 configure-utils
28426 @: $(MAKE); $(unstage)
28427 @[ -f ./utils/Makefile ] || exit 0; \
28428 r=`${PWD_COMMAND}`; export r; \
28429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28430 $(HOST_EXPORTS) \
28431 for flag in $(EXTRA_HOST_FLAGS) ; do \
28432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28433 done; \
28434 echo "Doing html in utils" ; \
28435 (cd $(HOST_SUBDIR)/utils && \
28436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28438 "RANLIB=$${RANLIB}" \
28439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28440 html) \
28441 || exit 1
28443 @endif utils
28445 .PHONY: maybe-TAGS-utils TAGS-utils
28446 maybe-TAGS-utils:
28447 @if utils
28448 maybe-TAGS-utils: TAGS-utils
28450 TAGS-utils: \
28451 configure-utils
28452 @: $(MAKE); $(unstage)
28453 @[ -f ./utils/Makefile ] || exit 0; \
28454 r=`${PWD_COMMAND}`; export r; \
28455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28456 $(HOST_EXPORTS) \
28457 for flag in $(EXTRA_HOST_FLAGS) ; do \
28458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28459 done; \
28460 echo "Doing TAGS in utils" ; \
28461 (cd $(HOST_SUBDIR)/utils && \
28462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28464 "RANLIB=$${RANLIB}" \
28465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28466 TAGS) \
28467 || exit 1
28469 @endif utils
28471 .PHONY: maybe-install-info-utils install-info-utils
28472 maybe-install-info-utils:
28473 @if utils
28474 maybe-install-info-utils: install-info-utils
28476 install-info-utils: \
28477 configure-utils \
28478 info-utils
28479 @: $(MAKE); $(unstage)
28480 @[ -f ./utils/Makefile ] || exit 0; \
28481 r=`${PWD_COMMAND}`; export r; \
28482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28483 $(HOST_EXPORTS) \
28484 for flag in $(EXTRA_HOST_FLAGS) ; do \
28485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28486 done; \
28487 echo "Doing install-info in utils" ; \
28488 (cd $(HOST_SUBDIR)/utils && \
28489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28491 "RANLIB=$${RANLIB}" \
28492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28493 install-info) \
28494 || exit 1
28496 @endif utils
28498 .PHONY: maybe-install-pdf-utils install-pdf-utils
28499 maybe-install-pdf-utils:
28500 @if utils
28501 maybe-install-pdf-utils: install-pdf-utils
28503 install-pdf-utils: \
28504 configure-utils \
28505 pdf-utils
28506 @: $(MAKE); $(unstage)
28507 @[ -f ./utils/Makefile ] || exit 0; \
28508 r=`${PWD_COMMAND}`; export r; \
28509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28510 $(HOST_EXPORTS) \
28511 for flag in $(EXTRA_HOST_FLAGS) ; do \
28512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28513 done; \
28514 echo "Doing install-pdf in utils" ; \
28515 (cd $(HOST_SUBDIR)/utils && \
28516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28518 "RANLIB=$${RANLIB}" \
28519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28520 install-pdf) \
28521 || exit 1
28523 @endif utils
28525 .PHONY: maybe-install-html-utils install-html-utils
28526 maybe-install-html-utils:
28527 @if utils
28528 maybe-install-html-utils: install-html-utils
28530 install-html-utils: \
28531 configure-utils \
28532 html-utils
28533 @: $(MAKE); $(unstage)
28534 @[ -f ./utils/Makefile ] || exit 0; \
28535 r=`${PWD_COMMAND}`; export r; \
28536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28537 $(HOST_EXPORTS) \
28538 for flag in $(EXTRA_HOST_FLAGS) ; do \
28539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28540 done; \
28541 echo "Doing install-html in utils" ; \
28542 (cd $(HOST_SUBDIR)/utils && \
28543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28545 "RANLIB=$${RANLIB}" \
28546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28547 install-html) \
28548 || exit 1
28550 @endif utils
28552 .PHONY: maybe-installcheck-utils installcheck-utils
28553 maybe-installcheck-utils:
28554 @if utils
28555 maybe-installcheck-utils: installcheck-utils
28557 installcheck-utils: \
28558 configure-utils
28559 @: $(MAKE); $(unstage)
28560 @[ -f ./utils/Makefile ] || exit 0; \
28561 r=`${PWD_COMMAND}`; export r; \
28562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28563 $(HOST_EXPORTS) \
28564 for flag in $(EXTRA_HOST_FLAGS) ; do \
28565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28566 done; \
28567 echo "Doing installcheck in utils" ; \
28568 (cd $(HOST_SUBDIR)/utils && \
28569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28571 "RANLIB=$${RANLIB}" \
28572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28573 installcheck) \
28574 || exit 1
28576 @endif utils
28578 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28579 maybe-mostlyclean-utils:
28580 @if utils
28581 maybe-mostlyclean-utils: mostlyclean-utils
28583 mostlyclean-utils:
28584 @: $(MAKE); $(unstage)
28585 @[ -f ./utils/Makefile ] || exit 0; \
28586 r=`${PWD_COMMAND}`; export r; \
28587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28588 $(HOST_EXPORTS) \
28589 for flag in $(EXTRA_HOST_FLAGS) ; do \
28590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28591 done; \
28592 echo "Doing mostlyclean in utils" ; \
28593 (cd $(HOST_SUBDIR)/utils && \
28594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28596 "RANLIB=$${RANLIB}" \
28597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28598 mostlyclean) \
28599 || exit 1
28601 @endif utils
28603 .PHONY: maybe-clean-utils clean-utils
28604 maybe-clean-utils:
28605 @if utils
28606 maybe-clean-utils: clean-utils
28608 clean-utils:
28609 @: $(MAKE); $(unstage)
28610 @[ -f ./utils/Makefile ] || exit 0; \
28611 r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(HOST_EXPORTS) \
28614 for flag in $(EXTRA_HOST_FLAGS) ; do \
28615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28616 done; \
28617 echo "Doing clean in utils" ; \
28618 (cd $(HOST_SUBDIR)/utils && \
28619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28621 "RANLIB=$${RANLIB}" \
28622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28623 clean) \
28624 || exit 1
28626 @endif utils
28628 .PHONY: maybe-distclean-utils distclean-utils
28629 maybe-distclean-utils:
28630 @if utils
28631 maybe-distclean-utils: distclean-utils
28633 distclean-utils:
28634 @: $(MAKE); $(unstage)
28635 @[ -f ./utils/Makefile ] || exit 0; \
28636 r=`${PWD_COMMAND}`; export r; \
28637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28638 $(HOST_EXPORTS) \
28639 for flag in $(EXTRA_HOST_FLAGS) ; do \
28640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28641 done; \
28642 echo "Doing distclean in utils" ; \
28643 (cd $(HOST_SUBDIR)/utils && \
28644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28646 "RANLIB=$${RANLIB}" \
28647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28648 distclean) \
28649 || exit 1
28651 @endif utils
28653 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28654 maybe-maintainer-clean-utils:
28655 @if utils
28656 maybe-maintainer-clean-utils: maintainer-clean-utils
28658 maintainer-clean-utils:
28659 @: $(MAKE); $(unstage)
28660 @[ -f ./utils/Makefile ] || exit 0; \
28661 r=`${PWD_COMMAND}`; export r; \
28662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28663 $(HOST_EXPORTS) \
28664 for flag in $(EXTRA_HOST_FLAGS) ; do \
28665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28666 done; \
28667 echo "Doing maintainer-clean in utils" ; \
28668 (cd $(HOST_SUBDIR)/utils && \
28669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28671 "RANLIB=$${RANLIB}" \
28672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28673 maintainer-clean) \
28674 || exit 1
28676 @endif utils
28680 .PHONY: configure-gnattools maybe-configure-gnattools
28681 maybe-configure-gnattools:
28682 @if gcc-bootstrap
28683 configure-gnattools: stage_current
28684 @endif gcc-bootstrap
28685 @if gnattools
28686 maybe-configure-gnattools: configure-gnattools
28687 configure-gnattools:
28688 @: $(MAKE); $(unstage)
28689 @r=`${PWD_COMMAND}`; export r; \
28690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28691 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28693 $(HOST_EXPORTS) \
28694 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28695 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28696 case $(srcdir) in \
28697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28698 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28700 esac; \
28701 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28702 libsrcdir="$$s/gnattools"; \
28703 $(SHELL) $${libsrcdir}/configure \
28704 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28705 --target=${target_alias} $${srcdiroption} \
28706 || exit 1
28707 @endif gnattools
28713 .PHONY: all-gnattools maybe-all-gnattools
28714 maybe-all-gnattools:
28715 @if gcc-bootstrap
28716 all-gnattools: stage_current
28717 @endif gcc-bootstrap
28718 @if gnattools
28719 TARGET-gnattools=all
28720 maybe-all-gnattools: all-gnattools
28721 all-gnattools: configure-gnattools
28722 @: $(MAKE); $(unstage)
28723 @r=`${PWD_COMMAND}`; export r; \
28724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28725 $(HOST_EXPORTS) \
28726 (cd $(HOST_SUBDIR)/gnattools && \
28727 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28728 $(TARGET-gnattools))
28729 @endif gnattools
28734 .PHONY: check-gnattools maybe-check-gnattools
28735 maybe-check-gnattools:
28736 @if gnattools
28737 maybe-check-gnattools: check-gnattools
28739 check-gnattools:
28740 @: $(MAKE); $(unstage)
28741 @r=`${PWD_COMMAND}`; export r; \
28742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28743 $(HOST_EXPORTS) \
28744 (cd $(HOST_SUBDIR)/gnattools && \
28745 $(MAKE) $(FLAGS_TO_PASS) check)
28747 @endif gnattools
28749 .PHONY: install-gnattools maybe-install-gnattools
28750 maybe-install-gnattools:
28751 @if gnattools
28752 maybe-install-gnattools: install-gnattools
28754 install-gnattools: installdirs
28755 @: $(MAKE); $(unstage)
28756 @r=`${PWD_COMMAND}`; export r; \
28757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28758 $(HOST_EXPORTS) \
28759 (cd $(HOST_SUBDIR)/gnattools && \
28760 $(MAKE) $(FLAGS_TO_PASS) install)
28762 @endif gnattools
28764 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28765 maybe-install-strip-gnattools:
28766 @if gnattools
28767 maybe-install-strip-gnattools: install-strip-gnattools
28769 install-strip-gnattools: installdirs
28770 @: $(MAKE); $(unstage)
28771 @r=`${PWD_COMMAND}`; export r; \
28772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28773 $(HOST_EXPORTS) \
28774 (cd $(HOST_SUBDIR)/gnattools && \
28775 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28777 @endif gnattools
28779 # Other targets (info, dvi, pdf, etc.)
28781 .PHONY: maybe-info-gnattools info-gnattools
28782 maybe-info-gnattools:
28783 @if gnattools
28784 maybe-info-gnattools: info-gnattools
28786 info-gnattools: \
28787 configure-gnattools
28788 @: $(MAKE); $(unstage)
28789 @[ -f ./gnattools/Makefile ] || exit 0; \
28790 r=`${PWD_COMMAND}`; export r; \
28791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28792 $(HOST_EXPORTS) \
28793 for flag in $(EXTRA_HOST_FLAGS) ; do \
28794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28795 done; \
28796 echo "Doing info in gnattools" ; \
28797 (cd $(HOST_SUBDIR)/gnattools && \
28798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28800 "RANLIB=$${RANLIB}" \
28801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28802 info) \
28803 || exit 1
28805 @endif gnattools
28807 .PHONY: maybe-dvi-gnattools dvi-gnattools
28808 maybe-dvi-gnattools:
28809 @if gnattools
28810 maybe-dvi-gnattools: dvi-gnattools
28812 dvi-gnattools: \
28813 configure-gnattools
28814 @: $(MAKE); $(unstage)
28815 @[ -f ./gnattools/Makefile ] || exit 0; \
28816 r=`${PWD_COMMAND}`; export r; \
28817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28818 $(HOST_EXPORTS) \
28819 for flag in $(EXTRA_HOST_FLAGS) ; do \
28820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28821 done; \
28822 echo "Doing dvi in gnattools" ; \
28823 (cd $(HOST_SUBDIR)/gnattools && \
28824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28826 "RANLIB=$${RANLIB}" \
28827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28828 dvi) \
28829 || exit 1
28831 @endif gnattools
28833 .PHONY: maybe-pdf-gnattools pdf-gnattools
28834 maybe-pdf-gnattools:
28835 @if gnattools
28836 maybe-pdf-gnattools: pdf-gnattools
28838 pdf-gnattools: \
28839 configure-gnattools
28840 @: $(MAKE); $(unstage)
28841 @[ -f ./gnattools/Makefile ] || exit 0; \
28842 r=`${PWD_COMMAND}`; export r; \
28843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28844 $(HOST_EXPORTS) \
28845 for flag in $(EXTRA_HOST_FLAGS) ; do \
28846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28847 done; \
28848 echo "Doing pdf in gnattools" ; \
28849 (cd $(HOST_SUBDIR)/gnattools && \
28850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28852 "RANLIB=$${RANLIB}" \
28853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28854 pdf) \
28855 || exit 1
28857 @endif gnattools
28859 .PHONY: maybe-html-gnattools html-gnattools
28860 maybe-html-gnattools:
28861 @if gnattools
28862 maybe-html-gnattools: html-gnattools
28864 html-gnattools: \
28865 configure-gnattools
28866 @: $(MAKE); $(unstage)
28867 @[ -f ./gnattools/Makefile ] || exit 0; \
28868 r=`${PWD_COMMAND}`; export r; \
28869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28870 $(HOST_EXPORTS) \
28871 for flag in $(EXTRA_HOST_FLAGS) ; do \
28872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28873 done; \
28874 echo "Doing html in gnattools" ; \
28875 (cd $(HOST_SUBDIR)/gnattools && \
28876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28878 "RANLIB=$${RANLIB}" \
28879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28880 html) \
28881 || exit 1
28883 @endif gnattools
28885 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28886 maybe-TAGS-gnattools:
28887 @if gnattools
28888 maybe-TAGS-gnattools: TAGS-gnattools
28890 TAGS-gnattools: \
28891 configure-gnattools
28892 @: $(MAKE); $(unstage)
28893 @[ -f ./gnattools/Makefile ] || exit 0; \
28894 r=`${PWD_COMMAND}`; export r; \
28895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28896 $(HOST_EXPORTS) \
28897 for flag in $(EXTRA_HOST_FLAGS) ; do \
28898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28899 done; \
28900 echo "Doing TAGS in gnattools" ; \
28901 (cd $(HOST_SUBDIR)/gnattools && \
28902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28904 "RANLIB=$${RANLIB}" \
28905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28906 TAGS) \
28907 || exit 1
28909 @endif gnattools
28911 .PHONY: maybe-install-info-gnattools install-info-gnattools
28912 maybe-install-info-gnattools:
28913 @if gnattools
28914 maybe-install-info-gnattools: install-info-gnattools
28916 install-info-gnattools: \
28917 configure-gnattools \
28918 info-gnattools
28919 @: $(MAKE); $(unstage)
28920 @[ -f ./gnattools/Makefile ] || exit 0; \
28921 r=`${PWD_COMMAND}`; export r; \
28922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28923 $(HOST_EXPORTS) \
28924 for flag in $(EXTRA_HOST_FLAGS) ; do \
28925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28926 done; \
28927 echo "Doing install-info in gnattools" ; \
28928 (cd $(HOST_SUBDIR)/gnattools && \
28929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28931 "RANLIB=$${RANLIB}" \
28932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28933 install-info) \
28934 || exit 1
28936 @endif gnattools
28938 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28939 maybe-install-pdf-gnattools:
28940 @if gnattools
28941 maybe-install-pdf-gnattools: install-pdf-gnattools
28943 install-pdf-gnattools: \
28944 configure-gnattools \
28945 pdf-gnattools
28946 @: $(MAKE); $(unstage)
28947 @[ -f ./gnattools/Makefile ] || exit 0; \
28948 r=`${PWD_COMMAND}`; export r; \
28949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28950 $(HOST_EXPORTS) \
28951 for flag in $(EXTRA_HOST_FLAGS) ; do \
28952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28953 done; \
28954 echo "Doing install-pdf in gnattools" ; \
28955 (cd $(HOST_SUBDIR)/gnattools && \
28956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28958 "RANLIB=$${RANLIB}" \
28959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28960 install-pdf) \
28961 || exit 1
28963 @endif gnattools
28965 .PHONY: maybe-install-html-gnattools install-html-gnattools
28966 maybe-install-html-gnattools:
28967 @if gnattools
28968 maybe-install-html-gnattools: install-html-gnattools
28970 install-html-gnattools: \
28971 configure-gnattools \
28972 html-gnattools
28973 @: $(MAKE); $(unstage)
28974 @[ -f ./gnattools/Makefile ] || exit 0; \
28975 r=`${PWD_COMMAND}`; export r; \
28976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28977 $(HOST_EXPORTS) \
28978 for flag in $(EXTRA_HOST_FLAGS) ; do \
28979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28980 done; \
28981 echo "Doing install-html in gnattools" ; \
28982 (cd $(HOST_SUBDIR)/gnattools && \
28983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28985 "RANLIB=$${RANLIB}" \
28986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28987 install-html) \
28988 || exit 1
28990 @endif gnattools
28992 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28993 maybe-installcheck-gnattools:
28994 @if gnattools
28995 maybe-installcheck-gnattools: installcheck-gnattools
28997 installcheck-gnattools: \
28998 configure-gnattools
28999 @: $(MAKE); $(unstage)
29000 @[ -f ./gnattools/Makefile ] || exit 0; \
29001 r=`${PWD_COMMAND}`; export r; \
29002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29003 $(HOST_EXPORTS) \
29004 for flag in $(EXTRA_HOST_FLAGS) ; do \
29005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29006 done; \
29007 echo "Doing installcheck in gnattools" ; \
29008 (cd $(HOST_SUBDIR)/gnattools && \
29009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29011 "RANLIB=$${RANLIB}" \
29012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29013 installcheck) \
29014 || exit 1
29016 @endif gnattools
29018 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29019 maybe-mostlyclean-gnattools:
29020 @if gnattools
29021 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29023 mostlyclean-gnattools:
29024 @: $(MAKE); $(unstage)
29025 @[ -f ./gnattools/Makefile ] || exit 0; \
29026 r=`${PWD_COMMAND}`; export r; \
29027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29028 $(HOST_EXPORTS) \
29029 for flag in $(EXTRA_HOST_FLAGS) ; do \
29030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29031 done; \
29032 echo "Doing mostlyclean in gnattools" ; \
29033 (cd $(HOST_SUBDIR)/gnattools && \
29034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29036 "RANLIB=$${RANLIB}" \
29037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29038 mostlyclean) \
29039 || exit 1
29041 @endif gnattools
29043 .PHONY: maybe-clean-gnattools clean-gnattools
29044 maybe-clean-gnattools:
29045 @if gnattools
29046 maybe-clean-gnattools: clean-gnattools
29048 clean-gnattools:
29049 @: $(MAKE); $(unstage)
29050 @[ -f ./gnattools/Makefile ] || exit 0; \
29051 r=`${PWD_COMMAND}`; export r; \
29052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29053 $(HOST_EXPORTS) \
29054 for flag in $(EXTRA_HOST_FLAGS) ; do \
29055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29056 done; \
29057 echo "Doing clean in gnattools" ; \
29058 (cd $(HOST_SUBDIR)/gnattools && \
29059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29061 "RANLIB=$${RANLIB}" \
29062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29063 clean) \
29064 || exit 1
29066 @endif gnattools
29068 .PHONY: maybe-distclean-gnattools distclean-gnattools
29069 maybe-distclean-gnattools:
29070 @if gnattools
29071 maybe-distclean-gnattools: distclean-gnattools
29073 distclean-gnattools:
29074 @: $(MAKE); $(unstage)
29075 @[ -f ./gnattools/Makefile ] || exit 0; \
29076 r=`${PWD_COMMAND}`; export r; \
29077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29078 $(HOST_EXPORTS) \
29079 for flag in $(EXTRA_HOST_FLAGS) ; do \
29080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29081 done; \
29082 echo "Doing distclean in gnattools" ; \
29083 (cd $(HOST_SUBDIR)/gnattools && \
29084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29086 "RANLIB=$${RANLIB}" \
29087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29088 distclean) \
29089 || exit 1
29091 @endif gnattools
29093 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29094 maybe-maintainer-clean-gnattools:
29095 @if gnattools
29096 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29098 maintainer-clean-gnattools:
29099 @: $(MAKE); $(unstage)
29100 @[ -f ./gnattools/Makefile ] || exit 0; \
29101 r=`${PWD_COMMAND}`; export r; \
29102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29103 $(HOST_EXPORTS) \
29104 for flag in $(EXTRA_HOST_FLAGS) ; do \
29105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29106 done; \
29107 echo "Doing maintainer-clean in gnattools" ; \
29108 (cd $(HOST_SUBDIR)/gnattools && \
29109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29111 "RANLIB=$${RANLIB}" \
29112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29113 maintainer-clean) \
29114 || exit 1
29116 @endif gnattools
29120 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29121 maybe-configure-lto-plugin:
29122 @if gcc-bootstrap
29123 configure-lto-plugin: stage_current
29124 @endif gcc-bootstrap
29125 @if lto-plugin
29126 maybe-configure-lto-plugin: configure-lto-plugin
29127 configure-lto-plugin:
29128 @r=`${PWD_COMMAND}`; export r; \
29129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29130 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29132 $(HOST_EXPORTS) \
29133 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29134 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29135 case $(srcdir) in \
29136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29137 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29139 esac; \
29140 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29141 libsrcdir="$$s/lto-plugin"; \
29142 $(SHELL) $${libsrcdir}/configure \
29143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29144 --target=${target_alias} $${srcdiroption} --enable-shared \
29145 || exit 1
29146 @endif lto-plugin
29150 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29151 maybe-configure-stage1-lto-plugin:
29152 @if lto-plugin-bootstrap
29153 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29154 configure-stage1-lto-plugin:
29155 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29156 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29157 @r=`${PWD_COMMAND}`; export r; \
29158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29159 TFLAGS="$(STAGE1_TFLAGS)"; \
29160 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29161 $(HOST_EXPORTS) \
29162 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29163 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29164 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29165 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29167 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29168 case $(srcdir) in \
29169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29170 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29172 esac; \
29173 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29174 libsrcdir="$$s/lto-plugin"; \
29175 $(SHELL) $${libsrcdir}/configure \
29176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29177 --target=${target_alias} $${srcdiroption} \
29178 $(STAGE1_CONFIGURE_FLAGS) \
29179 --enable-shared
29180 @endif lto-plugin-bootstrap
29182 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29183 maybe-configure-stage2-lto-plugin:
29184 @if lto-plugin-bootstrap
29185 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29186 configure-stage2-lto-plugin:
29187 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29188 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29189 @r=`${PWD_COMMAND}`; export r; \
29190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29191 TFLAGS="$(STAGE2_TFLAGS)"; \
29192 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29193 $(HOST_EXPORTS) \
29194 $(POSTSTAGE1_HOST_EXPORTS) \
29195 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29196 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29197 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29198 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29200 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29201 case $(srcdir) in \
29202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29203 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29205 esac; \
29206 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29207 libsrcdir="$$s/lto-plugin"; \
29208 $(SHELL) $${libsrcdir}/configure \
29209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29210 --target=${target_alias} $${srcdiroption} \
29211 --with-build-libsubdir=$(HOST_SUBDIR) \
29212 $(STAGE2_CONFIGURE_FLAGS) \
29213 --enable-shared
29214 @endif lto-plugin-bootstrap
29216 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29217 maybe-configure-stage3-lto-plugin:
29218 @if lto-plugin-bootstrap
29219 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29220 configure-stage3-lto-plugin:
29221 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29223 @r=`${PWD_COMMAND}`; export r; \
29224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29225 TFLAGS="$(STAGE3_TFLAGS)"; \
29226 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29227 $(HOST_EXPORTS) \
29228 $(POSTSTAGE1_HOST_EXPORTS) \
29229 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29230 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29231 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29232 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29234 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29235 case $(srcdir) in \
29236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29237 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29239 esac; \
29240 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29241 libsrcdir="$$s/lto-plugin"; \
29242 $(SHELL) $${libsrcdir}/configure \
29243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29244 --target=${target_alias} $${srcdiroption} \
29245 --with-build-libsubdir=$(HOST_SUBDIR) \
29246 $(STAGE3_CONFIGURE_FLAGS) \
29247 --enable-shared
29248 @endif lto-plugin-bootstrap
29250 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29251 maybe-configure-stage4-lto-plugin:
29252 @if lto-plugin-bootstrap
29253 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29254 configure-stage4-lto-plugin:
29255 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29256 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29257 @r=`${PWD_COMMAND}`; export r; \
29258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29259 TFLAGS="$(STAGE4_TFLAGS)"; \
29260 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29261 $(HOST_EXPORTS) \
29262 $(POSTSTAGE1_HOST_EXPORTS) \
29263 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29264 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29265 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29266 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29268 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29269 case $(srcdir) in \
29270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29271 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29273 esac; \
29274 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29275 libsrcdir="$$s/lto-plugin"; \
29276 $(SHELL) $${libsrcdir}/configure \
29277 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29278 --target=${target_alias} $${srcdiroption} \
29279 --with-build-libsubdir=$(HOST_SUBDIR) \
29280 $(STAGE4_CONFIGURE_FLAGS) \
29281 --enable-shared
29282 @endif lto-plugin-bootstrap
29284 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29285 maybe-configure-stageprofile-lto-plugin:
29286 @if lto-plugin-bootstrap
29287 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29288 configure-stageprofile-lto-plugin:
29289 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29291 @r=`${PWD_COMMAND}`; export r; \
29292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29293 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29294 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29295 $(HOST_EXPORTS) \
29296 $(POSTSTAGE1_HOST_EXPORTS) \
29297 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29298 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29299 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29300 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29302 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29303 case $(srcdir) in \
29304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29305 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29307 esac; \
29308 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29309 libsrcdir="$$s/lto-plugin"; \
29310 $(SHELL) $${libsrcdir}/configure \
29311 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29312 --target=${target_alias} $${srcdiroption} \
29313 --with-build-libsubdir=$(HOST_SUBDIR) \
29314 $(STAGEprofile_CONFIGURE_FLAGS) \
29315 --enable-shared
29316 @endif lto-plugin-bootstrap
29318 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29319 maybe-configure-stagefeedback-lto-plugin:
29320 @if lto-plugin-bootstrap
29321 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29322 configure-stagefeedback-lto-plugin:
29323 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29324 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29325 @r=`${PWD_COMMAND}`; export r; \
29326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29327 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29328 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29329 $(HOST_EXPORTS) \
29330 $(POSTSTAGE1_HOST_EXPORTS) \
29331 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29332 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29333 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29334 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29336 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29337 case $(srcdir) in \
29338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29339 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29341 esac; \
29342 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29343 libsrcdir="$$s/lto-plugin"; \
29344 $(SHELL) $${libsrcdir}/configure \
29345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29346 --target=${target_alias} $${srcdiroption} \
29347 --with-build-libsubdir=$(HOST_SUBDIR) \
29348 $(STAGEfeedback_CONFIGURE_FLAGS) \
29349 --enable-shared
29350 @endif lto-plugin-bootstrap
29356 .PHONY: all-lto-plugin maybe-all-lto-plugin
29357 maybe-all-lto-plugin:
29358 @if gcc-bootstrap
29359 all-lto-plugin: stage_current
29360 @endif gcc-bootstrap
29361 @if lto-plugin
29362 TARGET-lto-plugin=all
29363 maybe-all-lto-plugin: all-lto-plugin
29364 all-lto-plugin: configure-lto-plugin
29365 @r=`${PWD_COMMAND}`; export r; \
29366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29367 $(HOST_EXPORTS) \
29368 (cd $(HOST_SUBDIR)/lto-plugin && \
29369 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29370 $(TARGET-lto-plugin))
29371 @endif lto-plugin
29375 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29376 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29377 maybe-all-stage1-lto-plugin:
29378 maybe-clean-stage1-lto-plugin:
29379 @if lto-plugin-bootstrap
29380 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29381 all-stage1: all-stage1-lto-plugin
29382 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29383 all-stage1-lto-plugin: configure-stage1-lto-plugin
29384 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29385 @r=`${PWD_COMMAND}`; export r; \
29386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29387 TFLAGS="$(STAGE1_TFLAGS)"; \
29388 $(HOST_EXPORTS) \
29389 cd $(HOST_SUBDIR)/lto-plugin && \
29390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29391 CFLAGS="$(STAGE1_CFLAGS)" \
29392 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29393 LIBCFLAGS="$(LIBCFLAGS)" \
29394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29397 $(EXTRA_HOST_FLAGS) \
29398 TFLAGS="$(STAGE1_TFLAGS)" \
29399 $(TARGET-stage1-lto-plugin)
29401 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29402 clean-stage1: clean-stage1-lto-plugin
29403 clean-stage1-lto-plugin:
29404 @if [ $(current_stage) = stage1 ]; then \
29405 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29406 else \
29407 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29408 $(MAKE) stage1-start; \
29409 fi; \
29410 cd $(HOST_SUBDIR)/lto-plugin && \
29411 $(MAKE) $(EXTRA_HOST_FLAGS) \
29412 clean
29413 @endif lto-plugin-bootstrap
29416 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29417 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29418 maybe-all-stage2-lto-plugin:
29419 maybe-clean-stage2-lto-plugin:
29420 @if lto-plugin-bootstrap
29421 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29422 all-stage2: all-stage2-lto-plugin
29423 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29424 all-stage2-lto-plugin: configure-stage2-lto-plugin
29425 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29426 @r=`${PWD_COMMAND}`; export r; \
29427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29428 TFLAGS="$(STAGE2_TFLAGS)"; \
29429 $(HOST_EXPORTS) \
29430 $(POSTSTAGE1_HOST_EXPORTS) \
29431 cd $(HOST_SUBDIR)/lto-plugin && \
29432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29433 CFLAGS="$(STAGE2_CFLAGS)" \
29434 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29435 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29439 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29440 TFLAGS="$(STAGE2_TFLAGS)" \
29441 $(TARGET-stage2-lto-plugin)
29443 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29444 clean-stage2: clean-stage2-lto-plugin
29445 clean-stage2-lto-plugin:
29446 @if [ $(current_stage) = stage2 ]; then \
29447 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29448 else \
29449 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29450 $(MAKE) stage2-start; \
29451 fi; \
29452 cd $(HOST_SUBDIR)/lto-plugin && \
29453 $(MAKE) $(EXTRA_HOST_FLAGS) \
29454 $(POSTSTAGE1_FLAGS_TO_PASS) \
29455 clean
29456 @endif lto-plugin-bootstrap
29459 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29460 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29461 maybe-all-stage3-lto-plugin:
29462 maybe-clean-stage3-lto-plugin:
29463 @if lto-plugin-bootstrap
29464 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29465 all-stage3: all-stage3-lto-plugin
29466 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29467 all-stage3-lto-plugin: configure-stage3-lto-plugin
29468 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29469 @r=`${PWD_COMMAND}`; export r; \
29470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29471 TFLAGS="$(STAGE3_TFLAGS)"; \
29472 $(HOST_EXPORTS) \
29473 $(POSTSTAGE1_HOST_EXPORTS) \
29474 cd $(HOST_SUBDIR)/lto-plugin && \
29475 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29476 CFLAGS="$(STAGE3_CFLAGS)" \
29477 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29478 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29479 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29480 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29481 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29482 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29483 TFLAGS="$(STAGE3_TFLAGS)" \
29484 $(TARGET-stage3-lto-plugin)
29486 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29487 clean-stage3: clean-stage3-lto-plugin
29488 clean-stage3-lto-plugin:
29489 @if [ $(current_stage) = stage3 ]; then \
29490 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29491 else \
29492 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29493 $(MAKE) stage3-start; \
29494 fi; \
29495 cd $(HOST_SUBDIR)/lto-plugin && \
29496 $(MAKE) $(EXTRA_HOST_FLAGS) \
29497 $(POSTSTAGE1_FLAGS_TO_PASS) \
29498 clean
29499 @endif lto-plugin-bootstrap
29502 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29503 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29504 maybe-all-stage4-lto-plugin:
29505 maybe-clean-stage4-lto-plugin:
29506 @if lto-plugin-bootstrap
29507 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29508 all-stage4: all-stage4-lto-plugin
29509 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29510 all-stage4-lto-plugin: configure-stage4-lto-plugin
29511 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29512 @r=`${PWD_COMMAND}`; export r; \
29513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29514 TFLAGS="$(STAGE4_TFLAGS)"; \
29515 $(HOST_EXPORTS) \
29516 $(POSTSTAGE1_HOST_EXPORTS) \
29517 cd $(HOST_SUBDIR)/lto-plugin && \
29518 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29519 CFLAGS="$(STAGE4_CFLAGS)" \
29520 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29521 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29522 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29523 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29524 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29525 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29526 TFLAGS="$(STAGE4_TFLAGS)" \
29527 $(TARGET-stage4-lto-plugin)
29529 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29530 clean-stage4: clean-stage4-lto-plugin
29531 clean-stage4-lto-plugin:
29532 @if [ $(current_stage) = stage4 ]; then \
29533 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29534 else \
29535 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29536 $(MAKE) stage4-start; \
29537 fi; \
29538 cd $(HOST_SUBDIR)/lto-plugin && \
29539 $(MAKE) $(EXTRA_HOST_FLAGS) \
29540 $(POSTSTAGE1_FLAGS_TO_PASS) \
29541 clean
29542 @endif lto-plugin-bootstrap
29545 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29546 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29547 maybe-all-stageprofile-lto-plugin:
29548 maybe-clean-stageprofile-lto-plugin:
29549 @if lto-plugin-bootstrap
29550 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29551 all-stageprofile: all-stageprofile-lto-plugin
29552 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29553 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29554 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29555 @r=`${PWD_COMMAND}`; export r; \
29556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29557 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29558 $(HOST_EXPORTS) \
29559 $(POSTSTAGE1_HOST_EXPORTS) \
29560 cd $(HOST_SUBDIR)/lto-plugin && \
29561 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29562 CFLAGS="$(STAGEprofile_CFLAGS)" \
29563 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29564 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29565 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29566 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29567 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29568 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29569 TFLAGS="$(STAGEprofile_TFLAGS)" \
29570 $(TARGET-stageprofile-lto-plugin)
29572 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29573 clean-stageprofile: clean-stageprofile-lto-plugin
29574 clean-stageprofile-lto-plugin:
29575 @if [ $(current_stage) = stageprofile ]; then \
29576 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29577 else \
29578 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29579 $(MAKE) stageprofile-start; \
29580 fi; \
29581 cd $(HOST_SUBDIR)/lto-plugin && \
29582 $(MAKE) $(EXTRA_HOST_FLAGS) \
29583 $(POSTSTAGE1_FLAGS_TO_PASS) \
29584 clean
29585 @endif lto-plugin-bootstrap
29588 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29589 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29590 maybe-all-stagefeedback-lto-plugin:
29591 maybe-clean-stagefeedback-lto-plugin:
29592 @if lto-plugin-bootstrap
29593 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29594 all-stagefeedback: all-stagefeedback-lto-plugin
29595 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29596 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29597 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29598 @r=`${PWD_COMMAND}`; export r; \
29599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29600 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29601 $(HOST_EXPORTS) \
29602 $(POSTSTAGE1_HOST_EXPORTS) \
29603 cd $(HOST_SUBDIR)/lto-plugin && \
29604 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29605 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29606 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29607 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29608 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29609 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29610 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29611 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29612 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29613 $(TARGET-stagefeedback-lto-plugin)
29615 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29616 clean-stagefeedback: clean-stagefeedback-lto-plugin
29617 clean-stagefeedback-lto-plugin:
29618 @if [ $(current_stage) = stagefeedback ]; then \
29619 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29620 else \
29621 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29622 $(MAKE) stagefeedback-start; \
29623 fi; \
29624 cd $(HOST_SUBDIR)/lto-plugin && \
29625 $(MAKE) $(EXTRA_HOST_FLAGS) \
29626 $(POSTSTAGE1_FLAGS_TO_PASS) \
29627 clean
29628 @endif lto-plugin-bootstrap
29634 .PHONY: check-lto-plugin maybe-check-lto-plugin
29635 maybe-check-lto-plugin:
29636 @if lto-plugin
29637 maybe-check-lto-plugin: check-lto-plugin
29639 check-lto-plugin:
29640 @: $(MAKE); $(unstage)
29641 @r=`${PWD_COMMAND}`; export r; \
29642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29643 $(HOST_EXPORTS) \
29644 (cd $(HOST_SUBDIR)/lto-plugin && \
29645 $(MAKE) $(FLAGS_TO_PASS) check)
29647 @endif lto-plugin
29649 .PHONY: install-lto-plugin maybe-install-lto-plugin
29650 maybe-install-lto-plugin:
29651 @if lto-plugin
29652 maybe-install-lto-plugin: install-lto-plugin
29654 install-lto-plugin: installdirs
29655 @: $(MAKE); $(unstage)
29656 @r=`${PWD_COMMAND}`; export r; \
29657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29658 $(HOST_EXPORTS) \
29659 (cd $(HOST_SUBDIR)/lto-plugin && \
29660 $(MAKE) $(FLAGS_TO_PASS) install)
29662 @endif lto-plugin
29664 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29665 maybe-install-strip-lto-plugin:
29666 @if lto-plugin
29667 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29669 install-strip-lto-plugin: installdirs
29670 @: $(MAKE); $(unstage)
29671 @r=`${PWD_COMMAND}`; export r; \
29672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29673 $(HOST_EXPORTS) \
29674 (cd $(HOST_SUBDIR)/lto-plugin && \
29675 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29677 @endif lto-plugin
29679 # Other targets (info, dvi, pdf, etc.)
29681 .PHONY: maybe-info-lto-plugin info-lto-plugin
29682 maybe-info-lto-plugin:
29683 @if lto-plugin
29684 maybe-info-lto-plugin: info-lto-plugin
29686 info-lto-plugin: \
29687 configure-lto-plugin
29688 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29689 r=`${PWD_COMMAND}`; export r; \
29690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29691 $(HOST_EXPORTS) \
29692 for flag in $(EXTRA_HOST_FLAGS) ; do \
29693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29694 done; \
29695 echo "Doing info in lto-plugin" ; \
29696 (cd $(HOST_SUBDIR)/lto-plugin && \
29697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29699 "RANLIB=$${RANLIB}" \
29700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29701 info) \
29702 || exit 1
29704 @endif lto-plugin
29706 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29707 maybe-dvi-lto-plugin:
29708 @if lto-plugin
29709 maybe-dvi-lto-plugin: dvi-lto-plugin
29711 dvi-lto-plugin: \
29712 configure-lto-plugin
29713 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29714 r=`${PWD_COMMAND}`; export r; \
29715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29716 $(HOST_EXPORTS) \
29717 for flag in $(EXTRA_HOST_FLAGS) ; do \
29718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29719 done; \
29720 echo "Doing dvi in lto-plugin" ; \
29721 (cd $(HOST_SUBDIR)/lto-plugin && \
29722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29724 "RANLIB=$${RANLIB}" \
29725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29726 dvi) \
29727 || exit 1
29729 @endif lto-plugin
29731 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29732 maybe-pdf-lto-plugin:
29733 @if lto-plugin
29734 maybe-pdf-lto-plugin: pdf-lto-plugin
29736 pdf-lto-plugin: \
29737 configure-lto-plugin
29738 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29739 r=`${PWD_COMMAND}`; export r; \
29740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29741 $(HOST_EXPORTS) \
29742 for flag in $(EXTRA_HOST_FLAGS) ; do \
29743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29744 done; \
29745 echo "Doing pdf in lto-plugin" ; \
29746 (cd $(HOST_SUBDIR)/lto-plugin && \
29747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29749 "RANLIB=$${RANLIB}" \
29750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29751 pdf) \
29752 || exit 1
29754 @endif lto-plugin
29756 .PHONY: maybe-html-lto-plugin html-lto-plugin
29757 maybe-html-lto-plugin:
29758 @if lto-plugin
29759 maybe-html-lto-plugin: html-lto-plugin
29761 html-lto-plugin: \
29762 configure-lto-plugin
29763 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29764 r=`${PWD_COMMAND}`; export r; \
29765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29766 $(HOST_EXPORTS) \
29767 for flag in $(EXTRA_HOST_FLAGS) ; do \
29768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29769 done; \
29770 echo "Doing html in lto-plugin" ; \
29771 (cd $(HOST_SUBDIR)/lto-plugin && \
29772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29774 "RANLIB=$${RANLIB}" \
29775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29776 html) \
29777 || exit 1
29779 @endif lto-plugin
29781 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29782 maybe-TAGS-lto-plugin:
29783 @if lto-plugin
29784 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29786 TAGS-lto-plugin: \
29787 configure-lto-plugin
29788 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29789 r=`${PWD_COMMAND}`; export r; \
29790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29791 $(HOST_EXPORTS) \
29792 for flag in $(EXTRA_HOST_FLAGS) ; do \
29793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29794 done; \
29795 echo "Doing TAGS in lto-plugin" ; \
29796 (cd $(HOST_SUBDIR)/lto-plugin && \
29797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29799 "RANLIB=$${RANLIB}" \
29800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29801 TAGS) \
29802 || exit 1
29804 @endif lto-plugin
29806 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29807 maybe-install-info-lto-plugin:
29808 @if lto-plugin
29809 maybe-install-info-lto-plugin: install-info-lto-plugin
29811 install-info-lto-plugin: \
29812 configure-lto-plugin \
29813 info-lto-plugin
29814 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29815 r=`${PWD_COMMAND}`; export r; \
29816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29817 $(HOST_EXPORTS) \
29818 for flag in $(EXTRA_HOST_FLAGS) ; do \
29819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29820 done; \
29821 echo "Doing install-info in lto-plugin" ; \
29822 (cd $(HOST_SUBDIR)/lto-plugin && \
29823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29825 "RANLIB=$${RANLIB}" \
29826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29827 install-info) \
29828 || exit 1
29830 @endif lto-plugin
29832 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29833 maybe-install-pdf-lto-plugin:
29834 @if lto-plugin
29835 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29837 install-pdf-lto-plugin: \
29838 configure-lto-plugin \
29839 pdf-lto-plugin
29840 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29841 r=`${PWD_COMMAND}`; export r; \
29842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29843 $(HOST_EXPORTS) \
29844 for flag in $(EXTRA_HOST_FLAGS) ; do \
29845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29846 done; \
29847 echo "Doing install-pdf in lto-plugin" ; \
29848 (cd $(HOST_SUBDIR)/lto-plugin && \
29849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29851 "RANLIB=$${RANLIB}" \
29852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29853 install-pdf) \
29854 || exit 1
29856 @endif lto-plugin
29858 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29859 maybe-install-html-lto-plugin:
29860 @if lto-plugin
29861 maybe-install-html-lto-plugin: install-html-lto-plugin
29863 install-html-lto-plugin: \
29864 configure-lto-plugin \
29865 html-lto-plugin
29866 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29867 r=`${PWD_COMMAND}`; export r; \
29868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29869 $(HOST_EXPORTS) \
29870 for flag in $(EXTRA_HOST_FLAGS) ; do \
29871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29872 done; \
29873 echo "Doing install-html in lto-plugin" ; \
29874 (cd $(HOST_SUBDIR)/lto-plugin && \
29875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29877 "RANLIB=$${RANLIB}" \
29878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29879 install-html) \
29880 || exit 1
29882 @endif lto-plugin
29884 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29885 maybe-installcheck-lto-plugin:
29886 @if lto-plugin
29887 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29889 installcheck-lto-plugin: \
29890 configure-lto-plugin
29891 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29892 r=`${PWD_COMMAND}`; export r; \
29893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29894 $(HOST_EXPORTS) \
29895 for flag in $(EXTRA_HOST_FLAGS) ; do \
29896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29897 done; \
29898 echo "Doing installcheck in lto-plugin" ; \
29899 (cd $(HOST_SUBDIR)/lto-plugin && \
29900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29902 "RANLIB=$${RANLIB}" \
29903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29904 installcheck) \
29905 || exit 1
29907 @endif lto-plugin
29909 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29910 maybe-mostlyclean-lto-plugin:
29911 @if lto-plugin
29912 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29914 mostlyclean-lto-plugin:
29915 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29916 r=`${PWD_COMMAND}`; export r; \
29917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29918 $(HOST_EXPORTS) \
29919 for flag in $(EXTRA_HOST_FLAGS) ; do \
29920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29921 done; \
29922 echo "Doing mostlyclean in lto-plugin" ; \
29923 (cd $(HOST_SUBDIR)/lto-plugin && \
29924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29926 "RANLIB=$${RANLIB}" \
29927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29928 mostlyclean) \
29929 || exit 1
29931 @endif lto-plugin
29933 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29934 maybe-clean-lto-plugin:
29935 @if lto-plugin
29936 maybe-clean-lto-plugin: clean-lto-plugin
29938 clean-lto-plugin:
29939 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29940 r=`${PWD_COMMAND}`; export r; \
29941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29942 $(HOST_EXPORTS) \
29943 for flag in $(EXTRA_HOST_FLAGS) ; do \
29944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29945 done; \
29946 echo "Doing clean in lto-plugin" ; \
29947 (cd $(HOST_SUBDIR)/lto-plugin && \
29948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29950 "RANLIB=$${RANLIB}" \
29951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29952 clean) \
29953 || exit 1
29955 @endif lto-plugin
29957 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29958 maybe-distclean-lto-plugin:
29959 @if lto-plugin
29960 maybe-distclean-lto-plugin: distclean-lto-plugin
29962 distclean-lto-plugin:
29963 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29964 r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(HOST_EXPORTS) \
29967 for flag in $(EXTRA_HOST_FLAGS) ; do \
29968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29969 done; \
29970 echo "Doing distclean in lto-plugin" ; \
29971 (cd $(HOST_SUBDIR)/lto-plugin && \
29972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29974 "RANLIB=$${RANLIB}" \
29975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29976 distclean) \
29977 || exit 1
29979 @endif lto-plugin
29981 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29982 maybe-maintainer-clean-lto-plugin:
29983 @if lto-plugin
29984 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29986 maintainer-clean-lto-plugin:
29987 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29988 r=`${PWD_COMMAND}`; export r; \
29989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29990 $(HOST_EXPORTS) \
29991 for flag in $(EXTRA_HOST_FLAGS) ; do \
29992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29993 done; \
29994 echo "Doing maintainer-clean in lto-plugin" ; \
29995 (cd $(HOST_SUBDIR)/lto-plugin && \
29996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29998 "RANLIB=$${RANLIB}" \
29999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30000 maintainer-clean) \
30001 || exit 1
30003 @endif lto-plugin
30007 # ---------------------------------------
30008 # Modules which run on the target machine
30009 # ---------------------------------------
30014 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30015 maybe-configure-target-libstdc++-v3:
30016 @if gcc-bootstrap
30017 configure-target-libstdc++-v3: stage_current
30018 @endif gcc-bootstrap
30019 @if target-libstdc++-v3
30020 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30021 configure-target-libstdc++-v3:
30022 @r=`${PWD_COMMAND}`; export r; \
30023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30024 echo "Checking multilib configuration for libstdc++-v3..."; \
30025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30027 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30028 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30029 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30030 else \
30031 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30032 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30033 fi; \
30034 else \
30035 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30036 fi; \
30037 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30039 $(RAW_CXX_TARGET_EXPORTS) \
30040 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30041 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30042 case $(srcdir) in \
30043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30044 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30046 esac; \
30047 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30048 libsrcdir="$$s/libstdc++-v3"; \
30049 rm -f no-such-file || : ; \
30050 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30051 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30052 --target=${target_alias} $${srcdiroption} \
30053 || exit 1
30054 @endif target-libstdc++-v3
30058 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30059 maybe-configure-stage1-target-libstdc++-v3:
30060 @if target-libstdc++-v3-bootstrap
30061 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30062 configure-stage1-target-libstdc++-v3:
30063 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30064 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30065 @r=`${PWD_COMMAND}`; export r; \
30066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30067 TFLAGS="$(STAGE1_TFLAGS)"; \
30068 echo "Checking multilib configuration for libstdc++-v3..."; \
30069 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30070 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30071 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30072 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30073 else \
30074 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30075 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30076 fi; \
30077 else \
30078 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30079 fi; \
30080 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30081 $(RAW_CXX_TARGET_EXPORTS) \
30082 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30083 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30084 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30085 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30087 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30088 case $(srcdir) in \
30089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30090 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30092 esac; \
30093 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30094 libsrcdir="$$s/libstdc++-v3"; \
30095 $(SHELL) $${libsrcdir}/configure \
30096 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30097 --target=${target_alias} $${srcdiroption} \
30098 $(STAGE1_CONFIGURE_FLAGS)
30099 @endif target-libstdc++-v3-bootstrap
30101 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30102 maybe-configure-stage2-target-libstdc++-v3:
30103 @if target-libstdc++-v3-bootstrap
30104 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30105 configure-stage2-target-libstdc++-v3:
30106 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30107 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30108 @r=`${PWD_COMMAND}`; export r; \
30109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30110 TFLAGS="$(STAGE2_TFLAGS)"; \
30111 echo "Checking multilib configuration for libstdc++-v3..."; \
30112 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30113 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30114 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30115 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30116 else \
30117 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30118 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30119 fi; \
30120 else \
30121 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30122 fi; \
30123 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30124 $(RAW_CXX_TARGET_EXPORTS) \
30126 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30127 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30128 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30129 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30130 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30131 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30132 case $(srcdir) in \
30133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30134 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30136 esac; \
30137 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30138 libsrcdir="$$s/libstdc++-v3"; \
30139 $(SHELL) $${libsrcdir}/configure \
30140 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30141 --target=${target_alias} $${srcdiroption} \
30142 --with-build-libsubdir=$(HOST_SUBDIR) \
30143 $(STAGE2_CONFIGURE_FLAGS)
30144 @endif target-libstdc++-v3-bootstrap
30146 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30147 maybe-configure-stage3-target-libstdc++-v3:
30148 @if target-libstdc++-v3-bootstrap
30149 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30150 configure-stage3-target-libstdc++-v3:
30151 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30152 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30153 @r=`${PWD_COMMAND}`; export r; \
30154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30155 TFLAGS="$(STAGE3_TFLAGS)"; \
30156 echo "Checking multilib configuration for libstdc++-v3..."; \
30157 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30158 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30159 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30160 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30161 else \
30162 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30163 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30164 fi; \
30165 else \
30166 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30167 fi; \
30168 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30169 $(RAW_CXX_TARGET_EXPORTS) \
30171 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30172 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30173 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30174 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30175 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30176 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30177 case $(srcdir) in \
30178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30179 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30181 esac; \
30182 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30183 libsrcdir="$$s/libstdc++-v3"; \
30184 $(SHELL) $${libsrcdir}/configure \
30185 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30186 --target=${target_alias} $${srcdiroption} \
30187 --with-build-libsubdir=$(HOST_SUBDIR) \
30188 $(STAGE3_CONFIGURE_FLAGS)
30189 @endif target-libstdc++-v3-bootstrap
30191 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30192 maybe-configure-stage4-target-libstdc++-v3:
30193 @if target-libstdc++-v3-bootstrap
30194 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30195 configure-stage4-target-libstdc++-v3:
30196 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30197 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30198 @r=`${PWD_COMMAND}`; export r; \
30199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30200 TFLAGS="$(STAGE4_TFLAGS)"; \
30201 echo "Checking multilib configuration for libstdc++-v3..."; \
30202 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30203 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30204 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30205 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30206 else \
30207 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30208 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30209 fi; \
30210 else \
30211 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30212 fi; \
30213 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30214 $(RAW_CXX_TARGET_EXPORTS) \
30216 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30217 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30218 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30219 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30220 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30221 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30222 case $(srcdir) in \
30223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30224 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30226 esac; \
30227 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30228 libsrcdir="$$s/libstdc++-v3"; \
30229 $(SHELL) $${libsrcdir}/configure \
30230 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30231 --target=${target_alias} $${srcdiroption} \
30232 --with-build-libsubdir=$(HOST_SUBDIR) \
30233 $(STAGE4_CONFIGURE_FLAGS)
30234 @endif target-libstdc++-v3-bootstrap
30236 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30237 maybe-configure-stageprofile-target-libstdc++-v3:
30238 @if target-libstdc++-v3-bootstrap
30239 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30240 configure-stageprofile-target-libstdc++-v3:
30241 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30242 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30243 @r=`${PWD_COMMAND}`; export r; \
30244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30245 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30246 echo "Checking multilib configuration for libstdc++-v3..."; \
30247 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30248 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30249 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30250 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30251 else \
30252 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30253 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30254 fi; \
30255 else \
30256 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30257 fi; \
30258 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30259 $(RAW_CXX_TARGET_EXPORTS) \
30261 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30262 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30263 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30264 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30266 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30267 case $(srcdir) in \
30268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30269 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30271 esac; \
30272 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30273 libsrcdir="$$s/libstdc++-v3"; \
30274 $(SHELL) $${libsrcdir}/configure \
30275 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30276 --target=${target_alias} $${srcdiroption} \
30277 --with-build-libsubdir=$(HOST_SUBDIR) \
30278 $(STAGEprofile_CONFIGURE_FLAGS)
30279 @endif target-libstdc++-v3-bootstrap
30281 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30282 maybe-configure-stagefeedback-target-libstdc++-v3:
30283 @if target-libstdc++-v3-bootstrap
30284 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30285 configure-stagefeedback-target-libstdc++-v3:
30286 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30287 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30288 @r=`${PWD_COMMAND}`; export r; \
30289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30290 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30291 echo "Checking multilib configuration for libstdc++-v3..."; \
30292 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30293 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30294 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30295 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30296 else \
30297 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30298 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30299 fi; \
30300 else \
30301 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30302 fi; \
30303 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30304 $(RAW_CXX_TARGET_EXPORTS) \
30306 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30307 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30308 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30309 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30310 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30311 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30312 case $(srcdir) in \
30313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30314 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30316 esac; \
30317 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30318 libsrcdir="$$s/libstdc++-v3"; \
30319 $(SHELL) $${libsrcdir}/configure \
30320 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30321 --target=${target_alias} $${srcdiroption} \
30322 --with-build-libsubdir=$(HOST_SUBDIR) \
30323 $(STAGEfeedback_CONFIGURE_FLAGS)
30324 @endif target-libstdc++-v3-bootstrap
30330 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
30331 maybe-all-target-libstdc++-v3:
30332 @if gcc-bootstrap
30333 all-target-libstdc++-v3: stage_current
30334 @endif gcc-bootstrap
30335 @if target-libstdc++-v3
30336 TARGET-target-libstdc++-v3=all
30337 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
30338 all-target-libstdc++-v3: configure-target-libstdc++-v3
30339 @r=`${PWD_COMMAND}`; export r; \
30340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30341 $(RAW_CXX_TARGET_EXPORTS) \
30342 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30343 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30344 $(TARGET-target-libstdc++-v3))
30345 @endif target-libstdc++-v3
30349 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
30350 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
30351 maybe-all-stage1-target-libstdc++-v3:
30352 maybe-clean-stage1-target-libstdc++-v3:
30353 @if target-libstdc++-v3-bootstrap
30354 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
30355 all-stage1: all-stage1-target-libstdc++-v3
30356 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30357 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30358 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30359 @r=`${PWD_COMMAND}`; export r; \
30360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30361 TFLAGS="$(STAGE1_TFLAGS)"; \
30362 $(RAW_CXX_TARGET_EXPORTS) \
30363 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30364 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30365 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30366 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30367 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30368 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30369 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30370 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30371 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30372 TFLAGS="$(STAGE1_TFLAGS)" \
30373 $(TARGET-stage1-target-libstdc++-v3)
30375 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
30376 clean-stage1: clean-stage1-target-libstdc++-v3
30377 clean-stage1-target-libstdc++-v3:
30378 @if [ $(current_stage) = stage1 ]; then \
30379 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30380 else \
30381 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
30382 $(MAKE) stage1-start; \
30383 fi; \
30384 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30385 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30386 clean
30387 @endif target-libstdc++-v3-bootstrap
30390 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
30391 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
30392 maybe-all-stage2-target-libstdc++-v3:
30393 maybe-clean-stage2-target-libstdc++-v3:
30394 @if target-libstdc++-v3-bootstrap
30395 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
30396 all-stage2: all-stage2-target-libstdc++-v3
30397 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30398 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30399 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30400 @r=`${PWD_COMMAND}`; export r; \
30401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30402 TFLAGS="$(STAGE2_TFLAGS)"; \
30403 $(RAW_CXX_TARGET_EXPORTS) \
30405 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30407 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30408 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30409 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30413 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30414 TFLAGS="$(STAGE2_TFLAGS)" \
30415 $(TARGET-stage2-target-libstdc++-v3)
30417 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
30418 clean-stage2: clean-stage2-target-libstdc++-v3
30419 clean-stage2-target-libstdc++-v3:
30420 @if [ $(current_stage) = stage2 ]; then \
30421 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30422 else \
30423 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
30424 $(MAKE) stage2-start; \
30425 fi; \
30426 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30427 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30429 clean
30430 @endif target-libstdc++-v3-bootstrap
30433 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
30434 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
30435 maybe-all-stage3-target-libstdc++-v3:
30436 maybe-clean-stage3-target-libstdc++-v3:
30437 @if target-libstdc++-v3-bootstrap
30438 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
30439 all-stage3: all-stage3-target-libstdc++-v3
30440 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30441 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30442 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30443 @r=`${PWD_COMMAND}`; export r; \
30444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30445 TFLAGS="$(STAGE3_TFLAGS)"; \
30446 $(RAW_CXX_TARGET_EXPORTS) \
30448 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30450 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30451 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30452 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30456 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30457 TFLAGS="$(STAGE3_TFLAGS)" \
30458 $(TARGET-stage3-target-libstdc++-v3)
30460 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
30461 clean-stage3: clean-stage3-target-libstdc++-v3
30462 clean-stage3-target-libstdc++-v3:
30463 @if [ $(current_stage) = stage3 ]; then \
30464 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30465 else \
30466 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
30467 $(MAKE) stage3-start; \
30468 fi; \
30469 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30470 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30472 clean
30473 @endif target-libstdc++-v3-bootstrap
30476 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
30477 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
30478 maybe-all-stage4-target-libstdc++-v3:
30479 maybe-clean-stage4-target-libstdc++-v3:
30480 @if target-libstdc++-v3-bootstrap
30481 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
30482 all-stage4: all-stage4-target-libstdc++-v3
30483 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30484 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30485 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30486 @r=`${PWD_COMMAND}`; export r; \
30487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30488 TFLAGS="$(STAGE4_TFLAGS)"; \
30489 $(RAW_CXX_TARGET_EXPORTS) \
30491 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30492 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30493 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30494 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30495 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30496 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30497 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30498 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30499 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30500 TFLAGS="$(STAGE4_TFLAGS)" \
30501 $(TARGET-stage4-target-libstdc++-v3)
30503 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
30504 clean-stage4: clean-stage4-target-libstdc++-v3
30505 clean-stage4-target-libstdc++-v3:
30506 @if [ $(current_stage) = stage4 ]; then \
30507 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30508 else \
30509 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
30510 $(MAKE) stage4-start; \
30511 fi; \
30512 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30513 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30515 clean
30516 @endif target-libstdc++-v3-bootstrap
30519 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
30520 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
30521 maybe-all-stageprofile-target-libstdc++-v3:
30522 maybe-clean-stageprofile-target-libstdc++-v3:
30523 @if target-libstdc++-v3-bootstrap
30524 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
30525 all-stageprofile: all-stageprofile-target-libstdc++-v3
30526 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30527 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30528 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30529 @r=`${PWD_COMMAND}`; export r; \
30530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30531 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30532 $(RAW_CXX_TARGET_EXPORTS) \
30534 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30536 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30537 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30538 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30542 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30543 TFLAGS="$(STAGEprofile_TFLAGS)" \
30544 $(TARGET-stageprofile-target-libstdc++-v3)
30546 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
30547 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
30548 clean-stageprofile-target-libstdc++-v3:
30549 @if [ $(current_stage) = stageprofile ]; then \
30550 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30551 else \
30552 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
30553 $(MAKE) stageprofile-start; \
30554 fi; \
30555 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30556 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30558 clean
30559 @endif target-libstdc++-v3-bootstrap
30562 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
30563 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
30564 maybe-all-stagefeedback-target-libstdc++-v3:
30565 maybe-clean-stagefeedback-target-libstdc++-v3:
30566 @if target-libstdc++-v3-bootstrap
30567 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
30568 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
30569 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30570 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30571 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30572 @r=`${PWD_COMMAND}`; export r; \
30573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30574 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30575 $(RAW_CXX_TARGET_EXPORTS) \
30577 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30579 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30580 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30581 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30585 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30586 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30587 $(TARGET-stagefeedback-target-libstdc++-v3)
30589 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
30590 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
30591 clean-stagefeedback-target-libstdc++-v3:
30592 @if [ $(current_stage) = stagefeedback ]; then \
30593 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30594 else \
30595 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
30596 $(MAKE) stagefeedback-start; \
30597 fi; \
30598 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30599 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30601 clean
30602 @endif target-libstdc++-v3-bootstrap
30609 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
30610 maybe-check-target-libstdc++-v3:
30611 @if target-libstdc++-v3
30612 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
30614 check-target-libstdc++-v3:
30615 @: $(MAKE); $(unstage)
30616 @r=`${PWD_COMMAND}`; export r; \
30617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30618 $(RAW_CXX_TARGET_EXPORTS) \
30619 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30620 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
30622 @endif target-libstdc++-v3
30624 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
30625 maybe-install-target-libstdc++-v3:
30626 @if target-libstdc++-v3
30627 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
30629 install-target-libstdc++-v3: installdirs
30630 @: $(MAKE); $(unstage)
30631 @r=`${PWD_COMMAND}`; export r; \
30632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30633 $(RAW_CXX_TARGET_EXPORTS) \
30634 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30635 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30637 @endif target-libstdc++-v3
30639 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
30640 maybe-install-strip-target-libstdc++-v3:
30641 @if target-libstdc++-v3
30642 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
30644 install-strip-target-libstdc++-v3: installdirs
30645 @: $(MAKE); $(unstage)
30646 @r=`${PWD_COMMAND}`; export r; \
30647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30648 $(RAW_CXX_TARGET_EXPORTS) \
30649 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30650 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
30652 @endif target-libstdc++-v3
30654 # Other targets (info, dvi, pdf, etc.)
30656 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
30657 maybe-info-target-libstdc++-v3:
30658 @if target-libstdc++-v3
30659 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
30661 info-target-libstdc++-v3: \
30662 configure-target-libstdc++-v3
30663 @: $(MAKE); $(unstage)
30664 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30665 r=`${PWD_COMMAND}`; export r; \
30666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30667 $(RAW_CXX_TARGET_EXPORTS) \
30668 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30669 for flag in $(EXTRA_TARGET_FLAGS); do \
30670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30671 done; \
30672 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30675 "RANLIB=$${RANLIB}" \
30676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30677 info) \
30678 || exit 1
30680 @endif target-libstdc++-v3
30682 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
30683 maybe-dvi-target-libstdc++-v3:
30684 @if target-libstdc++-v3
30685 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
30687 dvi-target-libstdc++-v3: \
30688 configure-target-libstdc++-v3
30689 @: $(MAKE); $(unstage)
30690 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30691 r=`${PWD_COMMAND}`; export r; \
30692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30693 $(RAW_CXX_TARGET_EXPORTS) \
30694 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30695 for flag in $(EXTRA_TARGET_FLAGS); do \
30696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30697 done; \
30698 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30701 "RANLIB=$${RANLIB}" \
30702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30703 dvi) \
30704 || exit 1
30706 @endif target-libstdc++-v3
30708 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
30709 maybe-pdf-target-libstdc++-v3:
30710 @if target-libstdc++-v3
30711 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
30713 pdf-target-libstdc++-v3: \
30714 configure-target-libstdc++-v3
30715 @: $(MAKE); $(unstage)
30716 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30717 r=`${PWD_COMMAND}`; export r; \
30718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30719 $(RAW_CXX_TARGET_EXPORTS) \
30720 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30721 for flag in $(EXTRA_TARGET_FLAGS); do \
30722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30723 done; \
30724 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30727 "RANLIB=$${RANLIB}" \
30728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30729 pdf) \
30730 || exit 1
30732 @endif target-libstdc++-v3
30734 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
30735 maybe-html-target-libstdc++-v3:
30736 @if target-libstdc++-v3
30737 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
30739 html-target-libstdc++-v3: \
30740 configure-target-libstdc++-v3
30741 @: $(MAKE); $(unstage)
30742 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30743 r=`${PWD_COMMAND}`; export r; \
30744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30745 $(RAW_CXX_TARGET_EXPORTS) \
30746 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30747 for flag in $(EXTRA_TARGET_FLAGS); do \
30748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30749 done; \
30750 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30753 "RANLIB=$${RANLIB}" \
30754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30755 html) \
30756 || exit 1
30758 @endif target-libstdc++-v3
30760 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
30761 maybe-TAGS-target-libstdc++-v3:
30762 @if target-libstdc++-v3
30763 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
30765 TAGS-target-libstdc++-v3: \
30766 configure-target-libstdc++-v3
30767 @: $(MAKE); $(unstage)
30768 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30769 r=`${PWD_COMMAND}`; export r; \
30770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30771 $(RAW_CXX_TARGET_EXPORTS) \
30772 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30773 for flag in $(EXTRA_TARGET_FLAGS); do \
30774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30775 done; \
30776 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30779 "RANLIB=$${RANLIB}" \
30780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30781 TAGS) \
30782 || exit 1
30784 @endif target-libstdc++-v3
30786 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
30787 maybe-install-info-target-libstdc++-v3:
30788 @if target-libstdc++-v3
30789 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
30791 install-info-target-libstdc++-v3: \
30792 configure-target-libstdc++-v3 \
30793 info-target-libstdc++-v3
30794 @: $(MAKE); $(unstage)
30795 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30796 r=`${PWD_COMMAND}`; export r; \
30797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30798 $(RAW_CXX_TARGET_EXPORTS) \
30799 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30800 for flag in $(EXTRA_TARGET_FLAGS); do \
30801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30802 done; \
30803 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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 install-info) \
30809 || exit 1
30811 @endif target-libstdc++-v3
30813 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
30814 maybe-install-pdf-target-libstdc++-v3:
30815 @if target-libstdc++-v3
30816 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
30818 install-pdf-target-libstdc++-v3: \
30819 configure-target-libstdc++-v3 \
30820 pdf-target-libstdc++-v3
30821 @: $(MAKE); $(unstage)
30822 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30823 r=`${PWD_COMMAND}`; export r; \
30824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30825 $(RAW_CXX_TARGET_EXPORTS) \
30826 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30827 for flag in $(EXTRA_TARGET_FLAGS); do \
30828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30829 done; \
30830 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30833 "RANLIB=$${RANLIB}" \
30834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30835 install-pdf) \
30836 || exit 1
30838 @endif target-libstdc++-v3
30840 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
30841 maybe-install-html-target-libstdc++-v3:
30842 @if target-libstdc++-v3
30843 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
30845 install-html-target-libstdc++-v3: \
30846 configure-target-libstdc++-v3 \
30847 html-target-libstdc++-v3
30848 @: $(MAKE); $(unstage)
30849 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30850 r=`${PWD_COMMAND}`; export r; \
30851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30852 $(RAW_CXX_TARGET_EXPORTS) \
30853 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30854 for flag in $(EXTRA_TARGET_FLAGS); do \
30855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30856 done; \
30857 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30860 "RANLIB=$${RANLIB}" \
30861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30862 install-html) \
30863 || exit 1
30865 @endif target-libstdc++-v3
30867 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
30868 maybe-installcheck-target-libstdc++-v3:
30869 @if target-libstdc++-v3
30870 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
30872 installcheck-target-libstdc++-v3: \
30873 configure-target-libstdc++-v3
30874 @: $(MAKE); $(unstage)
30875 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30876 r=`${PWD_COMMAND}`; export r; \
30877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30878 $(RAW_CXX_TARGET_EXPORTS) \
30879 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30880 for flag in $(EXTRA_TARGET_FLAGS); do \
30881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30882 done; \
30883 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30886 "RANLIB=$${RANLIB}" \
30887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30888 installcheck) \
30889 || exit 1
30891 @endif target-libstdc++-v3
30893 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
30894 maybe-mostlyclean-target-libstdc++-v3:
30895 @if target-libstdc++-v3
30896 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
30898 mostlyclean-target-libstdc++-v3:
30899 @: $(MAKE); $(unstage)
30900 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30901 r=`${PWD_COMMAND}`; export r; \
30902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30903 $(RAW_CXX_TARGET_EXPORTS) \
30904 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30905 for flag in $(EXTRA_TARGET_FLAGS); do \
30906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30907 done; \
30908 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30911 "RANLIB=$${RANLIB}" \
30912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30913 mostlyclean) \
30914 || exit 1
30916 @endif target-libstdc++-v3
30918 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
30919 maybe-clean-target-libstdc++-v3:
30920 @if target-libstdc++-v3
30921 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
30923 clean-target-libstdc++-v3:
30924 @: $(MAKE); $(unstage)
30925 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30926 r=`${PWD_COMMAND}`; export r; \
30927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30928 $(RAW_CXX_TARGET_EXPORTS) \
30929 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30930 for flag in $(EXTRA_TARGET_FLAGS); do \
30931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30932 done; \
30933 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30936 "RANLIB=$${RANLIB}" \
30937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30938 clean) \
30939 || exit 1
30941 @endif target-libstdc++-v3
30943 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
30944 maybe-distclean-target-libstdc++-v3:
30945 @if target-libstdc++-v3
30946 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
30948 distclean-target-libstdc++-v3:
30949 @: $(MAKE); $(unstage)
30950 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30951 r=`${PWD_COMMAND}`; export r; \
30952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30953 $(RAW_CXX_TARGET_EXPORTS) \
30954 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30955 for flag in $(EXTRA_TARGET_FLAGS); do \
30956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30957 done; \
30958 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30961 "RANLIB=$${RANLIB}" \
30962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30963 distclean) \
30964 || exit 1
30966 @endif target-libstdc++-v3
30968 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
30969 maybe-maintainer-clean-target-libstdc++-v3:
30970 @if target-libstdc++-v3
30971 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
30973 maintainer-clean-target-libstdc++-v3:
30974 @: $(MAKE); $(unstage)
30975 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30976 r=`${PWD_COMMAND}`; export r; \
30977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30978 $(RAW_CXX_TARGET_EXPORTS) \
30979 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30980 for flag in $(EXTRA_TARGET_FLAGS); do \
30981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30982 done; \
30983 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30986 "RANLIB=$${RANLIB}" \
30987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30988 maintainer-clean) \
30989 || exit 1
30991 @endif target-libstdc++-v3
30997 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
30998 maybe-configure-target-libmudflap:
30999 @if gcc-bootstrap
31000 configure-target-libmudflap: stage_current
31001 @endif gcc-bootstrap
31002 @if target-libmudflap
31003 maybe-configure-target-libmudflap: configure-target-libmudflap
31004 configure-target-libmudflap:
31005 @: $(MAKE); $(unstage)
31006 @r=`${PWD_COMMAND}`; export r; \
31007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31008 echo "Checking multilib configuration for libmudflap..."; \
31009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31010 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31011 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31012 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31013 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31014 else \
31015 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31016 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31017 fi; \
31018 else \
31019 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31020 fi; \
31021 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31022 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31023 $(NORMAL_TARGET_EXPORTS) \
31024 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31025 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31026 case $(srcdir) in \
31027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31028 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31030 esac; \
31031 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31032 libsrcdir="$$s/libmudflap"; \
31033 rm -f no-such-file || : ; \
31034 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31035 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31036 --target=${target_alias} $${srcdiroption} \
31037 || exit 1
31038 @endif target-libmudflap
31044 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31045 maybe-all-target-libmudflap:
31046 @if gcc-bootstrap
31047 all-target-libmudflap: stage_current
31048 @endif gcc-bootstrap
31049 @if target-libmudflap
31050 TARGET-target-libmudflap=all
31051 maybe-all-target-libmudflap: all-target-libmudflap
31052 all-target-libmudflap: configure-target-libmudflap
31053 @: $(MAKE); $(unstage)
31054 @r=`${PWD_COMMAND}`; export r; \
31055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31056 $(NORMAL_TARGET_EXPORTS) \
31057 (cd $(TARGET_SUBDIR)/libmudflap && \
31058 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31059 $(TARGET-target-libmudflap))
31060 @endif target-libmudflap
31066 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31067 maybe-check-target-libmudflap:
31068 @if target-libmudflap
31069 maybe-check-target-libmudflap: check-target-libmudflap
31071 check-target-libmudflap:
31072 @: $(MAKE); $(unstage)
31073 @r=`${PWD_COMMAND}`; export r; \
31074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31075 $(NORMAL_TARGET_EXPORTS) \
31076 (cd $(TARGET_SUBDIR)/libmudflap && \
31077 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31079 @endif target-libmudflap
31081 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31082 maybe-install-target-libmudflap:
31083 @if target-libmudflap
31084 maybe-install-target-libmudflap: install-target-libmudflap
31086 install-target-libmudflap: installdirs
31087 @: $(MAKE); $(unstage)
31088 @r=`${PWD_COMMAND}`; export r; \
31089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31090 $(NORMAL_TARGET_EXPORTS) \
31091 (cd $(TARGET_SUBDIR)/libmudflap && \
31092 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31094 @endif target-libmudflap
31096 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31097 maybe-install-strip-target-libmudflap:
31098 @if target-libmudflap
31099 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31101 install-strip-target-libmudflap: installdirs
31102 @: $(MAKE); $(unstage)
31103 @r=`${PWD_COMMAND}`; export r; \
31104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31105 $(NORMAL_TARGET_EXPORTS) \
31106 (cd $(TARGET_SUBDIR)/libmudflap && \
31107 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31109 @endif target-libmudflap
31111 # Other targets (info, dvi, pdf, etc.)
31113 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31114 maybe-info-target-libmudflap:
31115 @if target-libmudflap
31116 maybe-info-target-libmudflap: info-target-libmudflap
31118 info-target-libmudflap: \
31119 configure-target-libmudflap
31120 @: $(MAKE); $(unstage)
31121 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31122 r=`${PWD_COMMAND}`; export r; \
31123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31124 $(NORMAL_TARGET_EXPORTS) \
31125 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31126 for flag in $(EXTRA_TARGET_FLAGS); do \
31127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31128 done; \
31129 (cd $(TARGET_SUBDIR)/libmudflap && \
31130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31132 "RANLIB=$${RANLIB}" \
31133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31134 info) \
31135 || exit 1
31137 @endif target-libmudflap
31139 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31140 maybe-dvi-target-libmudflap:
31141 @if target-libmudflap
31142 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31144 dvi-target-libmudflap: \
31145 configure-target-libmudflap
31146 @: $(MAKE); $(unstage)
31147 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31148 r=`${PWD_COMMAND}`; export r; \
31149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31150 $(NORMAL_TARGET_EXPORTS) \
31151 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31152 for flag in $(EXTRA_TARGET_FLAGS); do \
31153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31154 done; \
31155 (cd $(TARGET_SUBDIR)/libmudflap && \
31156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31158 "RANLIB=$${RANLIB}" \
31159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31160 dvi) \
31161 || exit 1
31163 @endif target-libmudflap
31165 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31166 maybe-pdf-target-libmudflap:
31167 @if target-libmudflap
31168 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31170 pdf-target-libmudflap: \
31171 configure-target-libmudflap
31172 @: $(MAKE); $(unstage)
31173 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31174 r=`${PWD_COMMAND}`; export r; \
31175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31176 $(NORMAL_TARGET_EXPORTS) \
31177 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31178 for flag in $(EXTRA_TARGET_FLAGS); do \
31179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31180 done; \
31181 (cd $(TARGET_SUBDIR)/libmudflap && \
31182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31184 "RANLIB=$${RANLIB}" \
31185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31186 pdf) \
31187 || exit 1
31189 @endif target-libmudflap
31191 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31192 maybe-html-target-libmudflap:
31193 @if target-libmudflap
31194 maybe-html-target-libmudflap: html-target-libmudflap
31196 html-target-libmudflap: \
31197 configure-target-libmudflap
31198 @: $(MAKE); $(unstage)
31199 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31200 r=`${PWD_COMMAND}`; export r; \
31201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31202 $(NORMAL_TARGET_EXPORTS) \
31203 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31204 for flag in $(EXTRA_TARGET_FLAGS); do \
31205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31206 done; \
31207 (cd $(TARGET_SUBDIR)/libmudflap && \
31208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31210 "RANLIB=$${RANLIB}" \
31211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31212 html) \
31213 || exit 1
31215 @endif target-libmudflap
31217 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31218 maybe-TAGS-target-libmudflap:
31219 @if target-libmudflap
31220 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31222 TAGS-target-libmudflap: \
31223 configure-target-libmudflap
31224 @: $(MAKE); $(unstage)
31225 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31226 r=`${PWD_COMMAND}`; export r; \
31227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31228 $(NORMAL_TARGET_EXPORTS) \
31229 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31230 for flag in $(EXTRA_TARGET_FLAGS); do \
31231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31232 done; \
31233 (cd $(TARGET_SUBDIR)/libmudflap && \
31234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31236 "RANLIB=$${RANLIB}" \
31237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31238 TAGS) \
31239 || exit 1
31241 @endif target-libmudflap
31243 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31244 maybe-install-info-target-libmudflap:
31245 @if target-libmudflap
31246 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31248 install-info-target-libmudflap: \
31249 configure-target-libmudflap \
31250 info-target-libmudflap
31251 @: $(MAKE); $(unstage)
31252 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31253 r=`${PWD_COMMAND}`; export r; \
31254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31255 $(NORMAL_TARGET_EXPORTS) \
31256 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31257 for flag in $(EXTRA_TARGET_FLAGS); do \
31258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31259 done; \
31260 (cd $(TARGET_SUBDIR)/libmudflap && \
31261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31263 "RANLIB=$${RANLIB}" \
31264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31265 install-info) \
31266 || exit 1
31268 @endif target-libmudflap
31270 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31271 maybe-install-pdf-target-libmudflap:
31272 @if target-libmudflap
31273 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31275 install-pdf-target-libmudflap: \
31276 configure-target-libmudflap \
31277 pdf-target-libmudflap
31278 @: $(MAKE); $(unstage)
31279 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31280 r=`${PWD_COMMAND}`; export r; \
31281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31282 $(NORMAL_TARGET_EXPORTS) \
31283 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31284 for flag in $(EXTRA_TARGET_FLAGS); do \
31285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31286 done; \
31287 (cd $(TARGET_SUBDIR)/libmudflap && \
31288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31290 "RANLIB=$${RANLIB}" \
31291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31292 install-pdf) \
31293 || exit 1
31295 @endif target-libmudflap
31297 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31298 maybe-install-html-target-libmudflap:
31299 @if target-libmudflap
31300 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31302 install-html-target-libmudflap: \
31303 configure-target-libmudflap \
31304 html-target-libmudflap
31305 @: $(MAKE); $(unstage)
31306 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31307 r=`${PWD_COMMAND}`; export r; \
31308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31309 $(NORMAL_TARGET_EXPORTS) \
31310 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31311 for flag in $(EXTRA_TARGET_FLAGS); do \
31312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31313 done; \
31314 (cd $(TARGET_SUBDIR)/libmudflap && \
31315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31317 "RANLIB=$${RANLIB}" \
31318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31319 install-html) \
31320 || exit 1
31322 @endif target-libmudflap
31324 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31325 maybe-installcheck-target-libmudflap:
31326 @if target-libmudflap
31327 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31329 installcheck-target-libmudflap: \
31330 configure-target-libmudflap
31331 @: $(MAKE); $(unstage)
31332 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31333 r=`${PWD_COMMAND}`; export r; \
31334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31335 $(NORMAL_TARGET_EXPORTS) \
31336 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31337 for flag in $(EXTRA_TARGET_FLAGS); do \
31338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31339 done; \
31340 (cd $(TARGET_SUBDIR)/libmudflap && \
31341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31343 "RANLIB=$${RANLIB}" \
31344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31345 installcheck) \
31346 || exit 1
31348 @endif target-libmudflap
31350 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31351 maybe-mostlyclean-target-libmudflap:
31352 @if target-libmudflap
31353 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31355 mostlyclean-target-libmudflap:
31356 @: $(MAKE); $(unstage)
31357 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31358 r=`${PWD_COMMAND}`; export r; \
31359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31360 $(NORMAL_TARGET_EXPORTS) \
31361 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31362 for flag in $(EXTRA_TARGET_FLAGS); do \
31363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31364 done; \
31365 (cd $(TARGET_SUBDIR)/libmudflap && \
31366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31368 "RANLIB=$${RANLIB}" \
31369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31370 mostlyclean) \
31371 || exit 1
31373 @endif target-libmudflap
31375 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31376 maybe-clean-target-libmudflap:
31377 @if target-libmudflap
31378 maybe-clean-target-libmudflap: clean-target-libmudflap
31380 clean-target-libmudflap:
31381 @: $(MAKE); $(unstage)
31382 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31383 r=`${PWD_COMMAND}`; export r; \
31384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31385 $(NORMAL_TARGET_EXPORTS) \
31386 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31387 for flag in $(EXTRA_TARGET_FLAGS); do \
31388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31389 done; \
31390 (cd $(TARGET_SUBDIR)/libmudflap && \
31391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31393 "RANLIB=$${RANLIB}" \
31394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31395 clean) \
31396 || exit 1
31398 @endif target-libmudflap
31400 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31401 maybe-distclean-target-libmudflap:
31402 @if target-libmudflap
31403 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31405 distclean-target-libmudflap:
31406 @: $(MAKE); $(unstage)
31407 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31408 r=`${PWD_COMMAND}`; export r; \
31409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31410 $(NORMAL_TARGET_EXPORTS) \
31411 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31412 for flag in $(EXTRA_TARGET_FLAGS); do \
31413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31414 done; \
31415 (cd $(TARGET_SUBDIR)/libmudflap && \
31416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31418 "RANLIB=$${RANLIB}" \
31419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31420 distclean) \
31421 || exit 1
31423 @endif target-libmudflap
31425 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31426 maybe-maintainer-clean-target-libmudflap:
31427 @if target-libmudflap
31428 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31430 maintainer-clean-target-libmudflap:
31431 @: $(MAKE); $(unstage)
31432 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31433 r=`${PWD_COMMAND}`; export r; \
31434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31435 $(NORMAL_TARGET_EXPORTS) \
31436 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31437 for flag in $(EXTRA_TARGET_FLAGS); do \
31438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31439 done; \
31440 (cd $(TARGET_SUBDIR)/libmudflap && \
31441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31443 "RANLIB=$${RANLIB}" \
31444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31445 maintainer-clean) \
31446 || exit 1
31448 @endif target-libmudflap
31454 .PHONY: configure-target-libssp maybe-configure-target-libssp
31455 maybe-configure-target-libssp:
31456 @if gcc-bootstrap
31457 configure-target-libssp: stage_current
31458 @endif gcc-bootstrap
31459 @if target-libssp
31460 maybe-configure-target-libssp: configure-target-libssp
31461 configure-target-libssp:
31462 @: $(MAKE); $(unstage)
31463 @r=`${PWD_COMMAND}`; export r; \
31464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31465 echo "Checking multilib configuration for libssp..."; \
31466 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31467 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31468 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31469 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31470 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31471 else \
31472 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31473 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31474 fi; \
31475 else \
31476 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31477 fi; \
31478 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31479 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31480 $(NORMAL_TARGET_EXPORTS) \
31481 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31482 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31483 case $(srcdir) in \
31484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31485 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31487 esac; \
31488 srcdiroption="--srcdir=$${topdir}/libssp"; \
31489 libsrcdir="$$s/libssp"; \
31490 rm -f no-such-file || : ; \
31491 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31492 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31493 --target=${target_alias} $${srcdiroption} \
31494 || exit 1
31495 @endif target-libssp
31501 .PHONY: all-target-libssp maybe-all-target-libssp
31502 maybe-all-target-libssp:
31503 @if gcc-bootstrap
31504 all-target-libssp: stage_current
31505 @endif gcc-bootstrap
31506 @if target-libssp
31507 TARGET-target-libssp=all
31508 maybe-all-target-libssp: all-target-libssp
31509 all-target-libssp: configure-target-libssp
31510 @: $(MAKE); $(unstage)
31511 @r=`${PWD_COMMAND}`; export r; \
31512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31513 $(NORMAL_TARGET_EXPORTS) \
31514 (cd $(TARGET_SUBDIR)/libssp && \
31515 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31516 $(TARGET-target-libssp))
31517 @endif target-libssp
31523 .PHONY: check-target-libssp maybe-check-target-libssp
31524 maybe-check-target-libssp:
31525 @if target-libssp
31526 maybe-check-target-libssp: check-target-libssp
31528 check-target-libssp:
31529 @: $(MAKE); $(unstage)
31530 @r=`${PWD_COMMAND}`; export r; \
31531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31532 $(NORMAL_TARGET_EXPORTS) \
31533 (cd $(TARGET_SUBDIR)/libssp && \
31534 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31536 @endif target-libssp
31538 .PHONY: install-target-libssp maybe-install-target-libssp
31539 maybe-install-target-libssp:
31540 @if target-libssp
31541 maybe-install-target-libssp: install-target-libssp
31543 install-target-libssp: installdirs
31544 @: $(MAKE); $(unstage)
31545 @r=`${PWD_COMMAND}`; export r; \
31546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31547 $(NORMAL_TARGET_EXPORTS) \
31548 (cd $(TARGET_SUBDIR)/libssp && \
31549 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31551 @endif target-libssp
31553 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
31554 maybe-install-strip-target-libssp:
31555 @if target-libssp
31556 maybe-install-strip-target-libssp: install-strip-target-libssp
31558 install-strip-target-libssp: installdirs
31559 @: $(MAKE); $(unstage)
31560 @r=`${PWD_COMMAND}`; export r; \
31561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31562 $(NORMAL_TARGET_EXPORTS) \
31563 (cd $(TARGET_SUBDIR)/libssp && \
31564 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31566 @endif target-libssp
31568 # Other targets (info, dvi, pdf, etc.)
31570 .PHONY: maybe-info-target-libssp info-target-libssp
31571 maybe-info-target-libssp:
31572 @if target-libssp
31573 maybe-info-target-libssp: info-target-libssp
31575 info-target-libssp: \
31576 configure-target-libssp
31577 @: $(MAKE); $(unstage)
31578 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31579 r=`${PWD_COMMAND}`; export r; \
31580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31581 $(NORMAL_TARGET_EXPORTS) \
31582 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31583 for flag in $(EXTRA_TARGET_FLAGS); do \
31584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31585 done; \
31586 (cd $(TARGET_SUBDIR)/libssp && \
31587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31589 "RANLIB=$${RANLIB}" \
31590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31591 info) \
31592 || exit 1
31594 @endif target-libssp
31596 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31597 maybe-dvi-target-libssp:
31598 @if target-libssp
31599 maybe-dvi-target-libssp: dvi-target-libssp
31601 dvi-target-libssp: \
31602 configure-target-libssp
31603 @: $(MAKE); $(unstage)
31604 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31605 r=`${PWD_COMMAND}`; export r; \
31606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31607 $(NORMAL_TARGET_EXPORTS) \
31608 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31609 for flag in $(EXTRA_TARGET_FLAGS); do \
31610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31611 done; \
31612 (cd $(TARGET_SUBDIR)/libssp && \
31613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31615 "RANLIB=$${RANLIB}" \
31616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31617 dvi) \
31618 || exit 1
31620 @endif target-libssp
31622 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
31623 maybe-pdf-target-libssp:
31624 @if target-libssp
31625 maybe-pdf-target-libssp: pdf-target-libssp
31627 pdf-target-libssp: \
31628 configure-target-libssp
31629 @: $(MAKE); $(unstage)
31630 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31631 r=`${PWD_COMMAND}`; export r; \
31632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31633 $(NORMAL_TARGET_EXPORTS) \
31634 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
31635 for flag in $(EXTRA_TARGET_FLAGS); do \
31636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31637 done; \
31638 (cd $(TARGET_SUBDIR)/libssp && \
31639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31641 "RANLIB=$${RANLIB}" \
31642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31643 pdf) \
31644 || exit 1
31646 @endif target-libssp
31648 .PHONY: maybe-html-target-libssp html-target-libssp
31649 maybe-html-target-libssp:
31650 @if target-libssp
31651 maybe-html-target-libssp: html-target-libssp
31653 html-target-libssp: \
31654 configure-target-libssp
31655 @: $(MAKE); $(unstage)
31656 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31657 r=`${PWD_COMMAND}`; export r; \
31658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31659 $(NORMAL_TARGET_EXPORTS) \
31660 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31661 for flag in $(EXTRA_TARGET_FLAGS); do \
31662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31663 done; \
31664 (cd $(TARGET_SUBDIR)/libssp && \
31665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31667 "RANLIB=$${RANLIB}" \
31668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31669 html) \
31670 || exit 1
31672 @endif target-libssp
31674 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31675 maybe-TAGS-target-libssp:
31676 @if target-libssp
31677 maybe-TAGS-target-libssp: TAGS-target-libssp
31679 TAGS-target-libssp: \
31680 configure-target-libssp
31681 @: $(MAKE); $(unstage)
31682 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31683 r=`${PWD_COMMAND}`; export r; \
31684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31685 $(NORMAL_TARGET_EXPORTS) \
31686 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
31687 for flag in $(EXTRA_TARGET_FLAGS); do \
31688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31689 done; \
31690 (cd $(TARGET_SUBDIR)/libssp && \
31691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31693 "RANLIB=$${RANLIB}" \
31694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31695 TAGS) \
31696 || exit 1
31698 @endif target-libssp
31700 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
31701 maybe-install-info-target-libssp:
31702 @if target-libssp
31703 maybe-install-info-target-libssp: install-info-target-libssp
31705 install-info-target-libssp: \
31706 configure-target-libssp \
31707 info-target-libssp
31708 @: $(MAKE); $(unstage)
31709 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31710 r=`${PWD_COMMAND}`; export r; \
31711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31712 $(NORMAL_TARGET_EXPORTS) \
31713 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
31714 for flag in $(EXTRA_TARGET_FLAGS); do \
31715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31716 done; \
31717 (cd $(TARGET_SUBDIR)/libssp && \
31718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31720 "RANLIB=$${RANLIB}" \
31721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31722 install-info) \
31723 || exit 1
31725 @endif target-libssp
31727 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
31728 maybe-install-pdf-target-libssp:
31729 @if target-libssp
31730 maybe-install-pdf-target-libssp: install-pdf-target-libssp
31732 install-pdf-target-libssp: \
31733 configure-target-libssp \
31734 pdf-target-libssp
31735 @: $(MAKE); $(unstage)
31736 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31737 r=`${PWD_COMMAND}`; export r; \
31738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31739 $(NORMAL_TARGET_EXPORTS) \
31740 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
31741 for flag in $(EXTRA_TARGET_FLAGS); do \
31742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31743 done; \
31744 (cd $(TARGET_SUBDIR)/libssp && \
31745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31747 "RANLIB=$${RANLIB}" \
31748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31749 install-pdf) \
31750 || exit 1
31752 @endif target-libssp
31754 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
31755 maybe-install-html-target-libssp:
31756 @if target-libssp
31757 maybe-install-html-target-libssp: install-html-target-libssp
31759 install-html-target-libssp: \
31760 configure-target-libssp \
31761 html-target-libssp
31762 @: $(MAKE); $(unstage)
31763 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31764 r=`${PWD_COMMAND}`; export r; \
31765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31766 $(NORMAL_TARGET_EXPORTS) \
31767 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
31768 for flag in $(EXTRA_TARGET_FLAGS); do \
31769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31770 done; \
31771 (cd $(TARGET_SUBDIR)/libssp && \
31772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31774 "RANLIB=$${RANLIB}" \
31775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31776 install-html) \
31777 || exit 1
31779 @endif target-libssp
31781 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
31782 maybe-installcheck-target-libssp:
31783 @if target-libssp
31784 maybe-installcheck-target-libssp: installcheck-target-libssp
31786 installcheck-target-libssp: \
31787 configure-target-libssp
31788 @: $(MAKE); $(unstage)
31789 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31790 r=`${PWD_COMMAND}`; export r; \
31791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31792 $(NORMAL_TARGET_EXPORTS) \
31793 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
31794 for flag in $(EXTRA_TARGET_FLAGS); do \
31795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31796 done; \
31797 (cd $(TARGET_SUBDIR)/libssp && \
31798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31800 "RANLIB=$${RANLIB}" \
31801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31802 installcheck) \
31803 || exit 1
31805 @endif target-libssp
31807 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
31808 maybe-mostlyclean-target-libssp:
31809 @if target-libssp
31810 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
31812 mostlyclean-target-libssp:
31813 @: $(MAKE); $(unstage)
31814 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31815 r=`${PWD_COMMAND}`; export r; \
31816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31817 $(NORMAL_TARGET_EXPORTS) \
31818 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
31819 for flag in $(EXTRA_TARGET_FLAGS); do \
31820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31821 done; \
31822 (cd $(TARGET_SUBDIR)/libssp && \
31823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31825 "RANLIB=$${RANLIB}" \
31826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31827 mostlyclean) \
31828 || exit 1
31830 @endif target-libssp
31832 .PHONY: maybe-clean-target-libssp clean-target-libssp
31833 maybe-clean-target-libssp:
31834 @if target-libssp
31835 maybe-clean-target-libssp: clean-target-libssp
31837 clean-target-libssp:
31838 @: $(MAKE); $(unstage)
31839 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31840 r=`${PWD_COMMAND}`; export r; \
31841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31842 $(NORMAL_TARGET_EXPORTS) \
31843 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
31844 for flag in $(EXTRA_TARGET_FLAGS); do \
31845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31846 done; \
31847 (cd $(TARGET_SUBDIR)/libssp && \
31848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31850 "RANLIB=$${RANLIB}" \
31851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31852 clean) \
31853 || exit 1
31855 @endif target-libssp
31857 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
31858 maybe-distclean-target-libssp:
31859 @if target-libssp
31860 maybe-distclean-target-libssp: distclean-target-libssp
31862 distclean-target-libssp:
31863 @: $(MAKE); $(unstage)
31864 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31865 r=`${PWD_COMMAND}`; export r; \
31866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31867 $(NORMAL_TARGET_EXPORTS) \
31868 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
31869 for flag in $(EXTRA_TARGET_FLAGS); do \
31870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31871 done; \
31872 (cd $(TARGET_SUBDIR)/libssp && \
31873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31875 "RANLIB=$${RANLIB}" \
31876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31877 distclean) \
31878 || exit 1
31880 @endif target-libssp
31882 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
31883 maybe-maintainer-clean-target-libssp:
31884 @if target-libssp
31885 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
31887 maintainer-clean-target-libssp:
31888 @: $(MAKE); $(unstage)
31889 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31890 r=`${PWD_COMMAND}`; export r; \
31891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31892 $(NORMAL_TARGET_EXPORTS) \
31893 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
31894 for flag in $(EXTRA_TARGET_FLAGS); do \
31895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31896 done; \
31897 (cd $(TARGET_SUBDIR)/libssp && \
31898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31900 "RANLIB=$${RANLIB}" \
31901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31902 maintainer-clean) \
31903 || exit 1
31905 @endif target-libssp
31911 .PHONY: configure-target-newlib maybe-configure-target-newlib
31912 maybe-configure-target-newlib:
31913 @if gcc-bootstrap
31914 configure-target-newlib: stage_current
31915 @endif gcc-bootstrap
31916 @if target-newlib
31917 maybe-configure-target-newlib: configure-target-newlib
31918 configure-target-newlib:
31919 @: $(MAKE); $(unstage)
31920 @r=`${PWD_COMMAND}`; export r; \
31921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31922 echo "Checking multilib configuration for newlib..."; \
31923 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31924 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
31925 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
31926 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
31927 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
31928 else \
31929 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
31930 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31931 fi; \
31932 else \
31933 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31934 fi; \
31935 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
31936 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31937 $(NORMAL_TARGET_EXPORTS) \
31938 echo Configuring in $(TARGET_SUBDIR)/newlib; \
31939 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
31940 case $(srcdir) in \
31941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31942 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
31943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31944 esac; \
31945 srcdiroption="--srcdir=$${topdir}/newlib"; \
31946 libsrcdir="$$s/newlib"; \
31947 rm -f no-such-file || : ; \
31948 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31949 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31950 --target=${target_alias} $${srcdiroption} \
31951 || exit 1
31952 @endif target-newlib
31958 .PHONY: all-target-newlib maybe-all-target-newlib
31959 maybe-all-target-newlib:
31960 @if gcc-bootstrap
31961 all-target-newlib: stage_current
31962 @endif gcc-bootstrap
31963 @if target-newlib
31964 TARGET-target-newlib=all
31965 maybe-all-target-newlib: all-target-newlib
31966 all-target-newlib: configure-target-newlib
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)/newlib && \
31972 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31973 $(TARGET-target-newlib))
31974 @endif target-newlib
31980 .PHONY: check-target-newlib maybe-check-target-newlib
31981 maybe-check-target-newlib:
31982 @if target-newlib
31983 maybe-check-target-newlib: check-target-newlib
31985 check-target-newlib:
31986 @: $(MAKE); $(unstage)
31987 @r=`${PWD_COMMAND}`; export r; \
31988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31989 $(NORMAL_TARGET_EXPORTS) \
31990 (cd $(TARGET_SUBDIR)/newlib && \
31991 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31993 @endif target-newlib
31995 .PHONY: install-target-newlib maybe-install-target-newlib
31996 maybe-install-target-newlib:
31997 @if target-newlib
31998 maybe-install-target-newlib: install-target-newlib
32000 install-target-newlib: installdirs
32001 @: $(MAKE); $(unstage)
32002 @r=`${PWD_COMMAND}`; export r; \
32003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32004 $(NORMAL_TARGET_EXPORTS) \
32005 (cd $(TARGET_SUBDIR)/newlib && \
32006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32008 @endif target-newlib
32010 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
32011 maybe-install-strip-target-newlib:
32012 @if target-newlib
32013 maybe-install-strip-target-newlib: install-strip-target-newlib
32015 install-strip-target-newlib: installdirs
32016 @: $(MAKE); $(unstage)
32017 @r=`${PWD_COMMAND}`; export r; \
32018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32019 $(NORMAL_TARGET_EXPORTS) \
32020 (cd $(TARGET_SUBDIR)/newlib && \
32021 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32023 @endif target-newlib
32025 # Other targets (info, dvi, pdf, etc.)
32027 .PHONY: maybe-info-target-newlib info-target-newlib
32028 maybe-info-target-newlib:
32029 @if target-newlib
32030 maybe-info-target-newlib: info-target-newlib
32032 info-target-newlib: \
32033 configure-target-newlib
32034 @: $(MAKE); $(unstage)
32035 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32036 r=`${PWD_COMMAND}`; export r; \
32037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32038 $(NORMAL_TARGET_EXPORTS) \
32039 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32040 for flag in $(EXTRA_TARGET_FLAGS); do \
32041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32042 done; \
32043 (cd $(TARGET_SUBDIR)/newlib && \
32044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32046 "RANLIB=$${RANLIB}" \
32047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32048 info) \
32049 || exit 1
32051 @endif target-newlib
32053 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32054 maybe-dvi-target-newlib:
32055 @if target-newlib
32056 maybe-dvi-target-newlib: dvi-target-newlib
32058 dvi-target-newlib: \
32059 configure-target-newlib
32060 @: $(MAKE); $(unstage)
32061 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32062 r=`${PWD_COMMAND}`; export r; \
32063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32064 $(NORMAL_TARGET_EXPORTS) \
32065 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32066 for flag in $(EXTRA_TARGET_FLAGS); do \
32067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32068 done; \
32069 (cd $(TARGET_SUBDIR)/newlib && \
32070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32072 "RANLIB=$${RANLIB}" \
32073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32074 dvi) \
32075 || exit 1
32077 @endif target-newlib
32079 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32080 maybe-pdf-target-newlib:
32081 @if target-newlib
32082 maybe-pdf-target-newlib: pdf-target-newlib
32084 pdf-target-newlib: \
32085 configure-target-newlib
32086 @: $(MAKE); $(unstage)
32087 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32088 r=`${PWD_COMMAND}`; export r; \
32089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32090 $(NORMAL_TARGET_EXPORTS) \
32091 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32092 for flag in $(EXTRA_TARGET_FLAGS); do \
32093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32094 done; \
32095 (cd $(TARGET_SUBDIR)/newlib && \
32096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32098 "RANLIB=$${RANLIB}" \
32099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32100 pdf) \
32101 || exit 1
32103 @endif target-newlib
32105 .PHONY: maybe-html-target-newlib html-target-newlib
32106 maybe-html-target-newlib:
32107 @if target-newlib
32108 maybe-html-target-newlib: html-target-newlib
32110 html-target-newlib: \
32111 configure-target-newlib
32112 @: $(MAKE); $(unstage)
32113 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32114 r=`${PWD_COMMAND}`; export r; \
32115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32116 $(NORMAL_TARGET_EXPORTS) \
32117 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32118 for flag in $(EXTRA_TARGET_FLAGS); do \
32119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32120 done; \
32121 (cd $(TARGET_SUBDIR)/newlib && \
32122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32124 "RANLIB=$${RANLIB}" \
32125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32126 html) \
32127 || exit 1
32129 @endif target-newlib
32131 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32132 maybe-TAGS-target-newlib:
32133 @if target-newlib
32134 maybe-TAGS-target-newlib: TAGS-target-newlib
32136 TAGS-target-newlib: \
32137 configure-target-newlib
32138 @: $(MAKE); $(unstage)
32139 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32140 r=`${PWD_COMMAND}`; export r; \
32141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32142 $(NORMAL_TARGET_EXPORTS) \
32143 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32144 for flag in $(EXTRA_TARGET_FLAGS); do \
32145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32146 done; \
32147 (cd $(TARGET_SUBDIR)/newlib && \
32148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32150 "RANLIB=$${RANLIB}" \
32151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32152 TAGS) \
32153 || exit 1
32155 @endif target-newlib
32157 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32158 maybe-install-info-target-newlib:
32159 @if target-newlib
32160 maybe-install-info-target-newlib: install-info-target-newlib
32162 install-info-target-newlib: \
32163 configure-target-newlib \
32164 info-target-newlib
32165 @: $(MAKE); $(unstage)
32166 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32167 r=`${PWD_COMMAND}`; export r; \
32168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32169 $(NORMAL_TARGET_EXPORTS) \
32170 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32171 for flag in $(EXTRA_TARGET_FLAGS); do \
32172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32173 done; \
32174 (cd $(TARGET_SUBDIR)/newlib && \
32175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32177 "RANLIB=$${RANLIB}" \
32178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32179 install-info) \
32180 || exit 1
32182 @endif target-newlib
32184 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32185 maybe-install-pdf-target-newlib:
32186 @if target-newlib
32187 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32189 install-pdf-target-newlib: \
32190 configure-target-newlib \
32191 pdf-target-newlib
32192 @: $(MAKE); $(unstage)
32193 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32194 r=`${PWD_COMMAND}`; export r; \
32195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32196 $(NORMAL_TARGET_EXPORTS) \
32197 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
32198 for flag in $(EXTRA_TARGET_FLAGS); do \
32199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32200 done; \
32201 (cd $(TARGET_SUBDIR)/newlib && \
32202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32204 "RANLIB=$${RANLIB}" \
32205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32206 install-pdf) \
32207 || exit 1
32209 @endif target-newlib
32211 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32212 maybe-install-html-target-newlib:
32213 @if target-newlib
32214 maybe-install-html-target-newlib: install-html-target-newlib
32216 install-html-target-newlib: \
32217 configure-target-newlib \
32218 html-target-newlib
32219 @: $(MAKE); $(unstage)
32220 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32221 r=`${PWD_COMMAND}`; export r; \
32222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32223 $(NORMAL_TARGET_EXPORTS) \
32224 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32225 for flag in $(EXTRA_TARGET_FLAGS); do \
32226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32227 done; \
32228 (cd $(TARGET_SUBDIR)/newlib && \
32229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32231 "RANLIB=$${RANLIB}" \
32232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32233 install-html) \
32234 || exit 1
32236 @endif target-newlib
32238 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32239 maybe-installcheck-target-newlib:
32240 @if target-newlib
32241 maybe-installcheck-target-newlib: installcheck-target-newlib
32243 installcheck-target-newlib: \
32244 configure-target-newlib
32245 @: $(MAKE); $(unstage)
32246 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32247 r=`${PWD_COMMAND}`; export r; \
32248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32249 $(NORMAL_TARGET_EXPORTS) \
32250 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32251 for flag in $(EXTRA_TARGET_FLAGS); do \
32252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32253 done; \
32254 (cd $(TARGET_SUBDIR)/newlib && \
32255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32257 "RANLIB=$${RANLIB}" \
32258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32259 installcheck) \
32260 || exit 1
32262 @endif target-newlib
32264 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32265 maybe-mostlyclean-target-newlib:
32266 @if target-newlib
32267 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32269 mostlyclean-target-newlib:
32270 @: $(MAKE); $(unstage)
32271 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32272 r=`${PWD_COMMAND}`; export r; \
32273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32274 $(NORMAL_TARGET_EXPORTS) \
32275 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32276 for flag in $(EXTRA_TARGET_FLAGS); do \
32277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32278 done; \
32279 (cd $(TARGET_SUBDIR)/newlib && \
32280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32282 "RANLIB=$${RANLIB}" \
32283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32284 mostlyclean) \
32285 || exit 1
32287 @endif target-newlib
32289 .PHONY: maybe-clean-target-newlib clean-target-newlib
32290 maybe-clean-target-newlib:
32291 @if target-newlib
32292 maybe-clean-target-newlib: clean-target-newlib
32294 clean-target-newlib:
32295 @: $(MAKE); $(unstage)
32296 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32297 r=`${PWD_COMMAND}`; export r; \
32298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32299 $(NORMAL_TARGET_EXPORTS) \
32300 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32301 for flag in $(EXTRA_TARGET_FLAGS); do \
32302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32303 done; \
32304 (cd $(TARGET_SUBDIR)/newlib && \
32305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32307 "RANLIB=$${RANLIB}" \
32308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32309 clean) \
32310 || exit 1
32312 @endif target-newlib
32314 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32315 maybe-distclean-target-newlib:
32316 @if target-newlib
32317 maybe-distclean-target-newlib: distclean-target-newlib
32319 distclean-target-newlib:
32320 @: $(MAKE); $(unstage)
32321 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32322 r=`${PWD_COMMAND}`; export r; \
32323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32324 $(NORMAL_TARGET_EXPORTS) \
32325 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32326 for flag in $(EXTRA_TARGET_FLAGS); do \
32327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32328 done; \
32329 (cd $(TARGET_SUBDIR)/newlib && \
32330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32332 "RANLIB=$${RANLIB}" \
32333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32334 distclean) \
32335 || exit 1
32337 @endif target-newlib
32339 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32340 maybe-maintainer-clean-target-newlib:
32341 @if target-newlib
32342 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32344 maintainer-clean-target-newlib:
32345 @: $(MAKE); $(unstage)
32346 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32347 r=`${PWD_COMMAND}`; export r; \
32348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32349 $(NORMAL_TARGET_EXPORTS) \
32350 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32351 for flag in $(EXTRA_TARGET_FLAGS); do \
32352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32353 done; \
32354 (cd $(TARGET_SUBDIR)/newlib && \
32355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32357 "RANLIB=$${RANLIB}" \
32358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32359 maintainer-clean) \
32360 || exit 1
32362 @endif target-newlib
32368 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
32369 maybe-configure-target-libgcc:
32370 @if gcc-bootstrap
32371 configure-target-libgcc: stage_current
32372 @endif gcc-bootstrap
32373 @if target-libgcc
32374 maybe-configure-target-libgcc: configure-target-libgcc
32375 configure-target-libgcc:
32376 @r=`${PWD_COMMAND}`; export r; \
32377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32378 echo "Checking multilib configuration for libgcc..."; \
32379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32381 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32382 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32383 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32384 else \
32385 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32386 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32387 fi; \
32388 else \
32389 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32390 fi; \
32391 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32393 $(NORMAL_TARGET_EXPORTS) \
32394 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
32395 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
32396 case $(srcdir) in \
32397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32398 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32400 esac; \
32401 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32402 libsrcdir="$$s/libgcc"; \
32403 rm -f no-such-file || : ; \
32404 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32405 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32406 --target=${target_alias} $${srcdiroption} \
32407 || exit 1
32408 @endif target-libgcc
32412 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
32413 maybe-configure-stage1-target-libgcc:
32414 @if target-libgcc-bootstrap
32415 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
32416 configure-stage1-target-libgcc:
32417 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32418 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32419 @r=`${PWD_COMMAND}`; export r; \
32420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32421 TFLAGS="$(STAGE1_TFLAGS)"; \
32422 echo "Checking multilib configuration for libgcc..."; \
32423 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32424 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32425 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32426 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32427 else \
32428 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32429 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32430 fi; \
32431 else \
32432 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32433 fi; \
32434 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32435 $(NORMAL_TARGET_EXPORTS) \
32436 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32437 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32438 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32439 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
32440 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32441 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32442 case $(srcdir) in \
32443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32444 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32446 esac; \
32447 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32448 libsrcdir="$$s/libgcc"; \
32449 $(SHELL) $${libsrcdir}/configure \
32450 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32451 --target=${target_alias} $${srcdiroption} \
32452 $(STAGE1_CONFIGURE_FLAGS)
32453 @endif target-libgcc-bootstrap
32455 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
32456 maybe-configure-stage2-target-libgcc:
32457 @if target-libgcc-bootstrap
32458 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
32459 configure-stage2-target-libgcc:
32460 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32461 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32462 @r=`${PWD_COMMAND}`; export r; \
32463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32464 TFLAGS="$(STAGE2_TFLAGS)"; \
32465 echo "Checking multilib configuration for libgcc..."; \
32466 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32467 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32468 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32469 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32470 else \
32471 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32472 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32473 fi; \
32474 else \
32475 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32476 fi; \
32477 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32478 $(NORMAL_TARGET_EXPORTS) \
32480 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32481 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32482 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32483 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
32484 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32485 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32486 case $(srcdir) in \
32487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32488 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32490 esac; \
32491 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32492 libsrcdir="$$s/libgcc"; \
32493 $(SHELL) $${libsrcdir}/configure \
32494 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32495 --target=${target_alias} $${srcdiroption} \
32496 --with-build-libsubdir=$(HOST_SUBDIR) \
32497 $(STAGE2_CONFIGURE_FLAGS)
32498 @endif target-libgcc-bootstrap
32500 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
32501 maybe-configure-stage3-target-libgcc:
32502 @if target-libgcc-bootstrap
32503 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
32504 configure-stage3-target-libgcc:
32505 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32506 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32507 @r=`${PWD_COMMAND}`; export r; \
32508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32509 TFLAGS="$(STAGE3_TFLAGS)"; \
32510 echo "Checking multilib configuration for libgcc..."; \
32511 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32512 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32513 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32514 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32515 else \
32516 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32517 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32518 fi; \
32519 else \
32520 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32521 fi; \
32522 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32523 $(NORMAL_TARGET_EXPORTS) \
32525 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32526 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32527 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32528 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
32529 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32530 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32531 case $(srcdir) in \
32532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32533 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32535 esac; \
32536 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32537 libsrcdir="$$s/libgcc"; \
32538 $(SHELL) $${libsrcdir}/configure \
32539 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32540 --target=${target_alias} $${srcdiroption} \
32541 --with-build-libsubdir=$(HOST_SUBDIR) \
32542 $(STAGE3_CONFIGURE_FLAGS)
32543 @endif target-libgcc-bootstrap
32545 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
32546 maybe-configure-stage4-target-libgcc:
32547 @if target-libgcc-bootstrap
32548 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
32549 configure-stage4-target-libgcc:
32550 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32551 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32552 @r=`${PWD_COMMAND}`; export r; \
32553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32554 TFLAGS="$(STAGE4_TFLAGS)"; \
32555 echo "Checking multilib configuration for libgcc..."; \
32556 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32557 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32558 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32559 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32560 else \
32561 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32562 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32563 fi; \
32564 else \
32565 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32566 fi; \
32567 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32568 $(NORMAL_TARGET_EXPORTS) \
32570 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32571 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32572 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32573 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
32574 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32575 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32576 case $(srcdir) in \
32577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32578 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32580 esac; \
32581 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32582 libsrcdir="$$s/libgcc"; \
32583 $(SHELL) $${libsrcdir}/configure \
32584 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32585 --target=${target_alias} $${srcdiroption} \
32586 --with-build-libsubdir=$(HOST_SUBDIR) \
32587 $(STAGE4_CONFIGURE_FLAGS)
32588 @endif target-libgcc-bootstrap
32590 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
32591 maybe-configure-stageprofile-target-libgcc:
32592 @if target-libgcc-bootstrap
32593 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32594 configure-stageprofile-target-libgcc:
32595 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32596 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32597 @r=`${PWD_COMMAND}`; export r; \
32598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32599 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32600 echo "Checking multilib configuration for libgcc..."; \
32601 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32602 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32603 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32604 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32605 else \
32606 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32607 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32608 fi; \
32609 else \
32610 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32611 fi; \
32612 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32613 $(NORMAL_TARGET_EXPORTS) \
32615 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32616 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32617 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32618 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
32619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32620 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32621 case $(srcdir) in \
32622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32623 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32625 esac; \
32626 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32627 libsrcdir="$$s/libgcc"; \
32628 $(SHELL) $${libsrcdir}/configure \
32629 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32630 --target=${target_alias} $${srcdiroption} \
32631 --with-build-libsubdir=$(HOST_SUBDIR) \
32632 $(STAGEprofile_CONFIGURE_FLAGS)
32633 @endif target-libgcc-bootstrap
32635 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
32636 maybe-configure-stagefeedback-target-libgcc:
32637 @if target-libgcc-bootstrap
32638 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32639 configure-stagefeedback-target-libgcc:
32640 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32641 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32642 @r=`${PWD_COMMAND}`; export r; \
32643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32644 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32645 echo "Checking multilib configuration for libgcc..."; \
32646 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32647 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32648 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32649 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32650 else \
32651 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32652 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32653 fi; \
32654 else \
32655 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32656 fi; \
32657 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32658 $(NORMAL_TARGET_EXPORTS) \
32660 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32661 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32662 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32663 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
32664 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32665 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32666 case $(srcdir) in \
32667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32668 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32670 esac; \
32671 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32672 libsrcdir="$$s/libgcc"; \
32673 $(SHELL) $${libsrcdir}/configure \
32674 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32675 --target=${target_alias} $${srcdiroption} \
32676 --with-build-libsubdir=$(HOST_SUBDIR) \
32677 $(STAGEfeedback_CONFIGURE_FLAGS)
32678 @endif target-libgcc-bootstrap
32684 .PHONY: all-target-libgcc maybe-all-target-libgcc
32685 maybe-all-target-libgcc:
32686 @if gcc-bootstrap
32687 all-target-libgcc: stage_current
32688 @endif gcc-bootstrap
32689 @if target-libgcc
32690 TARGET-target-libgcc=all
32691 maybe-all-target-libgcc: all-target-libgcc
32692 all-target-libgcc: configure-target-libgcc
32693 @r=`${PWD_COMMAND}`; export r; \
32694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32695 $(NORMAL_TARGET_EXPORTS) \
32696 (cd $(TARGET_SUBDIR)/libgcc && \
32697 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32698 $(TARGET-target-libgcc))
32699 @endif target-libgcc
32703 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
32704 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
32705 maybe-all-stage1-target-libgcc:
32706 maybe-clean-stage1-target-libgcc:
32707 @if target-libgcc-bootstrap
32708 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
32709 all-stage1: all-stage1-target-libgcc
32710 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
32711 all-stage1-target-libgcc: configure-stage1-target-libgcc
32712 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32713 @r=`${PWD_COMMAND}`; export r; \
32714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32715 TFLAGS="$(STAGE1_TFLAGS)"; \
32716 $(NORMAL_TARGET_EXPORTS) \
32717 cd $(TARGET_SUBDIR)/libgcc && \
32718 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32719 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32720 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32721 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32722 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32723 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32724 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32725 $(EXTRA_TARGET_FLAGS) \
32726 TFLAGS="$(STAGE1_TFLAGS)" \
32727 $(TARGET-stage1-target-libgcc)
32729 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
32730 clean-stage1: clean-stage1-target-libgcc
32731 clean-stage1-target-libgcc:
32732 @if [ $(current_stage) = stage1 ]; then \
32733 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32734 else \
32735 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
32736 $(MAKE) stage1-start; \
32737 fi; \
32738 cd $(TARGET_SUBDIR)/libgcc && \
32739 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32740 clean
32741 @endif target-libgcc-bootstrap
32744 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
32745 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
32746 maybe-all-stage2-target-libgcc:
32747 maybe-clean-stage2-target-libgcc:
32748 @if target-libgcc-bootstrap
32749 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
32750 all-stage2: all-stage2-target-libgcc
32751 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
32752 all-stage2-target-libgcc: configure-stage2-target-libgcc
32753 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32754 @r=`${PWD_COMMAND}`; export r; \
32755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32756 TFLAGS="$(STAGE2_TFLAGS)"; \
32757 $(NORMAL_TARGET_EXPORTS) \
32759 cd $(TARGET_SUBDIR)/libgcc && \
32760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32761 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32762 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32763 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32764 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32765 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32766 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32767 $(EXTRA_TARGET_FLAGS) \
32768 TFLAGS="$(STAGE2_TFLAGS)" \
32769 $(TARGET-stage2-target-libgcc)
32771 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
32772 clean-stage2: clean-stage2-target-libgcc
32773 clean-stage2-target-libgcc:
32774 @if [ $(current_stage) = stage2 ]; then \
32775 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32776 else \
32777 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
32778 $(MAKE) stage2-start; \
32779 fi; \
32780 cd $(TARGET_SUBDIR)/libgcc && \
32781 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32783 clean
32784 @endif target-libgcc-bootstrap
32787 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
32788 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
32789 maybe-all-stage3-target-libgcc:
32790 maybe-clean-stage3-target-libgcc:
32791 @if target-libgcc-bootstrap
32792 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
32793 all-stage3: all-stage3-target-libgcc
32794 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
32795 all-stage3-target-libgcc: configure-stage3-target-libgcc
32796 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32797 @r=`${PWD_COMMAND}`; export r; \
32798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32799 TFLAGS="$(STAGE3_TFLAGS)"; \
32800 $(NORMAL_TARGET_EXPORTS) \
32802 cd $(TARGET_SUBDIR)/libgcc && \
32803 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32804 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32805 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32806 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32807 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32808 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32809 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32810 $(EXTRA_TARGET_FLAGS) \
32811 TFLAGS="$(STAGE3_TFLAGS)" \
32812 $(TARGET-stage3-target-libgcc)
32814 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
32815 clean-stage3: clean-stage3-target-libgcc
32816 clean-stage3-target-libgcc:
32817 @if [ $(current_stage) = stage3 ]; then \
32818 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32819 else \
32820 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
32821 $(MAKE) stage3-start; \
32822 fi; \
32823 cd $(TARGET_SUBDIR)/libgcc && \
32824 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32826 clean
32827 @endif target-libgcc-bootstrap
32830 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
32831 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
32832 maybe-all-stage4-target-libgcc:
32833 maybe-clean-stage4-target-libgcc:
32834 @if target-libgcc-bootstrap
32835 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
32836 all-stage4: all-stage4-target-libgcc
32837 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
32838 all-stage4-target-libgcc: configure-stage4-target-libgcc
32839 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32840 @r=`${PWD_COMMAND}`; export r; \
32841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32842 TFLAGS="$(STAGE4_TFLAGS)"; \
32843 $(NORMAL_TARGET_EXPORTS) \
32845 cd $(TARGET_SUBDIR)/libgcc && \
32846 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32847 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32848 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32849 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32850 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32851 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32852 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32853 $(EXTRA_TARGET_FLAGS) \
32854 TFLAGS="$(STAGE4_TFLAGS)" \
32855 $(TARGET-stage4-target-libgcc)
32857 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
32858 clean-stage4: clean-stage4-target-libgcc
32859 clean-stage4-target-libgcc:
32860 @if [ $(current_stage) = stage4 ]; then \
32861 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32862 else \
32863 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
32864 $(MAKE) stage4-start; \
32865 fi; \
32866 cd $(TARGET_SUBDIR)/libgcc && \
32867 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32869 clean
32870 @endif target-libgcc-bootstrap
32873 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
32874 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
32875 maybe-all-stageprofile-target-libgcc:
32876 maybe-clean-stageprofile-target-libgcc:
32877 @if target-libgcc-bootstrap
32878 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
32879 all-stageprofile: all-stageprofile-target-libgcc
32880 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
32881 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32882 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32883 @r=`${PWD_COMMAND}`; export r; \
32884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32885 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32886 $(NORMAL_TARGET_EXPORTS) \
32888 cd $(TARGET_SUBDIR)/libgcc && \
32889 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32890 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32891 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32892 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32893 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32894 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32895 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32896 $(EXTRA_TARGET_FLAGS) \
32897 TFLAGS="$(STAGEprofile_TFLAGS)" \
32898 $(TARGET-stageprofile-target-libgcc)
32900 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
32901 clean-stageprofile: clean-stageprofile-target-libgcc
32902 clean-stageprofile-target-libgcc:
32903 @if [ $(current_stage) = stageprofile ]; then \
32904 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32905 else \
32906 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
32907 $(MAKE) stageprofile-start; \
32908 fi; \
32909 cd $(TARGET_SUBDIR)/libgcc && \
32910 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32912 clean
32913 @endif target-libgcc-bootstrap
32916 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
32917 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
32918 maybe-all-stagefeedback-target-libgcc:
32919 maybe-clean-stagefeedback-target-libgcc:
32920 @if target-libgcc-bootstrap
32921 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
32922 all-stagefeedback: all-stagefeedback-target-libgcc
32923 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
32924 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32925 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32926 @r=`${PWD_COMMAND}`; export r; \
32927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32928 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32929 $(NORMAL_TARGET_EXPORTS) \
32931 cd $(TARGET_SUBDIR)/libgcc && \
32932 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32933 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32934 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32935 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32936 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32937 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32938 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32939 $(EXTRA_TARGET_FLAGS) \
32940 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32941 $(TARGET-stagefeedback-target-libgcc)
32943 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
32944 clean-stagefeedback: clean-stagefeedback-target-libgcc
32945 clean-stagefeedback-target-libgcc:
32946 @if [ $(current_stage) = stagefeedback ]; then \
32947 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32948 else \
32949 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
32950 $(MAKE) stagefeedback-start; \
32951 fi; \
32952 cd $(TARGET_SUBDIR)/libgcc && \
32953 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32955 clean
32956 @endif target-libgcc-bootstrap
32963 .PHONY: check-target-libgcc maybe-check-target-libgcc
32964 maybe-check-target-libgcc:
32965 @if target-libgcc
32966 maybe-check-target-libgcc: check-target-libgcc
32968 # Dummy target for uncheckable module.
32969 check-target-libgcc:
32971 @endif target-libgcc
32973 .PHONY: install-target-libgcc maybe-install-target-libgcc
32974 maybe-install-target-libgcc:
32975 @if target-libgcc
32976 maybe-install-target-libgcc: install-target-libgcc
32978 install-target-libgcc: installdirs
32979 @: $(MAKE); $(unstage)
32980 @r=`${PWD_COMMAND}`; export r; \
32981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32982 $(NORMAL_TARGET_EXPORTS) \
32983 (cd $(TARGET_SUBDIR)/libgcc && \
32984 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32986 @endif target-libgcc
32988 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
32989 maybe-install-strip-target-libgcc:
32990 @if target-libgcc
32991 maybe-install-strip-target-libgcc: install-strip-target-libgcc
32993 install-strip-target-libgcc: installdirs
32994 @: $(MAKE); $(unstage)
32995 @r=`${PWD_COMMAND}`; export r; \
32996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32997 $(NORMAL_TARGET_EXPORTS) \
32998 (cd $(TARGET_SUBDIR)/libgcc && \
32999 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33001 @endif target-libgcc
33003 # Other targets (info, dvi, pdf, etc.)
33005 .PHONY: maybe-info-target-libgcc info-target-libgcc
33006 maybe-info-target-libgcc:
33007 @if target-libgcc
33008 maybe-info-target-libgcc: info-target-libgcc
33010 info-target-libgcc: \
33011 configure-target-libgcc
33012 @: $(MAKE); $(unstage)
33013 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33014 r=`${PWD_COMMAND}`; export r; \
33015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33016 $(NORMAL_TARGET_EXPORTS) \
33017 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
33018 for flag in $(EXTRA_TARGET_FLAGS); do \
33019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33020 done; \
33021 (cd $(TARGET_SUBDIR)/libgcc && \
33022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33024 "RANLIB=$${RANLIB}" \
33025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33026 info) \
33027 || exit 1
33029 @endif target-libgcc
33031 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
33032 maybe-dvi-target-libgcc:
33033 @if target-libgcc
33034 maybe-dvi-target-libgcc: dvi-target-libgcc
33036 dvi-target-libgcc: \
33037 configure-target-libgcc
33038 @: $(MAKE); $(unstage)
33039 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33040 r=`${PWD_COMMAND}`; export r; \
33041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33042 $(NORMAL_TARGET_EXPORTS) \
33043 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
33044 for flag in $(EXTRA_TARGET_FLAGS); do \
33045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33046 done; \
33047 (cd $(TARGET_SUBDIR)/libgcc && \
33048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33050 "RANLIB=$${RANLIB}" \
33051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33052 dvi) \
33053 || exit 1
33055 @endif target-libgcc
33057 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
33058 maybe-pdf-target-libgcc:
33059 @if target-libgcc
33060 maybe-pdf-target-libgcc: pdf-target-libgcc
33062 pdf-target-libgcc: \
33063 configure-target-libgcc
33064 @: $(MAKE); $(unstage)
33065 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33066 r=`${PWD_COMMAND}`; export r; \
33067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33068 $(NORMAL_TARGET_EXPORTS) \
33069 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
33070 for flag in $(EXTRA_TARGET_FLAGS); do \
33071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33072 done; \
33073 (cd $(TARGET_SUBDIR)/libgcc && \
33074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33076 "RANLIB=$${RANLIB}" \
33077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33078 pdf) \
33079 || exit 1
33081 @endif target-libgcc
33083 .PHONY: maybe-html-target-libgcc html-target-libgcc
33084 maybe-html-target-libgcc:
33085 @if target-libgcc
33086 maybe-html-target-libgcc: html-target-libgcc
33088 html-target-libgcc: \
33089 configure-target-libgcc
33090 @: $(MAKE); $(unstage)
33091 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33092 r=`${PWD_COMMAND}`; export r; \
33093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33094 $(NORMAL_TARGET_EXPORTS) \
33095 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33096 for flag in $(EXTRA_TARGET_FLAGS); do \
33097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33098 done; \
33099 (cd $(TARGET_SUBDIR)/libgcc && \
33100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33102 "RANLIB=$${RANLIB}" \
33103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33104 html) \
33105 || exit 1
33107 @endif target-libgcc
33109 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33110 maybe-TAGS-target-libgcc:
33111 @if target-libgcc
33112 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33114 TAGS-target-libgcc: \
33115 configure-target-libgcc
33116 @: $(MAKE); $(unstage)
33117 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33118 r=`${PWD_COMMAND}`; export r; \
33119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33120 $(NORMAL_TARGET_EXPORTS) \
33121 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33122 for flag in $(EXTRA_TARGET_FLAGS); do \
33123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33124 done; \
33125 (cd $(TARGET_SUBDIR)/libgcc && \
33126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33128 "RANLIB=$${RANLIB}" \
33129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33130 TAGS) \
33131 || exit 1
33133 @endif target-libgcc
33135 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33136 maybe-install-info-target-libgcc:
33137 @if target-libgcc
33138 maybe-install-info-target-libgcc: install-info-target-libgcc
33140 install-info-target-libgcc: \
33141 configure-target-libgcc \
33142 info-target-libgcc
33143 @: $(MAKE); $(unstage)
33144 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33145 r=`${PWD_COMMAND}`; export r; \
33146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33147 $(NORMAL_TARGET_EXPORTS) \
33148 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
33149 for flag in $(EXTRA_TARGET_FLAGS); do \
33150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33151 done; \
33152 (cd $(TARGET_SUBDIR)/libgcc && \
33153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33155 "RANLIB=$${RANLIB}" \
33156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33157 install-info) \
33158 || exit 1
33160 @endif target-libgcc
33162 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33163 maybe-install-pdf-target-libgcc:
33164 @if target-libgcc
33165 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33167 install-pdf-target-libgcc: \
33168 configure-target-libgcc \
33169 pdf-target-libgcc
33170 @: $(MAKE); $(unstage)
33171 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33172 r=`${PWD_COMMAND}`; export r; \
33173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33174 $(NORMAL_TARGET_EXPORTS) \
33175 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
33176 for flag in $(EXTRA_TARGET_FLAGS); do \
33177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33178 done; \
33179 (cd $(TARGET_SUBDIR)/libgcc && \
33180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33182 "RANLIB=$${RANLIB}" \
33183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33184 install-pdf) \
33185 || exit 1
33187 @endif target-libgcc
33189 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33190 maybe-install-html-target-libgcc:
33191 @if target-libgcc
33192 maybe-install-html-target-libgcc: install-html-target-libgcc
33194 install-html-target-libgcc: \
33195 configure-target-libgcc \
33196 html-target-libgcc
33197 @: $(MAKE); $(unstage)
33198 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33199 r=`${PWD_COMMAND}`; export r; \
33200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33201 $(NORMAL_TARGET_EXPORTS) \
33202 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
33203 for flag in $(EXTRA_TARGET_FLAGS); do \
33204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33205 done; \
33206 (cd $(TARGET_SUBDIR)/libgcc && \
33207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33209 "RANLIB=$${RANLIB}" \
33210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33211 install-html) \
33212 || exit 1
33214 @endif target-libgcc
33216 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33217 maybe-installcheck-target-libgcc:
33218 @if target-libgcc
33219 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33221 installcheck-target-libgcc: \
33222 configure-target-libgcc
33223 @: $(MAKE); $(unstage)
33224 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33225 r=`${PWD_COMMAND}`; export r; \
33226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33227 $(NORMAL_TARGET_EXPORTS) \
33228 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33229 for flag in $(EXTRA_TARGET_FLAGS); do \
33230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33231 done; \
33232 (cd $(TARGET_SUBDIR)/libgcc && \
33233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33235 "RANLIB=$${RANLIB}" \
33236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33237 installcheck) \
33238 || exit 1
33240 @endif target-libgcc
33242 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33243 maybe-mostlyclean-target-libgcc:
33244 @if target-libgcc
33245 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33247 mostlyclean-target-libgcc:
33248 @: $(MAKE); $(unstage)
33249 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33250 r=`${PWD_COMMAND}`; export r; \
33251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33252 $(NORMAL_TARGET_EXPORTS) \
33253 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33254 for flag in $(EXTRA_TARGET_FLAGS); do \
33255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33256 done; \
33257 (cd $(TARGET_SUBDIR)/libgcc && \
33258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33260 "RANLIB=$${RANLIB}" \
33261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33262 mostlyclean) \
33263 || exit 1
33265 @endif target-libgcc
33267 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33268 maybe-clean-target-libgcc:
33269 @if target-libgcc
33270 maybe-clean-target-libgcc: clean-target-libgcc
33272 clean-target-libgcc:
33273 @: $(MAKE); $(unstage)
33274 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33275 r=`${PWD_COMMAND}`; export r; \
33276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33277 $(NORMAL_TARGET_EXPORTS) \
33278 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33279 for flag in $(EXTRA_TARGET_FLAGS); do \
33280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33281 done; \
33282 (cd $(TARGET_SUBDIR)/libgcc && \
33283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33285 "RANLIB=$${RANLIB}" \
33286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33287 clean) \
33288 || exit 1
33290 @endif target-libgcc
33292 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33293 maybe-distclean-target-libgcc:
33294 @if target-libgcc
33295 maybe-distclean-target-libgcc: distclean-target-libgcc
33297 distclean-target-libgcc:
33298 @: $(MAKE); $(unstage)
33299 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33300 r=`${PWD_COMMAND}`; export r; \
33301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33302 $(NORMAL_TARGET_EXPORTS) \
33303 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33304 for flag in $(EXTRA_TARGET_FLAGS); do \
33305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33306 done; \
33307 (cd $(TARGET_SUBDIR)/libgcc && \
33308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33310 "RANLIB=$${RANLIB}" \
33311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33312 distclean) \
33313 || exit 1
33315 @endif target-libgcc
33317 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
33318 maybe-maintainer-clean-target-libgcc:
33319 @if target-libgcc
33320 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
33322 maintainer-clean-target-libgcc:
33323 @: $(MAKE); $(unstage)
33324 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33325 r=`${PWD_COMMAND}`; export r; \
33326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33327 $(NORMAL_TARGET_EXPORTS) \
33328 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
33329 for flag in $(EXTRA_TARGET_FLAGS); do \
33330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33331 done; \
33332 (cd $(TARGET_SUBDIR)/libgcc && \
33333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33335 "RANLIB=$${RANLIB}" \
33336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33337 maintainer-clean) \
33338 || exit 1
33340 @endif target-libgcc
33346 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
33347 maybe-configure-target-libquadmath:
33348 @if gcc-bootstrap
33349 configure-target-libquadmath: stage_current
33350 @endif gcc-bootstrap
33351 @if target-libquadmath
33352 maybe-configure-target-libquadmath: configure-target-libquadmath
33353 configure-target-libquadmath:
33354 @: $(MAKE); $(unstage)
33355 @r=`${PWD_COMMAND}`; export r; \
33356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33357 echo "Checking multilib configuration for libquadmath..."; \
33358 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33359 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
33360 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33361 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33362 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
33363 else \
33364 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
33365 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33366 fi; \
33367 else \
33368 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33369 fi; \
33370 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
33371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33372 $(NORMAL_TARGET_EXPORTS) \
33373 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
33374 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
33375 case $(srcdir) in \
33376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33377 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
33378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33379 esac; \
33380 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
33381 libsrcdir="$$s/libquadmath"; \
33382 rm -f no-such-file || : ; \
33383 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33384 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33385 --target=${target_alias} $${srcdiroption} \
33386 || exit 1
33387 @endif target-libquadmath
33393 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
33394 maybe-all-target-libquadmath:
33395 @if gcc-bootstrap
33396 all-target-libquadmath: stage_current
33397 @endif gcc-bootstrap
33398 @if target-libquadmath
33399 TARGET-target-libquadmath=all
33400 maybe-all-target-libquadmath: all-target-libquadmath
33401 all-target-libquadmath: configure-target-libquadmath
33402 @: $(MAKE); $(unstage)
33403 @r=`${PWD_COMMAND}`; export r; \
33404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33405 $(NORMAL_TARGET_EXPORTS) \
33406 (cd $(TARGET_SUBDIR)/libquadmath && \
33407 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33408 $(TARGET-target-libquadmath))
33409 @endif target-libquadmath
33415 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
33416 maybe-check-target-libquadmath:
33417 @if target-libquadmath
33418 maybe-check-target-libquadmath: check-target-libquadmath
33420 check-target-libquadmath:
33421 @: $(MAKE); $(unstage)
33422 @r=`${PWD_COMMAND}`; export r; \
33423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33424 $(NORMAL_TARGET_EXPORTS) \
33425 (cd $(TARGET_SUBDIR)/libquadmath && \
33426 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33428 @endif target-libquadmath
33430 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
33431 maybe-install-target-libquadmath:
33432 @if target-libquadmath
33433 maybe-install-target-libquadmath: install-target-libquadmath
33435 install-target-libquadmath: installdirs
33436 @: $(MAKE); $(unstage)
33437 @r=`${PWD_COMMAND}`; export r; \
33438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33439 $(NORMAL_TARGET_EXPORTS) \
33440 (cd $(TARGET_SUBDIR)/libquadmath && \
33441 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33443 @endif target-libquadmath
33445 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
33446 maybe-install-strip-target-libquadmath:
33447 @if target-libquadmath
33448 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
33450 install-strip-target-libquadmath: installdirs
33451 @: $(MAKE); $(unstage)
33452 @r=`${PWD_COMMAND}`; export r; \
33453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33454 $(NORMAL_TARGET_EXPORTS) \
33455 (cd $(TARGET_SUBDIR)/libquadmath && \
33456 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33458 @endif target-libquadmath
33460 # Other targets (info, dvi, pdf, etc.)
33462 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
33463 maybe-info-target-libquadmath:
33464 @if target-libquadmath
33465 maybe-info-target-libquadmath: info-target-libquadmath
33467 info-target-libquadmath: \
33468 configure-target-libquadmath
33469 @: $(MAKE); $(unstage)
33470 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33471 r=`${PWD_COMMAND}`; export r; \
33472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33473 $(NORMAL_TARGET_EXPORTS) \
33474 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
33475 for flag in $(EXTRA_TARGET_FLAGS); do \
33476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33477 done; \
33478 (cd $(TARGET_SUBDIR)/libquadmath && \
33479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33481 "RANLIB=$${RANLIB}" \
33482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33483 info) \
33484 || exit 1
33486 @endif target-libquadmath
33488 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
33489 maybe-dvi-target-libquadmath:
33490 @if target-libquadmath
33491 maybe-dvi-target-libquadmath: dvi-target-libquadmath
33493 dvi-target-libquadmath: \
33494 configure-target-libquadmath
33495 @: $(MAKE); $(unstage)
33496 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33497 r=`${PWD_COMMAND}`; export r; \
33498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33499 $(NORMAL_TARGET_EXPORTS) \
33500 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
33501 for flag in $(EXTRA_TARGET_FLAGS); do \
33502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33503 done; \
33504 (cd $(TARGET_SUBDIR)/libquadmath && \
33505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33507 "RANLIB=$${RANLIB}" \
33508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33509 dvi) \
33510 || exit 1
33512 @endif target-libquadmath
33514 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
33515 maybe-pdf-target-libquadmath:
33516 @if target-libquadmath
33517 maybe-pdf-target-libquadmath: pdf-target-libquadmath
33519 pdf-target-libquadmath: \
33520 configure-target-libquadmath
33521 @: $(MAKE); $(unstage)
33522 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33523 r=`${PWD_COMMAND}`; export r; \
33524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33525 $(NORMAL_TARGET_EXPORTS) \
33526 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33527 for flag in $(EXTRA_TARGET_FLAGS); do \
33528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33529 done; \
33530 (cd $(TARGET_SUBDIR)/libquadmath && \
33531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33533 "RANLIB=$${RANLIB}" \
33534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33535 pdf) \
33536 || exit 1
33538 @endif target-libquadmath
33540 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
33541 maybe-html-target-libquadmath:
33542 @if target-libquadmath
33543 maybe-html-target-libquadmath: html-target-libquadmath
33545 html-target-libquadmath: \
33546 configure-target-libquadmath
33547 @: $(MAKE); $(unstage)
33548 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33549 r=`${PWD_COMMAND}`; export r; \
33550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33551 $(NORMAL_TARGET_EXPORTS) \
33552 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
33553 for flag in $(EXTRA_TARGET_FLAGS); do \
33554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33555 done; \
33556 (cd $(TARGET_SUBDIR)/libquadmath && \
33557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33559 "RANLIB=$${RANLIB}" \
33560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33561 html) \
33562 || exit 1
33564 @endif target-libquadmath
33566 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
33567 maybe-TAGS-target-libquadmath:
33568 @if target-libquadmath
33569 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
33571 TAGS-target-libquadmath: \
33572 configure-target-libquadmath
33573 @: $(MAKE); $(unstage)
33574 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33575 r=`${PWD_COMMAND}`; export r; \
33576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33577 $(NORMAL_TARGET_EXPORTS) \
33578 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
33579 for flag in $(EXTRA_TARGET_FLAGS); do \
33580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33581 done; \
33582 (cd $(TARGET_SUBDIR)/libquadmath && \
33583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33585 "RANLIB=$${RANLIB}" \
33586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33587 TAGS) \
33588 || exit 1
33590 @endif target-libquadmath
33592 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
33593 maybe-install-info-target-libquadmath:
33594 @if target-libquadmath
33595 maybe-install-info-target-libquadmath: install-info-target-libquadmath
33597 install-info-target-libquadmath: \
33598 configure-target-libquadmath \
33599 info-target-libquadmath
33600 @: $(MAKE); $(unstage)
33601 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33602 r=`${PWD_COMMAND}`; export r; \
33603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33604 $(NORMAL_TARGET_EXPORTS) \
33605 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
33606 for flag in $(EXTRA_TARGET_FLAGS); do \
33607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33608 done; \
33609 (cd $(TARGET_SUBDIR)/libquadmath && \
33610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33612 "RANLIB=$${RANLIB}" \
33613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33614 install-info) \
33615 || exit 1
33617 @endif target-libquadmath
33619 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
33620 maybe-install-pdf-target-libquadmath:
33621 @if target-libquadmath
33622 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
33624 install-pdf-target-libquadmath: \
33625 configure-target-libquadmath \
33626 pdf-target-libquadmath
33627 @: $(MAKE); $(unstage)
33628 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33629 r=`${PWD_COMMAND}`; export r; \
33630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33631 $(NORMAL_TARGET_EXPORTS) \
33632 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33633 for flag in $(EXTRA_TARGET_FLAGS); do \
33634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33635 done; \
33636 (cd $(TARGET_SUBDIR)/libquadmath && \
33637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33639 "RANLIB=$${RANLIB}" \
33640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33641 install-pdf) \
33642 || exit 1
33644 @endif target-libquadmath
33646 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
33647 maybe-install-html-target-libquadmath:
33648 @if target-libquadmath
33649 maybe-install-html-target-libquadmath: install-html-target-libquadmath
33651 install-html-target-libquadmath: \
33652 configure-target-libquadmath \
33653 html-target-libquadmath
33654 @: $(MAKE); $(unstage)
33655 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33656 r=`${PWD_COMMAND}`; export r; \
33657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33658 $(NORMAL_TARGET_EXPORTS) \
33659 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
33660 for flag in $(EXTRA_TARGET_FLAGS); do \
33661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33662 done; \
33663 (cd $(TARGET_SUBDIR)/libquadmath && \
33664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33666 "RANLIB=$${RANLIB}" \
33667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33668 install-html) \
33669 || exit 1
33671 @endif target-libquadmath
33673 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
33674 maybe-installcheck-target-libquadmath:
33675 @if target-libquadmath
33676 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
33678 installcheck-target-libquadmath: \
33679 configure-target-libquadmath
33680 @: $(MAKE); $(unstage)
33681 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33682 r=`${PWD_COMMAND}`; export r; \
33683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33684 $(NORMAL_TARGET_EXPORTS) \
33685 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
33686 for flag in $(EXTRA_TARGET_FLAGS); do \
33687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33688 done; \
33689 (cd $(TARGET_SUBDIR)/libquadmath && \
33690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33692 "RANLIB=$${RANLIB}" \
33693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33694 installcheck) \
33695 || exit 1
33697 @endif target-libquadmath
33699 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
33700 maybe-mostlyclean-target-libquadmath:
33701 @if target-libquadmath
33702 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
33704 mostlyclean-target-libquadmath:
33705 @: $(MAKE); $(unstage)
33706 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33707 r=`${PWD_COMMAND}`; export r; \
33708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33709 $(NORMAL_TARGET_EXPORTS) \
33710 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
33711 for flag in $(EXTRA_TARGET_FLAGS); do \
33712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33713 done; \
33714 (cd $(TARGET_SUBDIR)/libquadmath && \
33715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33717 "RANLIB=$${RANLIB}" \
33718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33719 mostlyclean) \
33720 || exit 1
33722 @endif target-libquadmath
33724 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
33725 maybe-clean-target-libquadmath:
33726 @if target-libquadmath
33727 maybe-clean-target-libquadmath: clean-target-libquadmath
33729 clean-target-libquadmath:
33730 @: $(MAKE); $(unstage)
33731 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33732 r=`${PWD_COMMAND}`; export r; \
33733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33734 $(NORMAL_TARGET_EXPORTS) \
33735 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
33736 for flag in $(EXTRA_TARGET_FLAGS); do \
33737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33738 done; \
33739 (cd $(TARGET_SUBDIR)/libquadmath && \
33740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33742 "RANLIB=$${RANLIB}" \
33743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33744 clean) \
33745 || exit 1
33747 @endif target-libquadmath
33749 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
33750 maybe-distclean-target-libquadmath:
33751 @if target-libquadmath
33752 maybe-distclean-target-libquadmath: distclean-target-libquadmath
33754 distclean-target-libquadmath:
33755 @: $(MAKE); $(unstage)
33756 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33757 r=`${PWD_COMMAND}`; export r; \
33758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33759 $(NORMAL_TARGET_EXPORTS) \
33760 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
33761 for flag in $(EXTRA_TARGET_FLAGS); do \
33762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33763 done; \
33764 (cd $(TARGET_SUBDIR)/libquadmath && \
33765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33767 "RANLIB=$${RANLIB}" \
33768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33769 distclean) \
33770 || exit 1
33772 @endif target-libquadmath
33774 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
33775 maybe-maintainer-clean-target-libquadmath:
33776 @if target-libquadmath
33777 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
33779 maintainer-clean-target-libquadmath:
33780 @: $(MAKE); $(unstage)
33781 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33782 r=`${PWD_COMMAND}`; export r; \
33783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33784 $(NORMAL_TARGET_EXPORTS) \
33785 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
33786 for flag in $(EXTRA_TARGET_FLAGS); do \
33787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33788 done; \
33789 (cd $(TARGET_SUBDIR)/libquadmath && \
33790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33792 "RANLIB=$${RANLIB}" \
33793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33794 maintainer-clean) \
33795 || exit 1
33797 @endif target-libquadmath
33803 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33804 maybe-configure-target-libgfortran:
33805 @if gcc-bootstrap
33806 configure-target-libgfortran: stage_current
33807 @endif gcc-bootstrap
33808 @if target-libgfortran
33809 maybe-configure-target-libgfortran: configure-target-libgfortran
33810 configure-target-libgfortran:
33811 @: $(MAKE); $(unstage)
33812 @r=`${PWD_COMMAND}`; export r; \
33813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33814 echo "Checking multilib configuration for libgfortran..."; \
33815 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33816 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33817 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33818 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33819 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33820 else \
33821 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33822 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33823 fi; \
33824 else \
33825 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33826 fi; \
33827 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33828 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33829 $(NORMAL_TARGET_EXPORTS) \
33830 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33831 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33832 case $(srcdir) in \
33833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33834 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33836 esac; \
33837 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33838 libsrcdir="$$s/libgfortran"; \
33839 rm -f no-such-file || : ; \
33840 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33841 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33842 --target=${target_alias} $${srcdiroption} \
33843 || exit 1
33844 @endif target-libgfortran
33850 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33851 maybe-all-target-libgfortran:
33852 @if gcc-bootstrap
33853 all-target-libgfortran: stage_current
33854 @endif gcc-bootstrap
33855 @if target-libgfortran
33856 TARGET-target-libgfortran=all
33857 maybe-all-target-libgfortran: all-target-libgfortran
33858 all-target-libgfortran: configure-target-libgfortran
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)/libgfortran && \
33864 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33865 $(TARGET-target-libgfortran))
33866 @endif target-libgfortran
33872 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33873 maybe-check-target-libgfortran:
33874 @if target-libgfortran
33875 maybe-check-target-libgfortran: check-target-libgfortran
33877 check-target-libgfortran:
33878 @: $(MAKE); $(unstage)
33879 @r=`${PWD_COMMAND}`; export r; \
33880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33881 $(NORMAL_TARGET_EXPORTS) \
33882 (cd $(TARGET_SUBDIR)/libgfortran && \
33883 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33885 @endif target-libgfortran
33887 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33888 maybe-install-target-libgfortran:
33889 @if target-libgfortran
33890 maybe-install-target-libgfortran: install-target-libgfortran
33892 install-target-libgfortran: installdirs
33893 @: $(MAKE); $(unstage)
33894 @r=`${PWD_COMMAND}`; export r; \
33895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33896 $(NORMAL_TARGET_EXPORTS) \
33897 (cd $(TARGET_SUBDIR)/libgfortran && \
33898 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33900 @endif target-libgfortran
33902 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
33903 maybe-install-strip-target-libgfortran:
33904 @if target-libgfortran
33905 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
33907 install-strip-target-libgfortran: installdirs
33908 @: $(MAKE); $(unstage)
33909 @r=`${PWD_COMMAND}`; export r; \
33910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33911 $(NORMAL_TARGET_EXPORTS) \
33912 (cd $(TARGET_SUBDIR)/libgfortran && \
33913 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33915 @endif target-libgfortran
33917 # Other targets (info, dvi, pdf, etc.)
33919 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33920 maybe-info-target-libgfortran:
33921 @if target-libgfortran
33922 maybe-info-target-libgfortran: info-target-libgfortran
33924 info-target-libgfortran: \
33925 configure-target-libgfortran
33926 @: $(MAKE); $(unstage)
33927 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33928 r=`${PWD_COMMAND}`; export r; \
33929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33930 $(NORMAL_TARGET_EXPORTS) \
33931 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33932 for flag in $(EXTRA_TARGET_FLAGS); do \
33933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33934 done; \
33935 (cd $(TARGET_SUBDIR)/libgfortran && \
33936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33938 "RANLIB=$${RANLIB}" \
33939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33940 info) \
33941 || exit 1
33943 @endif target-libgfortran
33945 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33946 maybe-dvi-target-libgfortran:
33947 @if target-libgfortran
33948 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33950 dvi-target-libgfortran: \
33951 configure-target-libgfortran
33952 @: $(MAKE); $(unstage)
33953 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33954 r=`${PWD_COMMAND}`; export r; \
33955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33956 $(NORMAL_TARGET_EXPORTS) \
33957 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33958 for flag in $(EXTRA_TARGET_FLAGS); do \
33959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33960 done; \
33961 (cd $(TARGET_SUBDIR)/libgfortran && \
33962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33964 "RANLIB=$${RANLIB}" \
33965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33966 dvi) \
33967 || exit 1
33969 @endif target-libgfortran
33971 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
33972 maybe-pdf-target-libgfortran:
33973 @if target-libgfortran
33974 maybe-pdf-target-libgfortran: pdf-target-libgfortran
33976 pdf-target-libgfortran: \
33977 configure-target-libgfortran
33978 @: $(MAKE); $(unstage)
33979 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33980 r=`${PWD_COMMAND}`; export r; \
33981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33982 $(NORMAL_TARGET_EXPORTS) \
33983 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
33984 for flag in $(EXTRA_TARGET_FLAGS); do \
33985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33986 done; \
33987 (cd $(TARGET_SUBDIR)/libgfortran && \
33988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33990 "RANLIB=$${RANLIB}" \
33991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33992 pdf) \
33993 || exit 1
33995 @endif target-libgfortran
33997 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33998 maybe-html-target-libgfortran:
33999 @if target-libgfortran
34000 maybe-html-target-libgfortran: html-target-libgfortran
34002 html-target-libgfortran: \
34003 configure-target-libgfortran
34004 @: $(MAKE); $(unstage)
34005 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34006 r=`${PWD_COMMAND}`; export r; \
34007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34008 $(NORMAL_TARGET_EXPORTS) \
34009 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
34010 for flag in $(EXTRA_TARGET_FLAGS); do \
34011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34012 done; \
34013 (cd $(TARGET_SUBDIR)/libgfortran && \
34014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34016 "RANLIB=$${RANLIB}" \
34017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34018 html) \
34019 || exit 1
34021 @endif target-libgfortran
34023 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
34024 maybe-TAGS-target-libgfortran:
34025 @if target-libgfortran
34026 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
34028 TAGS-target-libgfortran: \
34029 configure-target-libgfortran
34030 @: $(MAKE); $(unstage)
34031 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34032 r=`${PWD_COMMAND}`; export r; \
34033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34034 $(NORMAL_TARGET_EXPORTS) \
34035 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
34036 for flag in $(EXTRA_TARGET_FLAGS); do \
34037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34038 done; \
34039 (cd $(TARGET_SUBDIR)/libgfortran && \
34040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34042 "RANLIB=$${RANLIB}" \
34043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34044 TAGS) \
34045 || exit 1
34047 @endif target-libgfortran
34049 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
34050 maybe-install-info-target-libgfortran:
34051 @if target-libgfortran
34052 maybe-install-info-target-libgfortran: install-info-target-libgfortran
34054 install-info-target-libgfortran: \
34055 configure-target-libgfortran \
34056 info-target-libgfortran
34057 @: $(MAKE); $(unstage)
34058 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34059 r=`${PWD_COMMAND}`; export r; \
34060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34061 $(NORMAL_TARGET_EXPORTS) \
34062 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
34063 for flag in $(EXTRA_TARGET_FLAGS); do \
34064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34065 done; \
34066 (cd $(TARGET_SUBDIR)/libgfortran && \
34067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34069 "RANLIB=$${RANLIB}" \
34070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34071 install-info) \
34072 || exit 1
34074 @endif target-libgfortran
34076 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34077 maybe-install-pdf-target-libgfortran:
34078 @if target-libgfortran
34079 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34081 install-pdf-target-libgfortran: \
34082 configure-target-libgfortran \
34083 pdf-target-libgfortran
34084 @: $(MAKE); $(unstage)
34085 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34086 r=`${PWD_COMMAND}`; export r; \
34087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34088 $(NORMAL_TARGET_EXPORTS) \
34089 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34090 for flag in $(EXTRA_TARGET_FLAGS); do \
34091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34092 done; \
34093 (cd $(TARGET_SUBDIR)/libgfortran && \
34094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34096 "RANLIB=$${RANLIB}" \
34097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34098 install-pdf) \
34099 || exit 1
34101 @endif target-libgfortran
34103 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34104 maybe-install-html-target-libgfortran:
34105 @if target-libgfortran
34106 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34108 install-html-target-libgfortran: \
34109 configure-target-libgfortran \
34110 html-target-libgfortran
34111 @: $(MAKE); $(unstage)
34112 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34113 r=`${PWD_COMMAND}`; export r; \
34114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34115 $(NORMAL_TARGET_EXPORTS) \
34116 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
34117 for flag in $(EXTRA_TARGET_FLAGS); do \
34118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34119 done; \
34120 (cd $(TARGET_SUBDIR)/libgfortran && \
34121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34123 "RANLIB=$${RANLIB}" \
34124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34125 install-html) \
34126 || exit 1
34128 @endif target-libgfortran
34130 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
34131 maybe-installcheck-target-libgfortran:
34132 @if target-libgfortran
34133 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
34135 installcheck-target-libgfortran: \
34136 configure-target-libgfortran
34137 @: $(MAKE); $(unstage)
34138 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34139 r=`${PWD_COMMAND}`; export r; \
34140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34141 $(NORMAL_TARGET_EXPORTS) \
34142 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
34143 for flag in $(EXTRA_TARGET_FLAGS); do \
34144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34145 done; \
34146 (cd $(TARGET_SUBDIR)/libgfortran && \
34147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34149 "RANLIB=$${RANLIB}" \
34150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34151 installcheck) \
34152 || exit 1
34154 @endif target-libgfortran
34156 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
34157 maybe-mostlyclean-target-libgfortran:
34158 @if target-libgfortran
34159 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
34161 mostlyclean-target-libgfortran:
34162 @: $(MAKE); $(unstage)
34163 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34164 r=`${PWD_COMMAND}`; export r; \
34165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34166 $(NORMAL_TARGET_EXPORTS) \
34167 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
34168 for flag in $(EXTRA_TARGET_FLAGS); do \
34169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34170 done; \
34171 (cd $(TARGET_SUBDIR)/libgfortran && \
34172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34174 "RANLIB=$${RANLIB}" \
34175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34176 mostlyclean) \
34177 || exit 1
34179 @endif target-libgfortran
34181 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
34182 maybe-clean-target-libgfortran:
34183 @if target-libgfortran
34184 maybe-clean-target-libgfortran: clean-target-libgfortran
34186 clean-target-libgfortran:
34187 @: $(MAKE); $(unstage)
34188 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34189 r=`${PWD_COMMAND}`; export r; \
34190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34191 $(NORMAL_TARGET_EXPORTS) \
34192 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
34193 for flag in $(EXTRA_TARGET_FLAGS); do \
34194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34195 done; \
34196 (cd $(TARGET_SUBDIR)/libgfortran && \
34197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34199 "RANLIB=$${RANLIB}" \
34200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34201 clean) \
34202 || exit 1
34204 @endif target-libgfortran
34206 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
34207 maybe-distclean-target-libgfortran:
34208 @if target-libgfortran
34209 maybe-distclean-target-libgfortran: distclean-target-libgfortran
34211 distclean-target-libgfortran:
34212 @: $(MAKE); $(unstage)
34213 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34214 r=`${PWD_COMMAND}`; export r; \
34215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34216 $(NORMAL_TARGET_EXPORTS) \
34217 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
34218 for flag in $(EXTRA_TARGET_FLAGS); do \
34219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34220 done; \
34221 (cd $(TARGET_SUBDIR)/libgfortran && \
34222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34224 "RANLIB=$${RANLIB}" \
34225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34226 distclean) \
34227 || exit 1
34229 @endif target-libgfortran
34231 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
34232 maybe-maintainer-clean-target-libgfortran:
34233 @if target-libgfortran
34234 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
34236 maintainer-clean-target-libgfortran:
34237 @: $(MAKE); $(unstage)
34238 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34239 r=`${PWD_COMMAND}`; export r; \
34240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34241 $(NORMAL_TARGET_EXPORTS) \
34242 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
34243 for flag in $(EXTRA_TARGET_FLAGS); do \
34244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34245 done; \
34246 (cd $(TARGET_SUBDIR)/libgfortran && \
34247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34249 "RANLIB=$${RANLIB}" \
34250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34251 maintainer-clean) \
34252 || exit 1
34254 @endif target-libgfortran
34260 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
34261 maybe-configure-target-libobjc:
34262 @if gcc-bootstrap
34263 configure-target-libobjc: stage_current
34264 @endif gcc-bootstrap
34265 @if target-libobjc
34266 maybe-configure-target-libobjc: configure-target-libobjc
34267 configure-target-libobjc:
34268 @: $(MAKE); $(unstage)
34269 @r=`${PWD_COMMAND}`; export r; \
34270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34271 echo "Checking multilib configuration for libobjc..."; \
34272 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34273 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
34274 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34275 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34276 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
34277 else \
34278 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
34279 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34280 fi; \
34281 else \
34282 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34283 fi; \
34284 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
34285 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34286 $(NORMAL_TARGET_EXPORTS) \
34287 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
34288 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
34289 case $(srcdir) in \
34290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34291 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
34292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34293 esac; \
34294 srcdiroption="--srcdir=$${topdir}/libobjc"; \
34295 libsrcdir="$$s/libobjc"; \
34296 rm -f no-such-file || : ; \
34297 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34298 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34299 --target=${target_alias} $${srcdiroption} \
34300 || exit 1
34301 @endif target-libobjc
34307 .PHONY: all-target-libobjc maybe-all-target-libobjc
34308 maybe-all-target-libobjc:
34309 @if gcc-bootstrap
34310 all-target-libobjc: stage_current
34311 @endif gcc-bootstrap
34312 @if target-libobjc
34313 TARGET-target-libobjc=all
34314 maybe-all-target-libobjc: all-target-libobjc
34315 all-target-libobjc: configure-target-libobjc
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)/libobjc && \
34321 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34322 $(TARGET-target-libobjc))
34323 @endif target-libobjc
34329 .PHONY: check-target-libobjc maybe-check-target-libobjc
34330 maybe-check-target-libobjc:
34331 @if target-libobjc
34332 maybe-check-target-libobjc: check-target-libobjc
34334 check-target-libobjc:
34335 @: $(MAKE); $(unstage)
34336 @r=`${PWD_COMMAND}`; export r; \
34337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34338 $(NORMAL_TARGET_EXPORTS) \
34339 (cd $(TARGET_SUBDIR)/libobjc && \
34340 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34342 @endif target-libobjc
34344 .PHONY: install-target-libobjc maybe-install-target-libobjc
34345 maybe-install-target-libobjc:
34346 @if target-libobjc
34347 maybe-install-target-libobjc: install-target-libobjc
34349 install-target-libobjc: installdirs
34350 @: $(MAKE); $(unstage)
34351 @r=`${PWD_COMMAND}`; export r; \
34352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34353 $(NORMAL_TARGET_EXPORTS) \
34354 (cd $(TARGET_SUBDIR)/libobjc && \
34355 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34357 @endif target-libobjc
34359 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
34360 maybe-install-strip-target-libobjc:
34361 @if target-libobjc
34362 maybe-install-strip-target-libobjc: install-strip-target-libobjc
34364 install-strip-target-libobjc: installdirs
34365 @: $(MAKE); $(unstage)
34366 @r=`${PWD_COMMAND}`; export r; \
34367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34368 $(NORMAL_TARGET_EXPORTS) \
34369 (cd $(TARGET_SUBDIR)/libobjc && \
34370 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34372 @endif target-libobjc
34374 # Other targets (info, dvi, pdf, etc.)
34376 .PHONY: maybe-info-target-libobjc info-target-libobjc
34377 maybe-info-target-libobjc:
34378 @if target-libobjc
34379 maybe-info-target-libobjc: info-target-libobjc
34381 info-target-libobjc: \
34382 configure-target-libobjc
34383 @: $(MAKE); $(unstage)
34384 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34385 r=`${PWD_COMMAND}`; export r; \
34386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34387 $(NORMAL_TARGET_EXPORTS) \
34388 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
34389 for flag in $(EXTRA_TARGET_FLAGS); do \
34390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34391 done; \
34392 (cd $(TARGET_SUBDIR)/libobjc && \
34393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34395 "RANLIB=$${RANLIB}" \
34396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34397 info) \
34398 || exit 1
34400 @endif target-libobjc
34402 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
34403 maybe-dvi-target-libobjc:
34404 @if target-libobjc
34405 maybe-dvi-target-libobjc: dvi-target-libobjc
34407 dvi-target-libobjc: \
34408 configure-target-libobjc
34409 @: $(MAKE); $(unstage)
34410 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34411 r=`${PWD_COMMAND}`; export r; \
34412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34413 $(NORMAL_TARGET_EXPORTS) \
34414 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
34415 for flag in $(EXTRA_TARGET_FLAGS); do \
34416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34417 done; \
34418 (cd $(TARGET_SUBDIR)/libobjc && \
34419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34421 "RANLIB=$${RANLIB}" \
34422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34423 dvi) \
34424 || exit 1
34426 @endif target-libobjc
34428 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
34429 maybe-pdf-target-libobjc:
34430 @if target-libobjc
34431 maybe-pdf-target-libobjc: pdf-target-libobjc
34433 pdf-target-libobjc: \
34434 configure-target-libobjc
34435 @: $(MAKE); $(unstage)
34436 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34437 r=`${PWD_COMMAND}`; export r; \
34438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34439 $(NORMAL_TARGET_EXPORTS) \
34440 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
34441 for flag in $(EXTRA_TARGET_FLAGS); do \
34442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34443 done; \
34444 (cd $(TARGET_SUBDIR)/libobjc && \
34445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34447 "RANLIB=$${RANLIB}" \
34448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34449 pdf) \
34450 || exit 1
34452 @endif target-libobjc
34454 .PHONY: maybe-html-target-libobjc html-target-libobjc
34455 maybe-html-target-libobjc:
34456 @if target-libobjc
34457 maybe-html-target-libobjc: html-target-libobjc
34459 html-target-libobjc: \
34460 configure-target-libobjc
34461 @: $(MAKE); $(unstage)
34462 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34463 r=`${PWD_COMMAND}`; export r; \
34464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34465 $(NORMAL_TARGET_EXPORTS) \
34466 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
34467 for flag in $(EXTRA_TARGET_FLAGS); do \
34468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34469 done; \
34470 (cd $(TARGET_SUBDIR)/libobjc && \
34471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34473 "RANLIB=$${RANLIB}" \
34474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34475 html) \
34476 || exit 1
34478 @endif target-libobjc
34480 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
34481 maybe-TAGS-target-libobjc:
34482 @if target-libobjc
34483 maybe-TAGS-target-libobjc: TAGS-target-libobjc
34485 TAGS-target-libobjc: \
34486 configure-target-libobjc
34487 @: $(MAKE); $(unstage)
34488 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34489 r=`${PWD_COMMAND}`; export r; \
34490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34491 $(NORMAL_TARGET_EXPORTS) \
34492 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
34493 for flag in $(EXTRA_TARGET_FLAGS); do \
34494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34495 done; \
34496 (cd $(TARGET_SUBDIR)/libobjc && \
34497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34499 "RANLIB=$${RANLIB}" \
34500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34501 TAGS) \
34502 || exit 1
34504 @endif target-libobjc
34506 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
34507 maybe-install-info-target-libobjc:
34508 @if target-libobjc
34509 maybe-install-info-target-libobjc: install-info-target-libobjc
34511 install-info-target-libobjc: \
34512 configure-target-libobjc \
34513 info-target-libobjc
34514 @: $(MAKE); $(unstage)
34515 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34516 r=`${PWD_COMMAND}`; export r; \
34517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34518 $(NORMAL_TARGET_EXPORTS) \
34519 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
34520 for flag in $(EXTRA_TARGET_FLAGS); do \
34521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34522 done; \
34523 (cd $(TARGET_SUBDIR)/libobjc && \
34524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34526 "RANLIB=$${RANLIB}" \
34527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34528 install-info) \
34529 || exit 1
34531 @endif target-libobjc
34533 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
34534 maybe-install-pdf-target-libobjc:
34535 @if target-libobjc
34536 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
34538 install-pdf-target-libobjc: \
34539 configure-target-libobjc \
34540 pdf-target-libobjc
34541 @: $(MAKE); $(unstage)
34542 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34543 r=`${PWD_COMMAND}`; export r; \
34544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34545 $(NORMAL_TARGET_EXPORTS) \
34546 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
34547 for flag in $(EXTRA_TARGET_FLAGS); do \
34548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34549 done; \
34550 (cd $(TARGET_SUBDIR)/libobjc && \
34551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34553 "RANLIB=$${RANLIB}" \
34554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34555 install-pdf) \
34556 || exit 1
34558 @endif target-libobjc
34560 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
34561 maybe-install-html-target-libobjc:
34562 @if target-libobjc
34563 maybe-install-html-target-libobjc: install-html-target-libobjc
34565 install-html-target-libobjc: \
34566 configure-target-libobjc \
34567 html-target-libobjc
34568 @: $(MAKE); $(unstage)
34569 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34570 r=`${PWD_COMMAND}`; export r; \
34571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34572 $(NORMAL_TARGET_EXPORTS) \
34573 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
34574 for flag in $(EXTRA_TARGET_FLAGS); do \
34575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34576 done; \
34577 (cd $(TARGET_SUBDIR)/libobjc && \
34578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34580 "RANLIB=$${RANLIB}" \
34581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34582 install-html) \
34583 || exit 1
34585 @endif target-libobjc
34587 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
34588 maybe-installcheck-target-libobjc:
34589 @if target-libobjc
34590 maybe-installcheck-target-libobjc: installcheck-target-libobjc
34592 installcheck-target-libobjc: \
34593 configure-target-libobjc
34594 @: $(MAKE); $(unstage)
34595 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34596 r=`${PWD_COMMAND}`; export r; \
34597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34598 $(NORMAL_TARGET_EXPORTS) \
34599 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
34600 for flag in $(EXTRA_TARGET_FLAGS); do \
34601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34602 done; \
34603 (cd $(TARGET_SUBDIR)/libobjc && \
34604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34606 "RANLIB=$${RANLIB}" \
34607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34608 installcheck) \
34609 || exit 1
34611 @endif target-libobjc
34613 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
34614 maybe-mostlyclean-target-libobjc:
34615 @if target-libobjc
34616 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
34618 mostlyclean-target-libobjc:
34619 @: $(MAKE); $(unstage)
34620 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34621 r=`${PWD_COMMAND}`; export r; \
34622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34623 $(NORMAL_TARGET_EXPORTS) \
34624 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
34625 for flag in $(EXTRA_TARGET_FLAGS); do \
34626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34627 done; \
34628 (cd $(TARGET_SUBDIR)/libobjc && \
34629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34631 "RANLIB=$${RANLIB}" \
34632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34633 mostlyclean) \
34634 || exit 1
34636 @endif target-libobjc
34638 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
34639 maybe-clean-target-libobjc:
34640 @if target-libobjc
34641 maybe-clean-target-libobjc: clean-target-libobjc
34643 clean-target-libobjc:
34644 @: $(MAKE); $(unstage)
34645 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34646 r=`${PWD_COMMAND}`; export r; \
34647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34648 $(NORMAL_TARGET_EXPORTS) \
34649 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
34650 for flag in $(EXTRA_TARGET_FLAGS); do \
34651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34652 done; \
34653 (cd $(TARGET_SUBDIR)/libobjc && \
34654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34656 "RANLIB=$${RANLIB}" \
34657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34658 clean) \
34659 || exit 1
34661 @endif target-libobjc
34663 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
34664 maybe-distclean-target-libobjc:
34665 @if target-libobjc
34666 maybe-distclean-target-libobjc: distclean-target-libobjc
34668 distclean-target-libobjc:
34669 @: $(MAKE); $(unstage)
34670 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34671 r=`${PWD_COMMAND}`; export r; \
34672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34673 $(NORMAL_TARGET_EXPORTS) \
34674 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
34675 for flag in $(EXTRA_TARGET_FLAGS); do \
34676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34677 done; \
34678 (cd $(TARGET_SUBDIR)/libobjc && \
34679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34681 "RANLIB=$${RANLIB}" \
34682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34683 distclean) \
34684 || exit 1
34686 @endif target-libobjc
34688 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
34689 maybe-maintainer-clean-target-libobjc:
34690 @if target-libobjc
34691 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
34693 maintainer-clean-target-libobjc:
34694 @: $(MAKE); $(unstage)
34695 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34696 r=`${PWD_COMMAND}`; export r; \
34697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34698 $(NORMAL_TARGET_EXPORTS) \
34699 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
34700 for flag in $(EXTRA_TARGET_FLAGS); do \
34701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34702 done; \
34703 (cd $(TARGET_SUBDIR)/libobjc && \
34704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34706 "RANLIB=$${RANLIB}" \
34707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34708 maintainer-clean) \
34709 || exit 1
34711 @endif target-libobjc
34717 .PHONY: configure-target-libgo maybe-configure-target-libgo
34718 maybe-configure-target-libgo:
34719 @if gcc-bootstrap
34720 configure-target-libgo: stage_current
34721 @endif gcc-bootstrap
34722 @if target-libgo
34723 maybe-configure-target-libgo: configure-target-libgo
34724 configure-target-libgo:
34725 @: $(MAKE); $(unstage)
34726 @r=`${PWD_COMMAND}`; export r; \
34727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34728 echo "Checking multilib configuration for libgo..."; \
34729 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34730 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
34731 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
34732 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
34733 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
34734 else \
34735 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
34736 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34737 fi; \
34738 else \
34739 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34740 fi; \
34741 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
34742 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34743 $(NORMAL_TARGET_EXPORTS) \
34744 echo Configuring in $(TARGET_SUBDIR)/libgo; \
34745 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
34746 case $(srcdir) in \
34747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34748 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
34749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34750 esac; \
34751 srcdiroption="--srcdir=$${topdir}/libgo"; \
34752 libsrcdir="$$s/libgo"; \
34753 rm -f no-such-file || : ; \
34754 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34755 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34756 --target=${target_alias} $${srcdiroption} \
34757 || exit 1
34758 @endif target-libgo
34764 .PHONY: all-target-libgo maybe-all-target-libgo
34765 maybe-all-target-libgo:
34766 @if gcc-bootstrap
34767 all-target-libgo: stage_current
34768 @endif gcc-bootstrap
34769 @if target-libgo
34770 TARGET-target-libgo=all
34771 maybe-all-target-libgo: all-target-libgo
34772 all-target-libgo: configure-target-libgo
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)/libgo && \
34778 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34779 $(TARGET-target-libgo))
34780 @endif target-libgo
34786 .PHONY: check-target-libgo maybe-check-target-libgo
34787 maybe-check-target-libgo:
34788 @if target-libgo
34789 maybe-check-target-libgo: check-target-libgo
34791 check-target-libgo:
34792 @: $(MAKE); $(unstage)
34793 @r=`${PWD_COMMAND}`; export r; \
34794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34795 $(NORMAL_TARGET_EXPORTS) \
34796 (cd $(TARGET_SUBDIR)/libgo && \
34797 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34799 @endif target-libgo
34801 .PHONY: install-target-libgo maybe-install-target-libgo
34802 maybe-install-target-libgo:
34803 @if target-libgo
34804 maybe-install-target-libgo: install-target-libgo
34806 install-target-libgo: installdirs
34807 @: $(MAKE); $(unstage)
34808 @r=`${PWD_COMMAND}`; export r; \
34809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34810 $(NORMAL_TARGET_EXPORTS) \
34811 (cd $(TARGET_SUBDIR)/libgo && \
34812 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34814 @endif target-libgo
34816 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
34817 maybe-install-strip-target-libgo:
34818 @if target-libgo
34819 maybe-install-strip-target-libgo: install-strip-target-libgo
34821 install-strip-target-libgo: installdirs
34822 @: $(MAKE); $(unstage)
34823 @r=`${PWD_COMMAND}`; export r; \
34824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34825 $(NORMAL_TARGET_EXPORTS) \
34826 (cd $(TARGET_SUBDIR)/libgo && \
34827 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34829 @endif target-libgo
34831 # Other targets (info, dvi, pdf, etc.)
34833 .PHONY: maybe-info-target-libgo info-target-libgo
34834 maybe-info-target-libgo:
34835 @if target-libgo
34836 maybe-info-target-libgo: info-target-libgo
34838 info-target-libgo: \
34839 configure-target-libgo
34840 @: $(MAKE); $(unstage)
34841 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34842 r=`${PWD_COMMAND}`; export r; \
34843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34844 $(NORMAL_TARGET_EXPORTS) \
34845 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
34846 for flag in $(EXTRA_TARGET_FLAGS); do \
34847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34848 done; \
34849 (cd $(TARGET_SUBDIR)/libgo && \
34850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34852 "RANLIB=$${RANLIB}" \
34853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34854 info) \
34855 || exit 1
34857 @endif target-libgo
34859 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
34860 maybe-dvi-target-libgo:
34861 @if target-libgo
34862 maybe-dvi-target-libgo: dvi-target-libgo
34864 dvi-target-libgo: \
34865 configure-target-libgo
34866 @: $(MAKE); $(unstage)
34867 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34868 r=`${PWD_COMMAND}`; export r; \
34869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34870 $(NORMAL_TARGET_EXPORTS) \
34871 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
34872 for flag in $(EXTRA_TARGET_FLAGS); do \
34873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34874 done; \
34875 (cd $(TARGET_SUBDIR)/libgo && \
34876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34878 "RANLIB=$${RANLIB}" \
34879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34880 dvi) \
34881 || exit 1
34883 @endif target-libgo
34885 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
34886 maybe-pdf-target-libgo:
34887 @if target-libgo
34888 maybe-pdf-target-libgo: pdf-target-libgo
34890 pdf-target-libgo: \
34891 configure-target-libgo
34892 @: $(MAKE); $(unstage)
34893 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34894 r=`${PWD_COMMAND}`; export r; \
34895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34896 $(NORMAL_TARGET_EXPORTS) \
34897 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
34898 for flag in $(EXTRA_TARGET_FLAGS); do \
34899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34900 done; \
34901 (cd $(TARGET_SUBDIR)/libgo && \
34902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34904 "RANLIB=$${RANLIB}" \
34905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34906 pdf) \
34907 || exit 1
34909 @endif target-libgo
34911 .PHONY: maybe-html-target-libgo html-target-libgo
34912 maybe-html-target-libgo:
34913 @if target-libgo
34914 maybe-html-target-libgo: html-target-libgo
34916 html-target-libgo: \
34917 configure-target-libgo
34918 @: $(MAKE); $(unstage)
34919 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34920 r=`${PWD_COMMAND}`; export r; \
34921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34922 $(NORMAL_TARGET_EXPORTS) \
34923 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
34924 for flag in $(EXTRA_TARGET_FLAGS); do \
34925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34926 done; \
34927 (cd $(TARGET_SUBDIR)/libgo && \
34928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34930 "RANLIB=$${RANLIB}" \
34931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34932 html) \
34933 || exit 1
34935 @endif target-libgo
34937 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
34938 maybe-TAGS-target-libgo:
34939 @if target-libgo
34940 maybe-TAGS-target-libgo: TAGS-target-libgo
34942 TAGS-target-libgo: \
34943 configure-target-libgo
34944 @: $(MAKE); $(unstage)
34945 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34946 r=`${PWD_COMMAND}`; export r; \
34947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34948 $(NORMAL_TARGET_EXPORTS) \
34949 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
34950 for flag in $(EXTRA_TARGET_FLAGS); do \
34951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34952 done; \
34953 (cd $(TARGET_SUBDIR)/libgo && \
34954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34956 "RANLIB=$${RANLIB}" \
34957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34958 TAGS) \
34959 || exit 1
34961 @endif target-libgo
34963 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
34964 maybe-install-info-target-libgo:
34965 @if target-libgo
34966 maybe-install-info-target-libgo: install-info-target-libgo
34968 install-info-target-libgo: \
34969 configure-target-libgo \
34970 info-target-libgo
34971 @: $(MAKE); $(unstage)
34972 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34973 r=`${PWD_COMMAND}`; export r; \
34974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34975 $(NORMAL_TARGET_EXPORTS) \
34976 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
34977 for flag in $(EXTRA_TARGET_FLAGS); do \
34978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34979 done; \
34980 (cd $(TARGET_SUBDIR)/libgo && \
34981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34983 "RANLIB=$${RANLIB}" \
34984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34985 install-info) \
34986 || exit 1
34988 @endif target-libgo
34990 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
34991 maybe-install-pdf-target-libgo:
34992 @if target-libgo
34993 maybe-install-pdf-target-libgo: install-pdf-target-libgo
34995 install-pdf-target-libgo: \
34996 configure-target-libgo \
34997 pdf-target-libgo
34998 @: $(MAKE); $(unstage)
34999 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35000 r=`${PWD_COMMAND}`; export r; \
35001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35002 $(NORMAL_TARGET_EXPORTS) \
35003 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
35004 for flag in $(EXTRA_TARGET_FLAGS); do \
35005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35006 done; \
35007 (cd $(TARGET_SUBDIR)/libgo && \
35008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35010 "RANLIB=$${RANLIB}" \
35011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35012 install-pdf) \
35013 || exit 1
35015 @endif target-libgo
35017 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
35018 maybe-install-html-target-libgo:
35019 @if target-libgo
35020 maybe-install-html-target-libgo: install-html-target-libgo
35022 install-html-target-libgo: \
35023 configure-target-libgo \
35024 html-target-libgo
35025 @: $(MAKE); $(unstage)
35026 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35027 r=`${PWD_COMMAND}`; export r; \
35028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35029 $(NORMAL_TARGET_EXPORTS) \
35030 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
35031 for flag in $(EXTRA_TARGET_FLAGS); do \
35032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35033 done; \
35034 (cd $(TARGET_SUBDIR)/libgo && \
35035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35037 "RANLIB=$${RANLIB}" \
35038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35039 install-html) \
35040 || exit 1
35042 @endif target-libgo
35044 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
35045 maybe-installcheck-target-libgo:
35046 @if target-libgo
35047 maybe-installcheck-target-libgo: installcheck-target-libgo
35049 installcheck-target-libgo: \
35050 configure-target-libgo
35051 @: $(MAKE); $(unstage)
35052 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35053 r=`${PWD_COMMAND}`; export r; \
35054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35055 $(NORMAL_TARGET_EXPORTS) \
35056 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
35057 for flag in $(EXTRA_TARGET_FLAGS); do \
35058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35059 done; \
35060 (cd $(TARGET_SUBDIR)/libgo && \
35061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35063 "RANLIB=$${RANLIB}" \
35064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35065 installcheck) \
35066 || exit 1
35068 @endif target-libgo
35070 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
35071 maybe-mostlyclean-target-libgo:
35072 @if target-libgo
35073 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
35075 mostlyclean-target-libgo:
35076 @: $(MAKE); $(unstage)
35077 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35078 r=`${PWD_COMMAND}`; export r; \
35079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35080 $(NORMAL_TARGET_EXPORTS) \
35081 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35082 for flag in $(EXTRA_TARGET_FLAGS); do \
35083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35084 done; \
35085 (cd $(TARGET_SUBDIR)/libgo && \
35086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35088 "RANLIB=$${RANLIB}" \
35089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35090 mostlyclean) \
35091 || exit 1
35093 @endif target-libgo
35095 .PHONY: maybe-clean-target-libgo clean-target-libgo
35096 maybe-clean-target-libgo:
35097 @if target-libgo
35098 maybe-clean-target-libgo: clean-target-libgo
35100 clean-target-libgo:
35101 @: $(MAKE); $(unstage)
35102 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35103 r=`${PWD_COMMAND}`; export r; \
35104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35105 $(NORMAL_TARGET_EXPORTS) \
35106 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35107 for flag in $(EXTRA_TARGET_FLAGS); do \
35108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35109 done; \
35110 (cd $(TARGET_SUBDIR)/libgo && \
35111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35113 "RANLIB=$${RANLIB}" \
35114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35115 clean) \
35116 || exit 1
35118 @endif target-libgo
35120 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
35121 maybe-distclean-target-libgo:
35122 @if target-libgo
35123 maybe-distclean-target-libgo: distclean-target-libgo
35125 distclean-target-libgo:
35126 @: $(MAKE); $(unstage)
35127 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35128 r=`${PWD_COMMAND}`; export r; \
35129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35130 $(NORMAL_TARGET_EXPORTS) \
35131 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
35132 for flag in $(EXTRA_TARGET_FLAGS); do \
35133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35134 done; \
35135 (cd $(TARGET_SUBDIR)/libgo && \
35136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35138 "RANLIB=$${RANLIB}" \
35139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35140 distclean) \
35141 || exit 1
35143 @endif target-libgo
35145 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
35146 maybe-maintainer-clean-target-libgo:
35147 @if target-libgo
35148 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
35150 maintainer-clean-target-libgo:
35151 @: $(MAKE); $(unstage)
35152 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35153 r=`${PWD_COMMAND}`; export r; \
35154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35155 $(NORMAL_TARGET_EXPORTS) \
35156 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
35157 for flag in $(EXTRA_TARGET_FLAGS); do \
35158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35159 done; \
35160 (cd $(TARGET_SUBDIR)/libgo && \
35161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35163 "RANLIB=$${RANLIB}" \
35164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35165 maintainer-clean) \
35166 || exit 1
35168 @endif target-libgo
35174 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35175 maybe-configure-target-libtermcap:
35176 @if gcc-bootstrap
35177 configure-target-libtermcap: stage_current
35178 @endif gcc-bootstrap
35179 @if target-libtermcap
35180 maybe-configure-target-libtermcap: configure-target-libtermcap
35181 configure-target-libtermcap:
35182 @: $(MAKE); $(unstage)
35183 @r=`${PWD_COMMAND}`; export r; \
35184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35185 echo "Checking multilib configuration for libtermcap..."; \
35186 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35187 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35188 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35189 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35190 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35191 else \
35192 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35193 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35194 fi; \
35195 else \
35196 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35197 fi; \
35198 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35199 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35200 $(NORMAL_TARGET_EXPORTS) \
35201 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35202 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35203 case $(srcdir) in \
35204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35205 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35207 esac; \
35208 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35209 libsrcdir="$$s/libtermcap"; \
35210 rm -f no-such-file || : ; \
35211 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35212 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35213 --target=${target_alias} $${srcdiroption} \
35214 || exit 1
35215 @endif target-libtermcap
35221 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35222 maybe-all-target-libtermcap:
35223 @if gcc-bootstrap
35224 all-target-libtermcap: stage_current
35225 @endif gcc-bootstrap
35226 @if target-libtermcap
35227 TARGET-target-libtermcap=all
35228 maybe-all-target-libtermcap: all-target-libtermcap
35229 all-target-libtermcap: configure-target-libtermcap
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)/libtermcap && \
35235 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35236 $(TARGET-target-libtermcap))
35237 @endif target-libtermcap
35243 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35244 maybe-check-target-libtermcap:
35245 @if target-libtermcap
35246 maybe-check-target-libtermcap: check-target-libtermcap
35248 # Dummy target for uncheckable module.
35249 check-target-libtermcap:
35251 @endif target-libtermcap
35253 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35254 maybe-install-target-libtermcap:
35255 @if target-libtermcap
35256 maybe-install-target-libtermcap: install-target-libtermcap
35258 install-target-libtermcap: installdirs
35259 @: $(MAKE); $(unstage)
35260 @r=`${PWD_COMMAND}`; export r; \
35261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35262 $(NORMAL_TARGET_EXPORTS) \
35263 (cd $(TARGET_SUBDIR)/libtermcap && \
35264 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35266 @endif target-libtermcap
35268 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
35269 maybe-install-strip-target-libtermcap:
35270 @if target-libtermcap
35271 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
35273 install-strip-target-libtermcap: installdirs
35274 @: $(MAKE); $(unstage)
35275 @r=`${PWD_COMMAND}`; export r; \
35276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35277 $(NORMAL_TARGET_EXPORTS) \
35278 (cd $(TARGET_SUBDIR)/libtermcap && \
35279 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35281 @endif target-libtermcap
35283 # Other targets (info, dvi, pdf, etc.)
35285 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35286 maybe-info-target-libtermcap:
35287 @if target-libtermcap
35288 maybe-info-target-libtermcap: info-target-libtermcap
35290 info-target-libtermcap: \
35291 configure-target-libtermcap
35292 @: $(MAKE); $(unstage)
35293 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35294 r=`${PWD_COMMAND}`; export r; \
35295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35296 $(NORMAL_TARGET_EXPORTS) \
35297 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35298 for flag in $(EXTRA_TARGET_FLAGS); do \
35299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35300 done; \
35301 (cd $(TARGET_SUBDIR)/libtermcap && \
35302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35304 "RANLIB=$${RANLIB}" \
35305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35306 info) \
35307 || exit 1
35309 @endif target-libtermcap
35311 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35312 maybe-dvi-target-libtermcap:
35313 @if target-libtermcap
35314 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35316 dvi-target-libtermcap: \
35317 configure-target-libtermcap
35318 @: $(MAKE); $(unstage)
35319 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35320 r=`${PWD_COMMAND}`; export r; \
35321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35322 $(NORMAL_TARGET_EXPORTS) \
35323 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35324 for flag in $(EXTRA_TARGET_FLAGS); do \
35325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35326 done; \
35327 (cd $(TARGET_SUBDIR)/libtermcap && \
35328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35330 "RANLIB=$${RANLIB}" \
35331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35332 dvi) \
35333 || exit 1
35335 @endif target-libtermcap
35337 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35338 maybe-pdf-target-libtermcap:
35339 @if target-libtermcap
35340 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35342 pdf-target-libtermcap: \
35343 configure-target-libtermcap
35344 @: $(MAKE); $(unstage)
35345 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35346 r=`${PWD_COMMAND}`; export r; \
35347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35348 $(NORMAL_TARGET_EXPORTS) \
35349 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35350 for flag in $(EXTRA_TARGET_FLAGS); do \
35351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35352 done; \
35353 (cd $(TARGET_SUBDIR)/libtermcap && \
35354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35356 "RANLIB=$${RANLIB}" \
35357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35358 pdf) \
35359 || exit 1
35361 @endif target-libtermcap
35363 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35364 maybe-html-target-libtermcap:
35365 @if target-libtermcap
35366 maybe-html-target-libtermcap: html-target-libtermcap
35368 html-target-libtermcap: \
35369 configure-target-libtermcap
35370 @: $(MAKE); $(unstage)
35371 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35372 r=`${PWD_COMMAND}`; export r; \
35373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35374 $(NORMAL_TARGET_EXPORTS) \
35375 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35376 for flag in $(EXTRA_TARGET_FLAGS); do \
35377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35378 done; \
35379 (cd $(TARGET_SUBDIR)/libtermcap && \
35380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35382 "RANLIB=$${RANLIB}" \
35383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35384 html) \
35385 || exit 1
35387 @endif target-libtermcap
35389 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35390 maybe-TAGS-target-libtermcap:
35391 @if target-libtermcap
35392 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35394 TAGS-target-libtermcap: \
35395 configure-target-libtermcap
35396 @: $(MAKE); $(unstage)
35397 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35398 r=`${PWD_COMMAND}`; export r; \
35399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35400 $(NORMAL_TARGET_EXPORTS) \
35401 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
35402 for flag in $(EXTRA_TARGET_FLAGS); do \
35403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35404 done; \
35405 (cd $(TARGET_SUBDIR)/libtermcap && \
35406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35408 "RANLIB=$${RANLIB}" \
35409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35410 TAGS) \
35411 || exit 1
35413 @endif target-libtermcap
35415 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
35416 maybe-install-info-target-libtermcap:
35417 @if target-libtermcap
35418 maybe-install-info-target-libtermcap: install-info-target-libtermcap
35420 install-info-target-libtermcap: \
35421 configure-target-libtermcap \
35422 info-target-libtermcap
35423 @: $(MAKE); $(unstage)
35424 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35425 r=`${PWD_COMMAND}`; export r; \
35426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35427 $(NORMAL_TARGET_EXPORTS) \
35428 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
35429 for flag in $(EXTRA_TARGET_FLAGS); do \
35430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35431 done; \
35432 (cd $(TARGET_SUBDIR)/libtermcap && \
35433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35435 "RANLIB=$${RANLIB}" \
35436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35437 install-info) \
35438 || exit 1
35440 @endif target-libtermcap
35442 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
35443 maybe-install-pdf-target-libtermcap:
35444 @if target-libtermcap
35445 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
35447 install-pdf-target-libtermcap: \
35448 configure-target-libtermcap \
35449 pdf-target-libtermcap
35450 @: $(MAKE); $(unstage)
35451 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35452 r=`${PWD_COMMAND}`; export r; \
35453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35454 $(NORMAL_TARGET_EXPORTS) \
35455 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35456 for flag in $(EXTRA_TARGET_FLAGS); do \
35457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35458 done; \
35459 (cd $(TARGET_SUBDIR)/libtermcap && \
35460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35462 "RANLIB=$${RANLIB}" \
35463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35464 install-pdf) \
35465 || exit 1
35467 @endif target-libtermcap
35469 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
35470 maybe-install-html-target-libtermcap:
35471 @if target-libtermcap
35472 maybe-install-html-target-libtermcap: install-html-target-libtermcap
35474 install-html-target-libtermcap: \
35475 configure-target-libtermcap \
35476 html-target-libtermcap
35477 @: $(MAKE); $(unstage)
35478 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35479 r=`${PWD_COMMAND}`; export r; \
35480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35481 $(NORMAL_TARGET_EXPORTS) \
35482 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
35483 for flag in $(EXTRA_TARGET_FLAGS); do \
35484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35485 done; \
35486 (cd $(TARGET_SUBDIR)/libtermcap && \
35487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35489 "RANLIB=$${RANLIB}" \
35490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35491 install-html) \
35492 || exit 1
35494 @endif target-libtermcap
35496 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
35497 maybe-installcheck-target-libtermcap:
35498 @if target-libtermcap
35499 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
35501 installcheck-target-libtermcap: \
35502 configure-target-libtermcap
35503 @: $(MAKE); $(unstage)
35504 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35505 r=`${PWD_COMMAND}`; export r; \
35506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35507 $(NORMAL_TARGET_EXPORTS) \
35508 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
35509 for flag in $(EXTRA_TARGET_FLAGS); do \
35510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35511 done; \
35512 (cd $(TARGET_SUBDIR)/libtermcap && \
35513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35515 "RANLIB=$${RANLIB}" \
35516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35517 installcheck) \
35518 || exit 1
35520 @endif target-libtermcap
35522 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
35523 maybe-mostlyclean-target-libtermcap:
35524 @if target-libtermcap
35525 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
35527 # libtermcap doesn't support mostlyclean.
35528 mostlyclean-target-libtermcap:
35530 @endif target-libtermcap
35532 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
35533 maybe-clean-target-libtermcap:
35534 @if target-libtermcap
35535 maybe-clean-target-libtermcap: clean-target-libtermcap
35537 # libtermcap doesn't support clean.
35538 clean-target-libtermcap:
35540 @endif target-libtermcap
35542 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
35543 maybe-distclean-target-libtermcap:
35544 @if target-libtermcap
35545 maybe-distclean-target-libtermcap: distclean-target-libtermcap
35547 # libtermcap doesn't support distclean.
35548 distclean-target-libtermcap:
35550 @endif target-libtermcap
35552 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
35553 maybe-maintainer-clean-target-libtermcap:
35554 @if target-libtermcap
35555 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
35557 # libtermcap doesn't support maintainer-clean.
35558 maintainer-clean-target-libtermcap:
35560 @endif target-libtermcap
35566 .PHONY: configure-target-winsup maybe-configure-target-winsup
35567 maybe-configure-target-winsup:
35568 @if gcc-bootstrap
35569 configure-target-winsup: stage_current
35570 @endif gcc-bootstrap
35571 @if target-winsup
35572 maybe-configure-target-winsup: configure-target-winsup
35573 configure-target-winsup:
35574 @: $(MAKE); $(unstage)
35575 @r=`${PWD_COMMAND}`; export r; \
35576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35577 echo "Checking multilib configuration for winsup..."; \
35578 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35579 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
35580 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
35581 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
35582 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
35583 else \
35584 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
35585 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35586 fi; \
35587 else \
35588 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35589 fi; \
35590 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
35591 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35592 $(NORMAL_TARGET_EXPORTS) \
35593 echo Configuring in $(TARGET_SUBDIR)/winsup; \
35594 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
35595 case $(srcdir) in \
35596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35597 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
35598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35599 esac; \
35600 srcdiroption="--srcdir=$${topdir}/winsup"; \
35601 libsrcdir="$$s/winsup"; \
35602 rm -f no-such-file || : ; \
35603 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35604 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35605 --target=${target_alias} $${srcdiroption} \
35606 || exit 1
35607 @endif target-winsup
35613 .PHONY: all-target-winsup maybe-all-target-winsup
35614 maybe-all-target-winsup:
35615 @if gcc-bootstrap
35616 all-target-winsup: stage_current
35617 @endif gcc-bootstrap
35618 @if target-winsup
35619 TARGET-target-winsup=all
35620 maybe-all-target-winsup: all-target-winsup
35621 all-target-winsup: configure-target-winsup
35622 @: $(MAKE); $(unstage)
35623 @r=`${PWD_COMMAND}`; export r; \
35624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35625 $(NORMAL_TARGET_EXPORTS) \
35626 (cd $(TARGET_SUBDIR)/winsup && \
35627 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35628 $(TARGET-target-winsup))
35629 @endif target-winsup
35635 .PHONY: check-target-winsup maybe-check-target-winsup
35636 maybe-check-target-winsup:
35637 @if target-winsup
35638 maybe-check-target-winsup: check-target-winsup
35640 check-target-winsup:
35641 @: $(MAKE); $(unstage)
35642 @r=`${PWD_COMMAND}`; export r; \
35643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35644 $(NORMAL_TARGET_EXPORTS) \
35645 (cd $(TARGET_SUBDIR)/winsup && \
35646 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35648 @endif target-winsup
35650 .PHONY: install-target-winsup maybe-install-target-winsup
35651 maybe-install-target-winsup:
35652 @if target-winsup
35653 maybe-install-target-winsup: install-target-winsup
35655 install-target-winsup: installdirs
35656 @: $(MAKE); $(unstage)
35657 @r=`${PWD_COMMAND}`; export r; \
35658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35659 $(NORMAL_TARGET_EXPORTS) \
35660 (cd $(TARGET_SUBDIR)/winsup && \
35661 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35663 @endif target-winsup
35665 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
35666 maybe-install-strip-target-winsup:
35667 @if target-winsup
35668 maybe-install-strip-target-winsup: install-strip-target-winsup
35670 install-strip-target-winsup: installdirs
35671 @: $(MAKE); $(unstage)
35672 @r=`${PWD_COMMAND}`; export r; \
35673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35674 $(NORMAL_TARGET_EXPORTS) \
35675 (cd $(TARGET_SUBDIR)/winsup && \
35676 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35678 @endif target-winsup
35680 # Other targets (info, dvi, pdf, etc.)
35682 .PHONY: maybe-info-target-winsup info-target-winsup
35683 maybe-info-target-winsup:
35684 @if target-winsup
35685 maybe-info-target-winsup: info-target-winsup
35687 info-target-winsup: \
35688 configure-target-winsup
35689 @: $(MAKE); $(unstage)
35690 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35691 r=`${PWD_COMMAND}`; export r; \
35692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35693 $(NORMAL_TARGET_EXPORTS) \
35694 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
35695 for flag in $(EXTRA_TARGET_FLAGS); do \
35696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35697 done; \
35698 (cd $(TARGET_SUBDIR)/winsup && \
35699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35701 "RANLIB=$${RANLIB}" \
35702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35703 info) \
35704 || exit 1
35706 @endif target-winsup
35708 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
35709 maybe-dvi-target-winsup:
35710 @if target-winsup
35711 maybe-dvi-target-winsup: dvi-target-winsup
35713 dvi-target-winsup: \
35714 configure-target-winsup
35715 @: $(MAKE); $(unstage)
35716 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35717 r=`${PWD_COMMAND}`; export r; \
35718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35719 $(NORMAL_TARGET_EXPORTS) \
35720 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
35721 for flag in $(EXTRA_TARGET_FLAGS); do \
35722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35723 done; \
35724 (cd $(TARGET_SUBDIR)/winsup && \
35725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35727 "RANLIB=$${RANLIB}" \
35728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35729 dvi) \
35730 || exit 1
35732 @endif target-winsup
35734 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
35735 maybe-pdf-target-winsup:
35736 @if target-winsup
35737 maybe-pdf-target-winsup: pdf-target-winsup
35739 pdf-target-winsup: \
35740 configure-target-winsup
35741 @: $(MAKE); $(unstage)
35742 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35743 r=`${PWD_COMMAND}`; export r; \
35744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35745 $(NORMAL_TARGET_EXPORTS) \
35746 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
35747 for flag in $(EXTRA_TARGET_FLAGS); do \
35748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35749 done; \
35750 (cd $(TARGET_SUBDIR)/winsup && \
35751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35753 "RANLIB=$${RANLIB}" \
35754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35755 pdf) \
35756 || exit 1
35758 @endif target-winsup
35760 .PHONY: maybe-html-target-winsup html-target-winsup
35761 maybe-html-target-winsup:
35762 @if target-winsup
35763 maybe-html-target-winsup: html-target-winsup
35765 html-target-winsup: \
35766 configure-target-winsup
35767 @: $(MAKE); $(unstage)
35768 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35769 r=`${PWD_COMMAND}`; export r; \
35770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35771 $(NORMAL_TARGET_EXPORTS) \
35772 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
35773 for flag in $(EXTRA_TARGET_FLAGS); do \
35774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35775 done; \
35776 (cd $(TARGET_SUBDIR)/winsup && \
35777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35779 "RANLIB=$${RANLIB}" \
35780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35781 html) \
35782 || exit 1
35784 @endif target-winsup
35786 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
35787 maybe-TAGS-target-winsup:
35788 @if target-winsup
35789 maybe-TAGS-target-winsup: TAGS-target-winsup
35791 TAGS-target-winsup: \
35792 configure-target-winsup
35793 @: $(MAKE); $(unstage)
35794 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35795 r=`${PWD_COMMAND}`; export r; \
35796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35797 $(NORMAL_TARGET_EXPORTS) \
35798 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
35799 for flag in $(EXTRA_TARGET_FLAGS); do \
35800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35801 done; \
35802 (cd $(TARGET_SUBDIR)/winsup && \
35803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35805 "RANLIB=$${RANLIB}" \
35806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35807 TAGS) \
35808 || exit 1
35810 @endif target-winsup
35812 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
35813 maybe-install-info-target-winsup:
35814 @if target-winsup
35815 maybe-install-info-target-winsup: install-info-target-winsup
35817 install-info-target-winsup: \
35818 configure-target-winsup \
35819 info-target-winsup
35820 @: $(MAKE); $(unstage)
35821 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35822 r=`${PWD_COMMAND}`; export r; \
35823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35824 $(NORMAL_TARGET_EXPORTS) \
35825 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
35826 for flag in $(EXTRA_TARGET_FLAGS); do \
35827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35828 done; \
35829 (cd $(TARGET_SUBDIR)/winsup && \
35830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35832 "RANLIB=$${RANLIB}" \
35833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35834 install-info) \
35835 || exit 1
35837 @endif target-winsup
35839 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
35840 maybe-install-pdf-target-winsup:
35841 @if target-winsup
35842 maybe-install-pdf-target-winsup: install-pdf-target-winsup
35844 install-pdf-target-winsup: \
35845 configure-target-winsup \
35846 pdf-target-winsup
35847 @: $(MAKE); $(unstage)
35848 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35849 r=`${PWD_COMMAND}`; export r; \
35850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35851 $(NORMAL_TARGET_EXPORTS) \
35852 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
35853 for flag in $(EXTRA_TARGET_FLAGS); do \
35854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35855 done; \
35856 (cd $(TARGET_SUBDIR)/winsup && \
35857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35859 "RANLIB=$${RANLIB}" \
35860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35861 install-pdf) \
35862 || exit 1
35864 @endif target-winsup
35866 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
35867 maybe-install-html-target-winsup:
35868 @if target-winsup
35869 maybe-install-html-target-winsup: install-html-target-winsup
35871 install-html-target-winsup: \
35872 configure-target-winsup \
35873 html-target-winsup
35874 @: $(MAKE); $(unstage)
35875 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35876 r=`${PWD_COMMAND}`; export r; \
35877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35878 $(NORMAL_TARGET_EXPORTS) \
35879 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
35880 for flag in $(EXTRA_TARGET_FLAGS); do \
35881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35882 done; \
35883 (cd $(TARGET_SUBDIR)/winsup && \
35884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35886 "RANLIB=$${RANLIB}" \
35887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35888 install-html) \
35889 || exit 1
35891 @endif target-winsup
35893 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
35894 maybe-installcheck-target-winsup:
35895 @if target-winsup
35896 maybe-installcheck-target-winsup: installcheck-target-winsup
35898 installcheck-target-winsup: \
35899 configure-target-winsup
35900 @: $(MAKE); $(unstage)
35901 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35902 r=`${PWD_COMMAND}`; export r; \
35903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35904 $(NORMAL_TARGET_EXPORTS) \
35905 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
35906 for flag in $(EXTRA_TARGET_FLAGS); do \
35907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35908 done; \
35909 (cd $(TARGET_SUBDIR)/winsup && \
35910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35912 "RANLIB=$${RANLIB}" \
35913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35914 installcheck) \
35915 || exit 1
35917 @endif target-winsup
35919 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
35920 maybe-mostlyclean-target-winsup:
35921 @if target-winsup
35922 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
35924 mostlyclean-target-winsup:
35925 @: $(MAKE); $(unstage)
35926 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35927 r=`${PWD_COMMAND}`; export r; \
35928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35929 $(NORMAL_TARGET_EXPORTS) \
35930 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
35931 for flag in $(EXTRA_TARGET_FLAGS); do \
35932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35933 done; \
35934 (cd $(TARGET_SUBDIR)/winsup && \
35935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35937 "RANLIB=$${RANLIB}" \
35938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35939 mostlyclean) \
35940 || exit 1
35942 @endif target-winsup
35944 .PHONY: maybe-clean-target-winsup clean-target-winsup
35945 maybe-clean-target-winsup:
35946 @if target-winsup
35947 maybe-clean-target-winsup: clean-target-winsup
35949 clean-target-winsup:
35950 @: $(MAKE); $(unstage)
35951 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35952 r=`${PWD_COMMAND}`; export r; \
35953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35954 $(NORMAL_TARGET_EXPORTS) \
35955 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
35956 for flag in $(EXTRA_TARGET_FLAGS); do \
35957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35958 done; \
35959 (cd $(TARGET_SUBDIR)/winsup && \
35960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35962 "RANLIB=$${RANLIB}" \
35963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35964 clean) \
35965 || exit 1
35967 @endif target-winsup
35969 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
35970 maybe-distclean-target-winsup:
35971 @if target-winsup
35972 maybe-distclean-target-winsup: distclean-target-winsup
35974 distclean-target-winsup:
35975 @: $(MAKE); $(unstage)
35976 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35977 r=`${PWD_COMMAND}`; export r; \
35978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35979 $(NORMAL_TARGET_EXPORTS) \
35980 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
35981 for flag in $(EXTRA_TARGET_FLAGS); do \
35982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35983 done; \
35984 (cd $(TARGET_SUBDIR)/winsup && \
35985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35987 "RANLIB=$${RANLIB}" \
35988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35989 distclean) \
35990 || exit 1
35992 @endif target-winsup
35994 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
35995 maybe-maintainer-clean-target-winsup:
35996 @if target-winsup
35997 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
35999 maintainer-clean-target-winsup:
36000 @: $(MAKE); $(unstage)
36001 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36002 r=`${PWD_COMMAND}`; export r; \
36003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36004 $(NORMAL_TARGET_EXPORTS) \
36005 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
36006 for flag in $(EXTRA_TARGET_FLAGS); do \
36007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36008 done; \
36009 (cd $(TARGET_SUBDIR)/winsup && \
36010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36012 "RANLIB=$${RANLIB}" \
36013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36014 maintainer-clean) \
36015 || exit 1
36017 @endif target-winsup
36023 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36024 maybe-configure-target-libgloss:
36025 @if gcc-bootstrap
36026 configure-target-libgloss: stage_current
36027 @endif gcc-bootstrap
36028 @if target-libgloss
36029 maybe-configure-target-libgloss: configure-target-libgloss
36030 configure-target-libgloss:
36031 @: $(MAKE); $(unstage)
36032 @r=`${PWD_COMMAND}`; export r; \
36033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36034 echo "Checking multilib configuration for libgloss..."; \
36035 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36036 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36037 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36038 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36039 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36040 else \
36041 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36042 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36043 fi; \
36044 else \
36045 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36046 fi; \
36047 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36049 $(NORMAL_TARGET_EXPORTS) \
36050 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36051 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36052 case $(srcdir) in \
36053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36054 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36056 esac; \
36057 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36058 libsrcdir="$$s/libgloss"; \
36059 rm -f no-such-file || : ; \
36060 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36061 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36062 --target=${target_alias} $${srcdiroption} \
36063 || exit 1
36064 @endif target-libgloss
36070 .PHONY: all-target-libgloss maybe-all-target-libgloss
36071 maybe-all-target-libgloss:
36072 @if gcc-bootstrap
36073 all-target-libgloss: stage_current
36074 @endif gcc-bootstrap
36075 @if target-libgloss
36076 TARGET-target-libgloss=all
36077 maybe-all-target-libgloss: all-target-libgloss
36078 all-target-libgloss: configure-target-libgloss
36079 @: $(MAKE); $(unstage)
36080 @r=`${PWD_COMMAND}`; export r; \
36081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36082 $(NORMAL_TARGET_EXPORTS) \
36083 (cd $(TARGET_SUBDIR)/libgloss && \
36084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36085 $(TARGET-target-libgloss))
36086 @endif target-libgloss
36092 .PHONY: check-target-libgloss maybe-check-target-libgloss
36093 maybe-check-target-libgloss:
36094 @if target-libgloss
36095 maybe-check-target-libgloss: check-target-libgloss
36097 # Dummy target for uncheckable module.
36098 check-target-libgloss:
36100 @endif target-libgloss
36102 .PHONY: install-target-libgloss maybe-install-target-libgloss
36103 maybe-install-target-libgloss:
36104 @if target-libgloss
36105 maybe-install-target-libgloss: install-target-libgloss
36107 install-target-libgloss: installdirs
36108 @: $(MAKE); $(unstage)
36109 @r=`${PWD_COMMAND}`; export r; \
36110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36111 $(NORMAL_TARGET_EXPORTS) \
36112 (cd $(TARGET_SUBDIR)/libgloss && \
36113 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36115 @endif target-libgloss
36117 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36118 maybe-install-strip-target-libgloss:
36119 @if target-libgloss
36120 maybe-install-strip-target-libgloss: install-strip-target-libgloss
36122 install-strip-target-libgloss: installdirs
36123 @: $(MAKE); $(unstage)
36124 @r=`${PWD_COMMAND}`; export r; \
36125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36126 $(NORMAL_TARGET_EXPORTS) \
36127 (cd $(TARGET_SUBDIR)/libgloss && \
36128 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36130 @endif target-libgloss
36132 # Other targets (info, dvi, pdf, etc.)
36134 .PHONY: maybe-info-target-libgloss info-target-libgloss
36135 maybe-info-target-libgloss:
36136 @if target-libgloss
36137 maybe-info-target-libgloss: info-target-libgloss
36139 info-target-libgloss: \
36140 configure-target-libgloss
36141 @: $(MAKE); $(unstage)
36142 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36143 r=`${PWD_COMMAND}`; export r; \
36144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36145 $(NORMAL_TARGET_EXPORTS) \
36146 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36147 for flag in $(EXTRA_TARGET_FLAGS); do \
36148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36149 done; \
36150 (cd $(TARGET_SUBDIR)/libgloss && \
36151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36153 "RANLIB=$${RANLIB}" \
36154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36155 info) \
36156 || exit 1
36158 @endif target-libgloss
36160 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36161 maybe-dvi-target-libgloss:
36162 @if target-libgloss
36163 maybe-dvi-target-libgloss: dvi-target-libgloss
36165 dvi-target-libgloss: \
36166 configure-target-libgloss
36167 @: $(MAKE); $(unstage)
36168 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36169 r=`${PWD_COMMAND}`; export r; \
36170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36171 $(NORMAL_TARGET_EXPORTS) \
36172 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36173 for flag in $(EXTRA_TARGET_FLAGS); do \
36174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36175 done; \
36176 (cd $(TARGET_SUBDIR)/libgloss && \
36177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36179 "RANLIB=$${RANLIB}" \
36180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36181 dvi) \
36182 || exit 1
36184 @endif target-libgloss
36186 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36187 maybe-pdf-target-libgloss:
36188 @if target-libgloss
36189 maybe-pdf-target-libgloss: pdf-target-libgloss
36191 pdf-target-libgloss: \
36192 configure-target-libgloss
36193 @: $(MAKE); $(unstage)
36194 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36195 r=`${PWD_COMMAND}`; export r; \
36196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36197 $(NORMAL_TARGET_EXPORTS) \
36198 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36199 for flag in $(EXTRA_TARGET_FLAGS); do \
36200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36201 done; \
36202 (cd $(TARGET_SUBDIR)/libgloss && \
36203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36205 "RANLIB=$${RANLIB}" \
36206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36207 pdf) \
36208 || exit 1
36210 @endif target-libgloss
36212 .PHONY: maybe-html-target-libgloss html-target-libgloss
36213 maybe-html-target-libgloss:
36214 @if target-libgloss
36215 maybe-html-target-libgloss: html-target-libgloss
36217 html-target-libgloss: \
36218 configure-target-libgloss
36219 @: $(MAKE); $(unstage)
36220 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36221 r=`${PWD_COMMAND}`; export r; \
36222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36223 $(NORMAL_TARGET_EXPORTS) \
36224 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36225 for flag in $(EXTRA_TARGET_FLAGS); do \
36226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36227 done; \
36228 (cd $(TARGET_SUBDIR)/libgloss && \
36229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36231 "RANLIB=$${RANLIB}" \
36232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36233 html) \
36234 || exit 1
36236 @endif target-libgloss
36238 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36239 maybe-TAGS-target-libgloss:
36240 @if target-libgloss
36241 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36243 TAGS-target-libgloss: \
36244 configure-target-libgloss
36245 @: $(MAKE); $(unstage)
36246 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36247 r=`${PWD_COMMAND}`; export r; \
36248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36249 $(NORMAL_TARGET_EXPORTS) \
36250 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36251 for flag in $(EXTRA_TARGET_FLAGS); do \
36252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36253 done; \
36254 (cd $(TARGET_SUBDIR)/libgloss && \
36255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36257 "RANLIB=$${RANLIB}" \
36258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36259 TAGS) \
36260 || exit 1
36262 @endif target-libgloss
36264 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36265 maybe-install-info-target-libgloss:
36266 @if target-libgloss
36267 maybe-install-info-target-libgloss: install-info-target-libgloss
36269 install-info-target-libgloss: \
36270 configure-target-libgloss \
36271 info-target-libgloss
36272 @: $(MAKE); $(unstage)
36273 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36274 r=`${PWD_COMMAND}`; export r; \
36275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36276 $(NORMAL_TARGET_EXPORTS) \
36277 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36278 for flag in $(EXTRA_TARGET_FLAGS); do \
36279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36280 done; \
36281 (cd $(TARGET_SUBDIR)/libgloss && \
36282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36284 "RANLIB=$${RANLIB}" \
36285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36286 install-info) \
36287 || exit 1
36289 @endif target-libgloss
36291 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
36292 maybe-install-pdf-target-libgloss:
36293 @if target-libgloss
36294 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
36296 install-pdf-target-libgloss: \
36297 configure-target-libgloss \
36298 pdf-target-libgloss
36299 @: $(MAKE); $(unstage)
36300 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36301 r=`${PWD_COMMAND}`; export r; \
36302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36303 $(NORMAL_TARGET_EXPORTS) \
36304 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
36305 for flag in $(EXTRA_TARGET_FLAGS); do \
36306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36307 done; \
36308 (cd $(TARGET_SUBDIR)/libgloss && \
36309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36311 "RANLIB=$${RANLIB}" \
36312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36313 install-pdf) \
36314 || exit 1
36316 @endif target-libgloss
36318 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36319 maybe-install-html-target-libgloss:
36320 @if target-libgloss
36321 maybe-install-html-target-libgloss: install-html-target-libgloss
36323 install-html-target-libgloss: \
36324 configure-target-libgloss \
36325 html-target-libgloss
36326 @: $(MAKE); $(unstage)
36327 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36328 r=`${PWD_COMMAND}`; export r; \
36329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36330 $(NORMAL_TARGET_EXPORTS) \
36331 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
36332 for flag in $(EXTRA_TARGET_FLAGS); do \
36333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36334 done; \
36335 (cd $(TARGET_SUBDIR)/libgloss && \
36336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36338 "RANLIB=$${RANLIB}" \
36339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36340 install-html) \
36341 || exit 1
36343 @endif target-libgloss
36345 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36346 maybe-installcheck-target-libgloss:
36347 @if target-libgloss
36348 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36350 installcheck-target-libgloss: \
36351 configure-target-libgloss
36352 @: $(MAKE); $(unstage)
36353 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36354 r=`${PWD_COMMAND}`; export r; \
36355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36356 $(NORMAL_TARGET_EXPORTS) \
36357 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36358 for flag in $(EXTRA_TARGET_FLAGS); do \
36359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36360 done; \
36361 (cd $(TARGET_SUBDIR)/libgloss && \
36362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36364 "RANLIB=$${RANLIB}" \
36365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36366 installcheck) \
36367 || exit 1
36369 @endif target-libgloss
36371 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36372 maybe-mostlyclean-target-libgloss:
36373 @if target-libgloss
36374 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36376 mostlyclean-target-libgloss:
36377 @: $(MAKE); $(unstage)
36378 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36379 r=`${PWD_COMMAND}`; export r; \
36380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36381 $(NORMAL_TARGET_EXPORTS) \
36382 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36383 for flag in $(EXTRA_TARGET_FLAGS); do \
36384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36385 done; \
36386 (cd $(TARGET_SUBDIR)/libgloss && \
36387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36389 "RANLIB=$${RANLIB}" \
36390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36391 mostlyclean) \
36392 || exit 1
36394 @endif target-libgloss
36396 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36397 maybe-clean-target-libgloss:
36398 @if target-libgloss
36399 maybe-clean-target-libgloss: clean-target-libgloss
36401 clean-target-libgloss:
36402 @: $(MAKE); $(unstage)
36403 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36404 r=`${PWD_COMMAND}`; export r; \
36405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36406 $(NORMAL_TARGET_EXPORTS) \
36407 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36408 for flag in $(EXTRA_TARGET_FLAGS); do \
36409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36410 done; \
36411 (cd $(TARGET_SUBDIR)/libgloss && \
36412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36414 "RANLIB=$${RANLIB}" \
36415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36416 clean) \
36417 || exit 1
36419 @endif target-libgloss
36421 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36422 maybe-distclean-target-libgloss:
36423 @if target-libgloss
36424 maybe-distclean-target-libgloss: distclean-target-libgloss
36426 distclean-target-libgloss:
36427 @: $(MAKE); $(unstage)
36428 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36429 r=`${PWD_COMMAND}`; export r; \
36430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36431 $(NORMAL_TARGET_EXPORTS) \
36432 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36433 for flag in $(EXTRA_TARGET_FLAGS); do \
36434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36435 done; \
36436 (cd $(TARGET_SUBDIR)/libgloss && \
36437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36439 "RANLIB=$${RANLIB}" \
36440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36441 distclean) \
36442 || exit 1
36444 @endif target-libgloss
36446 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36447 maybe-maintainer-clean-target-libgloss:
36448 @if target-libgloss
36449 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36451 maintainer-clean-target-libgloss:
36452 @: $(MAKE); $(unstage)
36453 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36454 r=`${PWD_COMMAND}`; export r; \
36455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36456 $(NORMAL_TARGET_EXPORTS) \
36457 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36458 for flag in $(EXTRA_TARGET_FLAGS); do \
36459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36460 done; \
36461 (cd $(TARGET_SUBDIR)/libgloss && \
36462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36464 "RANLIB=$${RANLIB}" \
36465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36466 maintainer-clean) \
36467 || exit 1
36469 @endif target-libgloss
36475 .PHONY: configure-target-libffi maybe-configure-target-libffi
36476 maybe-configure-target-libffi:
36477 @if gcc-bootstrap
36478 configure-target-libffi: stage_current
36479 @endif gcc-bootstrap
36480 @if target-libffi
36481 maybe-configure-target-libffi: configure-target-libffi
36482 configure-target-libffi:
36483 @: $(MAKE); $(unstage)
36484 @r=`${PWD_COMMAND}`; export r; \
36485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36486 echo "Checking multilib configuration for libffi..."; \
36487 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36488 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36489 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36490 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36491 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36492 else \
36493 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36494 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36495 fi; \
36496 else \
36497 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36498 fi; \
36499 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36500 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36501 $(NORMAL_TARGET_EXPORTS) \
36502 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36503 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36504 case $(srcdir) in \
36505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36506 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36508 esac; \
36509 srcdiroption="--srcdir=$${topdir}/libffi"; \
36510 libsrcdir="$$s/libffi"; \
36511 rm -f no-such-file || : ; \
36512 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36513 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36514 --target=${target_alias} $${srcdiroption} \
36515 || exit 1
36516 @endif target-libffi
36522 .PHONY: all-target-libffi maybe-all-target-libffi
36523 maybe-all-target-libffi:
36524 @if gcc-bootstrap
36525 all-target-libffi: stage_current
36526 @endif gcc-bootstrap
36527 @if target-libffi
36528 TARGET-target-libffi=all
36529 maybe-all-target-libffi: all-target-libffi
36530 all-target-libffi: configure-target-libffi
36531 @: $(MAKE); $(unstage)
36532 @r=`${PWD_COMMAND}`; export r; \
36533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36534 $(NORMAL_TARGET_EXPORTS) \
36535 (cd $(TARGET_SUBDIR)/libffi && \
36536 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36537 $(TARGET-target-libffi))
36538 @endif target-libffi
36544 .PHONY: check-target-libffi maybe-check-target-libffi
36545 maybe-check-target-libffi:
36546 @if target-libffi
36547 maybe-check-target-libffi: check-target-libffi
36549 check-target-libffi:
36550 @: $(MAKE); $(unstage)
36551 @r=`${PWD_COMMAND}`; export r; \
36552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36553 $(NORMAL_TARGET_EXPORTS) \
36554 (cd $(TARGET_SUBDIR)/libffi && \
36555 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36557 @endif target-libffi
36559 .PHONY: install-target-libffi maybe-install-target-libffi
36560 maybe-install-target-libffi:
36561 @if target-libffi
36562 maybe-install-target-libffi: install-target-libffi
36564 install-target-libffi: installdirs
36565 @: $(MAKE); $(unstage)
36566 @r=`${PWD_COMMAND}`; export r; \
36567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36568 $(NORMAL_TARGET_EXPORTS) \
36569 (cd $(TARGET_SUBDIR)/libffi && \
36570 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36572 @endif target-libffi
36574 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
36575 maybe-install-strip-target-libffi:
36576 @if target-libffi
36577 maybe-install-strip-target-libffi: install-strip-target-libffi
36579 install-strip-target-libffi: installdirs
36580 @: $(MAKE); $(unstage)
36581 @r=`${PWD_COMMAND}`; export r; \
36582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36583 $(NORMAL_TARGET_EXPORTS) \
36584 (cd $(TARGET_SUBDIR)/libffi && \
36585 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36587 @endif target-libffi
36589 # Other targets (info, dvi, pdf, etc.)
36591 .PHONY: maybe-info-target-libffi info-target-libffi
36592 maybe-info-target-libffi:
36593 @if target-libffi
36594 maybe-info-target-libffi: info-target-libffi
36596 info-target-libffi: \
36597 configure-target-libffi
36598 @: $(MAKE); $(unstage)
36599 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36600 r=`${PWD_COMMAND}`; export r; \
36601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36602 $(NORMAL_TARGET_EXPORTS) \
36603 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36604 for flag in $(EXTRA_TARGET_FLAGS); do \
36605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36606 done; \
36607 (cd $(TARGET_SUBDIR)/libffi && \
36608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36610 "RANLIB=$${RANLIB}" \
36611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36612 info) \
36613 || exit 1
36615 @endif target-libffi
36617 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36618 maybe-dvi-target-libffi:
36619 @if target-libffi
36620 maybe-dvi-target-libffi: dvi-target-libffi
36622 dvi-target-libffi: \
36623 configure-target-libffi
36624 @: $(MAKE); $(unstage)
36625 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36626 r=`${PWD_COMMAND}`; export r; \
36627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36628 $(NORMAL_TARGET_EXPORTS) \
36629 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36630 for flag in $(EXTRA_TARGET_FLAGS); do \
36631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36632 done; \
36633 (cd $(TARGET_SUBDIR)/libffi && \
36634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36636 "RANLIB=$${RANLIB}" \
36637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36638 dvi) \
36639 || exit 1
36641 @endif target-libffi
36643 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
36644 maybe-pdf-target-libffi:
36645 @if target-libffi
36646 maybe-pdf-target-libffi: pdf-target-libffi
36648 pdf-target-libffi: \
36649 configure-target-libffi
36650 @: $(MAKE); $(unstage)
36651 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36652 r=`${PWD_COMMAND}`; export r; \
36653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36654 $(NORMAL_TARGET_EXPORTS) \
36655 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
36656 for flag in $(EXTRA_TARGET_FLAGS); do \
36657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36658 done; \
36659 (cd $(TARGET_SUBDIR)/libffi && \
36660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36662 "RANLIB=$${RANLIB}" \
36663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36664 pdf) \
36665 || exit 1
36667 @endif target-libffi
36669 .PHONY: maybe-html-target-libffi html-target-libffi
36670 maybe-html-target-libffi:
36671 @if target-libffi
36672 maybe-html-target-libffi: html-target-libffi
36674 html-target-libffi: \
36675 configure-target-libffi
36676 @: $(MAKE); $(unstage)
36677 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36678 r=`${PWD_COMMAND}`; export r; \
36679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36680 $(NORMAL_TARGET_EXPORTS) \
36681 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36682 for flag in $(EXTRA_TARGET_FLAGS); do \
36683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36684 done; \
36685 (cd $(TARGET_SUBDIR)/libffi && \
36686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36688 "RANLIB=$${RANLIB}" \
36689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36690 html) \
36691 || exit 1
36693 @endif target-libffi
36695 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36696 maybe-TAGS-target-libffi:
36697 @if target-libffi
36698 maybe-TAGS-target-libffi: TAGS-target-libffi
36700 TAGS-target-libffi: \
36701 configure-target-libffi
36702 @: $(MAKE); $(unstage)
36703 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36704 r=`${PWD_COMMAND}`; export r; \
36705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36706 $(NORMAL_TARGET_EXPORTS) \
36707 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36708 for flag in $(EXTRA_TARGET_FLAGS); do \
36709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36710 done; \
36711 (cd $(TARGET_SUBDIR)/libffi && \
36712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36714 "RANLIB=$${RANLIB}" \
36715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36716 TAGS) \
36717 || exit 1
36719 @endif target-libffi
36721 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36722 maybe-install-info-target-libffi:
36723 @if target-libffi
36724 maybe-install-info-target-libffi: install-info-target-libffi
36726 install-info-target-libffi: \
36727 configure-target-libffi \
36728 info-target-libffi
36729 @: $(MAKE); $(unstage)
36730 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36731 r=`${PWD_COMMAND}`; export r; \
36732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36733 $(NORMAL_TARGET_EXPORTS) \
36734 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36735 for flag in $(EXTRA_TARGET_FLAGS); do \
36736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36737 done; \
36738 (cd $(TARGET_SUBDIR)/libffi && \
36739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36741 "RANLIB=$${RANLIB}" \
36742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36743 install-info) \
36744 || exit 1
36746 @endif target-libffi
36748 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
36749 maybe-install-pdf-target-libffi:
36750 @if target-libffi
36751 maybe-install-pdf-target-libffi: install-pdf-target-libffi
36753 install-pdf-target-libffi: \
36754 configure-target-libffi \
36755 pdf-target-libffi
36756 @: $(MAKE); $(unstage)
36757 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36758 r=`${PWD_COMMAND}`; export r; \
36759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36760 $(NORMAL_TARGET_EXPORTS) \
36761 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
36762 for flag in $(EXTRA_TARGET_FLAGS); do \
36763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36764 done; \
36765 (cd $(TARGET_SUBDIR)/libffi && \
36766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36768 "RANLIB=$${RANLIB}" \
36769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36770 install-pdf) \
36771 || exit 1
36773 @endif target-libffi
36775 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36776 maybe-install-html-target-libffi:
36777 @if target-libffi
36778 maybe-install-html-target-libffi: install-html-target-libffi
36780 install-html-target-libffi: \
36781 configure-target-libffi \
36782 html-target-libffi
36783 @: $(MAKE); $(unstage)
36784 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36785 r=`${PWD_COMMAND}`; export r; \
36786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36787 $(NORMAL_TARGET_EXPORTS) \
36788 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36789 for flag in $(EXTRA_TARGET_FLAGS); do \
36790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36791 done; \
36792 (cd $(TARGET_SUBDIR)/libffi && \
36793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36795 "RANLIB=$${RANLIB}" \
36796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36797 install-html) \
36798 || exit 1
36800 @endif target-libffi
36802 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36803 maybe-installcheck-target-libffi:
36804 @if target-libffi
36805 maybe-installcheck-target-libffi: installcheck-target-libffi
36807 installcheck-target-libffi: \
36808 configure-target-libffi
36809 @: $(MAKE); $(unstage)
36810 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36811 r=`${PWD_COMMAND}`; export r; \
36812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36813 $(NORMAL_TARGET_EXPORTS) \
36814 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36815 for flag in $(EXTRA_TARGET_FLAGS); do \
36816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36817 done; \
36818 (cd $(TARGET_SUBDIR)/libffi && \
36819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36821 "RANLIB=$${RANLIB}" \
36822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36823 installcheck) \
36824 || exit 1
36826 @endif target-libffi
36828 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36829 maybe-mostlyclean-target-libffi:
36830 @if target-libffi
36831 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36833 mostlyclean-target-libffi:
36834 @: $(MAKE); $(unstage)
36835 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36836 r=`${PWD_COMMAND}`; export r; \
36837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36838 $(NORMAL_TARGET_EXPORTS) \
36839 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36840 for flag in $(EXTRA_TARGET_FLAGS); do \
36841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36842 done; \
36843 (cd $(TARGET_SUBDIR)/libffi && \
36844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36846 "RANLIB=$${RANLIB}" \
36847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36848 mostlyclean) \
36849 || exit 1
36851 @endif target-libffi
36853 .PHONY: maybe-clean-target-libffi clean-target-libffi
36854 maybe-clean-target-libffi:
36855 @if target-libffi
36856 maybe-clean-target-libffi: clean-target-libffi
36858 clean-target-libffi:
36859 @: $(MAKE); $(unstage)
36860 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36861 r=`${PWD_COMMAND}`; export r; \
36862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36863 $(NORMAL_TARGET_EXPORTS) \
36864 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36865 for flag in $(EXTRA_TARGET_FLAGS); do \
36866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36867 done; \
36868 (cd $(TARGET_SUBDIR)/libffi && \
36869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36871 "RANLIB=$${RANLIB}" \
36872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36873 clean) \
36874 || exit 1
36876 @endif target-libffi
36878 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36879 maybe-distclean-target-libffi:
36880 @if target-libffi
36881 maybe-distclean-target-libffi: distclean-target-libffi
36883 distclean-target-libffi:
36884 @: $(MAKE); $(unstage)
36885 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36886 r=`${PWD_COMMAND}`; export r; \
36887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36888 $(NORMAL_TARGET_EXPORTS) \
36889 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36890 for flag in $(EXTRA_TARGET_FLAGS); do \
36891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36892 done; \
36893 (cd $(TARGET_SUBDIR)/libffi && \
36894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36896 "RANLIB=$${RANLIB}" \
36897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36898 distclean) \
36899 || exit 1
36901 @endif target-libffi
36903 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36904 maybe-maintainer-clean-target-libffi:
36905 @if target-libffi
36906 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36908 maintainer-clean-target-libffi:
36909 @: $(MAKE); $(unstage)
36910 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36911 r=`${PWD_COMMAND}`; export r; \
36912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36913 $(NORMAL_TARGET_EXPORTS) \
36914 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36915 for flag in $(EXTRA_TARGET_FLAGS); do \
36916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36917 done; \
36918 (cd $(TARGET_SUBDIR)/libffi && \
36919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36921 "RANLIB=$${RANLIB}" \
36922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36923 maintainer-clean) \
36924 || exit 1
36926 @endif target-libffi
36932 .PHONY: configure-target-libjava maybe-configure-target-libjava
36933 maybe-configure-target-libjava:
36934 @if gcc-bootstrap
36935 configure-target-libjava: stage_current
36936 @endif gcc-bootstrap
36937 @if target-libjava
36938 maybe-configure-target-libjava: configure-target-libjava
36939 configure-target-libjava:
36940 @: $(MAKE); $(unstage)
36941 @r=`${PWD_COMMAND}`; export r; \
36942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36943 echo "Checking multilib configuration for libjava..."; \
36944 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36945 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36946 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36947 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36948 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36949 else \
36950 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36951 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36952 fi; \
36953 else \
36954 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36955 fi; \
36956 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36957 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36958 $(RAW_CXX_TARGET_EXPORTS) \
36959 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36960 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36961 case $(srcdir) in \
36962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36963 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36965 esac; \
36966 srcdiroption="--srcdir=$${topdir}/libjava"; \
36967 libsrcdir="$$s/libjava"; \
36968 rm -f no-such-file || : ; \
36969 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36970 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36971 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
36972 || exit 1
36973 @endif target-libjava
36979 .PHONY: all-target-libjava maybe-all-target-libjava
36980 maybe-all-target-libjava:
36981 @if gcc-bootstrap
36982 all-target-libjava: stage_current
36983 @endif gcc-bootstrap
36984 @if target-libjava
36985 TARGET-target-libjava=all
36986 maybe-all-target-libjava: all-target-libjava
36987 all-target-libjava: configure-target-libjava
36988 @: $(MAKE); $(unstage)
36989 @r=`${PWD_COMMAND}`; export r; \
36990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36991 $(RAW_CXX_TARGET_EXPORTS) \
36992 (cd $(TARGET_SUBDIR)/libjava && \
36993 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36994 $(TARGET-target-libjava))
36995 @endif target-libjava
37001 .PHONY: check-target-libjava maybe-check-target-libjava
37002 maybe-check-target-libjava:
37003 @if target-libjava
37004 maybe-check-target-libjava: check-target-libjava
37006 check-target-libjava:
37007 @: $(MAKE); $(unstage)
37008 @r=`${PWD_COMMAND}`; export r; \
37009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37010 $(RAW_CXX_TARGET_EXPORTS) \
37011 (cd $(TARGET_SUBDIR)/libjava && \
37012 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
37014 @endif target-libjava
37016 .PHONY: install-target-libjava maybe-install-target-libjava
37017 maybe-install-target-libjava:
37018 @if target-libjava
37019 maybe-install-target-libjava: install-target-libjava
37021 install-target-libjava: installdirs
37022 @: $(MAKE); $(unstage)
37023 @r=`${PWD_COMMAND}`; export r; \
37024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37025 $(RAW_CXX_TARGET_EXPORTS) \
37026 (cd $(TARGET_SUBDIR)/libjava && \
37027 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37029 @endif target-libjava
37031 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
37032 maybe-install-strip-target-libjava:
37033 @if target-libjava
37034 maybe-install-strip-target-libjava: install-strip-target-libjava
37036 install-strip-target-libjava: installdirs
37037 @: $(MAKE); $(unstage)
37038 @r=`${PWD_COMMAND}`; export r; \
37039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37040 $(RAW_CXX_TARGET_EXPORTS) \
37041 (cd $(TARGET_SUBDIR)/libjava && \
37042 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37044 @endif target-libjava
37046 # Other targets (info, dvi, pdf, etc.)
37048 .PHONY: maybe-info-target-libjava info-target-libjava
37049 maybe-info-target-libjava:
37050 @if target-libjava
37051 maybe-info-target-libjava: info-target-libjava
37053 info-target-libjava: \
37054 configure-target-libjava
37055 @: $(MAKE); $(unstage)
37056 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37057 r=`${PWD_COMMAND}`; export r; \
37058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37059 $(RAW_CXX_TARGET_EXPORTS) \
37060 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
37061 for flag in $(EXTRA_TARGET_FLAGS); do \
37062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37063 done; \
37064 (cd $(TARGET_SUBDIR)/libjava && \
37065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37067 "RANLIB=$${RANLIB}" \
37068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37069 info) \
37070 || exit 1
37072 @endif target-libjava
37074 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
37075 maybe-dvi-target-libjava:
37076 @if target-libjava
37077 maybe-dvi-target-libjava: dvi-target-libjava
37079 dvi-target-libjava: \
37080 configure-target-libjava
37081 @: $(MAKE); $(unstage)
37082 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37083 r=`${PWD_COMMAND}`; export r; \
37084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37085 $(RAW_CXX_TARGET_EXPORTS) \
37086 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37087 for flag in $(EXTRA_TARGET_FLAGS); do \
37088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37089 done; \
37090 (cd $(TARGET_SUBDIR)/libjava && \
37091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37093 "RANLIB=$${RANLIB}" \
37094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37095 dvi) \
37096 || exit 1
37098 @endif target-libjava
37100 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37101 maybe-pdf-target-libjava:
37102 @if target-libjava
37103 maybe-pdf-target-libjava: pdf-target-libjava
37105 pdf-target-libjava: \
37106 configure-target-libjava
37107 @: $(MAKE); $(unstage)
37108 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37109 r=`${PWD_COMMAND}`; export r; \
37110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37111 $(RAW_CXX_TARGET_EXPORTS) \
37112 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
37113 for flag in $(EXTRA_TARGET_FLAGS); do \
37114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37115 done; \
37116 (cd $(TARGET_SUBDIR)/libjava && \
37117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37119 "RANLIB=$${RANLIB}" \
37120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37121 pdf) \
37122 || exit 1
37124 @endif target-libjava
37126 .PHONY: maybe-html-target-libjava html-target-libjava
37127 maybe-html-target-libjava:
37128 @if target-libjava
37129 maybe-html-target-libjava: html-target-libjava
37131 html-target-libjava: \
37132 configure-target-libjava
37133 @: $(MAKE); $(unstage)
37134 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37135 r=`${PWD_COMMAND}`; export r; \
37136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37137 $(RAW_CXX_TARGET_EXPORTS) \
37138 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
37139 for flag in $(EXTRA_TARGET_FLAGS); do \
37140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37141 done; \
37142 (cd $(TARGET_SUBDIR)/libjava && \
37143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37145 "RANLIB=$${RANLIB}" \
37146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37147 html) \
37148 || exit 1
37150 @endif target-libjava
37152 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
37153 maybe-TAGS-target-libjava:
37154 @if target-libjava
37155 maybe-TAGS-target-libjava: TAGS-target-libjava
37157 TAGS-target-libjava: \
37158 configure-target-libjava
37159 @: $(MAKE); $(unstage)
37160 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37161 r=`${PWD_COMMAND}`; export r; \
37162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37163 $(RAW_CXX_TARGET_EXPORTS) \
37164 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
37165 for flag in $(EXTRA_TARGET_FLAGS); do \
37166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37167 done; \
37168 (cd $(TARGET_SUBDIR)/libjava && \
37169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37171 "RANLIB=$${RANLIB}" \
37172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37173 TAGS) \
37174 || exit 1
37176 @endif target-libjava
37178 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
37179 maybe-install-info-target-libjava:
37180 @if target-libjava
37181 maybe-install-info-target-libjava: install-info-target-libjava
37183 install-info-target-libjava: \
37184 configure-target-libjava \
37185 info-target-libjava
37186 @: $(MAKE); $(unstage)
37187 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37188 r=`${PWD_COMMAND}`; export r; \
37189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37190 $(RAW_CXX_TARGET_EXPORTS) \
37191 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
37192 for flag in $(EXTRA_TARGET_FLAGS); do \
37193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37194 done; \
37195 (cd $(TARGET_SUBDIR)/libjava && \
37196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37198 "RANLIB=$${RANLIB}" \
37199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37200 install-info) \
37201 || exit 1
37203 @endif target-libjava
37205 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
37206 maybe-install-pdf-target-libjava:
37207 @if target-libjava
37208 maybe-install-pdf-target-libjava: install-pdf-target-libjava
37210 install-pdf-target-libjava: \
37211 configure-target-libjava \
37212 pdf-target-libjava
37213 @: $(MAKE); $(unstage)
37214 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37215 r=`${PWD_COMMAND}`; export r; \
37216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37217 $(RAW_CXX_TARGET_EXPORTS) \
37218 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
37219 for flag in $(EXTRA_TARGET_FLAGS); do \
37220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37221 done; \
37222 (cd $(TARGET_SUBDIR)/libjava && \
37223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37225 "RANLIB=$${RANLIB}" \
37226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37227 install-pdf) \
37228 || exit 1
37230 @endif target-libjava
37232 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
37233 maybe-install-html-target-libjava:
37234 @if target-libjava
37235 maybe-install-html-target-libjava: install-html-target-libjava
37237 install-html-target-libjava: \
37238 configure-target-libjava \
37239 html-target-libjava
37240 @: $(MAKE); $(unstage)
37241 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37242 r=`${PWD_COMMAND}`; export r; \
37243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37244 $(RAW_CXX_TARGET_EXPORTS) \
37245 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
37246 for flag in $(EXTRA_TARGET_FLAGS); do \
37247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37248 done; \
37249 (cd $(TARGET_SUBDIR)/libjava && \
37250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37252 "RANLIB=$${RANLIB}" \
37253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37254 install-html) \
37255 || exit 1
37257 @endif target-libjava
37259 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
37260 maybe-installcheck-target-libjava:
37261 @if target-libjava
37262 maybe-installcheck-target-libjava: installcheck-target-libjava
37264 installcheck-target-libjava: \
37265 configure-target-libjava
37266 @: $(MAKE); $(unstage)
37267 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37268 r=`${PWD_COMMAND}`; export r; \
37269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37270 $(RAW_CXX_TARGET_EXPORTS) \
37271 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
37272 for flag in $(EXTRA_TARGET_FLAGS); do \
37273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37274 done; \
37275 (cd $(TARGET_SUBDIR)/libjava && \
37276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37278 "RANLIB=$${RANLIB}" \
37279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37280 installcheck) \
37281 || exit 1
37283 @endif target-libjava
37285 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
37286 maybe-mostlyclean-target-libjava:
37287 @if target-libjava
37288 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
37290 mostlyclean-target-libjava:
37291 @: $(MAKE); $(unstage)
37292 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37293 r=`${PWD_COMMAND}`; export r; \
37294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37295 $(RAW_CXX_TARGET_EXPORTS) \
37296 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
37297 for flag in $(EXTRA_TARGET_FLAGS); do \
37298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37299 done; \
37300 (cd $(TARGET_SUBDIR)/libjava && \
37301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37303 "RANLIB=$${RANLIB}" \
37304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37305 mostlyclean) \
37306 || exit 1
37308 @endif target-libjava
37310 .PHONY: maybe-clean-target-libjava clean-target-libjava
37311 maybe-clean-target-libjava:
37312 @if target-libjava
37313 maybe-clean-target-libjava: clean-target-libjava
37315 clean-target-libjava:
37316 @: $(MAKE); $(unstage)
37317 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37318 r=`${PWD_COMMAND}`; export r; \
37319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37320 $(RAW_CXX_TARGET_EXPORTS) \
37321 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
37322 for flag in $(EXTRA_TARGET_FLAGS); do \
37323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37324 done; \
37325 (cd $(TARGET_SUBDIR)/libjava && \
37326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37328 "RANLIB=$${RANLIB}" \
37329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37330 clean) \
37331 || exit 1
37333 @endif target-libjava
37335 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
37336 maybe-distclean-target-libjava:
37337 @if target-libjava
37338 maybe-distclean-target-libjava: distclean-target-libjava
37340 distclean-target-libjava:
37341 @: $(MAKE); $(unstage)
37342 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37343 r=`${PWD_COMMAND}`; export r; \
37344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37345 $(RAW_CXX_TARGET_EXPORTS) \
37346 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
37347 for flag in $(EXTRA_TARGET_FLAGS); do \
37348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37349 done; \
37350 (cd $(TARGET_SUBDIR)/libjava && \
37351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37353 "RANLIB=$${RANLIB}" \
37354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37355 distclean) \
37356 || exit 1
37358 @endif target-libjava
37360 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
37361 maybe-maintainer-clean-target-libjava:
37362 @if target-libjava
37363 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
37365 maintainer-clean-target-libjava:
37366 @: $(MAKE); $(unstage)
37367 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37368 r=`${PWD_COMMAND}`; export r; \
37369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37370 $(RAW_CXX_TARGET_EXPORTS) \
37371 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
37372 for flag in $(EXTRA_TARGET_FLAGS); do \
37373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37374 done; \
37375 (cd $(TARGET_SUBDIR)/libjava && \
37376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37378 "RANLIB=$${RANLIB}" \
37379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37380 maintainer-clean) \
37381 || exit 1
37383 @endif target-libjava
37389 .PHONY: configure-target-zlib maybe-configure-target-zlib
37390 maybe-configure-target-zlib:
37391 @if gcc-bootstrap
37392 configure-target-zlib: stage_current
37393 @endif gcc-bootstrap
37394 @if target-zlib
37395 maybe-configure-target-zlib: configure-target-zlib
37396 configure-target-zlib:
37397 @: $(MAKE); $(unstage)
37398 @r=`${PWD_COMMAND}`; export r; \
37399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37400 echo "Checking multilib configuration for zlib..."; \
37401 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37402 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
37403 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
37404 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
37405 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
37406 else \
37407 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
37408 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37409 fi; \
37410 else \
37411 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37412 fi; \
37413 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
37414 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37415 $(NORMAL_TARGET_EXPORTS) \
37416 echo Configuring in $(TARGET_SUBDIR)/zlib; \
37417 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
37418 case $(srcdir) in \
37419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37420 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
37421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37422 esac; \
37423 srcdiroption="--srcdir=$${topdir}/zlib"; \
37424 libsrcdir="$$s/zlib"; \
37425 rm -f no-such-file || : ; \
37426 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37427 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37428 --target=${target_alias} $${srcdiroption} \
37429 || exit 1
37430 @endif target-zlib
37436 .PHONY: all-target-zlib maybe-all-target-zlib
37437 maybe-all-target-zlib:
37438 @if gcc-bootstrap
37439 all-target-zlib: stage_current
37440 @endif gcc-bootstrap
37441 @if target-zlib
37442 TARGET-target-zlib=all
37443 maybe-all-target-zlib: all-target-zlib
37444 all-target-zlib: configure-target-zlib
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)/zlib && \
37450 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37451 $(TARGET-target-zlib))
37452 @endif target-zlib
37458 .PHONY: check-target-zlib maybe-check-target-zlib
37459 maybe-check-target-zlib:
37460 @if target-zlib
37461 maybe-check-target-zlib: check-target-zlib
37463 check-target-zlib:
37464 @: $(MAKE); $(unstage)
37465 @r=`${PWD_COMMAND}`; export r; \
37466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37467 $(NORMAL_TARGET_EXPORTS) \
37468 (cd $(TARGET_SUBDIR)/zlib && \
37469 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37471 @endif target-zlib
37473 .PHONY: install-target-zlib maybe-install-target-zlib
37474 maybe-install-target-zlib:
37475 @if target-zlib
37476 maybe-install-target-zlib: install-target-zlib
37478 install-target-zlib: installdirs
37479 @: $(MAKE); $(unstage)
37480 @r=`${PWD_COMMAND}`; export r; \
37481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37482 $(NORMAL_TARGET_EXPORTS) \
37483 (cd $(TARGET_SUBDIR)/zlib && \
37484 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37486 @endif target-zlib
37488 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
37489 maybe-install-strip-target-zlib:
37490 @if target-zlib
37491 maybe-install-strip-target-zlib: install-strip-target-zlib
37493 install-strip-target-zlib: installdirs
37494 @: $(MAKE); $(unstage)
37495 @r=`${PWD_COMMAND}`; export r; \
37496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37497 $(NORMAL_TARGET_EXPORTS) \
37498 (cd $(TARGET_SUBDIR)/zlib && \
37499 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37501 @endif target-zlib
37503 # Other targets (info, dvi, pdf, etc.)
37505 .PHONY: maybe-info-target-zlib info-target-zlib
37506 maybe-info-target-zlib:
37507 @if target-zlib
37508 maybe-info-target-zlib: info-target-zlib
37510 info-target-zlib: \
37511 configure-target-zlib
37512 @: $(MAKE); $(unstage)
37513 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37514 r=`${PWD_COMMAND}`; export r; \
37515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37516 $(NORMAL_TARGET_EXPORTS) \
37517 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
37518 for flag in $(EXTRA_TARGET_FLAGS); do \
37519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37520 done; \
37521 (cd $(TARGET_SUBDIR)/zlib && \
37522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37524 "RANLIB=$${RANLIB}" \
37525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37526 info) \
37527 || exit 1
37529 @endif target-zlib
37531 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
37532 maybe-dvi-target-zlib:
37533 @if target-zlib
37534 maybe-dvi-target-zlib: dvi-target-zlib
37536 dvi-target-zlib: \
37537 configure-target-zlib
37538 @: $(MAKE); $(unstage)
37539 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37540 r=`${PWD_COMMAND}`; export r; \
37541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37542 $(NORMAL_TARGET_EXPORTS) \
37543 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
37544 for flag in $(EXTRA_TARGET_FLAGS); do \
37545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37546 done; \
37547 (cd $(TARGET_SUBDIR)/zlib && \
37548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37550 "RANLIB=$${RANLIB}" \
37551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37552 dvi) \
37553 || exit 1
37555 @endif target-zlib
37557 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
37558 maybe-pdf-target-zlib:
37559 @if target-zlib
37560 maybe-pdf-target-zlib: pdf-target-zlib
37562 pdf-target-zlib: \
37563 configure-target-zlib
37564 @: $(MAKE); $(unstage)
37565 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37566 r=`${PWD_COMMAND}`; export r; \
37567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37568 $(NORMAL_TARGET_EXPORTS) \
37569 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
37570 for flag in $(EXTRA_TARGET_FLAGS); do \
37571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37572 done; \
37573 (cd $(TARGET_SUBDIR)/zlib && \
37574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37576 "RANLIB=$${RANLIB}" \
37577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37578 pdf) \
37579 || exit 1
37581 @endif target-zlib
37583 .PHONY: maybe-html-target-zlib html-target-zlib
37584 maybe-html-target-zlib:
37585 @if target-zlib
37586 maybe-html-target-zlib: html-target-zlib
37588 html-target-zlib: \
37589 configure-target-zlib
37590 @: $(MAKE); $(unstage)
37591 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37592 r=`${PWD_COMMAND}`; export r; \
37593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37594 $(NORMAL_TARGET_EXPORTS) \
37595 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
37596 for flag in $(EXTRA_TARGET_FLAGS); do \
37597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37598 done; \
37599 (cd $(TARGET_SUBDIR)/zlib && \
37600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37602 "RANLIB=$${RANLIB}" \
37603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37604 html) \
37605 || exit 1
37607 @endif target-zlib
37609 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
37610 maybe-TAGS-target-zlib:
37611 @if target-zlib
37612 maybe-TAGS-target-zlib: TAGS-target-zlib
37614 TAGS-target-zlib: \
37615 configure-target-zlib
37616 @: $(MAKE); $(unstage)
37617 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37618 r=`${PWD_COMMAND}`; export r; \
37619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37620 $(NORMAL_TARGET_EXPORTS) \
37621 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
37622 for flag in $(EXTRA_TARGET_FLAGS); do \
37623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37624 done; \
37625 (cd $(TARGET_SUBDIR)/zlib && \
37626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37628 "RANLIB=$${RANLIB}" \
37629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37630 TAGS) \
37631 || exit 1
37633 @endif target-zlib
37635 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
37636 maybe-install-info-target-zlib:
37637 @if target-zlib
37638 maybe-install-info-target-zlib: install-info-target-zlib
37640 install-info-target-zlib: \
37641 configure-target-zlib \
37642 info-target-zlib
37643 @: $(MAKE); $(unstage)
37644 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37645 r=`${PWD_COMMAND}`; export r; \
37646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37647 $(NORMAL_TARGET_EXPORTS) \
37648 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
37649 for flag in $(EXTRA_TARGET_FLAGS); do \
37650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37651 done; \
37652 (cd $(TARGET_SUBDIR)/zlib && \
37653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37655 "RANLIB=$${RANLIB}" \
37656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37657 install-info) \
37658 || exit 1
37660 @endif target-zlib
37662 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
37663 maybe-install-pdf-target-zlib:
37664 @if target-zlib
37665 maybe-install-pdf-target-zlib: install-pdf-target-zlib
37667 install-pdf-target-zlib: \
37668 configure-target-zlib \
37669 pdf-target-zlib
37670 @: $(MAKE); $(unstage)
37671 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37672 r=`${PWD_COMMAND}`; export r; \
37673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37674 $(NORMAL_TARGET_EXPORTS) \
37675 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
37676 for flag in $(EXTRA_TARGET_FLAGS); do \
37677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37678 done; \
37679 (cd $(TARGET_SUBDIR)/zlib && \
37680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37682 "RANLIB=$${RANLIB}" \
37683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37684 install-pdf) \
37685 || exit 1
37687 @endif target-zlib
37689 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
37690 maybe-install-html-target-zlib:
37691 @if target-zlib
37692 maybe-install-html-target-zlib: install-html-target-zlib
37694 install-html-target-zlib: \
37695 configure-target-zlib \
37696 html-target-zlib
37697 @: $(MAKE); $(unstage)
37698 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37699 r=`${PWD_COMMAND}`; export r; \
37700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37701 $(NORMAL_TARGET_EXPORTS) \
37702 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
37703 for flag in $(EXTRA_TARGET_FLAGS); do \
37704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37705 done; \
37706 (cd $(TARGET_SUBDIR)/zlib && \
37707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37709 "RANLIB=$${RANLIB}" \
37710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37711 install-html) \
37712 || exit 1
37714 @endif target-zlib
37716 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
37717 maybe-installcheck-target-zlib:
37718 @if target-zlib
37719 maybe-installcheck-target-zlib: installcheck-target-zlib
37721 installcheck-target-zlib: \
37722 configure-target-zlib
37723 @: $(MAKE); $(unstage)
37724 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37725 r=`${PWD_COMMAND}`; export r; \
37726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37727 $(NORMAL_TARGET_EXPORTS) \
37728 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37729 for flag in $(EXTRA_TARGET_FLAGS); do \
37730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37731 done; \
37732 (cd $(TARGET_SUBDIR)/zlib && \
37733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37735 "RANLIB=$${RANLIB}" \
37736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37737 installcheck) \
37738 || exit 1
37740 @endif target-zlib
37742 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37743 maybe-mostlyclean-target-zlib:
37744 @if target-zlib
37745 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37747 mostlyclean-target-zlib:
37748 @: $(MAKE); $(unstage)
37749 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37750 r=`${PWD_COMMAND}`; export r; \
37751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37752 $(NORMAL_TARGET_EXPORTS) \
37753 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37754 for flag in $(EXTRA_TARGET_FLAGS); do \
37755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37756 done; \
37757 (cd $(TARGET_SUBDIR)/zlib && \
37758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37760 "RANLIB=$${RANLIB}" \
37761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37762 mostlyclean) \
37763 || exit 1
37765 @endif target-zlib
37767 .PHONY: maybe-clean-target-zlib clean-target-zlib
37768 maybe-clean-target-zlib:
37769 @if target-zlib
37770 maybe-clean-target-zlib: clean-target-zlib
37772 clean-target-zlib:
37773 @: $(MAKE); $(unstage)
37774 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37775 r=`${PWD_COMMAND}`; export r; \
37776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37777 $(NORMAL_TARGET_EXPORTS) \
37778 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37779 for flag in $(EXTRA_TARGET_FLAGS); do \
37780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37781 done; \
37782 (cd $(TARGET_SUBDIR)/zlib && \
37783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37785 "RANLIB=$${RANLIB}" \
37786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37787 clean) \
37788 || exit 1
37790 @endif target-zlib
37792 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37793 maybe-distclean-target-zlib:
37794 @if target-zlib
37795 maybe-distclean-target-zlib: distclean-target-zlib
37797 distclean-target-zlib:
37798 @: $(MAKE); $(unstage)
37799 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37800 r=`${PWD_COMMAND}`; export r; \
37801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37802 $(NORMAL_TARGET_EXPORTS) \
37803 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37804 for flag in $(EXTRA_TARGET_FLAGS); do \
37805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37806 done; \
37807 (cd $(TARGET_SUBDIR)/zlib && \
37808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37810 "RANLIB=$${RANLIB}" \
37811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37812 distclean) \
37813 || exit 1
37815 @endif target-zlib
37817 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37818 maybe-maintainer-clean-target-zlib:
37819 @if target-zlib
37820 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37822 maintainer-clean-target-zlib:
37823 @: $(MAKE); $(unstage)
37824 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37825 r=`${PWD_COMMAND}`; export r; \
37826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37827 $(NORMAL_TARGET_EXPORTS) \
37828 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37829 for flag in $(EXTRA_TARGET_FLAGS); do \
37830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37831 done; \
37832 (cd $(TARGET_SUBDIR)/zlib && \
37833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37835 "RANLIB=$${RANLIB}" \
37836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37837 maintainer-clean) \
37838 || exit 1
37840 @endif target-zlib
37846 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37847 maybe-configure-target-boehm-gc:
37848 @if gcc-bootstrap
37849 configure-target-boehm-gc: stage_current
37850 @endif gcc-bootstrap
37851 @if target-boehm-gc
37852 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37853 configure-target-boehm-gc:
37854 @: $(MAKE); $(unstage)
37855 @r=`${PWD_COMMAND}`; export r; \
37856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37857 echo "Checking multilib configuration for boehm-gc..."; \
37858 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37859 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37860 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37861 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37862 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37863 else \
37864 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37865 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37866 fi; \
37867 else \
37868 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37869 fi; \
37870 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37871 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37872 $(NORMAL_TARGET_EXPORTS) \
37873 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37874 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37875 case $(srcdir) in \
37876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37877 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37879 esac; \
37880 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37881 libsrcdir="$$s/boehm-gc"; \
37882 rm -f no-such-file || : ; \
37883 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37884 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37885 --target=${target_alias} $${srcdiroption} \
37886 || exit 1
37887 @endif target-boehm-gc
37893 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37894 maybe-all-target-boehm-gc:
37895 @if gcc-bootstrap
37896 all-target-boehm-gc: stage_current
37897 @endif gcc-bootstrap
37898 @if target-boehm-gc
37899 TARGET-target-boehm-gc=all
37900 maybe-all-target-boehm-gc: all-target-boehm-gc
37901 all-target-boehm-gc: configure-target-boehm-gc
37902 @: $(MAKE); $(unstage)
37903 @r=`${PWD_COMMAND}`; export r; \
37904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37905 $(NORMAL_TARGET_EXPORTS) \
37906 (cd $(TARGET_SUBDIR)/boehm-gc && \
37907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37908 $(TARGET-target-boehm-gc))
37909 @endif target-boehm-gc
37915 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37916 maybe-check-target-boehm-gc:
37917 @if target-boehm-gc
37918 maybe-check-target-boehm-gc: check-target-boehm-gc
37920 check-target-boehm-gc:
37921 @: $(MAKE); $(unstage)
37922 @r=`${PWD_COMMAND}`; export r; \
37923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37924 $(NORMAL_TARGET_EXPORTS) \
37925 (cd $(TARGET_SUBDIR)/boehm-gc && \
37926 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37928 @endif target-boehm-gc
37930 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37931 maybe-install-target-boehm-gc:
37932 @if target-boehm-gc
37933 maybe-install-target-boehm-gc: install-target-boehm-gc
37935 install-target-boehm-gc: installdirs
37936 @: $(MAKE); $(unstage)
37937 @r=`${PWD_COMMAND}`; export r; \
37938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37939 $(NORMAL_TARGET_EXPORTS) \
37940 (cd $(TARGET_SUBDIR)/boehm-gc && \
37941 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37943 @endif target-boehm-gc
37945 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
37946 maybe-install-strip-target-boehm-gc:
37947 @if target-boehm-gc
37948 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
37950 install-strip-target-boehm-gc: installdirs
37951 @: $(MAKE); $(unstage)
37952 @r=`${PWD_COMMAND}`; export r; \
37953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37954 $(NORMAL_TARGET_EXPORTS) \
37955 (cd $(TARGET_SUBDIR)/boehm-gc && \
37956 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37958 @endif target-boehm-gc
37960 # Other targets (info, dvi, pdf, etc.)
37962 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37963 maybe-info-target-boehm-gc:
37964 @if target-boehm-gc
37965 maybe-info-target-boehm-gc: info-target-boehm-gc
37967 info-target-boehm-gc: \
37968 configure-target-boehm-gc
37969 @: $(MAKE); $(unstage)
37970 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37971 r=`${PWD_COMMAND}`; export r; \
37972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37973 $(NORMAL_TARGET_EXPORTS) \
37974 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37975 for flag in $(EXTRA_TARGET_FLAGS); do \
37976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37977 done; \
37978 (cd $(TARGET_SUBDIR)/boehm-gc && \
37979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37981 "RANLIB=$${RANLIB}" \
37982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37983 info) \
37984 || exit 1
37986 @endif target-boehm-gc
37988 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37989 maybe-dvi-target-boehm-gc:
37990 @if target-boehm-gc
37991 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37993 dvi-target-boehm-gc: \
37994 configure-target-boehm-gc
37995 @: $(MAKE); $(unstage)
37996 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37997 r=`${PWD_COMMAND}`; export r; \
37998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37999 $(NORMAL_TARGET_EXPORTS) \
38000 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
38001 for flag in $(EXTRA_TARGET_FLAGS); do \
38002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38003 done; \
38004 (cd $(TARGET_SUBDIR)/boehm-gc && \
38005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38007 "RANLIB=$${RANLIB}" \
38008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38009 dvi) \
38010 || exit 1
38012 @endif target-boehm-gc
38014 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
38015 maybe-pdf-target-boehm-gc:
38016 @if target-boehm-gc
38017 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
38019 pdf-target-boehm-gc: \
38020 configure-target-boehm-gc
38021 @: $(MAKE); $(unstage)
38022 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38023 r=`${PWD_COMMAND}`; export r; \
38024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38025 $(NORMAL_TARGET_EXPORTS) \
38026 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38027 for flag in $(EXTRA_TARGET_FLAGS); do \
38028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38029 done; \
38030 (cd $(TARGET_SUBDIR)/boehm-gc && \
38031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38033 "RANLIB=$${RANLIB}" \
38034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38035 pdf) \
38036 || exit 1
38038 @endif target-boehm-gc
38040 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
38041 maybe-html-target-boehm-gc:
38042 @if target-boehm-gc
38043 maybe-html-target-boehm-gc: html-target-boehm-gc
38045 html-target-boehm-gc: \
38046 configure-target-boehm-gc
38047 @: $(MAKE); $(unstage)
38048 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38049 r=`${PWD_COMMAND}`; export r; \
38050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38051 $(NORMAL_TARGET_EXPORTS) \
38052 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
38053 for flag in $(EXTRA_TARGET_FLAGS); do \
38054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38055 done; \
38056 (cd $(TARGET_SUBDIR)/boehm-gc && \
38057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38059 "RANLIB=$${RANLIB}" \
38060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38061 html) \
38062 || exit 1
38064 @endif target-boehm-gc
38066 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
38067 maybe-TAGS-target-boehm-gc:
38068 @if target-boehm-gc
38069 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
38071 TAGS-target-boehm-gc: \
38072 configure-target-boehm-gc
38073 @: $(MAKE); $(unstage)
38074 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38075 r=`${PWD_COMMAND}`; export r; \
38076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38077 $(NORMAL_TARGET_EXPORTS) \
38078 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
38079 for flag in $(EXTRA_TARGET_FLAGS); do \
38080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38081 done; \
38082 (cd $(TARGET_SUBDIR)/boehm-gc && \
38083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38085 "RANLIB=$${RANLIB}" \
38086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38087 TAGS) \
38088 || exit 1
38090 @endif target-boehm-gc
38092 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38093 maybe-install-info-target-boehm-gc:
38094 @if target-boehm-gc
38095 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38097 install-info-target-boehm-gc: \
38098 configure-target-boehm-gc \
38099 info-target-boehm-gc
38100 @: $(MAKE); $(unstage)
38101 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38102 r=`${PWD_COMMAND}`; export r; \
38103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38104 $(NORMAL_TARGET_EXPORTS) \
38105 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
38106 for flag in $(EXTRA_TARGET_FLAGS); do \
38107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38108 done; \
38109 (cd $(TARGET_SUBDIR)/boehm-gc && \
38110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38112 "RANLIB=$${RANLIB}" \
38113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38114 install-info) \
38115 || exit 1
38117 @endif target-boehm-gc
38119 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
38120 maybe-install-pdf-target-boehm-gc:
38121 @if target-boehm-gc
38122 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
38124 install-pdf-target-boehm-gc: \
38125 configure-target-boehm-gc \
38126 pdf-target-boehm-gc
38127 @: $(MAKE); $(unstage)
38128 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38129 r=`${PWD_COMMAND}`; export r; \
38130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38131 $(NORMAL_TARGET_EXPORTS) \
38132 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38133 for flag in $(EXTRA_TARGET_FLAGS); do \
38134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38135 done; \
38136 (cd $(TARGET_SUBDIR)/boehm-gc && \
38137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38139 "RANLIB=$${RANLIB}" \
38140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38141 install-pdf) \
38142 || exit 1
38144 @endif target-boehm-gc
38146 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
38147 maybe-install-html-target-boehm-gc:
38148 @if target-boehm-gc
38149 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
38151 install-html-target-boehm-gc: \
38152 configure-target-boehm-gc \
38153 html-target-boehm-gc
38154 @: $(MAKE); $(unstage)
38155 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38156 r=`${PWD_COMMAND}`; export r; \
38157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38158 $(NORMAL_TARGET_EXPORTS) \
38159 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
38160 for flag in $(EXTRA_TARGET_FLAGS); do \
38161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38162 done; \
38163 (cd $(TARGET_SUBDIR)/boehm-gc && \
38164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38166 "RANLIB=$${RANLIB}" \
38167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38168 install-html) \
38169 || exit 1
38171 @endif target-boehm-gc
38173 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
38174 maybe-installcheck-target-boehm-gc:
38175 @if target-boehm-gc
38176 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
38178 installcheck-target-boehm-gc: \
38179 configure-target-boehm-gc
38180 @: $(MAKE); $(unstage)
38181 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38182 r=`${PWD_COMMAND}`; export r; \
38183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38184 $(NORMAL_TARGET_EXPORTS) \
38185 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
38186 for flag in $(EXTRA_TARGET_FLAGS); do \
38187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38188 done; \
38189 (cd $(TARGET_SUBDIR)/boehm-gc && \
38190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38192 "RANLIB=$${RANLIB}" \
38193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38194 installcheck) \
38195 || exit 1
38197 @endif target-boehm-gc
38199 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
38200 maybe-mostlyclean-target-boehm-gc:
38201 @if target-boehm-gc
38202 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
38204 mostlyclean-target-boehm-gc:
38205 @: $(MAKE); $(unstage)
38206 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38207 r=`${PWD_COMMAND}`; export r; \
38208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38209 $(NORMAL_TARGET_EXPORTS) \
38210 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38211 for flag in $(EXTRA_TARGET_FLAGS); do \
38212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38213 done; \
38214 (cd $(TARGET_SUBDIR)/boehm-gc && \
38215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38217 "RANLIB=$${RANLIB}" \
38218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38219 mostlyclean) \
38220 || exit 1
38222 @endif target-boehm-gc
38224 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
38225 maybe-clean-target-boehm-gc:
38226 @if target-boehm-gc
38227 maybe-clean-target-boehm-gc: clean-target-boehm-gc
38229 clean-target-boehm-gc:
38230 @: $(MAKE); $(unstage)
38231 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38232 r=`${PWD_COMMAND}`; export r; \
38233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38234 $(NORMAL_TARGET_EXPORTS) \
38235 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38236 for flag in $(EXTRA_TARGET_FLAGS); do \
38237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38238 done; \
38239 (cd $(TARGET_SUBDIR)/boehm-gc && \
38240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38242 "RANLIB=$${RANLIB}" \
38243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38244 clean) \
38245 || exit 1
38247 @endif target-boehm-gc
38249 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
38250 maybe-distclean-target-boehm-gc:
38251 @if target-boehm-gc
38252 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
38254 distclean-target-boehm-gc:
38255 @: $(MAKE); $(unstage)
38256 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38257 r=`${PWD_COMMAND}`; export r; \
38258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38259 $(NORMAL_TARGET_EXPORTS) \
38260 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38261 for flag in $(EXTRA_TARGET_FLAGS); do \
38262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38263 done; \
38264 (cd $(TARGET_SUBDIR)/boehm-gc && \
38265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38267 "RANLIB=$${RANLIB}" \
38268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38269 distclean) \
38270 || exit 1
38272 @endif target-boehm-gc
38274 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
38275 maybe-maintainer-clean-target-boehm-gc:
38276 @if target-boehm-gc
38277 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
38279 maintainer-clean-target-boehm-gc:
38280 @: $(MAKE); $(unstage)
38281 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38282 r=`${PWD_COMMAND}`; export r; \
38283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38284 $(NORMAL_TARGET_EXPORTS) \
38285 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38286 for flag in $(EXTRA_TARGET_FLAGS); do \
38287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38288 done; \
38289 (cd $(TARGET_SUBDIR)/boehm-gc && \
38290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38292 "RANLIB=$${RANLIB}" \
38293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38294 maintainer-clean) \
38295 || exit 1
38297 @endif target-boehm-gc
38303 .PHONY: configure-target-rda maybe-configure-target-rda
38304 maybe-configure-target-rda:
38305 @if gcc-bootstrap
38306 configure-target-rda: stage_current
38307 @endif gcc-bootstrap
38308 @if target-rda
38309 maybe-configure-target-rda: configure-target-rda
38310 configure-target-rda:
38311 @: $(MAKE); $(unstage)
38312 @r=`${PWD_COMMAND}`; export r; \
38313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38314 echo "Checking multilib configuration for rda..."; \
38315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38316 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
38317 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
38318 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
38319 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
38320 else \
38321 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
38322 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38323 fi; \
38324 else \
38325 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38326 fi; \
38327 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
38328 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38329 $(NORMAL_TARGET_EXPORTS) \
38330 echo Configuring in $(TARGET_SUBDIR)/rda; \
38331 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
38332 case $(srcdir) in \
38333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38334 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
38335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38336 esac; \
38337 srcdiroption="--srcdir=$${topdir}/rda"; \
38338 libsrcdir="$$s/rda"; \
38339 rm -f no-such-file || : ; \
38340 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38341 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38342 --target=${target_alias} $${srcdiroption} \
38343 || exit 1
38344 @endif target-rda
38350 .PHONY: all-target-rda maybe-all-target-rda
38351 maybe-all-target-rda:
38352 @if gcc-bootstrap
38353 all-target-rda: stage_current
38354 @endif gcc-bootstrap
38355 @if target-rda
38356 TARGET-target-rda=all
38357 maybe-all-target-rda: all-target-rda
38358 all-target-rda: configure-target-rda
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)/rda && \
38364 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38365 $(TARGET-target-rda))
38366 @endif target-rda
38372 .PHONY: check-target-rda maybe-check-target-rda
38373 maybe-check-target-rda:
38374 @if target-rda
38375 maybe-check-target-rda: check-target-rda
38377 check-target-rda:
38378 @: $(MAKE); $(unstage)
38379 @r=`${PWD_COMMAND}`; export r; \
38380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38381 $(NORMAL_TARGET_EXPORTS) \
38382 (cd $(TARGET_SUBDIR)/rda && \
38383 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38385 @endif target-rda
38387 .PHONY: install-target-rda maybe-install-target-rda
38388 maybe-install-target-rda:
38389 @if target-rda
38390 maybe-install-target-rda: install-target-rda
38392 install-target-rda: installdirs
38393 @: $(MAKE); $(unstage)
38394 @r=`${PWD_COMMAND}`; export r; \
38395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38396 $(NORMAL_TARGET_EXPORTS) \
38397 (cd $(TARGET_SUBDIR)/rda && \
38398 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38400 @endif target-rda
38402 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
38403 maybe-install-strip-target-rda:
38404 @if target-rda
38405 maybe-install-strip-target-rda: install-strip-target-rda
38407 install-strip-target-rda: installdirs
38408 @: $(MAKE); $(unstage)
38409 @r=`${PWD_COMMAND}`; export r; \
38410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38411 $(NORMAL_TARGET_EXPORTS) \
38412 (cd $(TARGET_SUBDIR)/rda && \
38413 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38415 @endif target-rda
38417 # Other targets (info, dvi, pdf, etc.)
38419 .PHONY: maybe-info-target-rda info-target-rda
38420 maybe-info-target-rda:
38421 @if target-rda
38422 maybe-info-target-rda: info-target-rda
38424 info-target-rda: \
38425 configure-target-rda
38426 @: $(MAKE); $(unstage)
38427 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38428 r=`${PWD_COMMAND}`; export r; \
38429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38430 $(NORMAL_TARGET_EXPORTS) \
38431 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38432 for flag in $(EXTRA_TARGET_FLAGS); do \
38433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38434 done; \
38435 (cd $(TARGET_SUBDIR)/rda && \
38436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38438 "RANLIB=$${RANLIB}" \
38439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38440 info) \
38441 || exit 1
38443 @endif target-rda
38445 .PHONY: maybe-dvi-target-rda dvi-target-rda
38446 maybe-dvi-target-rda:
38447 @if target-rda
38448 maybe-dvi-target-rda: dvi-target-rda
38450 dvi-target-rda: \
38451 configure-target-rda
38452 @: $(MAKE); $(unstage)
38453 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38454 r=`${PWD_COMMAND}`; export r; \
38455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38456 $(NORMAL_TARGET_EXPORTS) \
38457 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38458 for flag in $(EXTRA_TARGET_FLAGS); do \
38459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38460 done; \
38461 (cd $(TARGET_SUBDIR)/rda && \
38462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38464 "RANLIB=$${RANLIB}" \
38465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38466 dvi) \
38467 || exit 1
38469 @endif target-rda
38471 .PHONY: maybe-pdf-target-rda pdf-target-rda
38472 maybe-pdf-target-rda:
38473 @if target-rda
38474 maybe-pdf-target-rda: pdf-target-rda
38476 pdf-target-rda: \
38477 configure-target-rda
38478 @: $(MAKE); $(unstage)
38479 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38480 r=`${PWD_COMMAND}`; export r; \
38481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38482 $(NORMAL_TARGET_EXPORTS) \
38483 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
38484 for flag in $(EXTRA_TARGET_FLAGS); do \
38485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38486 done; \
38487 (cd $(TARGET_SUBDIR)/rda && \
38488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38490 "RANLIB=$${RANLIB}" \
38491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38492 pdf) \
38493 || exit 1
38495 @endif target-rda
38497 .PHONY: maybe-html-target-rda html-target-rda
38498 maybe-html-target-rda:
38499 @if target-rda
38500 maybe-html-target-rda: html-target-rda
38502 html-target-rda: \
38503 configure-target-rda
38504 @: $(MAKE); $(unstage)
38505 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38506 r=`${PWD_COMMAND}`; export r; \
38507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38508 $(NORMAL_TARGET_EXPORTS) \
38509 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38510 for flag in $(EXTRA_TARGET_FLAGS); do \
38511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38512 done; \
38513 (cd $(TARGET_SUBDIR)/rda && \
38514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38516 "RANLIB=$${RANLIB}" \
38517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38518 html) \
38519 || exit 1
38521 @endif target-rda
38523 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38524 maybe-TAGS-target-rda:
38525 @if target-rda
38526 maybe-TAGS-target-rda: TAGS-target-rda
38528 TAGS-target-rda: \
38529 configure-target-rda
38530 @: $(MAKE); $(unstage)
38531 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38532 r=`${PWD_COMMAND}`; export r; \
38533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38534 $(NORMAL_TARGET_EXPORTS) \
38535 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38536 for flag in $(EXTRA_TARGET_FLAGS); do \
38537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38538 done; \
38539 (cd $(TARGET_SUBDIR)/rda && \
38540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38542 "RANLIB=$${RANLIB}" \
38543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38544 TAGS) \
38545 || exit 1
38547 @endif target-rda
38549 .PHONY: maybe-install-info-target-rda install-info-target-rda
38550 maybe-install-info-target-rda:
38551 @if target-rda
38552 maybe-install-info-target-rda: install-info-target-rda
38554 install-info-target-rda: \
38555 configure-target-rda \
38556 info-target-rda
38557 @: $(MAKE); $(unstage)
38558 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38559 r=`${PWD_COMMAND}`; export r; \
38560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38561 $(NORMAL_TARGET_EXPORTS) \
38562 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38563 for flag in $(EXTRA_TARGET_FLAGS); do \
38564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38565 done; \
38566 (cd $(TARGET_SUBDIR)/rda && \
38567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38569 "RANLIB=$${RANLIB}" \
38570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38571 install-info) \
38572 || exit 1
38574 @endif target-rda
38576 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
38577 maybe-install-pdf-target-rda:
38578 @if target-rda
38579 maybe-install-pdf-target-rda: install-pdf-target-rda
38581 install-pdf-target-rda: \
38582 configure-target-rda \
38583 pdf-target-rda
38584 @: $(MAKE); $(unstage)
38585 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38586 r=`${PWD_COMMAND}`; export r; \
38587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38588 $(NORMAL_TARGET_EXPORTS) \
38589 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
38590 for flag in $(EXTRA_TARGET_FLAGS); do \
38591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38592 done; \
38593 (cd $(TARGET_SUBDIR)/rda && \
38594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38596 "RANLIB=$${RANLIB}" \
38597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38598 install-pdf) \
38599 || exit 1
38601 @endif target-rda
38603 .PHONY: maybe-install-html-target-rda install-html-target-rda
38604 maybe-install-html-target-rda:
38605 @if target-rda
38606 maybe-install-html-target-rda: install-html-target-rda
38608 install-html-target-rda: \
38609 configure-target-rda \
38610 html-target-rda
38611 @: $(MAKE); $(unstage)
38612 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38613 r=`${PWD_COMMAND}`; export r; \
38614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38615 $(NORMAL_TARGET_EXPORTS) \
38616 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38617 for flag in $(EXTRA_TARGET_FLAGS); do \
38618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38619 done; \
38620 (cd $(TARGET_SUBDIR)/rda && \
38621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38623 "RANLIB=$${RANLIB}" \
38624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38625 install-html) \
38626 || exit 1
38628 @endif target-rda
38630 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38631 maybe-installcheck-target-rda:
38632 @if target-rda
38633 maybe-installcheck-target-rda: installcheck-target-rda
38635 installcheck-target-rda: \
38636 configure-target-rda
38637 @: $(MAKE); $(unstage)
38638 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38639 r=`${PWD_COMMAND}`; export r; \
38640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38641 $(NORMAL_TARGET_EXPORTS) \
38642 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38643 for flag in $(EXTRA_TARGET_FLAGS); do \
38644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38645 done; \
38646 (cd $(TARGET_SUBDIR)/rda && \
38647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38649 "RANLIB=$${RANLIB}" \
38650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38651 installcheck) \
38652 || exit 1
38654 @endif target-rda
38656 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38657 maybe-mostlyclean-target-rda:
38658 @if target-rda
38659 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38661 mostlyclean-target-rda:
38662 @: $(MAKE); $(unstage)
38663 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38664 r=`${PWD_COMMAND}`; export r; \
38665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38666 $(NORMAL_TARGET_EXPORTS) \
38667 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38668 for flag in $(EXTRA_TARGET_FLAGS); do \
38669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38670 done; \
38671 (cd $(TARGET_SUBDIR)/rda && \
38672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38674 "RANLIB=$${RANLIB}" \
38675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38676 mostlyclean) \
38677 || exit 1
38679 @endif target-rda
38681 .PHONY: maybe-clean-target-rda clean-target-rda
38682 maybe-clean-target-rda:
38683 @if target-rda
38684 maybe-clean-target-rda: clean-target-rda
38686 clean-target-rda:
38687 @: $(MAKE); $(unstage)
38688 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38689 r=`${PWD_COMMAND}`; export r; \
38690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38691 $(NORMAL_TARGET_EXPORTS) \
38692 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38693 for flag in $(EXTRA_TARGET_FLAGS); do \
38694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38695 done; \
38696 (cd $(TARGET_SUBDIR)/rda && \
38697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38699 "RANLIB=$${RANLIB}" \
38700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38701 clean) \
38702 || exit 1
38704 @endif target-rda
38706 .PHONY: maybe-distclean-target-rda distclean-target-rda
38707 maybe-distclean-target-rda:
38708 @if target-rda
38709 maybe-distclean-target-rda: distclean-target-rda
38711 distclean-target-rda:
38712 @: $(MAKE); $(unstage)
38713 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38714 r=`${PWD_COMMAND}`; export r; \
38715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38716 $(NORMAL_TARGET_EXPORTS) \
38717 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38718 for flag in $(EXTRA_TARGET_FLAGS); do \
38719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38720 done; \
38721 (cd $(TARGET_SUBDIR)/rda && \
38722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38724 "RANLIB=$${RANLIB}" \
38725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38726 distclean) \
38727 || exit 1
38729 @endif target-rda
38731 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38732 maybe-maintainer-clean-target-rda:
38733 @if target-rda
38734 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38736 maintainer-clean-target-rda:
38737 @: $(MAKE); $(unstage)
38738 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38739 r=`${PWD_COMMAND}`; export r; \
38740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38741 $(NORMAL_TARGET_EXPORTS) \
38742 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38743 for flag in $(EXTRA_TARGET_FLAGS); do \
38744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38745 done; \
38746 (cd $(TARGET_SUBDIR)/rda && \
38747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38749 "RANLIB=$${RANLIB}" \
38750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38751 maintainer-clean) \
38752 || exit 1
38754 @endif target-rda
38760 .PHONY: configure-target-libada maybe-configure-target-libada
38761 maybe-configure-target-libada:
38762 @if gcc-bootstrap
38763 configure-target-libada: stage_current
38764 @endif gcc-bootstrap
38765 @if target-libada
38766 maybe-configure-target-libada: configure-target-libada
38767 configure-target-libada:
38768 @: $(MAKE); $(unstage)
38769 @r=`${PWD_COMMAND}`; export r; \
38770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38771 echo "Checking multilib configuration for libada..."; \
38772 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38773 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38774 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38775 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38776 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38777 else \
38778 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38779 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38780 fi; \
38781 else \
38782 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38783 fi; \
38784 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38785 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38786 $(NORMAL_TARGET_EXPORTS) \
38787 echo Configuring in $(TARGET_SUBDIR)/libada; \
38788 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38789 case $(srcdir) in \
38790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38791 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38793 esac; \
38794 srcdiroption="--srcdir=$${topdir}/libada"; \
38795 libsrcdir="$$s/libada"; \
38796 rm -f no-such-file || : ; \
38797 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38798 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38799 --target=${target_alias} $${srcdiroption} \
38800 || exit 1
38801 @endif target-libada
38807 .PHONY: all-target-libada maybe-all-target-libada
38808 maybe-all-target-libada:
38809 @if gcc-bootstrap
38810 all-target-libada: stage_current
38811 @endif gcc-bootstrap
38812 @if target-libada
38813 TARGET-target-libada=all
38814 maybe-all-target-libada: all-target-libada
38815 all-target-libada: configure-target-libada
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)/libada && \
38821 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38822 $(TARGET-target-libada))
38823 @endif target-libada
38829 .PHONY: check-target-libada maybe-check-target-libada
38830 maybe-check-target-libada:
38831 @if target-libada
38832 maybe-check-target-libada: check-target-libada
38834 check-target-libada:
38835 @: $(MAKE); $(unstage)
38836 @r=`${PWD_COMMAND}`; export r; \
38837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38838 $(NORMAL_TARGET_EXPORTS) \
38839 (cd $(TARGET_SUBDIR)/libada && \
38840 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38842 @endif target-libada
38844 .PHONY: install-target-libada maybe-install-target-libada
38845 maybe-install-target-libada:
38846 @if target-libada
38847 maybe-install-target-libada: install-target-libada
38849 install-target-libada: installdirs
38850 @: $(MAKE); $(unstage)
38851 @r=`${PWD_COMMAND}`; export r; \
38852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38853 $(NORMAL_TARGET_EXPORTS) \
38854 (cd $(TARGET_SUBDIR)/libada && \
38855 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38857 @endif target-libada
38859 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
38860 maybe-install-strip-target-libada:
38861 @if target-libada
38862 maybe-install-strip-target-libada: install-strip-target-libada
38864 install-strip-target-libada: installdirs
38865 @: $(MAKE); $(unstage)
38866 @r=`${PWD_COMMAND}`; export r; \
38867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38868 $(NORMAL_TARGET_EXPORTS) \
38869 (cd $(TARGET_SUBDIR)/libada && \
38870 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38872 @endif target-libada
38874 # Other targets (info, dvi, pdf, etc.)
38876 .PHONY: maybe-info-target-libada info-target-libada
38877 maybe-info-target-libada:
38878 @if target-libada
38879 maybe-info-target-libada: info-target-libada
38881 info-target-libada: \
38882 configure-target-libada
38883 @: $(MAKE); $(unstage)
38884 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38885 r=`${PWD_COMMAND}`; export r; \
38886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38887 $(NORMAL_TARGET_EXPORTS) \
38888 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38889 for flag in $(EXTRA_TARGET_FLAGS); do \
38890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38891 done; \
38892 (cd $(TARGET_SUBDIR)/libada && \
38893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38895 "RANLIB=$${RANLIB}" \
38896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38897 info) \
38898 || exit 1
38900 @endif target-libada
38902 .PHONY: maybe-dvi-target-libada dvi-target-libada
38903 maybe-dvi-target-libada:
38904 @if target-libada
38905 maybe-dvi-target-libada: dvi-target-libada
38907 dvi-target-libada: \
38908 configure-target-libada
38909 @: $(MAKE); $(unstage)
38910 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38911 r=`${PWD_COMMAND}`; export r; \
38912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38913 $(NORMAL_TARGET_EXPORTS) \
38914 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38915 for flag in $(EXTRA_TARGET_FLAGS); do \
38916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38917 done; \
38918 (cd $(TARGET_SUBDIR)/libada && \
38919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38921 "RANLIB=$${RANLIB}" \
38922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38923 dvi) \
38924 || exit 1
38926 @endif target-libada
38928 .PHONY: maybe-pdf-target-libada pdf-target-libada
38929 maybe-pdf-target-libada:
38930 @if target-libada
38931 maybe-pdf-target-libada: pdf-target-libada
38933 pdf-target-libada: \
38934 configure-target-libada
38935 @: $(MAKE); $(unstage)
38936 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38937 r=`${PWD_COMMAND}`; export r; \
38938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38939 $(NORMAL_TARGET_EXPORTS) \
38940 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
38941 for flag in $(EXTRA_TARGET_FLAGS); do \
38942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38943 done; \
38944 (cd $(TARGET_SUBDIR)/libada && \
38945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38947 "RANLIB=$${RANLIB}" \
38948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38949 pdf) \
38950 || exit 1
38952 @endif target-libada
38954 .PHONY: maybe-html-target-libada html-target-libada
38955 maybe-html-target-libada:
38956 @if target-libada
38957 maybe-html-target-libada: html-target-libada
38959 html-target-libada: \
38960 configure-target-libada
38961 @: $(MAKE); $(unstage)
38962 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38963 r=`${PWD_COMMAND}`; export r; \
38964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38965 $(NORMAL_TARGET_EXPORTS) \
38966 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38967 for flag in $(EXTRA_TARGET_FLAGS); do \
38968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38969 done; \
38970 (cd $(TARGET_SUBDIR)/libada && \
38971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38973 "RANLIB=$${RANLIB}" \
38974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38975 html) \
38976 || exit 1
38978 @endif target-libada
38980 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38981 maybe-TAGS-target-libada:
38982 @if target-libada
38983 maybe-TAGS-target-libada: TAGS-target-libada
38985 TAGS-target-libada: \
38986 configure-target-libada
38987 @: $(MAKE); $(unstage)
38988 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38989 r=`${PWD_COMMAND}`; export r; \
38990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38991 $(NORMAL_TARGET_EXPORTS) \
38992 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38993 for flag in $(EXTRA_TARGET_FLAGS); do \
38994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38995 done; \
38996 (cd $(TARGET_SUBDIR)/libada && \
38997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38999 "RANLIB=$${RANLIB}" \
39000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39001 TAGS) \
39002 || exit 1
39004 @endif target-libada
39006 .PHONY: maybe-install-info-target-libada install-info-target-libada
39007 maybe-install-info-target-libada:
39008 @if target-libada
39009 maybe-install-info-target-libada: install-info-target-libada
39011 install-info-target-libada: \
39012 configure-target-libada \
39013 info-target-libada
39014 @: $(MAKE); $(unstage)
39015 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39016 r=`${PWD_COMMAND}`; export r; \
39017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39018 $(NORMAL_TARGET_EXPORTS) \
39019 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
39020 for flag in $(EXTRA_TARGET_FLAGS); do \
39021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39022 done; \
39023 (cd $(TARGET_SUBDIR)/libada && \
39024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39026 "RANLIB=$${RANLIB}" \
39027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39028 install-info) \
39029 || exit 1
39031 @endif target-libada
39033 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
39034 maybe-install-pdf-target-libada:
39035 @if target-libada
39036 maybe-install-pdf-target-libada: install-pdf-target-libada
39038 install-pdf-target-libada: \
39039 configure-target-libada \
39040 pdf-target-libada
39041 @: $(MAKE); $(unstage)
39042 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39043 r=`${PWD_COMMAND}`; export r; \
39044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39045 $(NORMAL_TARGET_EXPORTS) \
39046 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
39047 for flag in $(EXTRA_TARGET_FLAGS); do \
39048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39049 done; \
39050 (cd $(TARGET_SUBDIR)/libada && \
39051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39053 "RANLIB=$${RANLIB}" \
39054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39055 install-pdf) \
39056 || exit 1
39058 @endif target-libada
39060 .PHONY: maybe-install-html-target-libada install-html-target-libada
39061 maybe-install-html-target-libada:
39062 @if target-libada
39063 maybe-install-html-target-libada: install-html-target-libada
39065 install-html-target-libada: \
39066 configure-target-libada \
39067 html-target-libada
39068 @: $(MAKE); $(unstage)
39069 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39070 r=`${PWD_COMMAND}`; export r; \
39071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39072 $(NORMAL_TARGET_EXPORTS) \
39073 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
39074 for flag in $(EXTRA_TARGET_FLAGS); do \
39075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39076 done; \
39077 (cd $(TARGET_SUBDIR)/libada && \
39078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39080 "RANLIB=$${RANLIB}" \
39081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39082 install-html) \
39083 || exit 1
39085 @endif target-libada
39087 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39088 maybe-installcheck-target-libada:
39089 @if target-libada
39090 maybe-installcheck-target-libada: installcheck-target-libada
39092 installcheck-target-libada: \
39093 configure-target-libada
39094 @: $(MAKE); $(unstage)
39095 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39096 r=`${PWD_COMMAND}`; export r; \
39097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39098 $(NORMAL_TARGET_EXPORTS) \
39099 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39100 for flag in $(EXTRA_TARGET_FLAGS); do \
39101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39102 done; \
39103 (cd $(TARGET_SUBDIR)/libada && \
39104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39106 "RANLIB=$${RANLIB}" \
39107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39108 installcheck) \
39109 || exit 1
39111 @endif target-libada
39113 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39114 maybe-mostlyclean-target-libada:
39115 @if target-libada
39116 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39118 mostlyclean-target-libada:
39119 @: $(MAKE); $(unstage)
39120 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39121 r=`${PWD_COMMAND}`; export r; \
39122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39123 $(NORMAL_TARGET_EXPORTS) \
39124 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
39125 for flag in $(EXTRA_TARGET_FLAGS); do \
39126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39127 done; \
39128 (cd $(TARGET_SUBDIR)/libada && \
39129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39131 "RANLIB=$${RANLIB}" \
39132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39133 mostlyclean) \
39134 || exit 1
39136 @endif target-libada
39138 .PHONY: maybe-clean-target-libada clean-target-libada
39139 maybe-clean-target-libada:
39140 @if target-libada
39141 maybe-clean-target-libada: clean-target-libada
39143 clean-target-libada:
39144 @: $(MAKE); $(unstage)
39145 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39146 r=`${PWD_COMMAND}`; export r; \
39147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39148 $(NORMAL_TARGET_EXPORTS) \
39149 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
39150 for flag in $(EXTRA_TARGET_FLAGS); do \
39151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39152 done; \
39153 (cd $(TARGET_SUBDIR)/libada && \
39154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39156 "RANLIB=$${RANLIB}" \
39157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39158 clean) \
39159 || exit 1
39161 @endif target-libada
39163 .PHONY: maybe-distclean-target-libada distclean-target-libada
39164 maybe-distclean-target-libada:
39165 @if target-libada
39166 maybe-distclean-target-libada: distclean-target-libada
39168 distclean-target-libada:
39169 @: $(MAKE); $(unstage)
39170 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39171 r=`${PWD_COMMAND}`; export r; \
39172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39173 $(NORMAL_TARGET_EXPORTS) \
39174 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
39175 for flag in $(EXTRA_TARGET_FLAGS); do \
39176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39177 done; \
39178 (cd $(TARGET_SUBDIR)/libada && \
39179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39181 "RANLIB=$${RANLIB}" \
39182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39183 distclean) \
39184 || exit 1
39186 @endif target-libada
39188 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
39189 maybe-maintainer-clean-target-libada:
39190 @if target-libada
39191 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
39193 maintainer-clean-target-libada:
39194 @: $(MAKE); $(unstage)
39195 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39196 r=`${PWD_COMMAND}`; export r; \
39197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39198 $(NORMAL_TARGET_EXPORTS) \
39199 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
39200 for flag in $(EXTRA_TARGET_FLAGS); do \
39201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39202 done; \
39203 (cd $(TARGET_SUBDIR)/libada && \
39204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39206 "RANLIB=$${RANLIB}" \
39207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39208 maintainer-clean) \
39209 || exit 1
39211 @endif target-libada
39217 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
39218 maybe-configure-target-libgomp:
39219 @if gcc-bootstrap
39220 configure-target-libgomp: stage_current
39221 @endif gcc-bootstrap
39222 @if target-libgomp
39223 maybe-configure-target-libgomp: configure-target-libgomp
39224 configure-target-libgomp:
39225 @r=`${PWD_COMMAND}`; export r; \
39226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39227 echo "Checking multilib configuration for libgomp..."; \
39228 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39229 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39230 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39231 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39232 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39233 else \
39234 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39235 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39236 fi; \
39237 else \
39238 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39239 fi; \
39240 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39242 $(NORMAL_TARGET_EXPORTS) \
39243 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
39244 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
39245 case $(srcdir) in \
39246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39247 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39249 esac; \
39250 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39251 libsrcdir="$$s/libgomp"; \
39252 rm -f no-such-file || : ; \
39253 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39254 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39255 --target=${target_alias} $${srcdiroption} \
39256 || exit 1
39257 @endif target-libgomp
39261 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
39262 maybe-configure-stage1-target-libgomp:
39263 @if target-libgomp-bootstrap
39264 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
39265 configure-stage1-target-libgomp:
39266 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39267 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39268 @r=`${PWD_COMMAND}`; export r; \
39269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39270 TFLAGS="$(STAGE1_TFLAGS)"; \
39271 echo "Checking multilib configuration for libgomp..."; \
39272 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39273 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39274 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39275 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39276 else \
39277 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39278 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39279 fi; \
39280 else \
39281 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39282 fi; \
39283 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39284 $(NORMAL_TARGET_EXPORTS) \
39285 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39286 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39287 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39288 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
39289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39290 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39291 case $(srcdir) in \
39292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39293 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39295 esac; \
39296 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39297 libsrcdir="$$s/libgomp"; \
39298 $(SHELL) $${libsrcdir}/configure \
39299 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39300 --target=${target_alias} $${srcdiroption} \
39301 $(STAGE1_CONFIGURE_FLAGS)
39302 @endif target-libgomp-bootstrap
39304 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
39305 maybe-configure-stage2-target-libgomp:
39306 @if target-libgomp-bootstrap
39307 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
39308 configure-stage2-target-libgomp:
39309 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39310 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39311 @r=`${PWD_COMMAND}`; export r; \
39312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39313 TFLAGS="$(STAGE2_TFLAGS)"; \
39314 echo "Checking multilib configuration for libgomp..."; \
39315 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39316 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39317 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39318 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39319 else \
39320 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39321 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39322 fi; \
39323 else \
39324 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39325 fi; \
39326 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39327 $(NORMAL_TARGET_EXPORTS) \
39329 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39330 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39331 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39332 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
39333 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39334 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39335 case $(srcdir) in \
39336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39337 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39339 esac; \
39340 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39341 libsrcdir="$$s/libgomp"; \
39342 $(SHELL) $${libsrcdir}/configure \
39343 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39344 --target=${target_alias} $${srcdiroption} \
39345 --with-build-libsubdir=$(HOST_SUBDIR) \
39346 $(STAGE2_CONFIGURE_FLAGS)
39347 @endif target-libgomp-bootstrap
39349 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
39350 maybe-configure-stage3-target-libgomp:
39351 @if target-libgomp-bootstrap
39352 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
39353 configure-stage3-target-libgomp:
39354 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39355 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39356 @r=`${PWD_COMMAND}`; export r; \
39357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39358 TFLAGS="$(STAGE3_TFLAGS)"; \
39359 echo "Checking multilib configuration for libgomp..."; \
39360 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39361 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39362 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39363 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39364 else \
39365 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39366 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39367 fi; \
39368 else \
39369 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39370 fi; \
39371 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39372 $(NORMAL_TARGET_EXPORTS) \
39374 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39375 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39376 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39377 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
39378 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39379 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39380 case $(srcdir) in \
39381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39382 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39384 esac; \
39385 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39386 libsrcdir="$$s/libgomp"; \
39387 $(SHELL) $${libsrcdir}/configure \
39388 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39389 --target=${target_alias} $${srcdiroption} \
39390 --with-build-libsubdir=$(HOST_SUBDIR) \
39391 $(STAGE3_CONFIGURE_FLAGS)
39392 @endif target-libgomp-bootstrap
39394 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
39395 maybe-configure-stage4-target-libgomp:
39396 @if target-libgomp-bootstrap
39397 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
39398 configure-stage4-target-libgomp:
39399 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39400 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39401 @r=`${PWD_COMMAND}`; export r; \
39402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39403 TFLAGS="$(STAGE4_TFLAGS)"; \
39404 echo "Checking multilib configuration for libgomp..."; \
39405 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39406 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39407 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39408 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39409 else \
39410 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39411 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39412 fi; \
39413 else \
39414 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39415 fi; \
39416 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39417 $(NORMAL_TARGET_EXPORTS) \
39419 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39420 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39421 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39422 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
39423 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39424 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39425 case $(srcdir) in \
39426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39427 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39429 esac; \
39430 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39431 libsrcdir="$$s/libgomp"; \
39432 $(SHELL) $${libsrcdir}/configure \
39433 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39434 --target=${target_alias} $${srcdiroption} \
39435 --with-build-libsubdir=$(HOST_SUBDIR) \
39436 $(STAGE4_CONFIGURE_FLAGS)
39437 @endif target-libgomp-bootstrap
39439 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
39440 maybe-configure-stageprofile-target-libgomp:
39441 @if target-libgomp-bootstrap
39442 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39443 configure-stageprofile-target-libgomp:
39444 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39445 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39446 @r=`${PWD_COMMAND}`; export r; \
39447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39448 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39449 echo "Checking multilib configuration for libgomp..."; \
39450 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39451 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39452 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39453 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39454 else \
39455 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39456 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39457 fi; \
39458 else \
39459 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39460 fi; \
39461 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39462 $(NORMAL_TARGET_EXPORTS) \
39464 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39465 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39466 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39467 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
39468 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39469 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39470 case $(srcdir) in \
39471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39472 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39474 esac; \
39475 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39476 libsrcdir="$$s/libgomp"; \
39477 $(SHELL) $${libsrcdir}/configure \
39478 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39479 --target=${target_alias} $${srcdiroption} \
39480 --with-build-libsubdir=$(HOST_SUBDIR) \
39481 $(STAGEprofile_CONFIGURE_FLAGS)
39482 @endif target-libgomp-bootstrap
39484 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
39485 maybe-configure-stagefeedback-target-libgomp:
39486 @if target-libgomp-bootstrap
39487 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39488 configure-stagefeedback-target-libgomp:
39489 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39490 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39491 @r=`${PWD_COMMAND}`; export r; \
39492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39493 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39494 echo "Checking multilib configuration for libgomp..."; \
39495 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39496 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39497 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39498 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39499 else \
39500 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39501 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39502 fi; \
39503 else \
39504 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39505 fi; \
39506 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39507 $(NORMAL_TARGET_EXPORTS) \
39509 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39510 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39511 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39512 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
39513 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39514 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39515 case $(srcdir) in \
39516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39517 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39519 esac; \
39520 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39521 libsrcdir="$$s/libgomp"; \
39522 $(SHELL) $${libsrcdir}/configure \
39523 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39524 --target=${target_alias} $${srcdiroption} \
39525 --with-build-libsubdir=$(HOST_SUBDIR) \
39526 $(STAGEfeedback_CONFIGURE_FLAGS)
39527 @endif target-libgomp-bootstrap
39533 .PHONY: all-target-libgomp maybe-all-target-libgomp
39534 maybe-all-target-libgomp:
39535 @if gcc-bootstrap
39536 all-target-libgomp: stage_current
39537 @endif gcc-bootstrap
39538 @if target-libgomp
39539 TARGET-target-libgomp=all
39540 maybe-all-target-libgomp: all-target-libgomp
39541 all-target-libgomp: configure-target-libgomp
39542 @r=`${PWD_COMMAND}`; export r; \
39543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39544 $(NORMAL_TARGET_EXPORTS) \
39545 (cd $(TARGET_SUBDIR)/libgomp && \
39546 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39547 $(TARGET-target-libgomp))
39548 @endif target-libgomp
39552 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
39553 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
39554 maybe-all-stage1-target-libgomp:
39555 maybe-clean-stage1-target-libgomp:
39556 @if target-libgomp-bootstrap
39557 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
39558 all-stage1: all-stage1-target-libgomp
39559 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
39560 all-stage1-target-libgomp: configure-stage1-target-libgomp
39561 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39562 @r=`${PWD_COMMAND}`; export r; \
39563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39564 TFLAGS="$(STAGE1_TFLAGS)"; \
39565 $(NORMAL_TARGET_EXPORTS) \
39566 cd $(TARGET_SUBDIR)/libgomp && \
39567 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39568 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39569 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39570 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39571 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39572 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39573 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39574 $(EXTRA_TARGET_FLAGS) \
39575 TFLAGS="$(STAGE1_TFLAGS)" \
39576 $(TARGET-stage1-target-libgomp)
39578 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
39579 clean-stage1: clean-stage1-target-libgomp
39580 clean-stage1-target-libgomp:
39581 @if [ $(current_stage) = stage1 ]; then \
39582 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39583 else \
39584 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
39585 $(MAKE) stage1-start; \
39586 fi; \
39587 cd $(TARGET_SUBDIR)/libgomp && \
39588 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39589 clean
39590 @endif target-libgomp-bootstrap
39593 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
39594 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
39595 maybe-all-stage2-target-libgomp:
39596 maybe-clean-stage2-target-libgomp:
39597 @if target-libgomp-bootstrap
39598 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
39599 all-stage2: all-stage2-target-libgomp
39600 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
39601 all-stage2-target-libgomp: configure-stage2-target-libgomp
39602 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39603 @r=`${PWD_COMMAND}`; export r; \
39604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39605 TFLAGS="$(STAGE2_TFLAGS)"; \
39606 $(NORMAL_TARGET_EXPORTS) \
39608 cd $(TARGET_SUBDIR)/libgomp && \
39609 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39610 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39611 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39612 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39613 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39614 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39615 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39616 $(EXTRA_TARGET_FLAGS) \
39617 TFLAGS="$(STAGE2_TFLAGS)" \
39618 $(TARGET-stage2-target-libgomp)
39620 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
39621 clean-stage2: clean-stage2-target-libgomp
39622 clean-stage2-target-libgomp:
39623 @if [ $(current_stage) = stage2 ]; then \
39624 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39625 else \
39626 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
39627 $(MAKE) stage2-start; \
39628 fi; \
39629 cd $(TARGET_SUBDIR)/libgomp && \
39630 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39632 clean
39633 @endif target-libgomp-bootstrap
39636 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
39637 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
39638 maybe-all-stage3-target-libgomp:
39639 maybe-clean-stage3-target-libgomp:
39640 @if target-libgomp-bootstrap
39641 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
39642 all-stage3: all-stage3-target-libgomp
39643 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
39644 all-stage3-target-libgomp: configure-stage3-target-libgomp
39645 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39646 @r=`${PWD_COMMAND}`; export r; \
39647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39648 TFLAGS="$(STAGE3_TFLAGS)"; \
39649 $(NORMAL_TARGET_EXPORTS) \
39651 cd $(TARGET_SUBDIR)/libgomp && \
39652 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39653 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39654 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39655 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39656 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39657 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39658 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39659 $(EXTRA_TARGET_FLAGS) \
39660 TFLAGS="$(STAGE3_TFLAGS)" \
39661 $(TARGET-stage3-target-libgomp)
39663 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
39664 clean-stage3: clean-stage3-target-libgomp
39665 clean-stage3-target-libgomp:
39666 @if [ $(current_stage) = stage3 ]; then \
39667 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39668 else \
39669 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
39670 $(MAKE) stage3-start; \
39671 fi; \
39672 cd $(TARGET_SUBDIR)/libgomp && \
39673 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39675 clean
39676 @endif target-libgomp-bootstrap
39679 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
39680 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
39681 maybe-all-stage4-target-libgomp:
39682 maybe-clean-stage4-target-libgomp:
39683 @if target-libgomp-bootstrap
39684 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
39685 all-stage4: all-stage4-target-libgomp
39686 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
39687 all-stage4-target-libgomp: configure-stage4-target-libgomp
39688 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39689 @r=`${PWD_COMMAND}`; export r; \
39690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39691 TFLAGS="$(STAGE4_TFLAGS)"; \
39692 $(NORMAL_TARGET_EXPORTS) \
39694 cd $(TARGET_SUBDIR)/libgomp && \
39695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39696 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39697 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39698 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39702 $(EXTRA_TARGET_FLAGS) \
39703 TFLAGS="$(STAGE4_TFLAGS)" \
39704 $(TARGET-stage4-target-libgomp)
39706 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
39707 clean-stage4: clean-stage4-target-libgomp
39708 clean-stage4-target-libgomp:
39709 @if [ $(current_stage) = stage4 ]; then \
39710 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39711 else \
39712 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
39713 $(MAKE) stage4-start; \
39714 fi; \
39715 cd $(TARGET_SUBDIR)/libgomp && \
39716 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39718 clean
39719 @endif target-libgomp-bootstrap
39722 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
39723 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
39724 maybe-all-stageprofile-target-libgomp:
39725 maybe-clean-stageprofile-target-libgomp:
39726 @if target-libgomp-bootstrap
39727 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
39728 all-stageprofile: all-stageprofile-target-libgomp
39729 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
39730 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39731 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39732 @r=`${PWD_COMMAND}`; export r; \
39733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39734 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39735 $(NORMAL_TARGET_EXPORTS) \
39737 cd $(TARGET_SUBDIR)/libgomp && \
39738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39739 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39740 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39741 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39745 $(EXTRA_TARGET_FLAGS) \
39746 TFLAGS="$(STAGEprofile_TFLAGS)" \
39747 $(TARGET-stageprofile-target-libgomp)
39749 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
39750 clean-stageprofile: clean-stageprofile-target-libgomp
39751 clean-stageprofile-target-libgomp:
39752 @if [ $(current_stage) = stageprofile ]; then \
39753 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39754 else \
39755 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
39756 $(MAKE) stageprofile-start; \
39757 fi; \
39758 cd $(TARGET_SUBDIR)/libgomp && \
39759 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39761 clean
39762 @endif target-libgomp-bootstrap
39765 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
39766 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
39767 maybe-all-stagefeedback-target-libgomp:
39768 maybe-clean-stagefeedback-target-libgomp:
39769 @if target-libgomp-bootstrap
39770 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
39771 all-stagefeedback: all-stagefeedback-target-libgomp
39772 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
39773 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39774 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39775 @r=`${PWD_COMMAND}`; export r; \
39776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39777 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39778 $(NORMAL_TARGET_EXPORTS) \
39780 cd $(TARGET_SUBDIR)/libgomp && \
39781 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39782 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39783 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39784 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39785 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39786 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39787 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39788 $(EXTRA_TARGET_FLAGS) \
39789 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39790 $(TARGET-stagefeedback-target-libgomp)
39792 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
39793 clean-stagefeedback: clean-stagefeedback-target-libgomp
39794 clean-stagefeedback-target-libgomp:
39795 @if [ $(current_stage) = stagefeedback ]; then \
39796 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39797 else \
39798 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
39799 $(MAKE) stagefeedback-start; \
39800 fi; \
39801 cd $(TARGET_SUBDIR)/libgomp && \
39802 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39804 clean
39805 @endif target-libgomp-bootstrap
39812 .PHONY: check-target-libgomp maybe-check-target-libgomp
39813 maybe-check-target-libgomp:
39814 @if target-libgomp
39815 maybe-check-target-libgomp: check-target-libgomp
39817 check-target-libgomp:
39818 @: $(MAKE); $(unstage)
39819 @r=`${PWD_COMMAND}`; export r; \
39820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39821 $(NORMAL_TARGET_EXPORTS) \
39822 (cd $(TARGET_SUBDIR)/libgomp && \
39823 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39825 @endif target-libgomp
39827 .PHONY: install-target-libgomp maybe-install-target-libgomp
39828 maybe-install-target-libgomp:
39829 @if target-libgomp
39830 maybe-install-target-libgomp: install-target-libgomp
39832 install-target-libgomp: installdirs
39833 @: $(MAKE); $(unstage)
39834 @r=`${PWD_COMMAND}`; export r; \
39835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39836 $(NORMAL_TARGET_EXPORTS) \
39837 (cd $(TARGET_SUBDIR)/libgomp && \
39838 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39840 @endif target-libgomp
39842 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
39843 maybe-install-strip-target-libgomp:
39844 @if target-libgomp
39845 maybe-install-strip-target-libgomp: install-strip-target-libgomp
39847 install-strip-target-libgomp: installdirs
39848 @: $(MAKE); $(unstage)
39849 @r=`${PWD_COMMAND}`; export r; \
39850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39851 $(NORMAL_TARGET_EXPORTS) \
39852 (cd $(TARGET_SUBDIR)/libgomp && \
39853 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39855 @endif target-libgomp
39857 # Other targets (info, dvi, pdf, etc.)
39859 .PHONY: maybe-info-target-libgomp info-target-libgomp
39860 maybe-info-target-libgomp:
39861 @if target-libgomp
39862 maybe-info-target-libgomp: info-target-libgomp
39864 info-target-libgomp: \
39865 configure-target-libgomp
39866 @: $(MAKE); $(unstage)
39867 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39868 r=`${PWD_COMMAND}`; export r; \
39869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39870 $(NORMAL_TARGET_EXPORTS) \
39871 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
39872 for flag in $(EXTRA_TARGET_FLAGS); do \
39873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39874 done; \
39875 (cd $(TARGET_SUBDIR)/libgomp && \
39876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39878 "RANLIB=$${RANLIB}" \
39879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39880 info) \
39881 || exit 1
39883 @endif target-libgomp
39885 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
39886 maybe-dvi-target-libgomp:
39887 @if target-libgomp
39888 maybe-dvi-target-libgomp: dvi-target-libgomp
39890 dvi-target-libgomp: \
39891 configure-target-libgomp
39892 @: $(MAKE); $(unstage)
39893 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39894 r=`${PWD_COMMAND}`; export r; \
39895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39896 $(NORMAL_TARGET_EXPORTS) \
39897 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
39898 for flag in $(EXTRA_TARGET_FLAGS); do \
39899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39900 done; \
39901 (cd $(TARGET_SUBDIR)/libgomp && \
39902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39904 "RANLIB=$${RANLIB}" \
39905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39906 dvi) \
39907 || exit 1
39909 @endif target-libgomp
39911 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
39912 maybe-pdf-target-libgomp:
39913 @if target-libgomp
39914 maybe-pdf-target-libgomp: pdf-target-libgomp
39916 pdf-target-libgomp: \
39917 configure-target-libgomp
39918 @: $(MAKE); $(unstage)
39919 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39920 r=`${PWD_COMMAND}`; export r; \
39921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39922 $(NORMAL_TARGET_EXPORTS) \
39923 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
39924 for flag in $(EXTRA_TARGET_FLAGS); do \
39925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39926 done; \
39927 (cd $(TARGET_SUBDIR)/libgomp && \
39928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39930 "RANLIB=$${RANLIB}" \
39931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39932 pdf) \
39933 || exit 1
39935 @endif target-libgomp
39937 .PHONY: maybe-html-target-libgomp html-target-libgomp
39938 maybe-html-target-libgomp:
39939 @if target-libgomp
39940 maybe-html-target-libgomp: html-target-libgomp
39942 html-target-libgomp: \
39943 configure-target-libgomp
39944 @: $(MAKE); $(unstage)
39945 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39946 r=`${PWD_COMMAND}`; export r; \
39947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39948 $(NORMAL_TARGET_EXPORTS) \
39949 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
39950 for flag in $(EXTRA_TARGET_FLAGS); do \
39951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39952 done; \
39953 (cd $(TARGET_SUBDIR)/libgomp && \
39954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39956 "RANLIB=$${RANLIB}" \
39957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39958 html) \
39959 || exit 1
39961 @endif target-libgomp
39963 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
39964 maybe-TAGS-target-libgomp:
39965 @if target-libgomp
39966 maybe-TAGS-target-libgomp: TAGS-target-libgomp
39968 TAGS-target-libgomp: \
39969 configure-target-libgomp
39970 @: $(MAKE); $(unstage)
39971 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39972 r=`${PWD_COMMAND}`; export r; \
39973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39974 $(NORMAL_TARGET_EXPORTS) \
39975 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
39976 for flag in $(EXTRA_TARGET_FLAGS); do \
39977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39978 done; \
39979 (cd $(TARGET_SUBDIR)/libgomp && \
39980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39982 "RANLIB=$${RANLIB}" \
39983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39984 TAGS) \
39985 || exit 1
39987 @endif target-libgomp
39989 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
39990 maybe-install-info-target-libgomp:
39991 @if target-libgomp
39992 maybe-install-info-target-libgomp: install-info-target-libgomp
39994 install-info-target-libgomp: \
39995 configure-target-libgomp \
39996 info-target-libgomp
39997 @: $(MAKE); $(unstage)
39998 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39999 r=`${PWD_COMMAND}`; export r; \
40000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40001 $(NORMAL_TARGET_EXPORTS) \
40002 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
40003 for flag in $(EXTRA_TARGET_FLAGS); do \
40004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40005 done; \
40006 (cd $(TARGET_SUBDIR)/libgomp && \
40007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40009 "RANLIB=$${RANLIB}" \
40010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40011 install-info) \
40012 || exit 1
40014 @endif target-libgomp
40016 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
40017 maybe-install-pdf-target-libgomp:
40018 @if target-libgomp
40019 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
40021 install-pdf-target-libgomp: \
40022 configure-target-libgomp \
40023 pdf-target-libgomp
40024 @: $(MAKE); $(unstage)
40025 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40026 r=`${PWD_COMMAND}`; export r; \
40027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40028 $(NORMAL_TARGET_EXPORTS) \
40029 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 install-pdf) \
40039 || exit 1
40041 @endif target-libgomp
40043 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
40044 maybe-install-html-target-libgomp:
40045 @if target-libgomp
40046 maybe-install-html-target-libgomp: install-html-target-libgomp
40048 install-html-target-libgomp: \
40049 configure-target-libgomp \
40050 html-target-libgomp
40051 @: $(MAKE); $(unstage)
40052 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40053 r=`${PWD_COMMAND}`; export r; \
40054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40055 $(NORMAL_TARGET_EXPORTS) \
40056 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
40057 for flag in $(EXTRA_TARGET_FLAGS); do \
40058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40059 done; \
40060 (cd $(TARGET_SUBDIR)/libgomp && \
40061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40063 "RANLIB=$${RANLIB}" \
40064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40065 install-html) \
40066 || exit 1
40068 @endif target-libgomp
40070 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
40071 maybe-installcheck-target-libgomp:
40072 @if target-libgomp
40073 maybe-installcheck-target-libgomp: installcheck-target-libgomp
40075 installcheck-target-libgomp: \
40076 configure-target-libgomp
40077 @: $(MAKE); $(unstage)
40078 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40079 r=`${PWD_COMMAND}`; export r; \
40080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40081 $(NORMAL_TARGET_EXPORTS) \
40082 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40083 for flag in $(EXTRA_TARGET_FLAGS); do \
40084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40085 done; \
40086 (cd $(TARGET_SUBDIR)/libgomp && \
40087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40089 "RANLIB=$${RANLIB}" \
40090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40091 installcheck) \
40092 || exit 1
40094 @endif target-libgomp
40096 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40097 maybe-mostlyclean-target-libgomp:
40098 @if target-libgomp
40099 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40101 mostlyclean-target-libgomp:
40102 @: $(MAKE); $(unstage)
40103 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40104 r=`${PWD_COMMAND}`; export r; \
40105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40106 $(NORMAL_TARGET_EXPORTS) \
40107 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
40108 for flag in $(EXTRA_TARGET_FLAGS); do \
40109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40110 done; \
40111 (cd $(TARGET_SUBDIR)/libgomp && \
40112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40114 "RANLIB=$${RANLIB}" \
40115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40116 mostlyclean) \
40117 || exit 1
40119 @endif target-libgomp
40121 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
40122 maybe-clean-target-libgomp:
40123 @if target-libgomp
40124 maybe-clean-target-libgomp: clean-target-libgomp
40126 clean-target-libgomp:
40127 @: $(MAKE); $(unstage)
40128 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40129 r=`${PWD_COMMAND}`; export r; \
40130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40131 $(NORMAL_TARGET_EXPORTS) \
40132 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
40133 for flag in $(EXTRA_TARGET_FLAGS); do \
40134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40135 done; \
40136 (cd $(TARGET_SUBDIR)/libgomp && \
40137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40139 "RANLIB=$${RANLIB}" \
40140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40141 clean) \
40142 || exit 1
40144 @endif target-libgomp
40146 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
40147 maybe-distclean-target-libgomp:
40148 @if target-libgomp
40149 maybe-distclean-target-libgomp: distclean-target-libgomp
40151 distclean-target-libgomp:
40152 @: $(MAKE); $(unstage)
40153 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40154 r=`${PWD_COMMAND}`; export r; \
40155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40156 $(NORMAL_TARGET_EXPORTS) \
40157 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
40158 for flag in $(EXTRA_TARGET_FLAGS); do \
40159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40160 done; \
40161 (cd $(TARGET_SUBDIR)/libgomp && \
40162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40164 "RANLIB=$${RANLIB}" \
40165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40166 distclean) \
40167 || exit 1
40169 @endif target-libgomp
40171 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
40172 maybe-maintainer-clean-target-libgomp:
40173 @if target-libgomp
40174 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
40176 maintainer-clean-target-libgomp:
40177 @: $(MAKE); $(unstage)
40178 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40179 r=`${PWD_COMMAND}`; export r; \
40180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40181 $(NORMAL_TARGET_EXPORTS) \
40182 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
40183 for flag in $(EXTRA_TARGET_FLAGS); do \
40184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40185 done; \
40186 (cd $(TARGET_SUBDIR)/libgomp && \
40187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40189 "RANLIB=$${RANLIB}" \
40190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40191 maintainer-clean) \
40192 || exit 1
40194 @endif target-libgomp
40200 .PHONY: configure-target-libitm maybe-configure-target-libitm
40201 maybe-configure-target-libitm:
40202 @if gcc-bootstrap
40203 configure-target-libitm: stage_current
40204 @endif gcc-bootstrap
40205 @if target-libitm
40206 maybe-configure-target-libitm: configure-target-libitm
40207 configure-target-libitm:
40208 @: $(MAKE); $(unstage)
40209 @r=`${PWD_COMMAND}`; export r; \
40210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40211 echo "Checking multilib configuration for libitm..."; \
40212 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40213 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
40214 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
40215 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
40216 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
40217 else \
40218 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
40219 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40220 fi; \
40221 else \
40222 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40223 fi; \
40224 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
40225 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40226 $(NORMAL_TARGET_EXPORTS) \
40227 echo Configuring in $(TARGET_SUBDIR)/libitm; \
40228 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
40229 case $(srcdir) in \
40230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40231 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
40232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40233 esac; \
40234 srcdiroption="--srcdir=$${topdir}/libitm"; \
40235 libsrcdir="$$s/libitm"; \
40236 rm -f no-such-file || : ; \
40237 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40238 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40239 --target=${target_alias} $${srcdiroption} \
40240 || exit 1
40241 @endif target-libitm
40247 .PHONY: all-target-libitm maybe-all-target-libitm
40248 maybe-all-target-libitm:
40249 @if gcc-bootstrap
40250 all-target-libitm: stage_current
40251 @endif gcc-bootstrap
40252 @if target-libitm
40253 TARGET-target-libitm=all
40254 maybe-all-target-libitm: all-target-libitm
40255 all-target-libitm: configure-target-libitm
40256 @: $(MAKE); $(unstage)
40257 @r=`${PWD_COMMAND}`; export r; \
40258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40259 $(NORMAL_TARGET_EXPORTS) \
40260 (cd $(TARGET_SUBDIR)/libitm && \
40261 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40262 $(TARGET-target-libitm))
40263 @endif target-libitm
40269 .PHONY: check-target-libitm maybe-check-target-libitm
40270 maybe-check-target-libitm:
40271 @if target-libitm
40272 maybe-check-target-libitm: check-target-libitm
40274 check-target-libitm:
40275 @: $(MAKE); $(unstage)
40276 @r=`${PWD_COMMAND}`; export r; \
40277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40278 $(NORMAL_TARGET_EXPORTS) \
40279 (cd $(TARGET_SUBDIR)/libitm && \
40280 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40282 @endif target-libitm
40284 .PHONY: install-target-libitm maybe-install-target-libitm
40285 maybe-install-target-libitm:
40286 @if target-libitm
40287 maybe-install-target-libitm: install-target-libitm
40289 install-target-libitm: installdirs
40290 @: $(MAKE); $(unstage)
40291 @r=`${PWD_COMMAND}`; export r; \
40292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40293 $(NORMAL_TARGET_EXPORTS) \
40294 (cd $(TARGET_SUBDIR)/libitm && \
40295 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40297 @endif target-libitm
40299 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
40300 maybe-install-strip-target-libitm:
40301 @if target-libitm
40302 maybe-install-strip-target-libitm: install-strip-target-libitm
40304 install-strip-target-libitm: installdirs
40305 @: $(MAKE); $(unstage)
40306 @r=`${PWD_COMMAND}`; export r; \
40307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40308 $(NORMAL_TARGET_EXPORTS) \
40309 (cd $(TARGET_SUBDIR)/libitm && \
40310 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40312 @endif target-libitm
40314 # Other targets (info, dvi, pdf, etc.)
40316 .PHONY: maybe-info-target-libitm info-target-libitm
40317 maybe-info-target-libitm:
40318 @if target-libitm
40319 maybe-info-target-libitm: info-target-libitm
40321 info-target-libitm: \
40322 configure-target-libitm
40323 @: $(MAKE); $(unstage)
40324 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40325 r=`${PWD_COMMAND}`; export r; \
40326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40327 $(NORMAL_TARGET_EXPORTS) \
40328 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
40329 for flag in $(EXTRA_TARGET_FLAGS); do \
40330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40331 done; \
40332 (cd $(TARGET_SUBDIR)/libitm && \
40333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40335 "RANLIB=$${RANLIB}" \
40336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40337 info) \
40338 || exit 1
40340 @endif target-libitm
40342 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
40343 maybe-dvi-target-libitm:
40344 @if target-libitm
40345 maybe-dvi-target-libitm: dvi-target-libitm
40347 dvi-target-libitm: \
40348 configure-target-libitm
40349 @: $(MAKE); $(unstage)
40350 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40351 r=`${PWD_COMMAND}`; export r; \
40352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40353 $(NORMAL_TARGET_EXPORTS) \
40354 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
40355 for flag in $(EXTRA_TARGET_FLAGS); do \
40356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40357 done; \
40358 (cd $(TARGET_SUBDIR)/libitm && \
40359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40361 "RANLIB=$${RANLIB}" \
40362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40363 dvi) \
40364 || exit 1
40366 @endif target-libitm
40368 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
40369 maybe-pdf-target-libitm:
40370 @if target-libitm
40371 maybe-pdf-target-libitm: pdf-target-libitm
40373 pdf-target-libitm: \
40374 configure-target-libitm
40375 @: $(MAKE); $(unstage)
40376 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40377 r=`${PWD_COMMAND}`; export r; \
40378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40379 $(NORMAL_TARGET_EXPORTS) \
40380 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
40381 for flag in $(EXTRA_TARGET_FLAGS); do \
40382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40383 done; \
40384 (cd $(TARGET_SUBDIR)/libitm && \
40385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40387 "RANLIB=$${RANLIB}" \
40388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40389 pdf) \
40390 || exit 1
40392 @endif target-libitm
40394 .PHONY: maybe-html-target-libitm html-target-libitm
40395 maybe-html-target-libitm:
40396 @if target-libitm
40397 maybe-html-target-libitm: html-target-libitm
40399 html-target-libitm: \
40400 configure-target-libitm
40401 @: $(MAKE); $(unstage)
40402 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40403 r=`${PWD_COMMAND}`; export r; \
40404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40405 $(NORMAL_TARGET_EXPORTS) \
40406 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
40407 for flag in $(EXTRA_TARGET_FLAGS); do \
40408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40409 done; \
40410 (cd $(TARGET_SUBDIR)/libitm && \
40411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40413 "RANLIB=$${RANLIB}" \
40414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40415 html) \
40416 || exit 1
40418 @endif target-libitm
40420 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
40421 maybe-TAGS-target-libitm:
40422 @if target-libitm
40423 maybe-TAGS-target-libitm: TAGS-target-libitm
40425 TAGS-target-libitm: \
40426 configure-target-libitm
40427 @: $(MAKE); $(unstage)
40428 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40429 r=`${PWD_COMMAND}`; export r; \
40430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40431 $(NORMAL_TARGET_EXPORTS) \
40432 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
40433 for flag in $(EXTRA_TARGET_FLAGS); do \
40434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40435 done; \
40436 (cd $(TARGET_SUBDIR)/libitm && \
40437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40439 "RANLIB=$${RANLIB}" \
40440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40441 TAGS) \
40442 || exit 1
40444 @endif target-libitm
40446 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
40447 maybe-install-info-target-libitm:
40448 @if target-libitm
40449 maybe-install-info-target-libitm: install-info-target-libitm
40451 install-info-target-libitm: \
40452 configure-target-libitm \
40453 info-target-libitm
40454 @: $(MAKE); $(unstage)
40455 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40456 r=`${PWD_COMMAND}`; export r; \
40457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40458 $(NORMAL_TARGET_EXPORTS) \
40459 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
40460 for flag in $(EXTRA_TARGET_FLAGS); do \
40461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40462 done; \
40463 (cd $(TARGET_SUBDIR)/libitm && \
40464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40466 "RANLIB=$${RANLIB}" \
40467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40468 install-info) \
40469 || exit 1
40471 @endif target-libitm
40473 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
40474 maybe-install-pdf-target-libitm:
40475 @if target-libitm
40476 maybe-install-pdf-target-libitm: install-pdf-target-libitm
40478 install-pdf-target-libitm: \
40479 configure-target-libitm \
40480 pdf-target-libitm
40481 @: $(MAKE); $(unstage)
40482 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40483 r=`${PWD_COMMAND}`; export r; \
40484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40485 $(NORMAL_TARGET_EXPORTS) \
40486 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
40487 for flag in $(EXTRA_TARGET_FLAGS); do \
40488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40489 done; \
40490 (cd $(TARGET_SUBDIR)/libitm && \
40491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40493 "RANLIB=$${RANLIB}" \
40494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40495 install-pdf) \
40496 || exit 1
40498 @endif target-libitm
40500 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
40501 maybe-install-html-target-libitm:
40502 @if target-libitm
40503 maybe-install-html-target-libitm: install-html-target-libitm
40505 install-html-target-libitm: \
40506 configure-target-libitm \
40507 html-target-libitm
40508 @: $(MAKE); $(unstage)
40509 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40510 r=`${PWD_COMMAND}`; export r; \
40511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40512 $(NORMAL_TARGET_EXPORTS) \
40513 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
40514 for flag in $(EXTRA_TARGET_FLAGS); do \
40515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40516 done; \
40517 (cd $(TARGET_SUBDIR)/libitm && \
40518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40520 "RANLIB=$${RANLIB}" \
40521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40522 install-html) \
40523 || exit 1
40525 @endif target-libitm
40527 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
40528 maybe-installcheck-target-libitm:
40529 @if target-libitm
40530 maybe-installcheck-target-libitm: installcheck-target-libitm
40532 installcheck-target-libitm: \
40533 configure-target-libitm
40534 @: $(MAKE); $(unstage)
40535 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40536 r=`${PWD_COMMAND}`; export r; \
40537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40538 $(NORMAL_TARGET_EXPORTS) \
40539 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
40540 for flag in $(EXTRA_TARGET_FLAGS); do \
40541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40542 done; \
40543 (cd $(TARGET_SUBDIR)/libitm && \
40544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40546 "RANLIB=$${RANLIB}" \
40547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40548 installcheck) \
40549 || exit 1
40551 @endif target-libitm
40553 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
40554 maybe-mostlyclean-target-libitm:
40555 @if target-libitm
40556 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
40558 mostlyclean-target-libitm:
40559 @: $(MAKE); $(unstage)
40560 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40561 r=`${PWD_COMMAND}`; export r; \
40562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40563 $(NORMAL_TARGET_EXPORTS) \
40564 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
40565 for flag in $(EXTRA_TARGET_FLAGS); do \
40566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40567 done; \
40568 (cd $(TARGET_SUBDIR)/libitm && \
40569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40571 "RANLIB=$${RANLIB}" \
40572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40573 mostlyclean) \
40574 || exit 1
40576 @endif target-libitm
40578 .PHONY: maybe-clean-target-libitm clean-target-libitm
40579 maybe-clean-target-libitm:
40580 @if target-libitm
40581 maybe-clean-target-libitm: clean-target-libitm
40583 clean-target-libitm:
40584 @: $(MAKE); $(unstage)
40585 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40586 r=`${PWD_COMMAND}`; export r; \
40587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40588 $(NORMAL_TARGET_EXPORTS) \
40589 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
40590 for flag in $(EXTRA_TARGET_FLAGS); do \
40591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40592 done; \
40593 (cd $(TARGET_SUBDIR)/libitm && \
40594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40596 "RANLIB=$${RANLIB}" \
40597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40598 clean) \
40599 || exit 1
40601 @endif target-libitm
40603 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
40604 maybe-distclean-target-libitm:
40605 @if target-libitm
40606 maybe-distclean-target-libitm: distclean-target-libitm
40608 distclean-target-libitm:
40609 @: $(MAKE); $(unstage)
40610 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40611 r=`${PWD_COMMAND}`; export r; \
40612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40613 $(NORMAL_TARGET_EXPORTS) \
40614 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
40615 for flag in $(EXTRA_TARGET_FLAGS); do \
40616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40617 done; \
40618 (cd $(TARGET_SUBDIR)/libitm && \
40619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40621 "RANLIB=$${RANLIB}" \
40622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40623 distclean) \
40624 || exit 1
40626 @endif target-libitm
40628 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
40629 maybe-maintainer-clean-target-libitm:
40630 @if target-libitm
40631 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
40633 maintainer-clean-target-libitm:
40634 @: $(MAKE); $(unstage)
40635 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40636 r=`${PWD_COMMAND}`; export r; \
40637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40638 $(NORMAL_TARGET_EXPORTS) \
40639 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
40640 for flag in $(EXTRA_TARGET_FLAGS); do \
40641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40642 done; \
40643 (cd $(TARGET_SUBDIR)/libitm && \
40644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40646 "RANLIB=$${RANLIB}" \
40647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40648 maintainer-clean) \
40649 || exit 1
40651 @endif target-libitm
40657 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
40658 maybe-configure-target-libatomic:
40659 @if gcc-bootstrap
40660 configure-target-libatomic: stage_current
40661 @endif gcc-bootstrap
40662 @if target-libatomic
40663 maybe-configure-target-libatomic: configure-target-libatomic
40664 configure-target-libatomic:
40665 @: $(MAKE); $(unstage)
40666 @r=`${PWD_COMMAND}`; export r; \
40667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40668 echo "Checking multilib configuration for libatomic..."; \
40669 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
40670 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
40671 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
40672 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
40673 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
40674 else \
40675 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
40676 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
40677 fi; \
40678 else \
40679 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
40680 fi; \
40681 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
40682 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
40683 $(NORMAL_TARGET_EXPORTS) \
40684 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
40685 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
40686 case $(srcdir) in \
40687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40688 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
40689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40690 esac; \
40691 srcdiroption="--srcdir=$${topdir}/libatomic"; \
40692 libsrcdir="$$s/libatomic"; \
40693 rm -f no-such-file || : ; \
40694 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40695 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40696 --target=${target_alias} $${srcdiroption} \
40697 || exit 1
40698 @endif target-libatomic
40704 .PHONY: all-target-libatomic maybe-all-target-libatomic
40705 maybe-all-target-libatomic:
40706 @if gcc-bootstrap
40707 all-target-libatomic: stage_current
40708 @endif gcc-bootstrap
40709 @if target-libatomic
40710 TARGET-target-libatomic=all
40711 maybe-all-target-libatomic: all-target-libatomic
40712 all-target-libatomic: configure-target-libatomic
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)/libatomic && \
40718 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40719 $(TARGET-target-libatomic))
40720 @endif target-libatomic
40726 .PHONY: check-target-libatomic maybe-check-target-libatomic
40727 maybe-check-target-libatomic:
40728 @if target-libatomic
40729 maybe-check-target-libatomic: check-target-libatomic
40731 check-target-libatomic:
40732 @: $(MAKE); $(unstage)
40733 @r=`${PWD_COMMAND}`; export r; \
40734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40735 $(NORMAL_TARGET_EXPORTS) \
40736 (cd $(TARGET_SUBDIR)/libatomic && \
40737 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40739 @endif target-libatomic
40741 .PHONY: install-target-libatomic maybe-install-target-libatomic
40742 maybe-install-target-libatomic:
40743 @if target-libatomic
40744 maybe-install-target-libatomic: install-target-libatomic
40746 install-target-libatomic: installdirs
40747 @: $(MAKE); $(unstage)
40748 @r=`${PWD_COMMAND}`; export r; \
40749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40750 $(NORMAL_TARGET_EXPORTS) \
40751 (cd $(TARGET_SUBDIR)/libatomic && \
40752 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40754 @endif target-libatomic
40756 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
40757 maybe-install-strip-target-libatomic:
40758 @if target-libatomic
40759 maybe-install-strip-target-libatomic: install-strip-target-libatomic
40761 install-strip-target-libatomic: installdirs
40762 @: $(MAKE); $(unstage)
40763 @r=`${PWD_COMMAND}`; export r; \
40764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40765 $(NORMAL_TARGET_EXPORTS) \
40766 (cd $(TARGET_SUBDIR)/libatomic && \
40767 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40769 @endif target-libatomic
40771 # Other targets (info, dvi, pdf, etc.)
40773 .PHONY: maybe-info-target-libatomic info-target-libatomic
40774 maybe-info-target-libatomic:
40775 @if target-libatomic
40776 maybe-info-target-libatomic: info-target-libatomic
40778 info-target-libatomic: \
40779 configure-target-libatomic
40780 @: $(MAKE); $(unstage)
40781 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40782 r=`${PWD_COMMAND}`; export r; \
40783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40784 $(NORMAL_TARGET_EXPORTS) \
40785 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
40786 for flag in $(EXTRA_TARGET_FLAGS); do \
40787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40788 done; \
40789 (cd $(TARGET_SUBDIR)/libatomic && \
40790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40792 "RANLIB=$${RANLIB}" \
40793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40794 info) \
40795 || exit 1
40797 @endif target-libatomic
40799 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
40800 maybe-dvi-target-libatomic:
40801 @if target-libatomic
40802 maybe-dvi-target-libatomic: dvi-target-libatomic
40804 dvi-target-libatomic: \
40805 configure-target-libatomic
40806 @: $(MAKE); $(unstage)
40807 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40808 r=`${PWD_COMMAND}`; export r; \
40809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40810 $(NORMAL_TARGET_EXPORTS) \
40811 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
40812 for flag in $(EXTRA_TARGET_FLAGS); do \
40813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40814 done; \
40815 (cd $(TARGET_SUBDIR)/libatomic && \
40816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40818 "RANLIB=$${RANLIB}" \
40819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40820 dvi) \
40821 || exit 1
40823 @endif target-libatomic
40825 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
40826 maybe-pdf-target-libatomic:
40827 @if target-libatomic
40828 maybe-pdf-target-libatomic: pdf-target-libatomic
40830 pdf-target-libatomic: \
40831 configure-target-libatomic
40832 @: $(MAKE); $(unstage)
40833 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40834 r=`${PWD_COMMAND}`; export r; \
40835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40836 $(NORMAL_TARGET_EXPORTS) \
40837 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
40838 for flag in $(EXTRA_TARGET_FLAGS); do \
40839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40840 done; \
40841 (cd $(TARGET_SUBDIR)/libatomic && \
40842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40844 "RANLIB=$${RANLIB}" \
40845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40846 pdf) \
40847 || exit 1
40849 @endif target-libatomic
40851 .PHONY: maybe-html-target-libatomic html-target-libatomic
40852 maybe-html-target-libatomic:
40853 @if target-libatomic
40854 maybe-html-target-libatomic: html-target-libatomic
40856 html-target-libatomic: \
40857 configure-target-libatomic
40858 @: $(MAKE); $(unstage)
40859 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40860 r=`${PWD_COMMAND}`; export r; \
40861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40862 $(NORMAL_TARGET_EXPORTS) \
40863 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
40864 for flag in $(EXTRA_TARGET_FLAGS); do \
40865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40866 done; \
40867 (cd $(TARGET_SUBDIR)/libatomic && \
40868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40870 "RANLIB=$${RANLIB}" \
40871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40872 html) \
40873 || exit 1
40875 @endif target-libatomic
40877 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
40878 maybe-TAGS-target-libatomic:
40879 @if target-libatomic
40880 maybe-TAGS-target-libatomic: TAGS-target-libatomic
40882 TAGS-target-libatomic: \
40883 configure-target-libatomic
40884 @: $(MAKE); $(unstage)
40885 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40886 r=`${PWD_COMMAND}`; export r; \
40887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40888 $(NORMAL_TARGET_EXPORTS) \
40889 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
40890 for flag in $(EXTRA_TARGET_FLAGS); do \
40891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40892 done; \
40893 (cd $(TARGET_SUBDIR)/libatomic && \
40894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40896 "RANLIB=$${RANLIB}" \
40897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40898 TAGS) \
40899 || exit 1
40901 @endif target-libatomic
40903 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
40904 maybe-install-info-target-libatomic:
40905 @if target-libatomic
40906 maybe-install-info-target-libatomic: install-info-target-libatomic
40908 install-info-target-libatomic: \
40909 configure-target-libatomic \
40910 info-target-libatomic
40911 @: $(MAKE); $(unstage)
40912 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40913 r=`${PWD_COMMAND}`; export r; \
40914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40915 $(NORMAL_TARGET_EXPORTS) \
40916 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
40917 for flag in $(EXTRA_TARGET_FLAGS); do \
40918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40919 done; \
40920 (cd $(TARGET_SUBDIR)/libatomic && \
40921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40923 "RANLIB=$${RANLIB}" \
40924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40925 install-info) \
40926 || exit 1
40928 @endif target-libatomic
40930 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
40931 maybe-install-pdf-target-libatomic:
40932 @if target-libatomic
40933 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
40935 install-pdf-target-libatomic: \
40936 configure-target-libatomic \
40937 pdf-target-libatomic
40938 @: $(MAKE); $(unstage)
40939 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40940 r=`${PWD_COMMAND}`; export r; \
40941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40942 $(NORMAL_TARGET_EXPORTS) \
40943 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
40944 for flag in $(EXTRA_TARGET_FLAGS); do \
40945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40946 done; \
40947 (cd $(TARGET_SUBDIR)/libatomic && \
40948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40950 "RANLIB=$${RANLIB}" \
40951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40952 install-pdf) \
40953 || exit 1
40955 @endif target-libatomic
40957 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
40958 maybe-install-html-target-libatomic:
40959 @if target-libatomic
40960 maybe-install-html-target-libatomic: install-html-target-libatomic
40962 install-html-target-libatomic: \
40963 configure-target-libatomic \
40964 html-target-libatomic
40965 @: $(MAKE); $(unstage)
40966 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40967 r=`${PWD_COMMAND}`; export r; \
40968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40969 $(NORMAL_TARGET_EXPORTS) \
40970 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
40971 for flag in $(EXTRA_TARGET_FLAGS); do \
40972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40973 done; \
40974 (cd $(TARGET_SUBDIR)/libatomic && \
40975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40977 "RANLIB=$${RANLIB}" \
40978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40979 install-html) \
40980 || exit 1
40982 @endif target-libatomic
40984 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
40985 maybe-installcheck-target-libatomic:
40986 @if target-libatomic
40987 maybe-installcheck-target-libatomic: installcheck-target-libatomic
40989 installcheck-target-libatomic: \
40990 configure-target-libatomic
40991 @: $(MAKE); $(unstage)
40992 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40993 r=`${PWD_COMMAND}`; export r; \
40994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40995 $(NORMAL_TARGET_EXPORTS) \
40996 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
40997 for flag in $(EXTRA_TARGET_FLAGS); do \
40998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40999 done; \
41000 (cd $(TARGET_SUBDIR)/libatomic && \
41001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41003 "RANLIB=$${RANLIB}" \
41004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41005 installcheck) \
41006 || exit 1
41008 @endif target-libatomic
41010 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
41011 maybe-mostlyclean-target-libatomic:
41012 @if target-libatomic
41013 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
41015 mostlyclean-target-libatomic:
41016 @: $(MAKE); $(unstage)
41017 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41018 r=`${PWD_COMMAND}`; export r; \
41019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41020 $(NORMAL_TARGET_EXPORTS) \
41021 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
41022 for flag in $(EXTRA_TARGET_FLAGS); do \
41023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41024 done; \
41025 (cd $(TARGET_SUBDIR)/libatomic && \
41026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41028 "RANLIB=$${RANLIB}" \
41029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41030 mostlyclean) \
41031 || exit 1
41033 @endif target-libatomic
41035 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
41036 maybe-clean-target-libatomic:
41037 @if target-libatomic
41038 maybe-clean-target-libatomic: clean-target-libatomic
41040 clean-target-libatomic:
41041 @: $(MAKE); $(unstage)
41042 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41043 r=`${PWD_COMMAND}`; export r; \
41044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41045 $(NORMAL_TARGET_EXPORTS) \
41046 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
41047 for flag in $(EXTRA_TARGET_FLAGS); do \
41048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41049 done; \
41050 (cd $(TARGET_SUBDIR)/libatomic && \
41051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41053 "RANLIB=$${RANLIB}" \
41054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41055 clean) \
41056 || exit 1
41058 @endif target-libatomic
41060 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
41061 maybe-distclean-target-libatomic:
41062 @if target-libatomic
41063 maybe-distclean-target-libatomic: distclean-target-libatomic
41065 distclean-target-libatomic:
41066 @: $(MAKE); $(unstage)
41067 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41068 r=`${PWD_COMMAND}`; export r; \
41069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41070 $(NORMAL_TARGET_EXPORTS) \
41071 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
41072 for flag in $(EXTRA_TARGET_FLAGS); do \
41073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41074 done; \
41075 (cd $(TARGET_SUBDIR)/libatomic && \
41076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41078 "RANLIB=$${RANLIB}" \
41079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41080 distclean) \
41081 || exit 1
41083 @endif target-libatomic
41085 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
41086 maybe-maintainer-clean-target-libatomic:
41087 @if target-libatomic
41088 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
41090 maintainer-clean-target-libatomic:
41091 @: $(MAKE); $(unstage)
41092 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41093 r=`${PWD_COMMAND}`; export r; \
41094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41095 $(NORMAL_TARGET_EXPORTS) \
41096 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
41097 for flag in $(EXTRA_TARGET_FLAGS); do \
41098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41099 done; \
41100 (cd $(TARGET_SUBDIR)/libatomic && \
41101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41103 "RANLIB=$${RANLIB}" \
41104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41105 maintainer-clean) \
41106 || exit 1
41108 @endif target-libatomic
41112 @if target-libmudflap
41113 .PHONY: check-target-libmudflap-c++
41114 check-target-libmudflap-c++:
41115 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
41117 @endif target-libmudflap
41119 # ----------
41120 # GCC module
41121 # ----------
41123 @if gcc-no-bootstrap
41124 .PHONY: cross
41125 cross: all-build all-gas all-ld
41126 @r=`${PWD_COMMAND}`; export r; \
41127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41128 $(HOST_EXPORTS) \
41129 echo "Building the C and C++ compiler"; \
41130 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41131 @r=`${PWD_COMMAND}`; export r; \
41132 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41133 echo "Building runtime libraries"; \
41134 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41135 @endif gcc-no-bootstrap
41137 @if gcc
41139 .PHONY: check-gcc-c check-c
41140 check-gcc-c:
41141 r=`${PWD_COMMAND}`; export r; \
41142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41143 $(HOST_EXPORTS) \
41144 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
41145 check-c: check-gcc-c
41147 .PHONY: check-gcc-c++ check-c++
41148 check-gcc-c++:
41149 r=`${PWD_COMMAND}`; export r; \
41150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41151 $(HOST_EXPORTS) \
41152 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
41153 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++
41155 .PHONY: check-gcc-fortran check-fortran
41156 check-gcc-fortran:
41157 r=`${PWD_COMMAND}`; export r; \
41158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41159 $(HOST_EXPORTS) \
41160 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
41161 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
41163 .PHONY: check-gcc-java check-java
41164 check-gcc-java:
41165 r=`${PWD_COMMAND}`; export r; \
41166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41167 $(HOST_EXPORTS) \
41168 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
41169 check-java: check-gcc-java check-target-libjava
41171 .PHONY: check-gcc-ada check-ada
41172 check-gcc-ada:
41173 r=`${PWD_COMMAND}`; export r; \
41174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41175 $(HOST_EXPORTS) \
41176 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
41177 check-ada: check-gcc-ada check-target-libada
41179 .PHONY: check-gcc-objc check-objc
41180 check-gcc-objc:
41181 r=`${PWD_COMMAND}`; export r; \
41182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41183 $(HOST_EXPORTS) \
41184 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
41185 check-objc: check-gcc-objc check-target-libobjc
41187 .PHONY: check-gcc-obj-c++ check-obj-c++
41188 check-gcc-obj-c++:
41189 r=`${PWD_COMMAND}`; export r; \
41190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41191 $(HOST_EXPORTS) \
41192 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
41193 check-obj-c++: check-gcc-obj-c++
41195 .PHONY: check-gcc-go check-go
41196 check-gcc-go:
41197 r=`${PWD_COMMAND}`; export r; \
41198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41199 $(HOST_EXPORTS) \
41200 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
41201 check-go: check-gcc-go check-target-libgo
41204 # The gcc part of install-no-fixedincludes, which relies on an intimate
41205 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
41206 .PHONY: gcc-install-no-fixedincludes
41207 gcc-install-no-fixedincludes:
41208 @if [ -f ./gcc/Makefile ]; then \
41209 r=`${PWD_COMMAND}`; export r; \
41210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41211 $(HOST_EXPORTS) \
41212 (cd ./gcc \
41213 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
41214 else true; fi
41215 @endif gcc
41217 # ---------------------
41218 # GCC bootstrap support
41219 # ---------------------
41221 # We track the current stage (the one in 'gcc') in the stage_current file.
41222 # stage_last instead tracks the stage that was built last. These targets
41223 # are dummy when toplevel bootstrap is not active.
41225 # While making host and target tools, symlinks to the final stage must be
41226 # there, so $(unstage) should be run at various points. To avoid excessive
41227 # recursive invocations of make, we "inline" them using a variable. These
41228 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41229 # to avoid warnings from the GNU Make job server.
41231 unstage = :
41232 stage = :
41233 current_stage = ""
41235 @if gcc-bootstrap
41236 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41237 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41238 current_stage = "`cat stage_current 2> /dev/null`"
41239 @endif gcc-bootstrap
41241 .PHONY: unstage stage
41242 unstage:
41243 @: $(MAKE); $(unstage)
41244 stage:
41245 @: $(MAKE); $(stage)
41247 # Disable commands for lean bootstrap.
41248 LEAN = false
41250 # We name the build directories for the various stages "stage1-gcc",
41251 # "stage2-gcc","stage3-gcc", etc.
41253 # Since the 'compare' process will fail (on debugging information) if any
41254 # directory names are different, we need to link the gcc directory for
41255 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41256 # the build directories constant as well. For the latter, we use naked names
41257 # like 'gcc', because the scripts in that directory assume it. We use
41258 # mv on platforms where symlinks to directories do not work or are not
41259 # reliable.
41261 # 'touch' doesn't work right on some platforms.
41262 STAMP = echo timestamp >
41264 # We only want to compare .o files, so set this!
41265 objext = .o
41268 .PHONY: stage1-start stage1-end
41270 stage1-start::
41271 @: $(MAKE); $(stage); \
41272 echo stage1 > stage_current ; \
41273 echo stage1 > stage_last; \
41274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41275 @if bfd
41276 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41277 mkdir stage1-bfd; \
41278 mv stage1-bfd bfd
41279 @endif bfd
41280 @if opcodes
41281 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41282 mkdir stage1-opcodes; \
41283 mv stage1-opcodes opcodes
41284 @endif opcodes
41285 @if binutils
41286 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41287 mkdir stage1-binutils; \
41288 mv stage1-binutils binutils
41289 @endif binutils
41290 @if gas
41291 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41292 mkdir stage1-gas; \
41293 mv stage1-gas gas
41294 @endif gas
41295 @if gcc
41296 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41297 mkdir stage1-gcc; \
41298 mv stage1-gcc gcc
41299 @endif gcc
41300 @if gmp
41301 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
41302 mkdir stage1-gmp; \
41303 mv stage1-gmp gmp
41304 @endif gmp
41305 @if mpfr
41306 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
41307 mkdir stage1-mpfr; \
41308 mv stage1-mpfr mpfr
41309 @endif mpfr
41310 @if mpc
41311 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
41312 mkdir stage1-mpc; \
41313 mv stage1-mpc mpc
41314 @endif mpc
41315 @if ppl
41316 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
41317 mkdir stage1-ppl; \
41318 mv stage1-ppl ppl
41319 @endif ppl
41320 @if cloog
41321 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
41322 mkdir stage1-cloog; \
41323 mv stage1-cloog cloog
41324 @endif cloog
41325 @if libelf
41326 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
41327 mkdir stage1-libelf; \
41328 mv stage1-libelf libelf
41329 @endif libelf
41330 @if gold
41331 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
41332 mkdir stage1-gold; \
41333 mv stage1-gold gold
41334 @endif gold
41335 @if intl
41336 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41337 mkdir stage1-intl; \
41338 mv stage1-intl intl
41339 @endif intl
41340 @if ld
41341 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41342 mkdir stage1-ld; \
41343 mv stage1-ld ld
41344 @endif ld
41345 @if libcpp
41346 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41347 mkdir stage1-libcpp; \
41348 mv stage1-libcpp libcpp
41349 @endif libcpp
41350 @if libdecnumber
41351 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41352 mkdir stage1-libdecnumber; \
41353 mv stage1-libdecnumber libdecnumber
41354 @endif libdecnumber
41355 @if libiberty
41356 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41357 mkdir stage1-libiberty; \
41358 mv stage1-libiberty libiberty
41359 @endif libiberty
41360 @if zlib
41361 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41362 mkdir stage1-zlib; \
41363 mv stage1-zlib zlib
41364 @endif zlib
41365 @if lto-plugin
41366 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
41367 mkdir stage1-lto-plugin; \
41368 mv stage1-lto-plugin lto-plugin
41369 @endif lto-plugin
41370 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41371 mkdir stage1-$(TARGET_SUBDIR); \
41372 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41374 stage1-end::
41375 @if bfd
41376 @if test -d $(HOST_SUBDIR)/bfd ; then \
41377 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41379 @endif bfd
41380 @if opcodes
41381 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41382 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41384 @endif opcodes
41385 @if binutils
41386 @if test -d $(HOST_SUBDIR)/binutils ; then \
41387 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41389 @endif binutils
41390 @if gas
41391 @if test -d $(HOST_SUBDIR)/gas ; then \
41392 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41394 @endif gas
41395 @if gcc
41396 @if test -d $(HOST_SUBDIR)/gcc ; then \
41397 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41399 @endif gcc
41400 @if gmp
41401 @if test -d $(HOST_SUBDIR)/gmp ; then \
41402 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
41404 @endif gmp
41405 @if mpfr
41406 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41407 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
41409 @endif mpfr
41410 @if mpc
41411 @if test -d $(HOST_SUBDIR)/mpc ; then \
41412 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
41414 @endif mpc
41415 @if ppl
41416 @if test -d $(HOST_SUBDIR)/ppl ; then \
41417 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
41419 @endif ppl
41420 @if cloog
41421 @if test -d $(HOST_SUBDIR)/cloog ; then \
41422 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
41424 @endif cloog
41425 @if libelf
41426 @if test -d $(HOST_SUBDIR)/libelf ; then \
41427 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
41429 @endif libelf
41430 @if gold
41431 @if test -d $(HOST_SUBDIR)/gold ; then \
41432 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
41434 @endif gold
41435 @if intl
41436 @if test -d $(HOST_SUBDIR)/intl ; then \
41437 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41439 @endif intl
41440 @if ld
41441 @if test -d $(HOST_SUBDIR)/ld ; then \
41442 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41444 @endif ld
41445 @if libcpp
41446 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41447 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41449 @endif libcpp
41450 @if libdecnumber
41451 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41452 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41454 @endif libdecnumber
41455 @if libiberty
41456 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41457 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41459 @endif libiberty
41460 @if zlib
41461 @if test -d $(HOST_SUBDIR)/zlib ; then \
41462 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41464 @endif zlib
41465 @if lto-plugin
41466 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41467 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
41469 @endif lto-plugin
41470 @if test -d $(TARGET_SUBDIR) ; then \
41471 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41473 rm -f stage_current
41475 # Bubble a bug fix through all the stages up to stage 1. They are
41476 # remade, but not reconfigured. The next stage (if any) will not be
41477 # reconfigured either.
41478 .PHONY: stage1-bubble
41479 stage1-bubble::
41480 @r=`${PWD_COMMAND}`; export r; \
41481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41482 if test -f stage1-lean ; then \
41483 echo Skipping rebuild of stage1 ; \
41484 else \
41485 $(MAKE) stage1-start; \
41486 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
41489 .PHONY: all-stage1 clean-stage1
41490 do-clean: clean-stage1
41492 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41493 # only possibility, but now it conflicts with no-bootstrap rules
41494 @if gcc-bootstrap
41499 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41501 .PHONY: distclean-stage1
41502 distclean-stage1::
41503 @: $(MAKE); $(stage)
41504 @test "`cat stage_last`" != stage1 || rm -f stage_last
41505 rm -rf stage1-*
41508 @endif gcc-bootstrap
41511 .PHONY: stage2-start stage2-end
41513 stage2-start::
41514 @: $(MAKE); $(stage); \
41515 echo stage2 > stage_current ; \
41516 echo stage2 > stage_last; \
41517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41518 @if bfd
41519 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
41520 mkdir stage2-bfd; \
41521 mv stage2-bfd bfd ; \
41522 mv stage1-bfd prev-bfd || test -f stage1-lean
41523 @endif bfd
41524 @if opcodes
41525 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
41526 mkdir stage2-opcodes; \
41527 mv stage2-opcodes opcodes ; \
41528 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41529 @endif opcodes
41530 @if binutils
41531 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
41532 mkdir stage2-binutils; \
41533 mv stage2-binutils binutils ; \
41534 mv stage1-binutils prev-binutils || test -f stage1-lean
41535 @endif binutils
41536 @if gas
41537 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
41538 mkdir stage2-gas; \
41539 mv stage2-gas gas ; \
41540 mv stage1-gas prev-gas || test -f stage1-lean
41541 @endif gas
41542 @if gcc
41543 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
41544 mkdir stage2-gcc; \
41545 mv stage2-gcc gcc ; \
41546 mv stage1-gcc prev-gcc || test -f stage1-lean
41547 @endif gcc
41548 @if gmp
41549 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
41550 mkdir stage2-gmp; \
41551 mv stage2-gmp gmp ; \
41552 mv stage1-gmp prev-gmp || test -f stage1-lean
41553 @endif gmp
41554 @if mpfr
41555 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
41556 mkdir stage2-mpfr; \
41557 mv stage2-mpfr mpfr ; \
41558 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41559 @endif mpfr
41560 @if mpc
41561 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
41562 mkdir stage2-mpc; \
41563 mv stage2-mpc mpc ; \
41564 mv stage1-mpc prev-mpc || test -f stage1-lean
41565 @endif mpc
41566 @if ppl
41567 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
41568 mkdir stage2-ppl; \
41569 mv stage2-ppl ppl ; \
41570 mv stage1-ppl prev-ppl || test -f stage1-lean
41571 @endif ppl
41572 @if cloog
41573 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
41574 mkdir stage2-cloog; \
41575 mv stage2-cloog cloog ; \
41576 mv stage1-cloog prev-cloog || test -f stage1-lean
41577 @endif cloog
41578 @if libelf
41579 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
41580 mkdir stage2-libelf; \
41581 mv stage2-libelf libelf ; \
41582 mv stage1-libelf prev-libelf || test -f stage1-lean
41583 @endif libelf
41584 @if gold
41585 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
41586 mkdir stage2-gold; \
41587 mv stage2-gold gold ; \
41588 mv stage1-gold prev-gold || test -f stage1-lean
41589 @endif gold
41590 @if intl
41591 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
41592 mkdir stage2-intl; \
41593 mv stage2-intl intl ; \
41594 mv stage1-intl prev-intl || test -f stage1-lean
41595 @endif intl
41596 @if ld
41597 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
41598 mkdir stage2-ld; \
41599 mv stage2-ld ld ; \
41600 mv stage1-ld prev-ld || test -f stage1-lean
41601 @endif ld
41602 @if libcpp
41603 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
41604 mkdir stage2-libcpp; \
41605 mv stage2-libcpp libcpp ; \
41606 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41607 @endif libcpp
41608 @if libdecnumber
41609 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
41610 mkdir stage2-libdecnumber; \
41611 mv stage2-libdecnumber libdecnumber ; \
41612 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41613 @endif libdecnumber
41614 @if libiberty
41615 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
41616 mkdir stage2-libiberty; \
41617 mv stage2-libiberty libiberty ; \
41618 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41619 @endif libiberty
41620 @if zlib
41621 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
41622 mkdir stage2-zlib; \
41623 mv stage2-zlib zlib ; \
41624 mv stage1-zlib prev-zlib || test -f stage1-lean
41625 @endif zlib
41626 @if lto-plugin
41627 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
41628 mkdir stage2-lto-plugin; \
41629 mv stage2-lto-plugin lto-plugin ; \
41630 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
41631 @endif lto-plugin
41632 @[ -d stage2-$(TARGET_SUBDIR) ] || \
41633 mkdir stage2-$(TARGET_SUBDIR); \
41634 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41635 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41637 stage2-end::
41638 @if bfd
41639 @if test -d $(HOST_SUBDIR)/bfd ; then \
41640 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
41641 mv prev-bfd stage1-bfd ; : ; \
41643 @endif bfd
41644 @if opcodes
41645 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41646 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
41647 mv prev-opcodes stage1-opcodes ; : ; \
41649 @endif opcodes
41650 @if binutils
41651 @if test -d $(HOST_SUBDIR)/binutils ; then \
41652 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
41653 mv prev-binutils stage1-binutils ; : ; \
41655 @endif binutils
41656 @if gas
41657 @if test -d $(HOST_SUBDIR)/gas ; then \
41658 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
41659 mv prev-gas stage1-gas ; : ; \
41661 @endif gas
41662 @if gcc
41663 @if test -d $(HOST_SUBDIR)/gcc ; then \
41664 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
41665 mv prev-gcc stage1-gcc ; : ; \
41667 @endif gcc
41668 @if gmp
41669 @if test -d $(HOST_SUBDIR)/gmp ; then \
41670 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
41671 mv prev-gmp stage1-gmp ; : ; \
41673 @endif gmp
41674 @if mpfr
41675 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41676 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
41677 mv prev-mpfr stage1-mpfr ; : ; \
41679 @endif mpfr
41680 @if mpc
41681 @if test -d $(HOST_SUBDIR)/mpc ; then \
41682 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
41683 mv prev-mpc stage1-mpc ; : ; \
41685 @endif mpc
41686 @if ppl
41687 @if test -d $(HOST_SUBDIR)/ppl ; then \
41688 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
41689 mv prev-ppl stage1-ppl ; : ; \
41691 @endif ppl
41692 @if cloog
41693 @if test -d $(HOST_SUBDIR)/cloog ; then \
41694 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
41695 mv prev-cloog stage1-cloog ; : ; \
41697 @endif cloog
41698 @if libelf
41699 @if test -d $(HOST_SUBDIR)/libelf ; then \
41700 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
41701 mv prev-libelf stage1-libelf ; : ; \
41703 @endif libelf
41704 @if gold
41705 @if test -d $(HOST_SUBDIR)/gold ; then \
41706 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
41707 mv prev-gold stage1-gold ; : ; \
41709 @endif gold
41710 @if intl
41711 @if test -d $(HOST_SUBDIR)/intl ; then \
41712 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
41713 mv prev-intl stage1-intl ; : ; \
41715 @endif intl
41716 @if ld
41717 @if test -d $(HOST_SUBDIR)/ld ; then \
41718 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
41719 mv prev-ld stage1-ld ; : ; \
41721 @endif ld
41722 @if libcpp
41723 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41724 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
41725 mv prev-libcpp stage1-libcpp ; : ; \
41727 @endif libcpp
41728 @if libdecnumber
41729 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41730 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
41731 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41733 @endif libdecnumber
41734 @if libiberty
41735 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41736 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
41737 mv prev-libiberty stage1-libiberty ; : ; \
41739 @endif libiberty
41740 @if zlib
41741 @if test -d $(HOST_SUBDIR)/zlib ; then \
41742 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
41743 mv prev-zlib stage1-zlib ; : ; \
41745 @endif zlib
41746 @if lto-plugin
41747 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41748 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
41749 mv prev-lto-plugin stage1-lto-plugin ; : ; \
41751 @endif lto-plugin
41752 @if test -d $(TARGET_SUBDIR) ; then \
41753 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
41754 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41756 rm -f stage_current
41758 # Bubble a bug fix through all the stages up to stage 2. They are
41759 # remade, but not reconfigured. The next stage (if any) will not be
41760 # reconfigured either.
41761 .PHONY: stage2-bubble
41762 stage2-bubble:: stage1-bubble
41763 @r=`${PWD_COMMAND}`; export r; \
41764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41765 if test -f stage2-lean || test -f stage1-lean ; then \
41766 echo Skipping rebuild of stage2 ; \
41767 else \
41768 $(MAKE) stage2-start; \
41769 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
41772 .PHONY: all-stage2 clean-stage2
41773 do-clean: clean-stage2
41775 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41776 # only possibility, but now it conflicts with no-bootstrap rules
41777 @if gcc-bootstrap
41781 .PHONY: bootstrap2 bootstrap2-lean
41782 bootstrap2:
41783 echo stage2 > stage_final
41784 @r=`${PWD_COMMAND}`; export r; \
41785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41786 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
41787 @: $(MAKE); $(unstage)
41788 @r=`${PWD_COMMAND}`; export r; \
41789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41790 TFLAGS="$(STAGE2_TFLAGS)"; \
41791 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41793 bootstrap2-lean:
41794 echo stage2 > stage_final
41795 @r=`${PWD_COMMAND}`; export r; \
41796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41797 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
41798 @: $(MAKE); $(unstage)
41799 @r=`${PWD_COMMAND}`; export r; \
41800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41801 TFLAGS="$(STAGE2_TFLAGS)"; \
41802 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41805 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41806 distclean-stage1:: distclean-stage2
41807 .PHONY: distclean-stage2
41808 distclean-stage2::
41809 @: $(MAKE); $(stage)
41810 @test "`cat stage_last`" != stage2 || rm -f stage_last
41811 rm -rf stage2-*
41814 @endif gcc-bootstrap
41817 .PHONY: stage3-start stage3-end
41819 stage3-start::
41820 @: $(MAKE); $(stage); \
41821 echo stage3 > stage_current ; \
41822 echo stage3 > stage_last; \
41823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41824 @if bfd
41825 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
41826 mkdir stage3-bfd; \
41827 mv stage3-bfd bfd ; \
41828 mv stage2-bfd prev-bfd || test -f stage2-lean
41829 @endif bfd
41830 @if opcodes
41831 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
41832 mkdir stage3-opcodes; \
41833 mv stage3-opcodes opcodes ; \
41834 mv stage2-opcodes prev-opcodes || test -f stage2-lean
41835 @endif opcodes
41836 @if binutils
41837 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
41838 mkdir stage3-binutils; \
41839 mv stage3-binutils binutils ; \
41840 mv stage2-binutils prev-binutils || test -f stage2-lean
41841 @endif binutils
41842 @if gas
41843 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
41844 mkdir stage3-gas; \
41845 mv stage3-gas gas ; \
41846 mv stage2-gas prev-gas || test -f stage2-lean
41847 @endif gas
41848 @if gcc
41849 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
41850 mkdir stage3-gcc; \
41851 mv stage3-gcc gcc ; \
41852 mv stage2-gcc prev-gcc || test -f stage2-lean
41853 @endif gcc
41854 @if gmp
41855 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
41856 mkdir stage3-gmp; \
41857 mv stage3-gmp gmp ; \
41858 mv stage2-gmp prev-gmp || test -f stage2-lean
41859 @endif gmp
41860 @if mpfr
41861 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
41862 mkdir stage3-mpfr; \
41863 mv stage3-mpfr mpfr ; \
41864 mv stage2-mpfr prev-mpfr || test -f stage2-lean
41865 @endif mpfr
41866 @if mpc
41867 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
41868 mkdir stage3-mpc; \
41869 mv stage3-mpc mpc ; \
41870 mv stage2-mpc prev-mpc || test -f stage2-lean
41871 @endif mpc
41872 @if ppl
41873 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
41874 mkdir stage3-ppl; \
41875 mv stage3-ppl ppl ; \
41876 mv stage2-ppl prev-ppl || test -f stage2-lean
41877 @endif ppl
41878 @if cloog
41879 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
41880 mkdir stage3-cloog; \
41881 mv stage3-cloog cloog ; \
41882 mv stage2-cloog prev-cloog || test -f stage2-lean
41883 @endif cloog
41884 @if libelf
41885 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
41886 mkdir stage3-libelf; \
41887 mv stage3-libelf libelf ; \
41888 mv stage2-libelf prev-libelf || test -f stage2-lean
41889 @endif libelf
41890 @if gold
41891 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
41892 mkdir stage3-gold; \
41893 mv stage3-gold gold ; \
41894 mv stage2-gold prev-gold || test -f stage2-lean
41895 @endif gold
41896 @if intl
41897 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
41898 mkdir stage3-intl; \
41899 mv stage3-intl intl ; \
41900 mv stage2-intl prev-intl || test -f stage2-lean
41901 @endif intl
41902 @if ld
41903 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
41904 mkdir stage3-ld; \
41905 mv stage3-ld ld ; \
41906 mv stage2-ld prev-ld || test -f stage2-lean
41907 @endif ld
41908 @if libcpp
41909 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
41910 mkdir stage3-libcpp; \
41911 mv stage3-libcpp libcpp ; \
41912 mv stage2-libcpp prev-libcpp || test -f stage2-lean
41913 @endif libcpp
41914 @if libdecnumber
41915 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
41916 mkdir stage3-libdecnumber; \
41917 mv stage3-libdecnumber libdecnumber ; \
41918 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
41919 @endif libdecnumber
41920 @if libiberty
41921 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
41922 mkdir stage3-libiberty; \
41923 mv stage3-libiberty libiberty ; \
41924 mv stage2-libiberty prev-libiberty || test -f stage2-lean
41925 @endif libiberty
41926 @if zlib
41927 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
41928 mkdir stage3-zlib; \
41929 mv stage3-zlib zlib ; \
41930 mv stage2-zlib prev-zlib || test -f stage2-lean
41931 @endif zlib
41932 @if lto-plugin
41933 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
41934 mkdir stage3-lto-plugin; \
41935 mv stage3-lto-plugin lto-plugin ; \
41936 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
41937 @endif lto-plugin
41938 @[ -d stage3-$(TARGET_SUBDIR) ] || \
41939 mkdir stage3-$(TARGET_SUBDIR); \
41940 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41941 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
41943 stage3-end::
41944 @if bfd
41945 @if test -d $(HOST_SUBDIR)/bfd ; then \
41946 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
41947 mv prev-bfd stage2-bfd ; : ; \
41949 @endif bfd
41950 @if opcodes
41951 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41952 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
41953 mv prev-opcodes stage2-opcodes ; : ; \
41955 @endif opcodes
41956 @if binutils
41957 @if test -d $(HOST_SUBDIR)/binutils ; then \
41958 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
41959 mv prev-binutils stage2-binutils ; : ; \
41961 @endif binutils
41962 @if gas
41963 @if test -d $(HOST_SUBDIR)/gas ; then \
41964 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
41965 mv prev-gas stage2-gas ; : ; \
41967 @endif gas
41968 @if gcc
41969 @if test -d $(HOST_SUBDIR)/gcc ; then \
41970 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
41971 mv prev-gcc stage2-gcc ; : ; \
41973 @endif gcc
41974 @if gmp
41975 @if test -d $(HOST_SUBDIR)/gmp ; then \
41976 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
41977 mv prev-gmp stage2-gmp ; : ; \
41979 @endif gmp
41980 @if mpfr
41981 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41982 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
41983 mv prev-mpfr stage2-mpfr ; : ; \
41985 @endif mpfr
41986 @if mpc
41987 @if test -d $(HOST_SUBDIR)/mpc ; then \
41988 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
41989 mv prev-mpc stage2-mpc ; : ; \
41991 @endif mpc
41992 @if ppl
41993 @if test -d $(HOST_SUBDIR)/ppl ; then \
41994 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
41995 mv prev-ppl stage2-ppl ; : ; \
41997 @endif ppl
41998 @if cloog
41999 @if test -d $(HOST_SUBDIR)/cloog ; then \
42000 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
42001 mv prev-cloog stage2-cloog ; : ; \
42003 @endif cloog
42004 @if libelf
42005 @if test -d $(HOST_SUBDIR)/libelf ; then \
42006 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
42007 mv prev-libelf stage2-libelf ; : ; \
42009 @endif libelf
42010 @if gold
42011 @if test -d $(HOST_SUBDIR)/gold ; then \
42012 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
42013 mv prev-gold stage2-gold ; : ; \
42015 @endif gold
42016 @if intl
42017 @if test -d $(HOST_SUBDIR)/intl ; then \
42018 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42019 mv prev-intl stage2-intl ; : ; \
42021 @endif intl
42022 @if ld
42023 @if test -d $(HOST_SUBDIR)/ld ; then \
42024 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42025 mv prev-ld stage2-ld ; : ; \
42027 @endif ld
42028 @if libcpp
42029 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42030 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42031 mv prev-libcpp stage2-libcpp ; : ; \
42033 @endif libcpp
42034 @if libdecnumber
42035 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42036 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42037 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42039 @endif libdecnumber
42040 @if libiberty
42041 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42042 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42043 mv prev-libiberty stage2-libiberty ; : ; \
42045 @endif libiberty
42046 @if zlib
42047 @if test -d $(HOST_SUBDIR)/zlib ; then \
42048 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42049 mv prev-zlib stage2-zlib ; : ; \
42051 @endif zlib
42052 @if lto-plugin
42053 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42054 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
42055 mv prev-lto-plugin stage2-lto-plugin ; : ; \
42057 @endif lto-plugin
42058 @if test -d $(TARGET_SUBDIR) ; then \
42059 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42060 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42062 rm -f stage_current
42064 # Bubble a bug fix through all the stages up to stage 3. They are
42065 # remade, but not reconfigured. The next stage (if any) will not be
42066 # reconfigured either.
42067 .PHONY: stage3-bubble
42068 stage3-bubble:: stage2-bubble
42069 @r=`${PWD_COMMAND}`; export r; \
42070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42071 if test -f stage3-lean || test -f stage2-lean ; then \
42072 echo Skipping rebuild of stage3 ; \
42073 else \
42074 $(MAKE) stage3-start; \
42075 if $(LEAN); then \
42076 rm -rf stage1-* ; \
42077 $(STAMP) stage1-lean ; \
42078 fi; \
42079 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42081 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42083 .PHONY: all-stage3 clean-stage3
42084 do-clean: clean-stage3
42086 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42087 # only possibility, but now it conflicts with no-bootstrap rules
42088 @if gcc-bootstrap
42090 compare:
42091 @r=`${PWD_COMMAND}`; export r; \
42092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42093 if test -f stage2-lean; then \
42094 echo Cannot compare object files as stage 2 was deleted. ; \
42095 exit 0 ; \
42096 fi; \
42097 : $(MAKE); $(stage); \
42098 rm -f .bad_compare ; \
42099 echo Comparing stages 2 and 3 ; \
42100 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
42101 files=`find stage3-* -name "*$(objext)" -print | \
42102 sed -n s,^stage$$sed-,,p` ; \
42103 for file in $${files} ; do \
42104 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
42105 if test ! -f $$f1; then continue; fi; \
42106 $(do-compare) > /dev/null 2>&1; \
42107 if test $$? -eq 1; then \
42108 case $$file in \
42109 @compare_exclusions@) \
42110 echo warning: $$file differs ;; \
42111 *) \
42112 echo $$file differs >> .bad_compare ;; \
42113 esac ; \
42114 fi ; \
42115 done ; \
42116 if [ -f .bad_compare ]; then \
42117 echo "Bootstrap comparison failure!"; \
42118 cat .bad_compare; \
42119 exit 1; \
42120 else \
42121 echo Comparison successful.; \
42122 fi ; \
42123 $(STAMP) compare
42124 if $(LEAN); then \
42125 rm -rf stage2-*; \
42126 $(STAMP) stage2-lean; \
42131 .PHONY: bootstrap bootstrap-lean
42132 bootstrap:
42133 echo stage3 > stage_final
42134 @r=`${PWD_COMMAND}`; export r; \
42135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42136 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42137 @: $(MAKE); $(unstage)
42138 @r=`${PWD_COMMAND}`; export r; \
42139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42140 TFLAGS="$(STAGE3_TFLAGS)"; \
42141 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42143 bootstrap-lean:
42144 echo stage3 > stage_final
42145 @r=`${PWD_COMMAND}`; export r; \
42146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42147 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42148 @: $(MAKE); $(unstage)
42149 @r=`${PWD_COMMAND}`; export r; \
42150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42151 TFLAGS="$(STAGE3_TFLAGS)"; \
42152 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42155 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42156 distclean-stage2:: distclean-stage3
42157 .PHONY: distclean-stage3
42158 distclean-stage3::
42159 @: $(MAKE); $(stage)
42160 @test "`cat stage_last`" != stage3 || rm -f stage_last
42161 rm -rf stage3-* compare
42164 .PHONY: cleanstrap
42165 cleanstrap: do-distclean local-clean
42166 echo stage3 > stage_final
42167 @r=`${PWD_COMMAND}`; export r; \
42168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42169 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42170 @: $(MAKE); $(unstage)
42171 @r=`${PWD_COMMAND}`; export r; \
42172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42173 TFLAGS="$(STAGE3_TFLAGS)"; \
42174 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42176 @endif gcc-bootstrap
42179 .PHONY: stage4-start stage4-end
42181 stage4-start::
42182 @: $(MAKE); $(stage); \
42183 echo stage4 > stage_current ; \
42184 echo stage4 > stage_last; \
42185 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42186 @if bfd
42187 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42188 mkdir stage4-bfd; \
42189 mv stage4-bfd bfd ; \
42190 mv stage3-bfd prev-bfd || test -f stage3-lean
42191 @endif bfd
42192 @if opcodes
42193 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42194 mkdir stage4-opcodes; \
42195 mv stage4-opcodes opcodes ; \
42196 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42197 @endif opcodes
42198 @if binutils
42199 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42200 mkdir stage4-binutils; \
42201 mv stage4-binutils binutils ; \
42202 mv stage3-binutils prev-binutils || test -f stage3-lean
42203 @endif binutils
42204 @if gas
42205 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42206 mkdir stage4-gas; \
42207 mv stage4-gas gas ; \
42208 mv stage3-gas prev-gas || test -f stage3-lean
42209 @endif gas
42210 @if gcc
42211 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42212 mkdir stage4-gcc; \
42213 mv stage4-gcc gcc ; \
42214 mv stage3-gcc prev-gcc || test -f stage3-lean
42215 @endif gcc
42216 @if gmp
42217 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
42218 mkdir stage4-gmp; \
42219 mv stage4-gmp gmp ; \
42220 mv stage3-gmp prev-gmp || test -f stage3-lean
42221 @endif gmp
42222 @if mpfr
42223 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
42224 mkdir stage4-mpfr; \
42225 mv stage4-mpfr mpfr ; \
42226 mv stage3-mpfr prev-mpfr || test -f stage3-lean
42227 @endif mpfr
42228 @if mpc
42229 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
42230 mkdir stage4-mpc; \
42231 mv stage4-mpc mpc ; \
42232 mv stage3-mpc prev-mpc || test -f stage3-lean
42233 @endif mpc
42234 @if ppl
42235 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
42236 mkdir stage4-ppl; \
42237 mv stage4-ppl ppl ; \
42238 mv stage3-ppl prev-ppl || test -f stage3-lean
42239 @endif ppl
42240 @if cloog
42241 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
42242 mkdir stage4-cloog; \
42243 mv stage4-cloog cloog ; \
42244 mv stage3-cloog prev-cloog || test -f stage3-lean
42245 @endif cloog
42246 @if libelf
42247 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
42248 mkdir stage4-libelf; \
42249 mv stage4-libelf libelf ; \
42250 mv stage3-libelf prev-libelf || test -f stage3-lean
42251 @endif libelf
42252 @if gold
42253 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
42254 mkdir stage4-gold; \
42255 mv stage4-gold gold ; \
42256 mv stage3-gold prev-gold || test -f stage3-lean
42257 @endif gold
42258 @if intl
42259 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42260 mkdir stage4-intl; \
42261 mv stage4-intl intl ; \
42262 mv stage3-intl prev-intl || test -f stage3-lean
42263 @endif intl
42264 @if ld
42265 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42266 mkdir stage4-ld; \
42267 mv stage4-ld ld ; \
42268 mv stage3-ld prev-ld || test -f stage3-lean
42269 @endif ld
42270 @if libcpp
42271 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42272 mkdir stage4-libcpp; \
42273 mv stage4-libcpp libcpp ; \
42274 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42275 @endif libcpp
42276 @if libdecnumber
42277 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42278 mkdir stage4-libdecnumber; \
42279 mv stage4-libdecnumber libdecnumber ; \
42280 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42281 @endif libdecnumber
42282 @if libiberty
42283 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42284 mkdir stage4-libiberty; \
42285 mv stage4-libiberty libiberty ; \
42286 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42287 @endif libiberty
42288 @if zlib
42289 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42290 mkdir stage4-zlib; \
42291 mv stage4-zlib zlib ; \
42292 mv stage3-zlib prev-zlib || test -f stage3-lean
42293 @endif zlib
42294 @if lto-plugin
42295 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
42296 mkdir stage4-lto-plugin; \
42297 mv stage4-lto-plugin lto-plugin ; \
42298 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
42299 @endif lto-plugin
42300 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42301 mkdir stage4-$(TARGET_SUBDIR); \
42302 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42303 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42305 stage4-end::
42306 @if bfd
42307 @if test -d $(HOST_SUBDIR)/bfd ; then \
42308 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42309 mv prev-bfd stage3-bfd ; : ; \
42311 @endif bfd
42312 @if opcodes
42313 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42314 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42315 mv prev-opcodes stage3-opcodes ; : ; \
42317 @endif opcodes
42318 @if binutils
42319 @if test -d $(HOST_SUBDIR)/binutils ; then \
42320 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42321 mv prev-binutils stage3-binutils ; : ; \
42323 @endif binutils
42324 @if gas
42325 @if test -d $(HOST_SUBDIR)/gas ; then \
42326 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42327 mv prev-gas stage3-gas ; : ; \
42329 @endif gas
42330 @if gcc
42331 @if test -d $(HOST_SUBDIR)/gcc ; then \
42332 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42333 mv prev-gcc stage3-gcc ; : ; \
42335 @endif gcc
42336 @if gmp
42337 @if test -d $(HOST_SUBDIR)/gmp ; then \
42338 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
42339 mv prev-gmp stage3-gmp ; : ; \
42341 @endif gmp
42342 @if mpfr
42343 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42344 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
42345 mv prev-mpfr stage3-mpfr ; : ; \
42347 @endif mpfr
42348 @if mpc
42349 @if test -d $(HOST_SUBDIR)/mpc ; then \
42350 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
42351 mv prev-mpc stage3-mpc ; : ; \
42353 @endif mpc
42354 @if ppl
42355 @if test -d $(HOST_SUBDIR)/ppl ; then \
42356 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
42357 mv prev-ppl stage3-ppl ; : ; \
42359 @endif ppl
42360 @if cloog
42361 @if test -d $(HOST_SUBDIR)/cloog ; then \
42362 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
42363 mv prev-cloog stage3-cloog ; : ; \
42365 @endif cloog
42366 @if libelf
42367 @if test -d $(HOST_SUBDIR)/libelf ; then \
42368 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
42369 mv prev-libelf stage3-libelf ; : ; \
42371 @endif libelf
42372 @if gold
42373 @if test -d $(HOST_SUBDIR)/gold ; then \
42374 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
42375 mv prev-gold stage3-gold ; : ; \
42377 @endif gold
42378 @if intl
42379 @if test -d $(HOST_SUBDIR)/intl ; then \
42380 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42381 mv prev-intl stage3-intl ; : ; \
42383 @endif intl
42384 @if ld
42385 @if test -d $(HOST_SUBDIR)/ld ; then \
42386 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42387 mv prev-ld stage3-ld ; : ; \
42389 @endif ld
42390 @if libcpp
42391 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42392 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42393 mv prev-libcpp stage3-libcpp ; : ; \
42395 @endif libcpp
42396 @if libdecnumber
42397 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42398 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42399 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42401 @endif libdecnumber
42402 @if libiberty
42403 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42404 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42405 mv prev-libiberty stage3-libiberty ; : ; \
42407 @endif libiberty
42408 @if zlib
42409 @if test -d $(HOST_SUBDIR)/zlib ; then \
42410 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42411 mv prev-zlib stage3-zlib ; : ; \
42413 @endif zlib
42414 @if lto-plugin
42415 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42416 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
42417 mv prev-lto-plugin stage3-lto-plugin ; : ; \
42419 @endif lto-plugin
42420 @if test -d $(TARGET_SUBDIR) ; then \
42421 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42422 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42424 rm -f stage_current
42426 # Bubble a bug fix through all the stages up to stage 4. They are
42427 # remade, but not reconfigured. The next stage (if any) will not be
42428 # reconfigured either.
42429 .PHONY: stage4-bubble
42430 stage4-bubble:: stage3-bubble
42431 @r=`${PWD_COMMAND}`; export r; \
42432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42433 if test -f stage4-lean || test -f stage3-lean ; then \
42434 echo Skipping rebuild of stage4 ; \
42435 else \
42436 $(MAKE) stage4-start; \
42437 if $(LEAN); then \
42438 rm -rf stage2-* ; \
42439 $(STAMP) stage2-lean ; \
42440 fi; \
42441 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42443 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42445 .PHONY: all-stage4 clean-stage4
42446 do-clean: clean-stage4
42448 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42449 # only possibility, but now it conflicts with no-bootstrap rules
42450 @if gcc-bootstrap
42452 compare3:
42453 @r=`${PWD_COMMAND}`; export r; \
42454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42455 if test -f stage3-lean; then \
42456 echo Cannot compare object files as stage 3 was deleted. ; \
42457 exit 0 ; \
42458 fi; \
42459 : $(MAKE); $(stage); \
42460 rm -f .bad_compare ; \
42461 echo Comparing stages 3 and 4 ; \
42462 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
42463 files=`find stage4-* -name "*$(objext)" -print | \
42464 sed -n s,^stage$$sed-,,p` ; \
42465 for file in $${files} ; do \
42466 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
42467 if test ! -f $$f1; then continue; fi; \
42468 $(do-compare3) > /dev/null 2>&1; \
42469 if test $$? -eq 1; then \
42470 case $$file in \
42471 @compare_exclusions@) \
42472 echo warning: $$file differs ;; \
42473 *) \
42474 echo $$file differs >> .bad_compare ;; \
42475 esac ; \
42476 fi ; \
42477 done ; \
42478 if [ -f .bad_compare ]; then \
42479 echo "Bootstrap comparison failure!"; \
42480 cat .bad_compare; \
42481 exit 1; \
42482 else \
42483 echo Comparison successful.; \
42484 fi ; \
42485 $(STAMP) compare3
42486 if $(LEAN); then \
42487 rm -rf stage3-*; \
42488 $(STAMP) stage3-lean; \
42493 .PHONY: bootstrap4 bootstrap4-lean
42494 bootstrap4:
42495 echo stage4 > stage_final
42496 @r=`${PWD_COMMAND}`; export r; \
42497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42498 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42499 @: $(MAKE); $(unstage)
42500 @r=`${PWD_COMMAND}`; export r; \
42501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42502 TFLAGS="$(STAGE4_TFLAGS)"; \
42503 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42505 bootstrap4-lean:
42506 echo stage4 > stage_final
42507 @r=`${PWD_COMMAND}`; export r; \
42508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42509 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42510 @: $(MAKE); $(unstage)
42511 @r=`${PWD_COMMAND}`; export r; \
42512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42513 TFLAGS="$(STAGE4_TFLAGS)"; \
42514 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42517 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42518 distclean-stage3:: distclean-stage4
42519 .PHONY: distclean-stage4
42520 distclean-stage4::
42521 @: $(MAKE); $(stage)
42522 @test "`cat stage_last`" != stage4 || rm -f stage_last
42523 rm -rf stage4-* compare3
42526 @endif gcc-bootstrap
42529 .PHONY: stageprofile-start stageprofile-end
42531 stageprofile-start::
42532 @: $(MAKE); $(stage); \
42533 echo stageprofile > stage_current ; \
42534 echo stageprofile > stage_last; \
42535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42536 @if bfd
42537 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42538 mkdir stageprofile-bfd; \
42539 mv stageprofile-bfd bfd ; \
42540 mv stage1-bfd prev-bfd || test -f stage1-lean
42541 @endif bfd
42542 @if opcodes
42543 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42544 mkdir stageprofile-opcodes; \
42545 mv stageprofile-opcodes opcodes ; \
42546 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42547 @endif opcodes
42548 @if binutils
42549 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42550 mkdir stageprofile-binutils; \
42551 mv stageprofile-binutils binutils ; \
42552 mv stage1-binutils prev-binutils || test -f stage1-lean
42553 @endif binutils
42554 @if gas
42555 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42556 mkdir stageprofile-gas; \
42557 mv stageprofile-gas gas ; \
42558 mv stage1-gas prev-gas || test -f stage1-lean
42559 @endif gas
42560 @if gcc
42561 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42562 mkdir stageprofile-gcc; \
42563 mv stageprofile-gcc gcc ; \
42564 mv stage1-gcc prev-gcc || test -f stage1-lean
42565 @endif gcc
42566 @if gmp
42567 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
42568 mkdir stageprofile-gmp; \
42569 mv stageprofile-gmp gmp ; \
42570 mv stage1-gmp prev-gmp || test -f stage1-lean
42571 @endif gmp
42572 @if mpfr
42573 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
42574 mkdir stageprofile-mpfr; \
42575 mv stageprofile-mpfr mpfr ; \
42576 mv stage1-mpfr prev-mpfr || test -f stage1-lean
42577 @endif mpfr
42578 @if mpc
42579 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
42580 mkdir stageprofile-mpc; \
42581 mv stageprofile-mpc mpc ; \
42582 mv stage1-mpc prev-mpc || test -f stage1-lean
42583 @endif mpc
42584 @if ppl
42585 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
42586 mkdir stageprofile-ppl; \
42587 mv stageprofile-ppl ppl ; \
42588 mv stage1-ppl prev-ppl || test -f stage1-lean
42589 @endif ppl
42590 @if cloog
42591 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
42592 mkdir stageprofile-cloog; \
42593 mv stageprofile-cloog cloog ; \
42594 mv stage1-cloog prev-cloog || test -f stage1-lean
42595 @endif cloog
42596 @if libelf
42597 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
42598 mkdir stageprofile-libelf; \
42599 mv stageprofile-libelf libelf ; \
42600 mv stage1-libelf prev-libelf || test -f stage1-lean
42601 @endif libelf
42602 @if gold
42603 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
42604 mkdir stageprofile-gold; \
42605 mv stageprofile-gold gold ; \
42606 mv stage1-gold prev-gold || test -f stage1-lean
42607 @endif gold
42608 @if intl
42609 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42610 mkdir stageprofile-intl; \
42611 mv stageprofile-intl intl ; \
42612 mv stage1-intl prev-intl || test -f stage1-lean
42613 @endif intl
42614 @if ld
42615 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42616 mkdir stageprofile-ld; \
42617 mv stageprofile-ld ld ; \
42618 mv stage1-ld prev-ld || test -f stage1-lean
42619 @endif ld
42620 @if libcpp
42621 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42622 mkdir stageprofile-libcpp; \
42623 mv stageprofile-libcpp libcpp ; \
42624 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42625 @endif libcpp
42626 @if libdecnumber
42627 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42628 mkdir stageprofile-libdecnumber; \
42629 mv stageprofile-libdecnumber libdecnumber ; \
42630 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42631 @endif libdecnumber
42632 @if libiberty
42633 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42634 mkdir stageprofile-libiberty; \
42635 mv stageprofile-libiberty libiberty ; \
42636 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42637 @endif libiberty
42638 @if zlib
42639 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42640 mkdir stageprofile-zlib; \
42641 mv stageprofile-zlib zlib ; \
42642 mv stage1-zlib prev-zlib || test -f stage1-lean
42643 @endif zlib
42644 @if lto-plugin
42645 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
42646 mkdir stageprofile-lto-plugin; \
42647 mv stageprofile-lto-plugin lto-plugin ; \
42648 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
42649 @endif lto-plugin
42650 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42651 mkdir stageprofile-$(TARGET_SUBDIR); \
42652 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42653 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42655 stageprofile-end::
42656 @if bfd
42657 @if test -d $(HOST_SUBDIR)/bfd ; then \
42658 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42659 mv prev-bfd stage1-bfd ; : ; \
42661 @endif bfd
42662 @if opcodes
42663 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42664 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42665 mv prev-opcodes stage1-opcodes ; : ; \
42667 @endif opcodes
42668 @if binutils
42669 @if test -d $(HOST_SUBDIR)/binutils ; then \
42670 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42671 mv prev-binutils stage1-binutils ; : ; \
42673 @endif binutils
42674 @if gas
42675 @if test -d $(HOST_SUBDIR)/gas ; then \
42676 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42677 mv prev-gas stage1-gas ; : ; \
42679 @endif gas
42680 @if gcc
42681 @if test -d $(HOST_SUBDIR)/gcc ; then \
42682 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42683 mv prev-gcc stage1-gcc ; : ; \
42685 @endif gcc
42686 @if gmp
42687 @if test -d $(HOST_SUBDIR)/gmp ; then \
42688 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
42689 mv prev-gmp stage1-gmp ; : ; \
42691 @endif gmp
42692 @if mpfr
42693 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42694 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
42695 mv prev-mpfr stage1-mpfr ; : ; \
42697 @endif mpfr
42698 @if mpc
42699 @if test -d $(HOST_SUBDIR)/mpc ; then \
42700 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
42701 mv prev-mpc stage1-mpc ; : ; \
42703 @endif mpc
42704 @if ppl
42705 @if test -d $(HOST_SUBDIR)/ppl ; then \
42706 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
42707 mv prev-ppl stage1-ppl ; : ; \
42709 @endif ppl
42710 @if cloog
42711 @if test -d $(HOST_SUBDIR)/cloog ; then \
42712 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
42713 mv prev-cloog stage1-cloog ; : ; \
42715 @endif cloog
42716 @if libelf
42717 @if test -d $(HOST_SUBDIR)/libelf ; then \
42718 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
42719 mv prev-libelf stage1-libelf ; : ; \
42721 @endif libelf
42722 @if gold
42723 @if test -d $(HOST_SUBDIR)/gold ; then \
42724 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
42725 mv prev-gold stage1-gold ; : ; \
42727 @endif gold
42728 @if intl
42729 @if test -d $(HOST_SUBDIR)/intl ; then \
42730 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42731 mv prev-intl stage1-intl ; : ; \
42733 @endif intl
42734 @if ld
42735 @if test -d $(HOST_SUBDIR)/ld ; then \
42736 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42737 mv prev-ld stage1-ld ; : ; \
42739 @endif ld
42740 @if libcpp
42741 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42742 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42743 mv prev-libcpp stage1-libcpp ; : ; \
42745 @endif libcpp
42746 @if libdecnumber
42747 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42748 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42749 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42751 @endif libdecnumber
42752 @if libiberty
42753 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42754 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42755 mv prev-libiberty stage1-libiberty ; : ; \
42757 @endif libiberty
42758 @if zlib
42759 @if test -d $(HOST_SUBDIR)/zlib ; then \
42760 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42761 mv prev-zlib stage1-zlib ; : ; \
42763 @endif zlib
42764 @if lto-plugin
42765 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42766 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
42767 mv prev-lto-plugin stage1-lto-plugin ; : ; \
42769 @endif lto-plugin
42770 @if test -d $(TARGET_SUBDIR) ; then \
42771 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42772 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42774 rm -f stage_current
42776 # Bubble a bug fix through all the stages up to stage profile. They are
42777 # remade, but not reconfigured. The next stage (if any) will not be
42778 # reconfigured either.
42779 .PHONY: stageprofile-bubble
42780 stageprofile-bubble:: stage1-bubble
42781 @r=`${PWD_COMMAND}`; export r; \
42782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42783 if test -f stageprofile-lean || test -f stage1-lean ; then \
42784 echo Skipping rebuild of stageprofile ; \
42785 else \
42786 $(MAKE) stageprofile-start; \
42787 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42790 .PHONY: all-stageprofile clean-stageprofile
42791 do-clean: clean-stageprofile
42793 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42794 # only possibility, but now it conflicts with no-bootstrap rules
42795 @if gcc-bootstrap
42800 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42801 distclean-stage1:: distclean-stageprofile
42802 .PHONY: distclean-stageprofile
42803 distclean-stageprofile::
42804 @: $(MAKE); $(stage)
42805 @test "`cat stage_last`" != stageprofile || rm -f stage_last
42806 rm -rf stageprofile-*
42809 @endif gcc-bootstrap
42812 .PHONY: stagefeedback-start stagefeedback-end
42814 stagefeedback-start::
42815 @: $(MAKE); $(stage); \
42816 echo stagefeedback > stage_current ; \
42817 echo stagefeedback > stage_last; \
42818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42819 @if bfd
42820 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42821 mkdir stagefeedback-bfd; \
42822 mv stagefeedback-bfd bfd ; \
42823 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42824 @endif bfd
42825 @if opcodes
42826 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42827 mkdir stagefeedback-opcodes; \
42828 mv stagefeedback-opcodes opcodes ; \
42829 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42830 @endif opcodes
42831 @if binutils
42832 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42833 mkdir stagefeedback-binutils; \
42834 mv stagefeedback-binutils binutils ; \
42835 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42836 @endif binutils
42837 @if gas
42838 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42839 mkdir stagefeedback-gas; \
42840 mv stagefeedback-gas gas ; \
42841 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42842 @endif gas
42843 @if gcc
42844 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42845 mkdir stagefeedback-gcc; \
42846 mv stagefeedback-gcc gcc ; \
42847 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42848 @endif gcc
42849 @if gmp
42850 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
42851 mkdir stagefeedback-gmp; \
42852 mv stagefeedback-gmp gmp ; \
42853 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
42854 @endif gmp
42855 @if mpfr
42856 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
42857 mkdir stagefeedback-mpfr; \
42858 mv stagefeedback-mpfr mpfr ; \
42859 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
42860 @endif mpfr
42861 @if mpc
42862 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
42863 mkdir stagefeedback-mpc; \
42864 mv stagefeedback-mpc mpc ; \
42865 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
42866 @endif mpc
42867 @if ppl
42868 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
42869 mkdir stagefeedback-ppl; \
42870 mv stagefeedback-ppl ppl ; \
42871 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
42872 @endif ppl
42873 @if cloog
42874 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
42875 mkdir stagefeedback-cloog; \
42876 mv stagefeedback-cloog cloog ; \
42877 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
42878 @endif cloog
42879 @if libelf
42880 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
42881 mkdir stagefeedback-libelf; \
42882 mv stagefeedback-libelf libelf ; \
42883 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
42884 @endif libelf
42885 @if gold
42886 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
42887 mkdir stagefeedback-gold; \
42888 mv stagefeedback-gold gold ; \
42889 mv stageprofile-gold prev-gold || test -f stageprofile-lean
42890 @endif gold
42891 @if intl
42892 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42893 mkdir stagefeedback-intl; \
42894 mv stagefeedback-intl intl ; \
42895 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42896 @endif intl
42897 @if ld
42898 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42899 mkdir stagefeedback-ld; \
42900 mv stagefeedback-ld ld ; \
42901 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42902 @endif ld
42903 @if libcpp
42904 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42905 mkdir stagefeedback-libcpp; \
42906 mv stagefeedback-libcpp libcpp ; \
42907 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42908 @endif libcpp
42909 @if libdecnumber
42910 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42911 mkdir stagefeedback-libdecnumber; \
42912 mv stagefeedback-libdecnumber libdecnumber ; \
42913 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42914 @endif libdecnumber
42915 @if libiberty
42916 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42917 mkdir stagefeedback-libiberty; \
42918 mv stagefeedback-libiberty libiberty ; \
42919 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42920 @endif libiberty
42921 @if zlib
42922 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42923 mkdir stagefeedback-zlib; \
42924 mv stagefeedback-zlib zlib ; \
42925 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42926 @endif zlib
42927 @if lto-plugin
42928 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
42929 mkdir stagefeedback-lto-plugin; \
42930 mv stagefeedback-lto-plugin lto-plugin ; \
42931 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
42932 @endif lto-plugin
42933 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
42934 mkdir stagefeedback-$(TARGET_SUBDIR); \
42935 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42936 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
42938 stagefeedback-end::
42939 @if bfd
42940 @if test -d $(HOST_SUBDIR)/bfd ; then \
42941 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
42942 mv prev-bfd stageprofile-bfd ; : ; \
42944 @endif bfd
42945 @if opcodes
42946 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42947 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
42948 mv prev-opcodes stageprofile-opcodes ; : ; \
42950 @endif opcodes
42951 @if binutils
42952 @if test -d $(HOST_SUBDIR)/binutils ; then \
42953 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
42954 mv prev-binutils stageprofile-binutils ; : ; \
42956 @endif binutils
42957 @if gas
42958 @if test -d $(HOST_SUBDIR)/gas ; then \
42959 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42960 mv prev-gas stageprofile-gas ; : ; \
42962 @endif gas
42963 @if gcc
42964 @if test -d $(HOST_SUBDIR)/gcc ; then \
42965 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42966 mv prev-gcc stageprofile-gcc ; : ; \
42968 @endif gcc
42969 @if gmp
42970 @if test -d $(HOST_SUBDIR)/gmp ; then \
42971 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
42972 mv prev-gmp stageprofile-gmp ; : ; \
42974 @endif gmp
42975 @if mpfr
42976 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42977 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
42978 mv prev-mpfr stageprofile-mpfr ; : ; \
42980 @endif mpfr
42981 @if mpc
42982 @if test -d $(HOST_SUBDIR)/mpc ; then \
42983 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
42984 mv prev-mpc stageprofile-mpc ; : ; \
42986 @endif mpc
42987 @if ppl
42988 @if test -d $(HOST_SUBDIR)/ppl ; then \
42989 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
42990 mv prev-ppl stageprofile-ppl ; : ; \
42992 @endif ppl
42993 @if cloog
42994 @if test -d $(HOST_SUBDIR)/cloog ; then \
42995 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
42996 mv prev-cloog stageprofile-cloog ; : ; \
42998 @endif cloog
42999 @if libelf
43000 @if test -d $(HOST_SUBDIR)/libelf ; then \
43001 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
43002 mv prev-libelf stageprofile-libelf ; : ; \
43004 @endif libelf
43005 @if gold
43006 @if test -d $(HOST_SUBDIR)/gold ; then \
43007 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
43008 mv prev-gold stageprofile-gold ; : ; \
43010 @endif gold
43011 @if intl
43012 @if test -d $(HOST_SUBDIR)/intl ; then \
43013 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
43014 mv prev-intl stageprofile-intl ; : ; \
43016 @endif intl
43017 @if ld
43018 @if test -d $(HOST_SUBDIR)/ld ; then \
43019 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43020 mv prev-ld stageprofile-ld ; : ; \
43022 @endif ld
43023 @if libcpp
43024 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43025 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43026 mv prev-libcpp stageprofile-libcpp ; : ; \
43028 @endif libcpp
43029 @if libdecnumber
43030 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43031 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43032 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43034 @endif libdecnumber
43035 @if libiberty
43036 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43037 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43038 mv prev-libiberty stageprofile-libiberty ; : ; \
43040 @endif libiberty
43041 @if zlib
43042 @if test -d $(HOST_SUBDIR)/zlib ; then \
43043 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43044 mv prev-zlib stageprofile-zlib ; : ; \
43046 @endif zlib
43047 @if lto-plugin
43048 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43049 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
43050 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
43052 @endif lto-plugin
43053 @if test -d $(TARGET_SUBDIR) ; then \
43054 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43055 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43057 rm -f stage_current
43059 # Bubble a bug fix through all the stages up to stage feedback. They are
43060 # remade, but not reconfigured. The next stage (if any) will not be
43061 # reconfigured either.
43062 .PHONY: stagefeedback-bubble
43063 stagefeedback-bubble:: stageprofile-bubble
43064 @r=`${PWD_COMMAND}`; export r; \
43065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43066 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43067 echo Skipping rebuild of stagefeedback ; \
43068 else \
43069 $(MAKE) stagefeedback-start; \
43070 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43073 .PHONY: all-stagefeedback clean-stagefeedback
43074 do-clean: clean-stagefeedback
43076 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43077 # only possibility, but now it conflicts with no-bootstrap rules
43078 @if gcc-bootstrap
43082 .PHONY: profiledbootstrap profiledbootstrap-lean
43083 profiledbootstrap:
43084 echo stagefeedback > stage_final
43085 @r=`${PWD_COMMAND}`; export r; \
43086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43087 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43088 @: $(MAKE); $(unstage)
43089 @r=`${PWD_COMMAND}`; export r; \
43090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43091 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43092 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43094 profiledbootstrap-lean:
43095 echo stagefeedback > stage_final
43096 @r=`${PWD_COMMAND}`; export r; \
43097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43098 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43099 @: $(MAKE); $(unstage)
43100 @r=`${PWD_COMMAND}`; export r; \
43101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43102 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43103 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43106 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43107 distclean-stageprofile:: distclean-stagefeedback
43108 .PHONY: distclean-stagefeedback
43109 distclean-stagefeedback::
43110 @: $(MAKE); $(stage)
43111 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
43112 rm -rf stagefeedback-*
43115 @endif gcc-bootstrap
43119 stageprofile-end::
43120 $(MAKE) distclean-stagefeedback
43122 stagefeedback-start::
43123 @r=`${PWD_COMMAND}`; export r; \
43124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43125 for i in prev-*; do \
43126 j=`echo $$i | sed s/^prev-//` ; \
43127 cd $$r/$$i && \
43128 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43129 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43130 done
43132 @if gcc-bootstrap
43133 do-distclean: distclean-stage1
43135 # Provide a GCC build when we're building target libraries. This does
43136 # not work as a dependency, just as the minimum necessary to avoid errors.
43137 stage_last:
43138 @r=`${PWD_COMMAND}`; export r; \
43139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43140 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43142 # Same as unstage, but not phony and defaulting to stage1-start. We place
43143 # it in the dependency so that for example `make -j3 all-gcc' works.
43144 stage_current:
43145 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43147 .PHONY: restrap
43148 restrap::
43149 @: $(MAKE); $(stage)
43150 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43151 restrap:: all
43152 @endif gcc-bootstrap
43154 # --------------------------------------
43155 # Dependencies between different modules
43156 # --------------------------------------
43158 # Generic dependencies for target modules on host stuff, especially gcc
43159 @if gcc-bootstrap
43160 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
43161 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
43162 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
43163 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
43164 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
43165 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
43166 configure-target-libmudflap: stage_last
43167 configure-target-libssp: stage_last
43168 configure-target-newlib: stage_last
43169 configure-stage1-target-libgcc: maybe-all-stage1-gcc
43170 configure-stage2-target-libgcc: maybe-all-stage2-gcc
43171 configure-stage3-target-libgcc: maybe-all-stage3-gcc
43172 configure-stage4-target-libgcc: maybe-all-stage4-gcc
43173 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
43174 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
43175 configure-target-libquadmath: stage_last
43176 configure-target-libgfortran: stage_last
43177 configure-target-libobjc: stage_last
43178 configure-target-libgo: stage_last
43179 configure-target-libtermcap: stage_last
43180 configure-target-winsup: stage_last
43181 configure-target-libgloss: stage_last
43182 configure-target-libffi: stage_last
43183 configure-target-libjava: stage_last
43184 configure-target-zlib: stage_last
43185 configure-target-boehm-gc: stage_last
43186 configure-target-rda: stage_last
43187 configure-target-libada: stage_last
43188 configure-stage1-target-libgomp: maybe-all-stage1-gcc
43189 configure-stage2-target-libgomp: maybe-all-stage2-gcc
43190 configure-stage3-target-libgomp: maybe-all-stage3-gcc
43191 configure-stage4-target-libgomp: maybe-all-stage4-gcc
43192 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
43193 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
43194 configure-target-libitm: stage_last
43195 configure-target-libatomic: stage_last
43196 @endif gcc-bootstrap
43198 @if gcc-no-bootstrap
43199 configure-target-libstdc++-v3: maybe-all-gcc
43200 configure-target-libmudflap: maybe-all-gcc
43201 configure-target-libssp: maybe-all-gcc
43202 configure-target-newlib: maybe-all-gcc
43203 configure-target-libgcc: maybe-all-gcc
43204 configure-target-libquadmath: maybe-all-gcc
43205 configure-target-libgfortran: maybe-all-gcc
43206 configure-target-libobjc: maybe-all-gcc
43207 configure-target-libgo: maybe-all-gcc
43208 configure-target-libtermcap: maybe-all-gcc
43209 configure-target-winsup: maybe-all-gcc
43210 configure-target-libgloss: maybe-all-gcc
43211 configure-target-libffi: maybe-all-gcc
43212 configure-target-libjava: maybe-all-gcc
43213 configure-target-zlib: maybe-all-gcc
43214 configure-target-boehm-gc: maybe-all-gcc
43215 configure-target-rda: maybe-all-gcc
43216 configure-target-libada: maybe-all-gcc
43217 configure-target-libgomp: maybe-all-gcc
43218 configure-target-libitm: maybe-all-gcc
43219 configure-target-libatomic: maybe-all-gcc
43220 @endif gcc-no-bootstrap
43223 # There are two types of dependencies here: 'hard' dependencies, where one
43224 # module simply won't build without the other; and 'soft' dependencies, where
43225 # if the depended-on module is missing, the depending module will do without
43226 # or find a substitute somewhere (perhaps installed). Soft dependencies
43227 # are made here to depend on a 'maybe-' target. If you're not sure,
43228 # it's safer to use a soft dependency.
43235 # With all the machinery above in place, it is pretty easy to generate
43236 # dependencies. Host dependencies are a bit more complex because we have
43237 # to check for bootstrap/prebootstrap dependencies. To resolve
43238 # prebootstrap dependencies, prebootstrap modules are gathered in
43239 # a hash table.
43240 all-build-bison: maybe-all-build-texinfo
43241 all-build-flex: maybe-all-build-texinfo
43242 all-build-flex: maybe-all-build-bison
43243 all-build-flex: maybe-all-build-m4
43244 all-build-libiberty: maybe-all-build-texinfo
43245 all-build-m4: maybe-all-build-texinfo
43246 all-build-fixincludes: maybe-all-build-libiberty
43247 configure-gcc: maybe-configure-intl
43249 configure-stage1-gcc: maybe-configure-stage1-intl
43250 configure-stage2-gcc: maybe-configure-stage2-intl
43251 configure-stage3-gcc: maybe-configure-stage3-intl
43252 configure-stage4-gcc: maybe-configure-stage4-intl
43253 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43254 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43255 configure-gcc: maybe-all-lto-plugin
43257 configure-stage1-gcc: maybe-all-stage1-lto-plugin
43258 configure-stage2-gcc: maybe-all-stage2-lto-plugin
43259 configure-stage3-gcc: maybe-all-stage3-lto-plugin
43260 configure-stage4-gcc: maybe-all-stage4-lto-plugin
43261 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43262 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43263 configure-gcc: maybe-all-binutils
43265 configure-stage1-gcc: maybe-all-stage1-binutils
43266 configure-stage2-gcc: maybe-all-stage2-binutils
43267 configure-stage3-gcc: maybe-all-stage3-binutils
43268 configure-stage4-gcc: maybe-all-stage4-binutils
43269 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43270 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43271 configure-gcc: maybe-all-gas
43273 configure-stage1-gcc: maybe-all-stage1-gas
43274 configure-stage2-gcc: maybe-all-stage2-gas
43275 configure-stage3-gcc: maybe-all-stage3-gas
43276 configure-stage4-gcc: maybe-all-stage4-gas
43277 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43278 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43279 configure-gcc: maybe-all-ld
43281 configure-stage1-gcc: maybe-all-stage1-ld
43282 configure-stage2-gcc: maybe-all-stage2-ld
43283 configure-stage3-gcc: maybe-all-stage3-ld
43284 configure-stage4-gcc: maybe-all-stage4-ld
43285 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43286 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43287 configure-gcc: maybe-all-gold
43289 configure-stage1-gcc: maybe-all-stage1-gold
43290 configure-stage2-gcc: maybe-all-stage2-gold
43291 configure-stage3-gcc: maybe-all-stage3-gold
43292 configure-stage4-gcc: maybe-all-stage4-gold
43293 configure-stageprofile-gcc: maybe-all-stageprofile-gold
43294 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
43295 configure-gcc: maybe-all-libelf
43297 configure-stage1-gcc: maybe-all-stage1-libelf
43298 configure-stage2-gcc: maybe-all-stage2-libelf
43299 configure-stage3-gcc: maybe-all-stage3-libelf
43300 configure-stage4-gcc: maybe-all-stage4-libelf
43301 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
43302 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
43303 all-gcc: all-libiberty
43305 all-stage1-gcc: all-stage1-libiberty
43306 all-stage2-gcc: all-stage2-libiberty
43307 all-stage3-gcc: all-stage3-libiberty
43308 all-stage4-gcc: all-stage4-libiberty
43309 all-stageprofile-gcc: all-stageprofile-libiberty
43310 all-stagefeedback-gcc: all-stagefeedback-libiberty
43311 all-gcc: maybe-all-gmp
43313 all-stage1-gcc: maybe-all-stage1-gmp
43314 all-stage2-gcc: maybe-all-stage2-gmp
43315 all-stage3-gcc: maybe-all-stage3-gmp
43316 all-stage4-gcc: maybe-all-stage4-gmp
43317 all-stageprofile-gcc: maybe-all-stageprofile-gmp
43318 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
43319 all-gcc: maybe-all-intl
43321 all-stage1-gcc: maybe-all-stage1-intl
43322 all-stage2-gcc: maybe-all-stage2-intl
43323 all-stage3-gcc: maybe-all-stage3-intl
43324 all-stage4-gcc: maybe-all-stage4-intl
43325 all-stageprofile-gcc: maybe-all-stageprofile-intl
43326 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43327 all-gcc: maybe-all-mpfr
43329 all-stage1-gcc: maybe-all-stage1-mpfr
43330 all-stage2-gcc: maybe-all-stage2-mpfr
43331 all-stage3-gcc: maybe-all-stage3-mpfr
43332 all-stage4-gcc: maybe-all-stage4-mpfr
43333 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
43334 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
43335 all-gcc: maybe-all-mpc
43337 all-stage1-gcc: maybe-all-stage1-mpc
43338 all-stage2-gcc: maybe-all-stage2-mpc
43339 all-stage3-gcc: maybe-all-stage3-mpc
43340 all-stage4-gcc: maybe-all-stage4-mpc
43341 all-stageprofile-gcc: maybe-all-stageprofile-mpc
43342 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
43343 all-gcc: maybe-all-ppl
43345 all-stage1-gcc: maybe-all-stage1-ppl
43346 all-stage2-gcc: maybe-all-stage2-ppl
43347 all-stage3-gcc: maybe-all-stage3-ppl
43348 all-stage4-gcc: maybe-all-stage4-ppl
43349 all-stageprofile-gcc: maybe-all-stageprofile-ppl
43350 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
43351 all-gcc: maybe-all-cloog
43353 all-stage1-gcc: maybe-all-stage1-cloog
43354 all-stage2-gcc: maybe-all-stage2-cloog
43355 all-stage3-gcc: maybe-all-stage3-cloog
43356 all-stage4-gcc: maybe-all-stage4-cloog
43357 all-stageprofile-gcc: maybe-all-stageprofile-cloog
43358 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
43359 all-gcc: maybe-all-build-texinfo
43361 all-stage1-gcc: maybe-all-build-texinfo
43362 all-stage2-gcc: maybe-all-build-texinfo
43363 all-stage3-gcc: maybe-all-build-texinfo
43364 all-stage4-gcc: maybe-all-build-texinfo
43365 all-stageprofile-gcc: maybe-all-build-texinfo
43366 all-stagefeedback-gcc: maybe-all-build-texinfo
43367 all-gcc: maybe-all-build-bison
43369 all-stage1-gcc: maybe-all-build-bison
43370 all-stage2-gcc: maybe-all-build-bison
43371 all-stage3-gcc: maybe-all-build-bison
43372 all-stage4-gcc: maybe-all-build-bison
43373 all-stageprofile-gcc: maybe-all-build-bison
43374 all-stagefeedback-gcc: maybe-all-build-bison
43375 all-gcc: maybe-all-build-flex
43377 all-stage1-gcc: maybe-all-build-flex
43378 all-stage2-gcc: maybe-all-build-flex
43379 all-stage3-gcc: maybe-all-build-flex
43380 all-stage4-gcc: maybe-all-build-flex
43381 all-stageprofile-gcc: maybe-all-build-flex
43382 all-stagefeedback-gcc: maybe-all-build-flex
43383 all-gcc: maybe-all-build-libiberty
43385 all-stage1-gcc: maybe-all-build-libiberty
43386 all-stage2-gcc: maybe-all-build-libiberty
43387 all-stage3-gcc: maybe-all-build-libiberty
43388 all-stage4-gcc: maybe-all-build-libiberty
43389 all-stageprofile-gcc: maybe-all-build-libiberty
43390 all-stagefeedback-gcc: maybe-all-build-libiberty
43391 all-gcc: maybe-all-build-fixincludes
43393 all-stage1-gcc: maybe-all-build-fixincludes
43394 all-stage2-gcc: maybe-all-build-fixincludes
43395 all-stage3-gcc: maybe-all-build-fixincludes
43396 all-stage4-gcc: maybe-all-build-fixincludes
43397 all-stageprofile-gcc: maybe-all-build-fixincludes
43398 all-stagefeedback-gcc: maybe-all-build-fixincludes
43399 all-gcc: maybe-all-zlib
43401 all-stage1-gcc: maybe-all-stage1-zlib
43402 all-stage2-gcc: maybe-all-stage2-zlib
43403 all-stage3-gcc: maybe-all-stage3-zlib
43404 all-stage4-gcc: maybe-all-stage4-zlib
43405 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43406 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43407 all-gcc: all-libcpp
43409 all-stage1-gcc: all-stage1-libcpp
43410 all-stage2-gcc: all-stage2-libcpp
43411 all-stage3-gcc: all-stage3-libcpp
43412 all-stage4-gcc: all-stage4-libcpp
43413 all-stageprofile-gcc: all-stageprofile-libcpp
43414 all-stagefeedback-gcc: all-stagefeedback-libcpp
43415 all-gcc: all-libdecnumber
43417 all-stage1-gcc: all-stage1-libdecnumber
43418 all-stage2-gcc: all-stage2-libdecnumber
43419 all-stage3-gcc: all-stage3-libdecnumber
43420 all-stage4-gcc: all-stage4-libdecnumber
43421 all-stageprofile-gcc: all-stageprofile-libdecnumber
43422 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43423 all-gcc: maybe-all-libiberty
43425 all-stage1-gcc: maybe-all-stage1-libiberty
43426 all-stage2-gcc: maybe-all-stage2-libiberty
43427 all-stage3-gcc: maybe-all-stage3-libiberty
43428 all-stage4-gcc: maybe-all-stage4-libiberty
43429 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43430 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43431 all-gcc: maybe-all-fixincludes
43432 all-gcc: maybe-all-lto-plugin
43434 all-stage1-gcc: maybe-all-stage1-lto-plugin
43435 all-stage2-gcc: maybe-all-stage2-lto-plugin
43436 all-stage3-gcc: maybe-all-stage3-lto-plugin
43437 all-stage4-gcc: maybe-all-stage4-lto-plugin
43438 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43439 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43440 info-gcc: maybe-all-build-libiberty
43442 info-stage1-gcc: maybe-all-build-libiberty
43443 info-stage2-gcc: maybe-all-build-libiberty
43444 info-stage3-gcc: maybe-all-build-libiberty
43445 info-stage4-gcc: maybe-all-build-libiberty
43446 info-stageprofile-gcc: maybe-all-build-libiberty
43447 info-stagefeedback-gcc: maybe-all-build-libiberty
43448 dvi-gcc: maybe-all-build-libiberty
43450 dvi-stage1-gcc: maybe-all-build-libiberty
43451 dvi-stage2-gcc: maybe-all-build-libiberty
43452 dvi-stage3-gcc: maybe-all-build-libiberty
43453 dvi-stage4-gcc: maybe-all-build-libiberty
43454 dvi-stageprofile-gcc: maybe-all-build-libiberty
43455 dvi-stagefeedback-gcc: maybe-all-build-libiberty
43456 pdf-gcc: maybe-all-build-libiberty
43458 pdf-stage1-gcc: maybe-all-build-libiberty
43459 pdf-stage2-gcc: maybe-all-build-libiberty
43460 pdf-stage3-gcc: maybe-all-build-libiberty
43461 pdf-stage4-gcc: maybe-all-build-libiberty
43462 pdf-stageprofile-gcc: maybe-all-build-libiberty
43463 pdf-stagefeedback-gcc: maybe-all-build-libiberty
43464 html-gcc: maybe-all-build-libiberty
43466 html-stage1-gcc: maybe-all-build-libiberty
43467 html-stage2-gcc: maybe-all-build-libiberty
43468 html-stage3-gcc: maybe-all-build-libiberty
43469 html-stage4-gcc: maybe-all-build-libiberty
43470 html-stageprofile-gcc: maybe-all-build-libiberty
43471 html-stagefeedback-gcc: maybe-all-build-libiberty
43472 install-gcc: maybe-install-fixincludes
43473 install-gcc: maybe-install-lto-plugin
43474 install-strip-gcc: maybe-install-strip-fixincludes
43475 install-strip-gcc: maybe-install-strip-lto-plugin
43476 configure-libcpp: configure-libiberty
43478 configure-stage1-libcpp: configure-stage1-libiberty
43479 configure-stage2-libcpp: configure-stage2-libiberty
43480 configure-stage3-libcpp: configure-stage3-libiberty
43481 configure-stage4-libcpp: configure-stage4-libiberty
43482 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43483 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43484 configure-libcpp: maybe-configure-intl
43486 configure-stage1-libcpp: maybe-configure-stage1-intl
43487 configure-stage2-libcpp: maybe-configure-stage2-intl
43488 configure-stage3-libcpp: maybe-configure-stage3-intl
43489 configure-stage4-libcpp: maybe-configure-stage4-intl
43490 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43491 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43492 all-libcpp: all-libiberty
43494 all-stage1-libcpp: all-stage1-libiberty
43495 all-stage2-libcpp: all-stage2-libiberty
43496 all-stage3-libcpp: all-stage3-libiberty
43497 all-stage4-libcpp: all-stage4-libiberty
43498 all-stageprofile-libcpp: all-stageprofile-libiberty
43499 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43500 all-libcpp: maybe-all-intl
43502 all-stage1-libcpp: maybe-all-stage1-intl
43503 all-stage2-libcpp: maybe-all-stage2-intl
43504 all-stage3-libcpp: maybe-all-stage3-intl
43505 all-stage4-libcpp: maybe-all-stage4-intl
43506 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43507 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43508 all-fixincludes: maybe-all-libiberty
43509 all-gnattools: maybe-all-target-libada
43510 all-lto-plugin: maybe-all-libiberty
43512 all-stage1-lto-plugin: maybe-all-stage1-libiberty
43513 all-stage2-lto-plugin: maybe-all-stage2-libiberty
43514 all-stage3-lto-plugin: maybe-all-stage3-libiberty
43515 all-stage4-lto-plugin: maybe-all-stage4-libiberty
43516 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
43517 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
43518 all-utils: maybe-all-libiberty
43519 configure-mpfr: maybe-all-gmp
43521 configure-stage1-mpfr: maybe-all-stage1-gmp
43522 configure-stage2-mpfr: maybe-all-stage2-gmp
43523 configure-stage3-mpfr: maybe-all-stage3-gmp
43524 configure-stage4-mpfr: maybe-all-stage4-gmp
43525 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
43526 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
43527 configure-mpc: maybe-all-mpfr
43529 configure-stage1-mpc: maybe-all-stage1-mpfr
43530 configure-stage2-mpc: maybe-all-stage2-mpfr
43531 configure-stage3-mpc: maybe-all-stage3-mpfr
43532 configure-stage4-mpc: maybe-all-stage4-mpfr
43533 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
43534 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
43535 configure-ppl: maybe-all-gmp
43537 configure-stage1-ppl: maybe-all-stage1-gmp
43538 configure-stage2-ppl: maybe-all-stage2-gmp
43539 configure-stage3-ppl: maybe-all-stage3-gmp
43540 configure-stage4-ppl: maybe-all-stage4-gmp
43541 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
43542 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
43543 configure-ppl: maybe-all-mpfr
43545 configure-stage1-ppl: maybe-all-stage1-mpfr
43546 configure-stage2-ppl: maybe-all-stage2-mpfr
43547 configure-stage3-ppl: maybe-all-stage3-mpfr
43548 configure-stage4-ppl: maybe-all-stage4-mpfr
43549 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
43550 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
43551 configure-cloog: maybe-all-ppl
43553 configure-stage1-cloog: maybe-all-stage1-ppl
43554 configure-stage2-cloog: maybe-all-stage2-ppl
43555 configure-stage3-cloog: maybe-all-stage3-ppl
43556 configure-stage4-cloog: maybe-all-stage4-ppl
43557 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
43558 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
43559 configure-gdb: maybe-all-intl
43560 configure-gdb: maybe-configure-sim
43561 configure-gdb: maybe-all-bfd
43562 configure-gdb: maybe-all-libiconv
43563 all-gdb: maybe-all-libiberty
43564 all-gdb: maybe-all-libiconv
43565 all-gdb: maybe-all-opcodes
43566 all-gdb: maybe-all-readline
43567 all-gdb: maybe-all-build-bison
43568 all-gdb: maybe-all-sim
43569 all-gdb: maybe-all-libdecnumber
43570 all-gdb: maybe-all-libtermcap
43571 configure-libgui: maybe-configure-tcl
43572 configure-libgui: maybe-configure-tk
43573 all-libgui: maybe-all-tcl
43574 all-libgui: maybe-all-tk
43575 all-libgui: maybe-all-itcl
43576 configure-bfd: configure-libiberty
43578 configure-stage1-bfd: configure-stage1-libiberty
43579 configure-stage2-bfd: configure-stage2-libiberty
43580 configure-stage3-bfd: configure-stage3-libiberty
43581 configure-stage4-bfd: configure-stage4-libiberty
43582 configure-stageprofile-bfd: configure-stageprofile-libiberty
43583 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43584 configure-bfd: maybe-configure-intl
43586 configure-stage1-bfd: maybe-configure-stage1-intl
43587 configure-stage2-bfd: maybe-configure-stage2-intl
43588 configure-stage3-bfd: maybe-configure-stage3-intl
43589 configure-stage4-bfd: maybe-configure-stage4-intl
43590 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43591 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43592 all-bfd: maybe-all-libiberty
43594 all-stage1-bfd: maybe-all-stage1-libiberty
43595 all-stage2-bfd: maybe-all-stage2-libiberty
43596 all-stage3-bfd: maybe-all-stage3-libiberty
43597 all-stage4-bfd: maybe-all-stage4-libiberty
43598 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43599 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43600 all-bfd: maybe-all-intl
43602 all-stage1-bfd: maybe-all-stage1-intl
43603 all-stage2-bfd: maybe-all-stage2-intl
43604 all-stage3-bfd: maybe-all-stage3-intl
43605 all-stage4-bfd: maybe-all-stage4-intl
43606 all-stageprofile-bfd: maybe-all-stageprofile-intl
43607 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43608 configure-opcodes: configure-libiberty
43610 configure-stage1-opcodes: configure-stage1-libiberty
43611 configure-stage2-opcodes: configure-stage2-libiberty
43612 configure-stage3-opcodes: configure-stage3-libiberty
43613 configure-stage4-opcodes: configure-stage4-libiberty
43614 configure-stageprofile-opcodes: configure-stageprofile-libiberty
43615 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
43616 all-opcodes: maybe-all-libiberty
43618 all-stage1-opcodes: maybe-all-stage1-libiberty
43619 all-stage2-opcodes: maybe-all-stage2-libiberty
43620 all-stage3-opcodes: maybe-all-stage3-libiberty
43621 all-stage4-opcodes: maybe-all-stage4-libiberty
43622 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43623 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43624 configure-binutils: maybe-configure-intl
43626 configure-stage1-binutils: maybe-configure-stage1-intl
43627 configure-stage2-binutils: maybe-configure-stage2-intl
43628 configure-stage3-binutils: maybe-configure-stage3-intl
43629 configure-stage4-binutils: maybe-configure-stage4-intl
43630 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43631 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43632 all-binutils: maybe-all-libiberty
43634 all-stage1-binutils: maybe-all-stage1-libiberty
43635 all-stage2-binutils: maybe-all-stage2-libiberty
43636 all-stage3-binutils: maybe-all-stage3-libiberty
43637 all-stage4-binutils: maybe-all-stage4-libiberty
43638 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43639 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43640 all-binutils: maybe-all-opcodes
43642 all-stage1-binutils: maybe-all-stage1-opcodes
43643 all-stage2-binutils: maybe-all-stage2-opcodes
43644 all-stage3-binutils: maybe-all-stage3-opcodes
43645 all-stage4-binutils: maybe-all-stage4-opcodes
43646 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43647 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43648 all-binutils: maybe-all-bfd
43650 all-stage1-binutils: maybe-all-stage1-bfd
43651 all-stage2-binutils: maybe-all-stage2-bfd
43652 all-stage3-binutils: maybe-all-stage3-bfd
43653 all-stage4-binutils: maybe-all-stage4-bfd
43654 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43655 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43656 all-binutils: maybe-all-build-flex
43658 all-stage1-binutils: maybe-all-build-flex
43659 all-stage2-binutils: maybe-all-build-flex
43660 all-stage3-binutils: maybe-all-build-flex
43661 all-stage4-binutils: maybe-all-build-flex
43662 all-stageprofile-binutils: maybe-all-build-flex
43663 all-stagefeedback-binutils: maybe-all-build-flex
43664 all-binutils: maybe-all-build-bison
43666 all-stage1-binutils: maybe-all-build-bison
43667 all-stage2-binutils: maybe-all-build-bison
43668 all-stage3-binutils: maybe-all-build-bison
43669 all-stage4-binutils: maybe-all-build-bison
43670 all-stageprofile-binutils: maybe-all-build-bison
43671 all-stagefeedback-binutils: maybe-all-build-bison
43672 all-binutils: maybe-all-intl
43674 all-stage1-binutils: maybe-all-stage1-intl
43675 all-stage2-binutils: maybe-all-stage2-intl
43676 all-stage3-binutils: maybe-all-stage3-intl
43677 all-stage4-binutils: maybe-all-stage4-intl
43678 all-stageprofile-binutils: maybe-all-stageprofile-intl
43679 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43680 install-binutils: maybe-install-opcodes
43681 install-strip-binutils: maybe-install-strip-opcodes
43682 install-opcodes: maybe-install-bfd
43683 install-strip-opcodes: maybe-install-strip-bfd
43684 configure-gas: maybe-configure-intl
43686 configure-stage1-gas: maybe-configure-stage1-intl
43687 configure-stage2-gas: maybe-configure-stage2-intl
43688 configure-stage3-gas: maybe-configure-stage3-intl
43689 configure-stage4-gas: maybe-configure-stage4-intl
43690 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43691 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43692 all-gas: maybe-all-libiberty
43694 all-stage1-gas: maybe-all-stage1-libiberty
43695 all-stage2-gas: maybe-all-stage2-libiberty
43696 all-stage3-gas: maybe-all-stage3-libiberty
43697 all-stage4-gas: maybe-all-stage4-libiberty
43698 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43699 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43700 all-gas: maybe-all-opcodes
43702 all-stage1-gas: maybe-all-stage1-opcodes
43703 all-stage2-gas: maybe-all-stage2-opcodes
43704 all-stage3-gas: maybe-all-stage3-opcodes
43705 all-stage4-gas: maybe-all-stage4-opcodes
43706 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43707 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43708 all-gas: maybe-all-bfd
43710 all-stage1-gas: maybe-all-stage1-bfd
43711 all-stage2-gas: maybe-all-stage2-bfd
43712 all-stage3-gas: maybe-all-stage3-bfd
43713 all-stage4-gas: maybe-all-stage4-bfd
43714 all-stageprofile-gas: maybe-all-stageprofile-bfd
43715 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43716 all-gas: maybe-all-intl
43718 all-stage1-gas: maybe-all-stage1-intl
43719 all-stage2-gas: maybe-all-stage2-intl
43720 all-stage3-gas: maybe-all-stage3-intl
43721 all-stage4-gas: maybe-all-stage4-intl
43722 all-stageprofile-gas: maybe-all-stageprofile-intl
43723 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43724 configure-gprof: maybe-configure-intl
43725 all-gprof: maybe-all-libiberty
43726 all-gprof: maybe-all-bfd
43727 all-gprof: maybe-all-opcodes
43728 all-gprof: maybe-all-intl
43729 configure-ld: maybe-configure-intl
43731 configure-stage1-ld: maybe-configure-stage1-intl
43732 configure-stage2-ld: maybe-configure-stage2-intl
43733 configure-stage3-ld: maybe-configure-stage3-intl
43734 configure-stage4-ld: maybe-configure-stage4-intl
43735 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43736 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43737 all-ld: maybe-all-libiberty
43739 all-stage1-ld: maybe-all-stage1-libiberty
43740 all-stage2-ld: maybe-all-stage2-libiberty
43741 all-stage3-ld: maybe-all-stage3-libiberty
43742 all-stage4-ld: maybe-all-stage4-libiberty
43743 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43744 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43745 all-ld: maybe-all-bfd
43747 all-stage1-ld: maybe-all-stage1-bfd
43748 all-stage2-ld: maybe-all-stage2-bfd
43749 all-stage3-ld: maybe-all-stage3-bfd
43750 all-stage4-ld: maybe-all-stage4-bfd
43751 all-stageprofile-ld: maybe-all-stageprofile-bfd
43752 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43753 all-ld: maybe-all-opcodes
43755 all-stage1-ld: maybe-all-stage1-opcodes
43756 all-stage2-ld: maybe-all-stage2-opcodes
43757 all-stage3-ld: maybe-all-stage3-opcodes
43758 all-stage4-ld: maybe-all-stage4-opcodes
43759 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43760 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43761 all-ld: maybe-all-build-bison
43763 all-stage1-ld: maybe-all-build-bison
43764 all-stage2-ld: maybe-all-build-bison
43765 all-stage3-ld: maybe-all-build-bison
43766 all-stage4-ld: maybe-all-build-bison
43767 all-stageprofile-ld: maybe-all-build-bison
43768 all-stagefeedback-ld: maybe-all-build-bison
43769 all-ld: maybe-all-build-flex
43771 all-stage1-ld: maybe-all-build-flex
43772 all-stage2-ld: maybe-all-build-flex
43773 all-stage3-ld: maybe-all-build-flex
43774 all-stage4-ld: maybe-all-build-flex
43775 all-stageprofile-ld: maybe-all-build-flex
43776 all-stagefeedback-ld: maybe-all-build-flex
43777 all-ld: maybe-all-intl
43779 all-stage1-ld: maybe-all-stage1-intl
43780 all-stage2-ld: maybe-all-stage2-intl
43781 all-stage3-ld: maybe-all-stage3-intl
43782 all-stage4-ld: maybe-all-stage4-intl
43783 all-stageprofile-ld: maybe-all-stageprofile-intl
43784 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43785 install-ld: maybe-install-gold
43786 install-strip-ld: maybe-install-strip-gold
43787 configure-gold: maybe-configure-intl
43789 configure-stage1-gold: maybe-configure-stage1-intl
43790 configure-stage2-gold: maybe-configure-stage2-intl
43791 configure-stage3-gold: maybe-configure-stage3-intl
43792 configure-stage4-gold: maybe-configure-stage4-intl
43793 configure-stageprofile-gold: maybe-configure-stageprofile-intl
43794 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
43795 all-gold: maybe-all-libiberty
43797 all-stage1-gold: maybe-all-stage1-libiberty
43798 all-stage2-gold: maybe-all-stage2-libiberty
43799 all-stage3-gold: maybe-all-stage3-libiberty
43800 all-stage4-gold: maybe-all-stage4-libiberty
43801 all-stageprofile-gold: maybe-all-stageprofile-libiberty
43802 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
43803 all-gold: maybe-all-intl
43805 all-stage1-gold: maybe-all-stage1-intl
43806 all-stage2-gold: maybe-all-stage2-intl
43807 all-stage3-gold: maybe-all-stage3-intl
43808 all-stage4-gold: maybe-all-stage4-intl
43809 all-stageprofile-gold: maybe-all-stageprofile-intl
43810 all-stagefeedback-gold: maybe-all-stagefeedback-intl
43811 all-gold: maybe-all-bfd
43813 all-stage1-gold: maybe-all-stage1-bfd
43814 all-stage2-gold: maybe-all-stage2-bfd
43815 all-stage3-gold: maybe-all-stage3-bfd
43816 all-stage4-gold: maybe-all-stage4-bfd
43817 all-stageprofile-gold: maybe-all-stageprofile-bfd
43818 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
43819 all-gold: maybe-all-build-bison
43821 all-stage1-gold: maybe-all-build-bison
43822 all-stage2-gold: maybe-all-build-bison
43823 all-stage3-gold: maybe-all-build-bison
43824 all-stage4-gold: maybe-all-build-bison
43825 all-stageprofile-gold: maybe-all-build-bison
43826 all-stagefeedback-gold: maybe-all-build-bison
43827 check-gold: maybe-all-binutils
43829 check-stage1-gold: maybe-all-stage1-binutils
43830 check-stage2-gold: maybe-all-stage2-binutils
43831 check-stage3-gold: maybe-all-stage3-binutils
43832 check-stage4-gold: maybe-all-stage4-binutils
43833 check-stageprofile-gold: maybe-all-stageprofile-binutils
43834 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
43835 check-gold: maybe-all-gas
43837 check-stage1-gold: maybe-all-stage1-gas
43838 check-stage2-gold: maybe-all-stage2-gas
43839 check-stage3-gold: maybe-all-stage3-gas
43840 check-stage4-gold: maybe-all-stage4-gas
43841 check-stageprofile-gold: maybe-all-stageprofile-gas
43842 check-stagefeedback-gold: maybe-all-stagefeedback-gas
43843 configure-opcodes: maybe-configure-intl
43845 configure-stage1-opcodes: maybe-configure-stage1-intl
43846 configure-stage2-opcodes: maybe-configure-stage2-intl
43847 configure-stage3-opcodes: maybe-configure-stage3-intl
43848 configure-stage4-opcodes: maybe-configure-stage4-intl
43849 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43850 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43851 all-opcodes: maybe-all-bfd
43853 all-stage1-opcodes: maybe-all-stage1-bfd
43854 all-stage2-opcodes: maybe-all-stage2-bfd
43855 all-stage3-opcodes: maybe-all-stage3-bfd
43856 all-stage4-opcodes: maybe-all-stage4-bfd
43857 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43858 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43859 all-opcodes: maybe-all-libiberty
43861 all-stage1-opcodes: maybe-all-stage1-libiberty
43862 all-stage2-opcodes: maybe-all-stage2-libiberty
43863 all-stage3-opcodes: maybe-all-stage3-libiberty
43864 all-stage4-opcodes: maybe-all-stage4-libiberty
43865 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43866 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43867 all-opcodes: maybe-all-intl
43869 all-stage1-opcodes: maybe-all-stage1-intl
43870 all-stage2-opcodes: maybe-all-stage2-intl
43871 all-stage3-opcodes: maybe-all-stage3-intl
43872 all-stage4-opcodes: maybe-all-stage4-intl
43873 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43874 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43875 all-dejagnu: maybe-all-tcl
43876 all-dejagnu: maybe-all-expect
43877 all-dejagnu: maybe-all-tk
43878 configure-expect: maybe-configure-tcl
43879 configure-expect: maybe-configure-tk
43880 all-expect: maybe-all-tcl
43881 all-expect: maybe-all-tk
43882 configure-itcl: maybe-configure-tcl
43883 configure-itcl: maybe-configure-tk
43884 all-itcl: maybe-all-tcl
43885 all-itcl: maybe-all-tk
43886 install-itcl: maybe-install-tcl
43887 install-strip-itcl: maybe-install-strip-tcl
43888 configure-tk: maybe-configure-tcl
43889 all-tk: maybe-all-tcl
43890 all-sid: maybe-all-libiberty
43891 all-sid: maybe-all-bfd
43892 all-sid: maybe-all-opcodes
43893 all-sid: maybe-all-tcl
43894 all-sid: maybe-all-tk
43895 install-sid: maybe-install-tcl
43896 install-strip-sid: maybe-install-strip-tcl
43897 install-sid: maybe-install-tk
43898 install-strip-sid: maybe-install-strip-tk
43899 configure-sim: maybe-configure-intl
43900 all-sim: maybe-all-intl
43901 all-sim: maybe-all-libiberty
43902 all-sim: maybe-all-bfd
43903 all-sim: maybe-all-opcodes
43904 all-sim: maybe-all-readline
43905 all-sim: maybe-configure-gdb
43906 all-fastjar: maybe-all-zlib
43907 all-fastjar: maybe-all-build-texinfo
43908 all-fastjar: maybe-all-libiberty
43909 all-bison: maybe-all-intl
43910 all-bison: maybe-all-build-texinfo
43911 all-flex: maybe-all-build-bison
43912 all-flex: maybe-all-intl
43913 all-flex: maybe-all-m4
43914 all-flex: maybe-all-build-texinfo
43915 all-m4: maybe-all-intl
43916 all-m4: maybe-all-build-texinfo
43917 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
43918 configure-target-fastjar: maybe-configure-target-zlib
43919 all-target-fastjar: maybe-all-target-zlib
43920 configure-target-libgo: maybe-configure-target-libffi
43921 configure-target-libgo: maybe-all-target-libstdc++-v3
43922 all-target-libgo: maybe-all-target-libffi
43923 configure-target-libjava: maybe-configure-target-zlib
43924 configure-target-libjava: maybe-configure-target-boehm-gc
43925 configure-target-libjava: maybe-configure-target-libffi
43926 all-target-libjava: maybe-all-fastjar
43927 all-target-libjava: maybe-all-target-zlib
43928 all-target-libjava: maybe-all-target-boehm-gc
43929 all-target-libjava: maybe-all-target-libffi
43930 configure-target-libobjc: maybe-configure-target-boehm-gc
43931 all-target-libobjc: maybe-all-target-boehm-gc
43932 configure-target-libstdc++-v3: maybe-configure-target-libgomp
43934 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43935 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43936 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43937 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43938 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43939 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43940 all-target-libstdc++-v3: maybe-configure-target-libgomp
43942 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43943 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43944 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43945 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43946 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43947 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43948 all-target-libgloss: maybe-all-target-newlib
43949 all-target-winsup: maybe-all-target-libtermcap
43950 configure-target-newlib: maybe-all-binutils
43951 configure-target-newlib: maybe-all-ld
43952 configure-target-libgfortran: maybe-all-target-libquadmath
43955 # Dependencies for target modules on other target modules are
43956 # described by lang_env_dependencies; the defaults apply to anything
43957 # not mentioned there.
43960 @if gcc-bootstrap
43961 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
43962 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
43963 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
43964 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
43965 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
43966 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
43967 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
43968 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
43969 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
43970 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
43971 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
43972 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
43973 @endif gcc-bootstrap
43975 @if gcc-no-bootstrap
43976 configure-target-libstdc++-v3: maybe-all-target-libgcc
43977 configure-target-libmudflap: maybe-all-target-libgcc
43978 configure-target-libssp: maybe-all-target-libgcc
43979 configure-target-newlib: maybe-all-target-libgcc
43980 configure-target-libquadmath: maybe-all-target-libgcc
43981 configure-target-libgfortran: maybe-all-target-libgcc
43982 configure-target-libobjc: maybe-all-target-libgcc
43983 configure-target-libgo: maybe-all-target-libgcc
43984 configure-target-libtermcap: maybe-all-target-libgcc
43985 configure-target-winsup: maybe-all-target-libgcc
43986 configure-target-libgloss: maybe-all-target-libgcc
43987 configure-target-libffi: maybe-all-target-libgcc
43988 configure-target-libjava: maybe-all-target-libgcc
43989 configure-target-zlib: maybe-all-target-libgcc
43990 configure-target-boehm-gc: maybe-all-target-libgcc
43991 configure-target-rda: maybe-all-target-libgcc
43992 configure-target-libada: maybe-all-target-libgcc
43993 configure-target-libgomp: maybe-all-target-libgcc
43994 configure-target-libitm: maybe-all-target-libgcc
43995 configure-target-libatomic: maybe-all-target-libgcc
43996 @endif gcc-no-bootstrap
43999 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
44001 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
44003 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
44007 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
44009 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
44011 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
44013 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
44015 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
44017 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
44020 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
44022 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
44023 configure-target-libjava: maybe-all-target-libstdc++-v3
44025 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
44027 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
44029 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
44031 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
44033 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
44035 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
44036 configure-target-libitm: maybe-all-target-libstdc++-v3
44038 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
44041 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
44042 GDB_TK = @GDB_TK@
44043 INSTALL_GDB_TK = @INSTALL_GDB_TK@
44044 configure-gdb: $(CONFIGURE_GDB_TK)
44045 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
44046 install-gdb: $(INSTALL_GDB_TK)
44048 # Serialization dependencies. Host configures don't work well in parallel to
44049 # each other, due to contention over config.cache. Target configures and
44050 # build configures are similar.
44051 @serialization_dependencies@
44053 # --------------------------------
44054 # Regenerating top level configury
44055 # --------------------------------
44057 # Rebuilding Makefile.in, using autogen.
44058 AUTOGEN = autogen
44059 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
44060 cd $(srcdir) && $(AUTOGEN) Makefile.def
44062 # Rebuilding Makefile.
44063 Makefile: $(srcdir)/Makefile.in config.status
44064 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
44066 config.status: configure
44067 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
44069 # Rebuilding configure.
44070 AUTOCONF = autoconf
44071 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
44072 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
44073 cd $(srcdir) && $(AUTOCONF)
44075 # ------------------------------
44076 # Special directives to GNU Make
44077 # ------------------------------
44079 # Don't pass command-line variables to submakes.
44080 .NOEXPORT:
44081 MAKEOVERRIDES=
44083 # end of Makefile.in