* cp-tree.h (TEMPLATE_PARM_NUM_SIBLINGS): Remove.
[official-gcc.git] / Makefile.in
bloba9b8a0ec3a2f132b448dad3213471fdbf9855695
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 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
223 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
224 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
227 @if gcc-bootstrap
228 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
229 @endif gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
232 POSTSTAGE1_CXX_EXPORT = \
233 CXX='$(CXX)'; export CXX; \
234 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
235 @if target-libstdc++-v3-bootstrap
236 # Override the above if we're bootstrapping C++.
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
239 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
242 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
243 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
244 -I$$s/libstdc++-v3/libsupc++ \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
247 export CXX; \
248 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
249 @endif target-libstdc++-v3-bootstrap
251 # Similar, for later GCC stages.
252 POSTSTAGE1_HOST_EXPORTS = \
253 $(HOST_EXPORTS) \
254 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
255 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
256 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
257 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
258 $(POSTSTAGE1_CXX_EXPORT) \
259 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
263 # Target libraries are put under this directory:
264 TARGET_SUBDIR = @target_subdir@
265 # This is set by the configure script to the arguments to use when configuring
266 # directories built for the target.
267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
268 # This is the list of variables to export in the environment when
269 # configuring subdirectories for the target system.
270 BASE_TARGET_EXPORTS = \
271 $(BASE_EXPORTS) \
272 AR="$(AR_FOR_TARGET)"; export AR; \
273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
279 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
280 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
281 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
282 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
283 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
284 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
285 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
286 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
287 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
289 READELF="$(READELF_FOR_TARGET)"; export READELF; \
290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
293 @if gcc-bootstrap
294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
295 @endif gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
299 RAW_CXX_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304 NORMAL_TARGET_EXPORTS = \
305 $(BASE_TARGET_EXPORTS) \
306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 # Where to find GMP
309 HOST_GMPLIBS = @gmplibs@
310 HOST_GMPINC = @gmpinc@
312 # Where to find ISL
313 HOST_ISLINC = @islinc@
315 # Where to find CLOOG
316 HOST_CLOOGLIBS = @clooglibs@
317 HOST_CLOOGINC = @clooginc@
319 # Where to find libelf
320 HOST_LIBELFLIBS = @libelflibs@
321 HOST_LIBELFINC = @libelfinc@
323 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
325 # ----------------------------------------------
326 # Programs producing files for the BUILD machine
327 # ----------------------------------------------
329 SHELL = @SHELL@
331 # pwd command to use. Allow user to override default by setting PWDCMD in
332 # the environment to account for automounters. The make variable must not
333 # be called PWDCMD, otherwise the value set here is passed to make
334 # subprocesses and overrides the setting from the user's environment.
335 # Don't use PWD since it is a common shell environment variable and we
336 # don't want to corrupt it.
337 PWD_COMMAND = $${PWDCMD-pwd}
339 # compilers to use to create programs which must be run in the build
340 # environment.
341 AR_FOR_BUILD = @AR_FOR_BUILD@
342 AS_FOR_BUILD = @AS_FOR_BUILD@
343 CC_FOR_BUILD = @CC_FOR_BUILD@
344 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
345 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
346 CXX_FOR_BUILD = @CXX_FOR_BUILD@
347 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
348 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
349 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
350 GOC_FOR_BUILD = @GOC_FOR_BUILD@
351 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
352 LD_FOR_BUILD = @LD_FOR_BUILD@
353 NM_FOR_BUILD = @NM_FOR_BUILD@
354 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
355 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
356 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
358 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
359 # here so that they can be overridden by Makefile fragments.
360 BUILD_PREFIX = @BUILD_PREFIX@
361 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
363 # Flags to pass to stage2 and later makes. They are defined
364 # here so that they can be overridden by Makefile fragments.
365 BOOT_CFLAGS= -g -O2
366 BOOT_LDFLAGS=
367 BOOT_ADAFLAGS=-gnatpg -gnata
369 AWK = @AWK@
370 SED = @SED@
371 BISON = @BISON@
372 YACC = @YACC@
373 FLEX = @FLEX@
374 LEX = @LEX@
375 M4 = @M4@
376 MAKEINFO = @MAKEINFO@
377 EXPECT = @EXPECT@
378 RUNTEST = @RUNTEST@
380 # This just becomes part of the MAKEINFO definition passed down to
381 # sub-makes. It lets flags be given on the command line while still
382 # using the makeinfo from the object tree.
383 # (Default to avoid splitting info files by setting the threshold high.)
384 MAKEINFOFLAGS = --split-size=5000000
386 # ---------------------------------------------
387 # Programs producing files for the HOST machine
388 # ---------------------------------------------
390 AS = @AS@
391 AR = @AR@
392 AR_FLAGS = rc
393 CC = @CC@
394 CXX = @CXX@
395 DLLTOOL = @DLLTOOL@
396 LD = @LD@
397 LIPO = @LIPO@
398 NM = @NM@
399 OBJDUMP = @OBJDUMP@
400 RANLIB = @RANLIB@
401 READELF = @READELF@
402 STRIP = @STRIP@
403 WINDRES = @WINDRES@
404 WINDMC = @WINDMC@
406 GNATBIND = @GNATBIND@
407 GNATMAKE = @GNATMAKE@
409 CFLAGS = @CFLAGS@
410 LDFLAGS = @LDFLAGS@
411 LIBCFLAGS = $(CFLAGS)
412 CXXFLAGS = @CXXFLAGS@
413 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
414 GOCFLAGS = $(CFLAGS)
416 TFLAGS =
418 # Defaults for all stages; some are overridden below.
420 STAGE_CFLAGS = $(BOOT_CFLAGS)
421 STAGE_TFLAGS = $(TFLAGS)
422 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
423 POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
426 # Defaults for stage 1; some are overridden below.
427 STAGE1_CFLAGS = $(STAGE_CFLAGS)
428 STAGE1_CXXFLAGS = $(CXXFLAGS)
429 @if target-libstdc++-v3-bootstrap
430 # Override the above if we're bootstrapping C++.
431 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
432 @endif target-libstdc++-v3-bootstrap
433 STAGE1_TFLAGS = $(STAGE_TFLAGS)
434 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
435 # POSTSTAGE1_CONFIGURE_FLAGS here.
436 STAGE1_CONFIGURE_FLAGS = \
437 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
439 # Defaults for stage 2; some are overridden below.
440 STAGE2_CFLAGS = $(STAGE_CFLAGS)
441 STAGE2_CXXFLAGS = $(CXXFLAGS)
442 @if target-libstdc++-v3-bootstrap
443 # Override the above if we're bootstrapping C++.
444 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
445 @endif target-libstdc++-v3-bootstrap
446 STAGE2_TFLAGS = $(STAGE_TFLAGS)
447 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
448 # POSTSTAGE1_CONFIGURE_FLAGS here.
449 STAGE2_CONFIGURE_FLAGS = \
450 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
452 # Defaults for stage 3; some are overridden below.
453 STAGE3_CFLAGS = $(STAGE_CFLAGS)
454 STAGE3_CXXFLAGS = $(CXXFLAGS)
455 @if target-libstdc++-v3-bootstrap
456 # Override the above if we're bootstrapping C++.
457 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
458 @endif target-libstdc++-v3-bootstrap
459 STAGE3_TFLAGS = $(STAGE_TFLAGS)
460 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
461 # POSTSTAGE1_CONFIGURE_FLAGS here.
462 STAGE3_CONFIGURE_FLAGS = \
463 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
465 # Defaults for stage 4; some are overridden below.
466 STAGE4_CFLAGS = $(STAGE_CFLAGS)
467 STAGE4_CXXFLAGS = $(CXXFLAGS)
468 @if target-libstdc++-v3-bootstrap
469 # Override the above if we're bootstrapping C++.
470 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
471 @endif target-libstdc++-v3-bootstrap
472 STAGE4_TFLAGS = $(STAGE_TFLAGS)
473 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
474 # POSTSTAGE1_CONFIGURE_FLAGS here.
475 STAGE4_CONFIGURE_FLAGS = \
476 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
478 # Defaults for stage profile; some are overridden below.
479 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
480 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
481 @if target-libstdc++-v3-bootstrap
482 # Override the above if we're bootstrapping C++.
483 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
484 @endif target-libstdc++-v3-bootstrap
485 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
486 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
487 # POSTSTAGE1_CONFIGURE_FLAGS here.
488 STAGEprofile_CONFIGURE_FLAGS = \
489 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
491 # Defaults for stage feedback; some are overridden below.
492 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
493 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
494 @if target-libstdc++-v3-bootstrap
495 # Override the above if we're bootstrapping C++.
496 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
497 @endif target-libstdc++-v3-bootstrap
498 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
499 # STAGE1_CONFIGURE_FLAGS overridden below, so we can use
500 # POSTSTAGE1_CONFIGURE_FLAGS here.
501 STAGEfeedback_CONFIGURE_FLAGS = \
502 $(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
505 # Only build the C compiler for stage1, because that is the only one that
506 # we can guarantee will build with the native compiler, and also it is the
507 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
508 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
509 # overrideable (for a bootstrap build stage1 also builds gcc.info).
511 STAGE1_CFLAGS = @stage1_cflags@
512 STAGE1_CHECKING = @stage1_checking@
513 STAGE1_LANGUAGES = @stage1_languages@
514 # * We force-disable intermodule optimizations, even if
515 # --enable-intermodule was passed, since the installed compiler
516 # probably can't handle them. Luckily, autoconf always respects
517 # the last argument when conflicting --enable arguments are passed.
518 # * Likewise, we force-disable coverage flags, since the installed
519 # compiler probably has never heard of them.
520 # * Don't remove this, because above we added
521 # POSTSTAGE1_CONFIGURE_FLAGS to STAGE_CONFIGURE_FLAGS, which
522 # we don't want for STAGE1_CONFIGURE_FLAGS.
523 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
524 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
526 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
527 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
529 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
530 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
532 do-compare = @do_compare@
533 do-compare3 = $(do-compare)
535 # -----------------------------------------------
536 # Programs producing files for the TARGET machine
537 # -----------------------------------------------
539 AR_FOR_TARGET=@AR_FOR_TARGET@
540 AS_FOR_TARGET=@AS_FOR_TARGET@
541 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
543 # If GCC_FOR_TARGET is not overriden on the command line, then this
544 # variable is passed down to the gcc Makefile, where it is used to
545 # build libgcc2.a. We define it here so that it can itself be
546 # overridden on the command line.
547 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
548 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
549 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
550 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
551 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
552 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
553 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
554 LD_FOR_TARGET=@LD_FOR_TARGET@
556 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
557 NM_FOR_TARGET=@NM_FOR_TARGET@
558 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
559 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
560 READELF_FOR_TARGET=@READELF_FOR_TARGET@
561 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
562 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
563 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
565 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
566 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
567 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
569 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
570 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
572 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
573 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
574 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
575 GOCFLAGS_FOR_TARGET = -O2 -g
577 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
578 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
579 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
581 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
583 # ------------------------------------
584 # Miscellaneous targets and flag lists
585 # ------------------------------------
587 # The first rule in the file had better be this one. Don't put any above it.
588 # This lives here to allow makefile fragments to contain dependencies.
589 all:
591 #### host and target specific makefile fragments come in here.
592 @target_makefile_frag@
593 @alphaieee_frag@
594 @ospace_frag@
595 @host_makefile_frag@
598 # This is the list of directories that may be needed in RPATH_ENVVAR
599 # so that programs built for the target machine work.
600 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)
602 @if target-libstdc++-v3
603 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
604 @endif target-libstdc++-v3
606 @if target-libmudflap
607 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
608 @endif target-libmudflap
610 @if target-libssp
611 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
612 @endif target-libssp
614 @if target-libgomp
615 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
616 @endif target-libgomp
618 @if target-libitm
619 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
620 @endif target-libitm
622 @if target-libatomic
623 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
624 @endif target-libatomic
628 # This is the list of directories that may be needed in RPATH_ENVVAR
629 # so that programs built for the host machine work.
630 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_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
632 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
633 @if gcc
634 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
635 @endif gcc
638 @if bfd
639 HOST_LIB_PATH_bfd = \
640 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
641 @endif bfd
643 @if opcodes
644 HOST_LIB_PATH_opcodes = \
645 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
646 @endif opcodes
648 @if gmp
649 HOST_LIB_PATH_gmp = \
650 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
651 @endif gmp
653 @if mpfr
654 HOST_LIB_PATH_mpfr = \
655 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
656 @endif mpfr
658 @if mpc
659 HOST_LIB_PATH_mpc = \
660 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
661 @endif mpc
663 @if isl
664 HOST_LIB_PATH_isl = \
665 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
666 @endif isl
668 @if cloog
669 HOST_LIB_PATH_cloog = \
670 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
671 @endif cloog
673 @if libelf
674 HOST_LIB_PATH_libelf = \
675 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
676 @endif libelf
679 CXX_FOR_TARGET_FLAG_TO_PASS = \
680 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
681 @if target-libstdc++-v3
682 # CXX_FOR_TARGET is tricky to get right for target libs that require a
683 # functional C++ compiler. When we recurse, if we expand
684 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
685 # libstdc++ include flags from the script. Instead, we get an
686 # -funconfigured-* word, so that we'll get errors if this invalid C++
687 # command line is used for anything, but also so that we can use the
688 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
689 # don't pass it on, sub-make will use the default definition, that
690 # re-expands it at the time of use, so we'll get it right when we need
691 # it. One potential exception is the expansion of CXX_FOR_TARGET
692 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
693 # really work, for C++ host programs can't depend on the current-stage
694 # C++ target library.
695 CXX_FOR_TARGET_FLAG_TO_PASS = \
696 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
697 @endif target-libstdc++-v3
699 # Flags to pass down to all sub-makes.
700 BASE_FLAGS_TO_PASS = \
701 "DESTDIR=$(DESTDIR)" \
702 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
703 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
704 "bindir=$(bindir)" \
705 "datadir=$(datadir)" \
706 "exec_prefix=$(exec_prefix)" \
707 "includedir=$(includedir)" \
708 "datarootdir=$(datarootdir)" \
709 "docdir=$(docdir)" \
710 "infodir=$(infodir)" \
711 "pdfdir=$(pdfdir)" \
712 "htmldir=$(htmldir)" \
713 "libdir=$(libdir)" \
714 "libexecdir=$(libexecdir)" \
715 "lispdir=$(lispdir)" \
716 "localstatedir=$(localstatedir)" \
717 "mandir=$(mandir)" \
718 "oldincludedir=$(oldincludedir)" \
719 "prefix=$(prefix)" \
720 "sbindir=$(sbindir)" \
721 "sharedstatedir=$(sharedstatedir)" \
722 "sysconfdir=$(sysconfdir)" \
723 "tooldir=$(tooldir)" \
724 "build_tooldir=$(build_tooldir)" \
725 "target_alias=$(target_alias)" \
726 "AWK=$(AWK)" \
727 "BISON=$(BISON)" \
728 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
729 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
730 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
731 "EXPECT=$(EXPECT)" \
732 "FLEX=$(FLEX)" \
733 "INSTALL=$(INSTALL)" \
734 "INSTALL_DATA=$(INSTALL_DATA)" \
735 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
736 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
737 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
738 "LEX=$(LEX)" \
739 "M4=$(M4)" \
740 "MAKE=$(MAKE)" \
741 "RUNTEST=$(RUNTEST)" \
742 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
743 "SED=$(SED)" \
744 "SHELL=$(SHELL)" \
745 "YACC=$(YACC)" \
746 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
747 "ADA_CFLAGS=$(ADA_CFLAGS)" \
748 "AR_FLAGS=$(AR_FLAGS)" \
749 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
750 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
751 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
752 "CFLAGS=$(CFLAGS)" \
753 "CXXFLAGS=$(CXXFLAGS)" \
754 "LDFLAGS=$(LDFLAGS)" \
755 "LIBCFLAGS=$(LIBCFLAGS)" \
756 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
757 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
758 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
759 "GNATBIND=$(GNATBIND)" \
760 "GNATMAKE=$(GNATMAKE)" \
761 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
762 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
763 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
764 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
765 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
766 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
767 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
768 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
769 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
770 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
771 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
772 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
773 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
774 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
775 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
776 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
777 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
778 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
779 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
780 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
781 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
782 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
783 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
784 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
785 "BUILD_CONFIG=$(BUILD_CONFIG)" \
786 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
787 "LEAN=$(LEAN)" \
788 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
789 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
790 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
791 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
792 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
793 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
794 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
795 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
796 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
797 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
798 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
799 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
800 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
801 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
802 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
803 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
804 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
805 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
806 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
807 "TFLAGS=$(TFLAGS)" \
808 "CONFIG_SHELL=$(SHELL)" \
809 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
811 # We leave this in just in case, but it is not needed anymore.
812 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
814 # Flags to pass down to most sub-makes, in which we're building with
815 # the host environment.
816 EXTRA_HOST_FLAGS = \
817 'AR=$(AR)' \
818 'AS=$(AS)' \
819 'CC=$(CC)' \
820 'CXX=$(CXX)' \
821 'DLLTOOL=$(DLLTOOL)' \
822 'GCJ=$(GCJ)' \
823 'GFORTRAN=$(GFORTRAN)' \
824 'GOC=$(GOC)' \
825 'LD=$(LD)' \
826 'LIPO=$(LIPO)' \
827 'NM=$(NM)' \
828 'OBJDUMP=$(OBJDUMP)' \
829 'RANLIB=$(RANLIB)' \
830 'READELF=$(READELF)' \
831 'STRIP=$(STRIP)' \
832 'WINDRES=$(WINDRES)' \
833 'WINDMC=$(WINDMC)'
835 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
837 # Flags to pass to stage2 and later makes.
839 POSTSTAGE1_FLAGS_TO_PASS = \
840 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
841 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
842 GNATBIND="$${GNATBIND}" \
843 LDFLAGS="$${LDFLAGS}" \
844 HOST_LIBS="$${HOST_LIBS}" \
845 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
847 # Flags to pass down to makes which are built with the target environment.
848 # The double $ decreases the length of the command line; those variables
849 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
850 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
851 # so we expand them here.
852 EXTRA_TARGET_FLAGS = \
853 'AR=$$(AR_FOR_TARGET)' \
854 'AS=$(COMPILER_AS_FOR_TARGET)' \
855 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
856 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
857 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
858 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
859 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
860 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
861 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
862 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
863 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
864 'LD=$(COMPILER_LD_FOR_TARGET)' \
865 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
866 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
867 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
868 'NM=$(COMPILER_NM_FOR_TARGET)' \
869 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
870 'RANLIB=$$(RANLIB_FOR_TARGET)' \
871 'READELF=$$(READELF_FOR_TARGET)' \
872 'WINDRES=$$(WINDRES_FOR_TARGET)' \
873 'WINDMC=$$(WINDMC_FOR_TARGET)' \
874 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
875 "TFLAGS=$$TFLAGS"
877 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
879 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
880 # unfortunately needs the native compiler and the target ar and
881 # ranlib.
882 # If any variables are added here, they must be added to do-*, below.
883 # The BUILD_* variables are a special case, which are used for the gcc
884 # cross-building scheme.
885 EXTRA_GCC_FLAGS = \
886 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
887 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
888 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
890 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
892 @if gcc
893 BUILD_CONFIG = @BUILD_CONFIG@
894 ifneq ($(BUILD_CONFIG),)
895 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
896 endif
897 @endif gcc
899 .PHONY: configure-host
900 configure-host: \
901 maybe-configure-bfd \
902 maybe-configure-opcodes \
903 maybe-configure-binutils \
904 maybe-configure-bison \
905 maybe-configure-cgen \
906 maybe-configure-dejagnu \
907 maybe-configure-etc \
908 maybe-configure-fastjar \
909 maybe-configure-fixincludes \
910 maybe-configure-flex \
911 maybe-configure-gas \
912 maybe-configure-gcc \
913 maybe-configure-gmp \
914 maybe-configure-mpfr \
915 maybe-configure-mpc \
916 maybe-configure-isl \
917 maybe-configure-cloog \
918 maybe-configure-libelf \
919 maybe-configure-gold \
920 maybe-configure-gprof \
921 maybe-configure-intl \
922 maybe-configure-tcl \
923 maybe-configure-itcl \
924 maybe-configure-ld \
925 maybe-configure-libcpp \
926 maybe-configure-libdecnumber \
927 maybe-configure-libgui \
928 maybe-configure-libiberty \
929 maybe-configure-libiconv \
930 maybe-configure-m4 \
931 maybe-configure-readline \
932 maybe-configure-sid \
933 maybe-configure-sim \
934 maybe-configure-texinfo \
935 maybe-configure-zlib \
936 maybe-configure-gdb \
937 maybe-configure-expect \
938 maybe-configure-guile \
939 maybe-configure-tk \
940 maybe-configure-libtermcap \
941 maybe-configure-utils \
942 maybe-configure-gnattools \
943 maybe-configure-lto-plugin
944 .PHONY: configure-target
945 configure-target: \
946 maybe-configure-target-libstdc++-v3 \
947 maybe-configure-target-libmudflap \
948 maybe-configure-target-libssp \
949 maybe-configure-target-newlib \
950 maybe-configure-target-libgcc \
951 maybe-configure-target-libquadmath \
952 maybe-configure-target-libgfortran \
953 maybe-configure-target-libobjc \
954 maybe-configure-target-libgo \
955 maybe-configure-target-libtermcap \
956 maybe-configure-target-winsup \
957 maybe-configure-target-libgloss \
958 maybe-configure-target-libffi \
959 maybe-configure-target-libjava \
960 maybe-configure-target-zlib \
961 maybe-configure-target-boehm-gc \
962 maybe-configure-target-rda \
963 maybe-configure-target-libada \
964 maybe-configure-target-libgomp \
965 maybe-configure-target-libitm \
966 maybe-configure-target-libatomic
968 # The target built for a native non-bootstrap build.
969 .PHONY: all
970 all:
971 @if gcc-bootstrap
972 [ -f stage_final ] || echo stage3 > stage_final
973 @r=`${PWD_COMMAND}`; export r; \
974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
975 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
976 @endif gcc-bootstrap
977 @: $(MAKE); $(unstage)
978 @r=`${PWD_COMMAND}`; export r; \
979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
980 @if gcc-bootstrap
981 if [ -f stage_last ]; then \
982 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
983 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
984 else \
985 @endif gcc-bootstrap
986 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
987 @if gcc-bootstrap
989 fi \
990 @endif gcc-bootstrap
991 && :
993 .PHONY: all-build
995 all-build: maybe-all-build-libiberty
996 all-build: maybe-all-build-bison
997 all-build: maybe-all-build-flex
998 all-build: maybe-all-build-m4
999 all-build: maybe-all-build-texinfo
1000 all-build: maybe-all-build-fixincludes
1002 .PHONY: all-host
1004 @if bfd-no-bootstrap
1005 all-host: maybe-all-bfd
1006 @endif bfd-no-bootstrap
1007 @if opcodes-no-bootstrap
1008 all-host: maybe-all-opcodes
1009 @endif opcodes-no-bootstrap
1010 @if binutils-no-bootstrap
1011 all-host: maybe-all-binutils
1012 @endif binutils-no-bootstrap
1013 all-host: maybe-all-bison
1014 all-host: maybe-all-cgen
1015 all-host: maybe-all-dejagnu
1016 all-host: maybe-all-etc
1017 all-host: maybe-all-fastjar
1018 all-host: maybe-all-fixincludes
1019 all-host: maybe-all-flex
1020 @if gas-no-bootstrap
1021 all-host: maybe-all-gas
1022 @endif gas-no-bootstrap
1023 @if gcc-no-bootstrap
1024 all-host: maybe-all-gcc
1025 @endif gcc-no-bootstrap
1026 @if gmp-no-bootstrap
1027 all-host: maybe-all-gmp
1028 @endif gmp-no-bootstrap
1029 @if mpfr-no-bootstrap
1030 all-host: maybe-all-mpfr
1031 @endif mpfr-no-bootstrap
1032 @if mpc-no-bootstrap
1033 all-host: maybe-all-mpc
1034 @endif mpc-no-bootstrap
1035 @if isl-no-bootstrap
1036 all-host: maybe-all-isl
1037 @endif isl-no-bootstrap
1038 @if cloog-no-bootstrap
1039 all-host: maybe-all-cloog
1040 @endif cloog-no-bootstrap
1041 @if libelf-no-bootstrap
1042 all-host: maybe-all-libelf
1043 @endif libelf-no-bootstrap
1044 @if gold-no-bootstrap
1045 all-host: maybe-all-gold
1046 @endif gold-no-bootstrap
1047 all-host: maybe-all-gprof
1048 @if intl-no-bootstrap
1049 all-host: maybe-all-intl
1050 @endif intl-no-bootstrap
1051 all-host: maybe-all-tcl
1052 all-host: maybe-all-itcl
1053 @if ld-no-bootstrap
1054 all-host: maybe-all-ld
1055 @endif ld-no-bootstrap
1056 @if libcpp-no-bootstrap
1057 all-host: maybe-all-libcpp
1058 @endif libcpp-no-bootstrap
1059 @if libdecnumber-no-bootstrap
1060 all-host: maybe-all-libdecnumber
1061 @endif libdecnumber-no-bootstrap
1062 all-host: maybe-all-libgui
1063 @if libiberty-no-bootstrap
1064 all-host: maybe-all-libiberty
1065 @endif libiberty-no-bootstrap
1066 all-host: maybe-all-libiconv
1067 all-host: maybe-all-m4
1068 all-host: maybe-all-readline
1069 all-host: maybe-all-sid
1070 all-host: maybe-all-sim
1071 all-host: maybe-all-texinfo
1072 @if zlib-no-bootstrap
1073 all-host: maybe-all-zlib
1074 @endif zlib-no-bootstrap
1075 all-host: maybe-all-gdb
1076 all-host: maybe-all-expect
1077 all-host: maybe-all-guile
1078 all-host: maybe-all-tk
1079 all-host: maybe-all-libtermcap
1080 all-host: maybe-all-utils
1081 all-host: maybe-all-gnattools
1082 @if lto-plugin-no-bootstrap
1083 all-host: maybe-all-lto-plugin
1084 @endif lto-plugin-no-bootstrap
1086 .PHONY: all-target
1088 @if target-libstdc++-v3-no-bootstrap
1089 all-target: maybe-all-target-libstdc++-v3
1090 @endif target-libstdc++-v3-no-bootstrap
1091 all-target: maybe-all-target-libmudflap
1092 all-target: maybe-all-target-libssp
1093 all-target: maybe-all-target-newlib
1094 @if target-libgcc-no-bootstrap
1095 all-target: maybe-all-target-libgcc
1096 @endif target-libgcc-no-bootstrap
1097 all-target: maybe-all-target-libquadmath
1098 all-target: maybe-all-target-libgfortran
1099 all-target: maybe-all-target-libobjc
1100 all-target: maybe-all-target-libgo
1101 all-target: maybe-all-target-libtermcap
1102 all-target: maybe-all-target-winsup
1103 all-target: maybe-all-target-libgloss
1104 all-target: maybe-all-target-libffi
1105 all-target: maybe-all-target-libjava
1106 all-target: maybe-all-target-zlib
1107 all-target: maybe-all-target-boehm-gc
1108 all-target: maybe-all-target-rda
1109 all-target: maybe-all-target-libada
1110 @if target-libgomp-no-bootstrap
1111 all-target: maybe-all-target-libgomp
1112 @endif target-libgomp-no-bootstrap
1113 all-target: maybe-all-target-libitm
1114 all-target: maybe-all-target-libatomic
1116 # Do a target for all the subdirectories. A ``make do-X'' will do a
1117 # ``make X'' in all subdirectories (because, in general, there is a
1118 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1119 # but it may do additional work as well).
1121 .PHONY: do-info
1122 do-info:
1123 @: $(MAKE); $(unstage)
1124 @r=`${PWD_COMMAND}`; export r; \
1125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1126 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1127 info-target
1130 .PHONY: info-host
1132 info-host: maybe-info-bfd
1133 info-host: maybe-info-opcodes
1134 info-host: maybe-info-binutils
1135 info-host: maybe-info-bison
1136 info-host: maybe-info-cgen
1137 info-host: maybe-info-dejagnu
1138 info-host: maybe-info-etc
1139 info-host: maybe-info-fastjar
1140 info-host: maybe-info-fixincludes
1141 info-host: maybe-info-flex
1142 info-host: maybe-info-gas
1143 info-host: maybe-info-gcc
1144 info-host: maybe-info-gmp
1145 info-host: maybe-info-mpfr
1146 info-host: maybe-info-mpc
1147 info-host: maybe-info-isl
1148 info-host: maybe-info-cloog
1149 info-host: maybe-info-libelf
1150 info-host: maybe-info-gold
1151 info-host: maybe-info-gprof
1152 info-host: maybe-info-intl
1153 info-host: maybe-info-tcl
1154 info-host: maybe-info-itcl
1155 info-host: maybe-info-ld
1156 info-host: maybe-info-libcpp
1157 info-host: maybe-info-libdecnumber
1158 info-host: maybe-info-libgui
1159 info-host: maybe-info-libiberty
1160 info-host: maybe-info-libiconv
1161 info-host: maybe-info-m4
1162 info-host: maybe-info-readline
1163 info-host: maybe-info-sid
1164 info-host: maybe-info-sim
1165 info-host: maybe-info-texinfo
1166 info-host: maybe-info-zlib
1167 info-host: maybe-info-gdb
1168 info-host: maybe-info-expect
1169 info-host: maybe-info-guile
1170 info-host: maybe-info-tk
1171 info-host: maybe-info-libtermcap
1172 info-host: maybe-info-utils
1173 info-host: maybe-info-gnattools
1174 info-host: maybe-info-lto-plugin
1176 .PHONY: info-target
1178 info-target: maybe-info-target-libstdc++-v3
1179 info-target: maybe-info-target-libmudflap
1180 info-target: maybe-info-target-libssp
1181 info-target: maybe-info-target-newlib
1182 info-target: maybe-info-target-libgcc
1183 info-target: maybe-info-target-libquadmath
1184 info-target: maybe-info-target-libgfortran
1185 info-target: maybe-info-target-libobjc
1186 info-target: maybe-info-target-libgo
1187 info-target: maybe-info-target-libtermcap
1188 info-target: maybe-info-target-winsup
1189 info-target: maybe-info-target-libgloss
1190 info-target: maybe-info-target-libffi
1191 info-target: maybe-info-target-libjava
1192 info-target: maybe-info-target-zlib
1193 info-target: maybe-info-target-boehm-gc
1194 info-target: maybe-info-target-rda
1195 info-target: maybe-info-target-libada
1196 info-target: maybe-info-target-libgomp
1197 info-target: maybe-info-target-libitm
1198 info-target: maybe-info-target-libatomic
1200 .PHONY: do-dvi
1201 do-dvi:
1202 @: $(MAKE); $(unstage)
1203 @r=`${PWD_COMMAND}`; export r; \
1204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1205 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1206 dvi-target
1209 .PHONY: dvi-host
1211 dvi-host: maybe-dvi-bfd
1212 dvi-host: maybe-dvi-opcodes
1213 dvi-host: maybe-dvi-binutils
1214 dvi-host: maybe-dvi-bison
1215 dvi-host: maybe-dvi-cgen
1216 dvi-host: maybe-dvi-dejagnu
1217 dvi-host: maybe-dvi-etc
1218 dvi-host: maybe-dvi-fastjar
1219 dvi-host: maybe-dvi-fixincludes
1220 dvi-host: maybe-dvi-flex
1221 dvi-host: maybe-dvi-gas
1222 dvi-host: maybe-dvi-gcc
1223 dvi-host: maybe-dvi-gmp
1224 dvi-host: maybe-dvi-mpfr
1225 dvi-host: maybe-dvi-mpc
1226 dvi-host: maybe-dvi-isl
1227 dvi-host: maybe-dvi-cloog
1228 dvi-host: maybe-dvi-libelf
1229 dvi-host: maybe-dvi-gold
1230 dvi-host: maybe-dvi-gprof
1231 dvi-host: maybe-dvi-intl
1232 dvi-host: maybe-dvi-tcl
1233 dvi-host: maybe-dvi-itcl
1234 dvi-host: maybe-dvi-ld
1235 dvi-host: maybe-dvi-libcpp
1236 dvi-host: maybe-dvi-libdecnumber
1237 dvi-host: maybe-dvi-libgui
1238 dvi-host: maybe-dvi-libiberty
1239 dvi-host: maybe-dvi-libiconv
1240 dvi-host: maybe-dvi-m4
1241 dvi-host: maybe-dvi-readline
1242 dvi-host: maybe-dvi-sid
1243 dvi-host: maybe-dvi-sim
1244 dvi-host: maybe-dvi-texinfo
1245 dvi-host: maybe-dvi-zlib
1246 dvi-host: maybe-dvi-gdb
1247 dvi-host: maybe-dvi-expect
1248 dvi-host: maybe-dvi-guile
1249 dvi-host: maybe-dvi-tk
1250 dvi-host: maybe-dvi-libtermcap
1251 dvi-host: maybe-dvi-utils
1252 dvi-host: maybe-dvi-gnattools
1253 dvi-host: maybe-dvi-lto-plugin
1255 .PHONY: dvi-target
1257 dvi-target: maybe-dvi-target-libstdc++-v3
1258 dvi-target: maybe-dvi-target-libmudflap
1259 dvi-target: maybe-dvi-target-libssp
1260 dvi-target: maybe-dvi-target-newlib
1261 dvi-target: maybe-dvi-target-libgcc
1262 dvi-target: maybe-dvi-target-libquadmath
1263 dvi-target: maybe-dvi-target-libgfortran
1264 dvi-target: maybe-dvi-target-libobjc
1265 dvi-target: maybe-dvi-target-libgo
1266 dvi-target: maybe-dvi-target-libtermcap
1267 dvi-target: maybe-dvi-target-winsup
1268 dvi-target: maybe-dvi-target-libgloss
1269 dvi-target: maybe-dvi-target-libffi
1270 dvi-target: maybe-dvi-target-libjava
1271 dvi-target: maybe-dvi-target-zlib
1272 dvi-target: maybe-dvi-target-boehm-gc
1273 dvi-target: maybe-dvi-target-rda
1274 dvi-target: maybe-dvi-target-libada
1275 dvi-target: maybe-dvi-target-libgomp
1276 dvi-target: maybe-dvi-target-libitm
1277 dvi-target: maybe-dvi-target-libatomic
1279 .PHONY: do-pdf
1280 do-pdf:
1281 @: $(MAKE); $(unstage)
1282 @r=`${PWD_COMMAND}`; export r; \
1283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1284 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1285 pdf-target
1288 .PHONY: pdf-host
1290 pdf-host: maybe-pdf-bfd
1291 pdf-host: maybe-pdf-opcodes
1292 pdf-host: maybe-pdf-binutils
1293 pdf-host: maybe-pdf-bison
1294 pdf-host: maybe-pdf-cgen
1295 pdf-host: maybe-pdf-dejagnu
1296 pdf-host: maybe-pdf-etc
1297 pdf-host: maybe-pdf-fastjar
1298 pdf-host: maybe-pdf-fixincludes
1299 pdf-host: maybe-pdf-flex
1300 pdf-host: maybe-pdf-gas
1301 pdf-host: maybe-pdf-gcc
1302 pdf-host: maybe-pdf-gmp
1303 pdf-host: maybe-pdf-mpfr
1304 pdf-host: maybe-pdf-mpc
1305 pdf-host: maybe-pdf-isl
1306 pdf-host: maybe-pdf-cloog
1307 pdf-host: maybe-pdf-libelf
1308 pdf-host: maybe-pdf-gold
1309 pdf-host: maybe-pdf-gprof
1310 pdf-host: maybe-pdf-intl
1311 pdf-host: maybe-pdf-tcl
1312 pdf-host: maybe-pdf-itcl
1313 pdf-host: maybe-pdf-ld
1314 pdf-host: maybe-pdf-libcpp
1315 pdf-host: maybe-pdf-libdecnumber
1316 pdf-host: maybe-pdf-libgui
1317 pdf-host: maybe-pdf-libiberty
1318 pdf-host: maybe-pdf-libiconv
1319 pdf-host: maybe-pdf-m4
1320 pdf-host: maybe-pdf-readline
1321 pdf-host: maybe-pdf-sid
1322 pdf-host: maybe-pdf-sim
1323 pdf-host: maybe-pdf-texinfo
1324 pdf-host: maybe-pdf-zlib
1325 pdf-host: maybe-pdf-gdb
1326 pdf-host: maybe-pdf-expect
1327 pdf-host: maybe-pdf-guile
1328 pdf-host: maybe-pdf-tk
1329 pdf-host: maybe-pdf-libtermcap
1330 pdf-host: maybe-pdf-utils
1331 pdf-host: maybe-pdf-gnattools
1332 pdf-host: maybe-pdf-lto-plugin
1334 .PHONY: pdf-target
1336 pdf-target: maybe-pdf-target-libstdc++-v3
1337 pdf-target: maybe-pdf-target-libmudflap
1338 pdf-target: maybe-pdf-target-libssp
1339 pdf-target: maybe-pdf-target-newlib
1340 pdf-target: maybe-pdf-target-libgcc
1341 pdf-target: maybe-pdf-target-libquadmath
1342 pdf-target: maybe-pdf-target-libgfortran
1343 pdf-target: maybe-pdf-target-libobjc
1344 pdf-target: maybe-pdf-target-libgo
1345 pdf-target: maybe-pdf-target-libtermcap
1346 pdf-target: maybe-pdf-target-winsup
1347 pdf-target: maybe-pdf-target-libgloss
1348 pdf-target: maybe-pdf-target-libffi
1349 pdf-target: maybe-pdf-target-libjava
1350 pdf-target: maybe-pdf-target-zlib
1351 pdf-target: maybe-pdf-target-boehm-gc
1352 pdf-target: maybe-pdf-target-rda
1353 pdf-target: maybe-pdf-target-libada
1354 pdf-target: maybe-pdf-target-libgomp
1355 pdf-target: maybe-pdf-target-libitm
1356 pdf-target: maybe-pdf-target-libatomic
1358 .PHONY: do-html
1359 do-html:
1360 @: $(MAKE); $(unstage)
1361 @r=`${PWD_COMMAND}`; export r; \
1362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1363 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1364 html-target
1367 .PHONY: html-host
1369 html-host: maybe-html-bfd
1370 html-host: maybe-html-opcodes
1371 html-host: maybe-html-binutils
1372 html-host: maybe-html-bison
1373 html-host: maybe-html-cgen
1374 html-host: maybe-html-dejagnu
1375 html-host: maybe-html-etc
1376 html-host: maybe-html-fastjar
1377 html-host: maybe-html-fixincludes
1378 html-host: maybe-html-flex
1379 html-host: maybe-html-gas
1380 html-host: maybe-html-gcc
1381 html-host: maybe-html-gmp
1382 html-host: maybe-html-mpfr
1383 html-host: maybe-html-mpc
1384 html-host: maybe-html-isl
1385 html-host: maybe-html-cloog
1386 html-host: maybe-html-libelf
1387 html-host: maybe-html-gold
1388 html-host: maybe-html-gprof
1389 html-host: maybe-html-intl
1390 html-host: maybe-html-tcl
1391 html-host: maybe-html-itcl
1392 html-host: maybe-html-ld
1393 html-host: maybe-html-libcpp
1394 html-host: maybe-html-libdecnumber
1395 html-host: maybe-html-libgui
1396 html-host: maybe-html-libiberty
1397 html-host: maybe-html-libiconv
1398 html-host: maybe-html-m4
1399 html-host: maybe-html-readline
1400 html-host: maybe-html-sid
1401 html-host: maybe-html-sim
1402 html-host: maybe-html-texinfo
1403 html-host: maybe-html-zlib
1404 html-host: maybe-html-gdb
1405 html-host: maybe-html-expect
1406 html-host: maybe-html-guile
1407 html-host: maybe-html-tk
1408 html-host: maybe-html-libtermcap
1409 html-host: maybe-html-utils
1410 html-host: maybe-html-gnattools
1411 html-host: maybe-html-lto-plugin
1413 .PHONY: html-target
1415 html-target: maybe-html-target-libstdc++-v3
1416 html-target: maybe-html-target-libmudflap
1417 html-target: maybe-html-target-libssp
1418 html-target: maybe-html-target-newlib
1419 html-target: maybe-html-target-libgcc
1420 html-target: maybe-html-target-libquadmath
1421 html-target: maybe-html-target-libgfortran
1422 html-target: maybe-html-target-libobjc
1423 html-target: maybe-html-target-libgo
1424 html-target: maybe-html-target-libtermcap
1425 html-target: maybe-html-target-winsup
1426 html-target: maybe-html-target-libgloss
1427 html-target: maybe-html-target-libffi
1428 html-target: maybe-html-target-libjava
1429 html-target: maybe-html-target-zlib
1430 html-target: maybe-html-target-boehm-gc
1431 html-target: maybe-html-target-rda
1432 html-target: maybe-html-target-libada
1433 html-target: maybe-html-target-libgomp
1434 html-target: maybe-html-target-libitm
1435 html-target: maybe-html-target-libatomic
1437 .PHONY: do-TAGS
1438 do-TAGS:
1439 @: $(MAKE); $(unstage)
1440 @r=`${PWD_COMMAND}`; export r; \
1441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1442 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1443 TAGS-target
1446 .PHONY: TAGS-host
1448 TAGS-host: maybe-TAGS-bfd
1449 TAGS-host: maybe-TAGS-opcodes
1450 TAGS-host: maybe-TAGS-binutils
1451 TAGS-host: maybe-TAGS-bison
1452 TAGS-host: maybe-TAGS-cgen
1453 TAGS-host: maybe-TAGS-dejagnu
1454 TAGS-host: maybe-TAGS-etc
1455 TAGS-host: maybe-TAGS-fastjar
1456 TAGS-host: maybe-TAGS-fixincludes
1457 TAGS-host: maybe-TAGS-flex
1458 TAGS-host: maybe-TAGS-gas
1459 TAGS-host: maybe-TAGS-gcc
1460 TAGS-host: maybe-TAGS-gmp
1461 TAGS-host: maybe-TAGS-mpfr
1462 TAGS-host: maybe-TAGS-mpc
1463 TAGS-host: maybe-TAGS-isl
1464 TAGS-host: maybe-TAGS-cloog
1465 TAGS-host: maybe-TAGS-libelf
1466 TAGS-host: maybe-TAGS-gold
1467 TAGS-host: maybe-TAGS-gprof
1468 TAGS-host: maybe-TAGS-intl
1469 TAGS-host: maybe-TAGS-tcl
1470 TAGS-host: maybe-TAGS-itcl
1471 TAGS-host: maybe-TAGS-ld
1472 TAGS-host: maybe-TAGS-libcpp
1473 TAGS-host: maybe-TAGS-libdecnumber
1474 TAGS-host: maybe-TAGS-libgui
1475 TAGS-host: maybe-TAGS-libiberty
1476 TAGS-host: maybe-TAGS-libiconv
1477 TAGS-host: maybe-TAGS-m4
1478 TAGS-host: maybe-TAGS-readline
1479 TAGS-host: maybe-TAGS-sid
1480 TAGS-host: maybe-TAGS-sim
1481 TAGS-host: maybe-TAGS-texinfo
1482 TAGS-host: maybe-TAGS-zlib
1483 TAGS-host: maybe-TAGS-gdb
1484 TAGS-host: maybe-TAGS-expect
1485 TAGS-host: maybe-TAGS-guile
1486 TAGS-host: maybe-TAGS-tk
1487 TAGS-host: maybe-TAGS-libtermcap
1488 TAGS-host: maybe-TAGS-utils
1489 TAGS-host: maybe-TAGS-gnattools
1490 TAGS-host: maybe-TAGS-lto-plugin
1492 .PHONY: TAGS-target
1494 TAGS-target: maybe-TAGS-target-libstdc++-v3
1495 TAGS-target: maybe-TAGS-target-libmudflap
1496 TAGS-target: maybe-TAGS-target-libssp
1497 TAGS-target: maybe-TAGS-target-newlib
1498 TAGS-target: maybe-TAGS-target-libgcc
1499 TAGS-target: maybe-TAGS-target-libquadmath
1500 TAGS-target: maybe-TAGS-target-libgfortran
1501 TAGS-target: maybe-TAGS-target-libobjc
1502 TAGS-target: maybe-TAGS-target-libgo
1503 TAGS-target: maybe-TAGS-target-libtermcap
1504 TAGS-target: maybe-TAGS-target-winsup
1505 TAGS-target: maybe-TAGS-target-libgloss
1506 TAGS-target: maybe-TAGS-target-libffi
1507 TAGS-target: maybe-TAGS-target-libjava
1508 TAGS-target: maybe-TAGS-target-zlib
1509 TAGS-target: maybe-TAGS-target-boehm-gc
1510 TAGS-target: maybe-TAGS-target-rda
1511 TAGS-target: maybe-TAGS-target-libada
1512 TAGS-target: maybe-TAGS-target-libgomp
1513 TAGS-target: maybe-TAGS-target-libitm
1514 TAGS-target: maybe-TAGS-target-libatomic
1516 .PHONY: do-install-info
1517 do-install-info:
1518 @: $(MAKE); $(unstage)
1519 @r=`${PWD_COMMAND}`; export r; \
1520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1521 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1522 install-info-target
1525 .PHONY: install-info-host
1527 install-info-host: maybe-install-info-bfd
1528 install-info-host: maybe-install-info-opcodes
1529 install-info-host: maybe-install-info-binutils
1530 install-info-host: maybe-install-info-bison
1531 install-info-host: maybe-install-info-cgen
1532 install-info-host: maybe-install-info-dejagnu
1533 install-info-host: maybe-install-info-etc
1534 install-info-host: maybe-install-info-fastjar
1535 install-info-host: maybe-install-info-fixincludes
1536 install-info-host: maybe-install-info-flex
1537 install-info-host: maybe-install-info-gas
1538 install-info-host: maybe-install-info-gcc
1539 install-info-host: maybe-install-info-gmp
1540 install-info-host: maybe-install-info-mpfr
1541 install-info-host: maybe-install-info-mpc
1542 install-info-host: maybe-install-info-isl
1543 install-info-host: maybe-install-info-cloog
1544 install-info-host: maybe-install-info-libelf
1545 install-info-host: maybe-install-info-gold
1546 install-info-host: maybe-install-info-gprof
1547 install-info-host: maybe-install-info-intl
1548 install-info-host: maybe-install-info-tcl
1549 install-info-host: maybe-install-info-itcl
1550 install-info-host: maybe-install-info-ld
1551 install-info-host: maybe-install-info-libcpp
1552 install-info-host: maybe-install-info-libdecnumber
1553 install-info-host: maybe-install-info-libgui
1554 install-info-host: maybe-install-info-libiberty
1555 install-info-host: maybe-install-info-libiconv
1556 install-info-host: maybe-install-info-m4
1557 install-info-host: maybe-install-info-readline
1558 install-info-host: maybe-install-info-sid
1559 install-info-host: maybe-install-info-sim
1560 install-info-host: maybe-install-info-texinfo
1561 install-info-host: maybe-install-info-zlib
1562 install-info-host: maybe-install-info-gdb
1563 install-info-host: maybe-install-info-expect
1564 install-info-host: maybe-install-info-guile
1565 install-info-host: maybe-install-info-tk
1566 install-info-host: maybe-install-info-libtermcap
1567 install-info-host: maybe-install-info-utils
1568 install-info-host: maybe-install-info-gnattools
1569 install-info-host: maybe-install-info-lto-plugin
1571 .PHONY: install-info-target
1573 install-info-target: maybe-install-info-target-libstdc++-v3
1574 install-info-target: maybe-install-info-target-libmudflap
1575 install-info-target: maybe-install-info-target-libssp
1576 install-info-target: maybe-install-info-target-newlib
1577 install-info-target: maybe-install-info-target-libgcc
1578 install-info-target: maybe-install-info-target-libquadmath
1579 install-info-target: maybe-install-info-target-libgfortran
1580 install-info-target: maybe-install-info-target-libobjc
1581 install-info-target: maybe-install-info-target-libgo
1582 install-info-target: maybe-install-info-target-libtermcap
1583 install-info-target: maybe-install-info-target-winsup
1584 install-info-target: maybe-install-info-target-libgloss
1585 install-info-target: maybe-install-info-target-libffi
1586 install-info-target: maybe-install-info-target-libjava
1587 install-info-target: maybe-install-info-target-zlib
1588 install-info-target: maybe-install-info-target-boehm-gc
1589 install-info-target: maybe-install-info-target-rda
1590 install-info-target: maybe-install-info-target-libada
1591 install-info-target: maybe-install-info-target-libgomp
1592 install-info-target: maybe-install-info-target-libitm
1593 install-info-target: maybe-install-info-target-libatomic
1595 .PHONY: do-install-pdf
1596 do-install-pdf:
1597 @: $(MAKE); $(unstage)
1598 @r=`${PWD_COMMAND}`; export r; \
1599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1600 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1601 install-pdf-target
1604 .PHONY: install-pdf-host
1606 install-pdf-host: maybe-install-pdf-bfd
1607 install-pdf-host: maybe-install-pdf-opcodes
1608 install-pdf-host: maybe-install-pdf-binutils
1609 install-pdf-host: maybe-install-pdf-bison
1610 install-pdf-host: maybe-install-pdf-cgen
1611 install-pdf-host: maybe-install-pdf-dejagnu
1612 install-pdf-host: maybe-install-pdf-etc
1613 install-pdf-host: maybe-install-pdf-fastjar
1614 install-pdf-host: maybe-install-pdf-fixincludes
1615 install-pdf-host: maybe-install-pdf-flex
1616 install-pdf-host: maybe-install-pdf-gas
1617 install-pdf-host: maybe-install-pdf-gcc
1618 install-pdf-host: maybe-install-pdf-gmp
1619 install-pdf-host: maybe-install-pdf-mpfr
1620 install-pdf-host: maybe-install-pdf-mpc
1621 install-pdf-host: maybe-install-pdf-isl
1622 install-pdf-host: maybe-install-pdf-cloog
1623 install-pdf-host: maybe-install-pdf-libelf
1624 install-pdf-host: maybe-install-pdf-gold
1625 install-pdf-host: maybe-install-pdf-gprof
1626 install-pdf-host: maybe-install-pdf-intl
1627 install-pdf-host: maybe-install-pdf-tcl
1628 install-pdf-host: maybe-install-pdf-itcl
1629 install-pdf-host: maybe-install-pdf-ld
1630 install-pdf-host: maybe-install-pdf-libcpp
1631 install-pdf-host: maybe-install-pdf-libdecnumber
1632 install-pdf-host: maybe-install-pdf-libgui
1633 install-pdf-host: maybe-install-pdf-libiberty
1634 install-pdf-host: maybe-install-pdf-libiconv
1635 install-pdf-host: maybe-install-pdf-m4
1636 install-pdf-host: maybe-install-pdf-readline
1637 install-pdf-host: maybe-install-pdf-sid
1638 install-pdf-host: maybe-install-pdf-sim
1639 install-pdf-host: maybe-install-pdf-texinfo
1640 install-pdf-host: maybe-install-pdf-zlib
1641 install-pdf-host: maybe-install-pdf-gdb
1642 install-pdf-host: maybe-install-pdf-expect
1643 install-pdf-host: maybe-install-pdf-guile
1644 install-pdf-host: maybe-install-pdf-tk
1645 install-pdf-host: maybe-install-pdf-libtermcap
1646 install-pdf-host: maybe-install-pdf-utils
1647 install-pdf-host: maybe-install-pdf-gnattools
1648 install-pdf-host: maybe-install-pdf-lto-plugin
1650 .PHONY: install-pdf-target
1652 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1653 install-pdf-target: maybe-install-pdf-target-libmudflap
1654 install-pdf-target: maybe-install-pdf-target-libssp
1655 install-pdf-target: maybe-install-pdf-target-newlib
1656 install-pdf-target: maybe-install-pdf-target-libgcc
1657 install-pdf-target: maybe-install-pdf-target-libquadmath
1658 install-pdf-target: maybe-install-pdf-target-libgfortran
1659 install-pdf-target: maybe-install-pdf-target-libobjc
1660 install-pdf-target: maybe-install-pdf-target-libgo
1661 install-pdf-target: maybe-install-pdf-target-libtermcap
1662 install-pdf-target: maybe-install-pdf-target-winsup
1663 install-pdf-target: maybe-install-pdf-target-libgloss
1664 install-pdf-target: maybe-install-pdf-target-libffi
1665 install-pdf-target: maybe-install-pdf-target-libjava
1666 install-pdf-target: maybe-install-pdf-target-zlib
1667 install-pdf-target: maybe-install-pdf-target-boehm-gc
1668 install-pdf-target: maybe-install-pdf-target-rda
1669 install-pdf-target: maybe-install-pdf-target-libada
1670 install-pdf-target: maybe-install-pdf-target-libgomp
1671 install-pdf-target: maybe-install-pdf-target-libitm
1672 install-pdf-target: maybe-install-pdf-target-libatomic
1674 .PHONY: do-install-html
1675 do-install-html:
1676 @: $(MAKE); $(unstage)
1677 @r=`${PWD_COMMAND}`; export r; \
1678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1679 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1680 install-html-target
1683 .PHONY: install-html-host
1685 install-html-host: maybe-install-html-bfd
1686 install-html-host: maybe-install-html-opcodes
1687 install-html-host: maybe-install-html-binutils
1688 install-html-host: maybe-install-html-bison
1689 install-html-host: maybe-install-html-cgen
1690 install-html-host: maybe-install-html-dejagnu
1691 install-html-host: maybe-install-html-etc
1692 install-html-host: maybe-install-html-fastjar
1693 install-html-host: maybe-install-html-fixincludes
1694 install-html-host: maybe-install-html-flex
1695 install-html-host: maybe-install-html-gas
1696 install-html-host: maybe-install-html-gcc
1697 install-html-host: maybe-install-html-gmp
1698 install-html-host: maybe-install-html-mpfr
1699 install-html-host: maybe-install-html-mpc
1700 install-html-host: maybe-install-html-isl
1701 install-html-host: maybe-install-html-cloog
1702 install-html-host: maybe-install-html-libelf
1703 install-html-host: maybe-install-html-gold
1704 install-html-host: maybe-install-html-gprof
1705 install-html-host: maybe-install-html-intl
1706 install-html-host: maybe-install-html-tcl
1707 install-html-host: maybe-install-html-itcl
1708 install-html-host: maybe-install-html-ld
1709 install-html-host: maybe-install-html-libcpp
1710 install-html-host: maybe-install-html-libdecnumber
1711 install-html-host: maybe-install-html-libgui
1712 install-html-host: maybe-install-html-libiberty
1713 install-html-host: maybe-install-html-libiconv
1714 install-html-host: maybe-install-html-m4
1715 install-html-host: maybe-install-html-readline
1716 install-html-host: maybe-install-html-sid
1717 install-html-host: maybe-install-html-sim
1718 install-html-host: maybe-install-html-texinfo
1719 install-html-host: maybe-install-html-zlib
1720 install-html-host: maybe-install-html-gdb
1721 install-html-host: maybe-install-html-expect
1722 install-html-host: maybe-install-html-guile
1723 install-html-host: maybe-install-html-tk
1724 install-html-host: maybe-install-html-libtermcap
1725 install-html-host: maybe-install-html-utils
1726 install-html-host: maybe-install-html-gnattools
1727 install-html-host: maybe-install-html-lto-plugin
1729 .PHONY: install-html-target
1731 install-html-target: maybe-install-html-target-libstdc++-v3
1732 install-html-target: maybe-install-html-target-libmudflap
1733 install-html-target: maybe-install-html-target-libssp
1734 install-html-target: maybe-install-html-target-newlib
1735 install-html-target: maybe-install-html-target-libgcc
1736 install-html-target: maybe-install-html-target-libquadmath
1737 install-html-target: maybe-install-html-target-libgfortran
1738 install-html-target: maybe-install-html-target-libobjc
1739 install-html-target: maybe-install-html-target-libgo
1740 install-html-target: maybe-install-html-target-libtermcap
1741 install-html-target: maybe-install-html-target-winsup
1742 install-html-target: maybe-install-html-target-libgloss
1743 install-html-target: maybe-install-html-target-libffi
1744 install-html-target: maybe-install-html-target-libjava
1745 install-html-target: maybe-install-html-target-zlib
1746 install-html-target: maybe-install-html-target-boehm-gc
1747 install-html-target: maybe-install-html-target-rda
1748 install-html-target: maybe-install-html-target-libada
1749 install-html-target: maybe-install-html-target-libgomp
1750 install-html-target: maybe-install-html-target-libitm
1751 install-html-target: maybe-install-html-target-libatomic
1753 .PHONY: do-installcheck
1754 do-installcheck:
1755 @: $(MAKE); $(unstage)
1756 @r=`${PWD_COMMAND}`; export r; \
1757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1758 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1759 installcheck-target
1762 .PHONY: installcheck-host
1764 installcheck-host: maybe-installcheck-bfd
1765 installcheck-host: maybe-installcheck-opcodes
1766 installcheck-host: maybe-installcheck-binutils
1767 installcheck-host: maybe-installcheck-bison
1768 installcheck-host: maybe-installcheck-cgen
1769 installcheck-host: maybe-installcheck-dejagnu
1770 installcheck-host: maybe-installcheck-etc
1771 installcheck-host: maybe-installcheck-fastjar
1772 installcheck-host: maybe-installcheck-fixincludes
1773 installcheck-host: maybe-installcheck-flex
1774 installcheck-host: maybe-installcheck-gas
1775 installcheck-host: maybe-installcheck-gcc
1776 installcheck-host: maybe-installcheck-gmp
1777 installcheck-host: maybe-installcheck-mpfr
1778 installcheck-host: maybe-installcheck-mpc
1779 installcheck-host: maybe-installcheck-isl
1780 installcheck-host: maybe-installcheck-cloog
1781 installcheck-host: maybe-installcheck-libelf
1782 installcheck-host: maybe-installcheck-gold
1783 installcheck-host: maybe-installcheck-gprof
1784 installcheck-host: maybe-installcheck-intl
1785 installcheck-host: maybe-installcheck-tcl
1786 installcheck-host: maybe-installcheck-itcl
1787 installcheck-host: maybe-installcheck-ld
1788 installcheck-host: maybe-installcheck-libcpp
1789 installcheck-host: maybe-installcheck-libdecnumber
1790 installcheck-host: maybe-installcheck-libgui
1791 installcheck-host: maybe-installcheck-libiberty
1792 installcheck-host: maybe-installcheck-libiconv
1793 installcheck-host: maybe-installcheck-m4
1794 installcheck-host: maybe-installcheck-readline
1795 installcheck-host: maybe-installcheck-sid
1796 installcheck-host: maybe-installcheck-sim
1797 installcheck-host: maybe-installcheck-texinfo
1798 installcheck-host: maybe-installcheck-zlib
1799 installcheck-host: maybe-installcheck-gdb
1800 installcheck-host: maybe-installcheck-expect
1801 installcheck-host: maybe-installcheck-guile
1802 installcheck-host: maybe-installcheck-tk
1803 installcheck-host: maybe-installcheck-libtermcap
1804 installcheck-host: maybe-installcheck-utils
1805 installcheck-host: maybe-installcheck-gnattools
1806 installcheck-host: maybe-installcheck-lto-plugin
1808 .PHONY: installcheck-target
1810 installcheck-target: maybe-installcheck-target-libstdc++-v3
1811 installcheck-target: maybe-installcheck-target-libmudflap
1812 installcheck-target: maybe-installcheck-target-libssp
1813 installcheck-target: maybe-installcheck-target-newlib
1814 installcheck-target: maybe-installcheck-target-libgcc
1815 installcheck-target: maybe-installcheck-target-libquadmath
1816 installcheck-target: maybe-installcheck-target-libgfortran
1817 installcheck-target: maybe-installcheck-target-libobjc
1818 installcheck-target: maybe-installcheck-target-libgo
1819 installcheck-target: maybe-installcheck-target-libtermcap
1820 installcheck-target: maybe-installcheck-target-winsup
1821 installcheck-target: maybe-installcheck-target-libgloss
1822 installcheck-target: maybe-installcheck-target-libffi
1823 installcheck-target: maybe-installcheck-target-libjava
1824 installcheck-target: maybe-installcheck-target-zlib
1825 installcheck-target: maybe-installcheck-target-boehm-gc
1826 installcheck-target: maybe-installcheck-target-rda
1827 installcheck-target: maybe-installcheck-target-libada
1828 installcheck-target: maybe-installcheck-target-libgomp
1829 installcheck-target: maybe-installcheck-target-libitm
1830 installcheck-target: maybe-installcheck-target-libatomic
1832 .PHONY: do-mostlyclean
1833 do-mostlyclean:
1834 @: $(MAKE); $(unstage)
1835 @r=`${PWD_COMMAND}`; export r; \
1836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1837 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1838 mostlyclean-target
1841 .PHONY: mostlyclean-host
1843 mostlyclean-host: maybe-mostlyclean-bfd
1844 mostlyclean-host: maybe-mostlyclean-opcodes
1845 mostlyclean-host: maybe-mostlyclean-binutils
1846 mostlyclean-host: maybe-mostlyclean-bison
1847 mostlyclean-host: maybe-mostlyclean-cgen
1848 mostlyclean-host: maybe-mostlyclean-dejagnu
1849 mostlyclean-host: maybe-mostlyclean-etc
1850 mostlyclean-host: maybe-mostlyclean-fastjar
1851 mostlyclean-host: maybe-mostlyclean-fixincludes
1852 mostlyclean-host: maybe-mostlyclean-flex
1853 mostlyclean-host: maybe-mostlyclean-gas
1854 mostlyclean-host: maybe-mostlyclean-gcc
1855 mostlyclean-host: maybe-mostlyclean-gmp
1856 mostlyclean-host: maybe-mostlyclean-mpfr
1857 mostlyclean-host: maybe-mostlyclean-mpc
1858 mostlyclean-host: maybe-mostlyclean-isl
1859 mostlyclean-host: maybe-mostlyclean-cloog
1860 mostlyclean-host: maybe-mostlyclean-libelf
1861 mostlyclean-host: maybe-mostlyclean-gold
1862 mostlyclean-host: maybe-mostlyclean-gprof
1863 mostlyclean-host: maybe-mostlyclean-intl
1864 mostlyclean-host: maybe-mostlyclean-tcl
1865 mostlyclean-host: maybe-mostlyclean-itcl
1866 mostlyclean-host: maybe-mostlyclean-ld
1867 mostlyclean-host: maybe-mostlyclean-libcpp
1868 mostlyclean-host: maybe-mostlyclean-libdecnumber
1869 mostlyclean-host: maybe-mostlyclean-libgui
1870 mostlyclean-host: maybe-mostlyclean-libiberty
1871 mostlyclean-host: maybe-mostlyclean-libiconv
1872 mostlyclean-host: maybe-mostlyclean-m4
1873 mostlyclean-host: maybe-mostlyclean-readline
1874 mostlyclean-host: maybe-mostlyclean-sid
1875 mostlyclean-host: maybe-mostlyclean-sim
1876 mostlyclean-host: maybe-mostlyclean-texinfo
1877 mostlyclean-host: maybe-mostlyclean-zlib
1878 mostlyclean-host: maybe-mostlyclean-gdb
1879 mostlyclean-host: maybe-mostlyclean-expect
1880 mostlyclean-host: maybe-mostlyclean-guile
1881 mostlyclean-host: maybe-mostlyclean-tk
1882 mostlyclean-host: maybe-mostlyclean-libtermcap
1883 mostlyclean-host: maybe-mostlyclean-utils
1884 mostlyclean-host: maybe-mostlyclean-gnattools
1885 mostlyclean-host: maybe-mostlyclean-lto-plugin
1887 .PHONY: mostlyclean-target
1889 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1890 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1891 mostlyclean-target: maybe-mostlyclean-target-libssp
1892 mostlyclean-target: maybe-mostlyclean-target-newlib
1893 mostlyclean-target: maybe-mostlyclean-target-libgcc
1894 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1895 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1896 mostlyclean-target: maybe-mostlyclean-target-libobjc
1897 mostlyclean-target: maybe-mostlyclean-target-libgo
1898 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1899 mostlyclean-target: maybe-mostlyclean-target-winsup
1900 mostlyclean-target: maybe-mostlyclean-target-libgloss
1901 mostlyclean-target: maybe-mostlyclean-target-libffi
1902 mostlyclean-target: maybe-mostlyclean-target-libjava
1903 mostlyclean-target: maybe-mostlyclean-target-zlib
1904 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1905 mostlyclean-target: maybe-mostlyclean-target-rda
1906 mostlyclean-target: maybe-mostlyclean-target-libada
1907 mostlyclean-target: maybe-mostlyclean-target-libgomp
1908 mostlyclean-target: maybe-mostlyclean-target-libitm
1909 mostlyclean-target: maybe-mostlyclean-target-libatomic
1911 .PHONY: do-clean
1912 do-clean:
1913 @: $(MAKE); $(unstage)
1914 @r=`${PWD_COMMAND}`; export r; \
1915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1916 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1917 clean-target
1920 .PHONY: clean-host
1922 clean-host: maybe-clean-bfd
1923 clean-host: maybe-clean-opcodes
1924 clean-host: maybe-clean-binutils
1925 clean-host: maybe-clean-bison
1926 clean-host: maybe-clean-cgen
1927 clean-host: maybe-clean-dejagnu
1928 clean-host: maybe-clean-etc
1929 clean-host: maybe-clean-fastjar
1930 clean-host: maybe-clean-fixincludes
1931 clean-host: maybe-clean-flex
1932 clean-host: maybe-clean-gas
1933 clean-host: maybe-clean-gcc
1934 clean-host: maybe-clean-gmp
1935 clean-host: maybe-clean-mpfr
1936 clean-host: maybe-clean-mpc
1937 clean-host: maybe-clean-isl
1938 clean-host: maybe-clean-cloog
1939 clean-host: maybe-clean-libelf
1940 clean-host: maybe-clean-gold
1941 clean-host: maybe-clean-gprof
1942 clean-host: maybe-clean-intl
1943 clean-host: maybe-clean-tcl
1944 clean-host: maybe-clean-itcl
1945 clean-host: maybe-clean-ld
1946 clean-host: maybe-clean-libcpp
1947 clean-host: maybe-clean-libdecnumber
1948 clean-host: maybe-clean-libgui
1949 clean-host: maybe-clean-libiberty
1950 clean-host: maybe-clean-libiconv
1951 clean-host: maybe-clean-m4
1952 clean-host: maybe-clean-readline
1953 clean-host: maybe-clean-sid
1954 clean-host: maybe-clean-sim
1955 clean-host: maybe-clean-texinfo
1956 clean-host: maybe-clean-zlib
1957 clean-host: maybe-clean-gdb
1958 clean-host: maybe-clean-expect
1959 clean-host: maybe-clean-guile
1960 clean-host: maybe-clean-tk
1961 clean-host: maybe-clean-libtermcap
1962 clean-host: maybe-clean-utils
1963 clean-host: maybe-clean-gnattools
1964 clean-host: maybe-clean-lto-plugin
1966 .PHONY: clean-target
1968 clean-target: maybe-clean-target-libstdc++-v3
1969 clean-target: maybe-clean-target-libmudflap
1970 clean-target: maybe-clean-target-libssp
1971 clean-target: maybe-clean-target-newlib
1972 clean-target: maybe-clean-target-libgcc
1973 clean-target: maybe-clean-target-libquadmath
1974 clean-target: maybe-clean-target-libgfortran
1975 clean-target: maybe-clean-target-libobjc
1976 clean-target: maybe-clean-target-libgo
1977 clean-target: maybe-clean-target-libtermcap
1978 clean-target: maybe-clean-target-winsup
1979 clean-target: maybe-clean-target-libgloss
1980 clean-target: maybe-clean-target-libffi
1981 clean-target: maybe-clean-target-libjava
1982 clean-target: maybe-clean-target-zlib
1983 clean-target: maybe-clean-target-boehm-gc
1984 clean-target: maybe-clean-target-rda
1985 clean-target: maybe-clean-target-libada
1986 clean-target: maybe-clean-target-libgomp
1987 clean-target: maybe-clean-target-libitm
1988 clean-target: maybe-clean-target-libatomic
1990 .PHONY: do-distclean
1991 do-distclean:
1992 @: $(MAKE); $(unstage)
1993 @r=`${PWD_COMMAND}`; export r; \
1994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1995 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1996 distclean-target
1999 .PHONY: distclean-host
2001 distclean-host: maybe-distclean-bfd
2002 distclean-host: maybe-distclean-opcodes
2003 distclean-host: maybe-distclean-binutils
2004 distclean-host: maybe-distclean-bison
2005 distclean-host: maybe-distclean-cgen
2006 distclean-host: maybe-distclean-dejagnu
2007 distclean-host: maybe-distclean-etc
2008 distclean-host: maybe-distclean-fastjar
2009 distclean-host: maybe-distclean-fixincludes
2010 distclean-host: maybe-distclean-flex
2011 distclean-host: maybe-distclean-gas
2012 distclean-host: maybe-distclean-gcc
2013 distclean-host: maybe-distclean-gmp
2014 distclean-host: maybe-distclean-mpfr
2015 distclean-host: maybe-distclean-mpc
2016 distclean-host: maybe-distclean-isl
2017 distclean-host: maybe-distclean-cloog
2018 distclean-host: maybe-distclean-libelf
2019 distclean-host: maybe-distclean-gold
2020 distclean-host: maybe-distclean-gprof
2021 distclean-host: maybe-distclean-intl
2022 distclean-host: maybe-distclean-tcl
2023 distclean-host: maybe-distclean-itcl
2024 distclean-host: maybe-distclean-ld
2025 distclean-host: maybe-distclean-libcpp
2026 distclean-host: maybe-distclean-libdecnumber
2027 distclean-host: maybe-distclean-libgui
2028 distclean-host: maybe-distclean-libiberty
2029 distclean-host: maybe-distclean-libiconv
2030 distclean-host: maybe-distclean-m4
2031 distclean-host: maybe-distclean-readline
2032 distclean-host: maybe-distclean-sid
2033 distclean-host: maybe-distclean-sim
2034 distclean-host: maybe-distclean-texinfo
2035 distclean-host: maybe-distclean-zlib
2036 distclean-host: maybe-distclean-gdb
2037 distclean-host: maybe-distclean-expect
2038 distclean-host: maybe-distclean-guile
2039 distclean-host: maybe-distclean-tk
2040 distclean-host: maybe-distclean-libtermcap
2041 distclean-host: maybe-distclean-utils
2042 distclean-host: maybe-distclean-gnattools
2043 distclean-host: maybe-distclean-lto-plugin
2045 .PHONY: distclean-target
2047 distclean-target: maybe-distclean-target-libstdc++-v3
2048 distclean-target: maybe-distclean-target-libmudflap
2049 distclean-target: maybe-distclean-target-libssp
2050 distclean-target: maybe-distclean-target-newlib
2051 distclean-target: maybe-distclean-target-libgcc
2052 distclean-target: maybe-distclean-target-libquadmath
2053 distclean-target: maybe-distclean-target-libgfortran
2054 distclean-target: maybe-distclean-target-libobjc
2055 distclean-target: maybe-distclean-target-libgo
2056 distclean-target: maybe-distclean-target-libtermcap
2057 distclean-target: maybe-distclean-target-winsup
2058 distclean-target: maybe-distclean-target-libgloss
2059 distclean-target: maybe-distclean-target-libffi
2060 distclean-target: maybe-distclean-target-libjava
2061 distclean-target: maybe-distclean-target-zlib
2062 distclean-target: maybe-distclean-target-boehm-gc
2063 distclean-target: maybe-distclean-target-rda
2064 distclean-target: maybe-distclean-target-libada
2065 distclean-target: maybe-distclean-target-libgomp
2066 distclean-target: maybe-distclean-target-libitm
2067 distclean-target: maybe-distclean-target-libatomic
2069 .PHONY: do-maintainer-clean
2070 do-maintainer-clean:
2071 @: $(MAKE); $(unstage)
2072 @r=`${PWD_COMMAND}`; export r; \
2073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2074 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2075 maintainer-clean-target
2078 .PHONY: maintainer-clean-host
2080 maintainer-clean-host: maybe-maintainer-clean-bfd
2081 maintainer-clean-host: maybe-maintainer-clean-opcodes
2082 maintainer-clean-host: maybe-maintainer-clean-binutils
2083 maintainer-clean-host: maybe-maintainer-clean-bison
2084 maintainer-clean-host: maybe-maintainer-clean-cgen
2085 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2086 maintainer-clean-host: maybe-maintainer-clean-etc
2087 maintainer-clean-host: maybe-maintainer-clean-fastjar
2088 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2089 maintainer-clean-host: maybe-maintainer-clean-flex
2090 maintainer-clean-host: maybe-maintainer-clean-gas
2091 maintainer-clean-host: maybe-maintainer-clean-gcc
2092 maintainer-clean-host: maybe-maintainer-clean-gmp
2093 maintainer-clean-host: maybe-maintainer-clean-mpfr
2094 maintainer-clean-host: maybe-maintainer-clean-mpc
2095 maintainer-clean-host: maybe-maintainer-clean-isl
2096 maintainer-clean-host: maybe-maintainer-clean-cloog
2097 maintainer-clean-host: maybe-maintainer-clean-libelf
2098 maintainer-clean-host: maybe-maintainer-clean-gold
2099 maintainer-clean-host: maybe-maintainer-clean-gprof
2100 maintainer-clean-host: maybe-maintainer-clean-intl
2101 maintainer-clean-host: maybe-maintainer-clean-tcl
2102 maintainer-clean-host: maybe-maintainer-clean-itcl
2103 maintainer-clean-host: maybe-maintainer-clean-ld
2104 maintainer-clean-host: maybe-maintainer-clean-libcpp
2105 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2106 maintainer-clean-host: maybe-maintainer-clean-libgui
2107 maintainer-clean-host: maybe-maintainer-clean-libiberty
2108 maintainer-clean-host: maybe-maintainer-clean-libiconv
2109 maintainer-clean-host: maybe-maintainer-clean-m4
2110 maintainer-clean-host: maybe-maintainer-clean-readline
2111 maintainer-clean-host: maybe-maintainer-clean-sid
2112 maintainer-clean-host: maybe-maintainer-clean-sim
2113 maintainer-clean-host: maybe-maintainer-clean-texinfo
2114 maintainer-clean-host: maybe-maintainer-clean-zlib
2115 maintainer-clean-host: maybe-maintainer-clean-gdb
2116 maintainer-clean-host: maybe-maintainer-clean-expect
2117 maintainer-clean-host: maybe-maintainer-clean-guile
2118 maintainer-clean-host: maybe-maintainer-clean-tk
2119 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2120 maintainer-clean-host: maybe-maintainer-clean-utils
2121 maintainer-clean-host: maybe-maintainer-clean-gnattools
2122 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2124 .PHONY: maintainer-clean-target
2126 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2127 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2128 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2129 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2130 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2131 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2132 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2133 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2134 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2135 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2136 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2137 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2138 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2139 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2140 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2141 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2142 maintainer-clean-target: maybe-maintainer-clean-target-rda
2143 maintainer-clean-target: maybe-maintainer-clean-target-libada
2144 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2145 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2146 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2149 # Here are the targets which correspond to the do-X targets.
2151 .PHONY: info installcheck dvi pdf html
2152 .PHONY: install-info install-pdf install-html
2153 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2154 .PHONY: local-clean local-distclean local-maintainer-clean
2155 info: do-info
2156 installcheck: do-installcheck
2157 dvi: do-dvi
2158 pdf: do-pdf
2159 html: do-html
2161 # Make sure makeinfo is built before we do a `make info', if we're
2162 # in fact building texinfo.
2163 do-info: maybe-all-texinfo
2165 install-info: do-install-info dir.info
2166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2167 if [ -f dir.info ] ; then \
2168 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2169 else true ; fi
2171 install-pdf: do-install-pdf
2173 install-html: do-install-html
2175 local-clean:
2176 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2178 local-distclean:
2179 -rm -f Makefile config.status config.cache mh-frag mt-frag
2180 -rm -f maybedep.tmp serdep.tmp
2181 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2182 rm -rf $(TARGET_SUBDIR); \
2183 else true; fi
2184 -rm -rf $(BUILD_SUBDIR)
2185 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2186 rm -rf $(HOST_SUBDIR); \
2187 else true; fi
2188 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2189 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2190 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2191 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2192 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2193 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2195 local-maintainer-clean:
2196 @echo "This command is intended for maintainers to use;"
2197 @echo "it deletes files that may require special tools to rebuild."
2199 clean: do-clean local-clean
2200 mostlyclean: do-mostlyclean local-clean
2201 distclean: do-distclean local-clean local-distclean
2202 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2203 maintainer-clean: local-distclean
2204 realclean: maintainer-clean
2206 # Check target.
2208 .PHONY: check do-check
2209 check: do-check
2211 # Only include modules actually being configured and built.
2212 .PHONY: check-host
2213 check-host: \
2214 maybe-check-bfd \
2215 maybe-check-opcodes \
2216 maybe-check-binutils \
2217 maybe-check-bison \
2218 maybe-check-cgen \
2219 maybe-check-dejagnu \
2220 maybe-check-etc \
2221 maybe-check-fastjar \
2222 maybe-check-fixincludes \
2223 maybe-check-flex \
2224 maybe-check-gas \
2225 maybe-check-gcc \
2226 maybe-check-gmp \
2227 maybe-check-mpfr \
2228 maybe-check-mpc \
2229 maybe-check-isl \
2230 maybe-check-cloog \
2231 maybe-check-libelf \
2232 maybe-check-gold \
2233 maybe-check-gprof \
2234 maybe-check-intl \
2235 maybe-check-tcl \
2236 maybe-check-itcl \
2237 maybe-check-ld \
2238 maybe-check-libcpp \
2239 maybe-check-libdecnumber \
2240 maybe-check-libgui \
2241 maybe-check-libiberty \
2242 maybe-check-libiconv \
2243 maybe-check-m4 \
2244 maybe-check-readline \
2245 maybe-check-sid \
2246 maybe-check-sim \
2247 maybe-check-texinfo \
2248 maybe-check-zlib \
2249 maybe-check-gdb \
2250 maybe-check-expect \
2251 maybe-check-guile \
2252 maybe-check-tk \
2253 maybe-check-libtermcap \
2254 maybe-check-utils \
2255 maybe-check-gnattools \
2256 maybe-check-lto-plugin
2258 .PHONY: check-target
2259 check-target: \
2260 maybe-check-target-libstdc++-v3 \
2261 maybe-check-target-libmudflap \
2262 maybe-check-target-libssp \
2263 maybe-check-target-newlib \
2264 maybe-check-target-libgcc \
2265 maybe-check-target-libquadmath \
2266 maybe-check-target-libgfortran \
2267 maybe-check-target-libobjc \
2268 maybe-check-target-libgo \
2269 maybe-check-target-libtermcap \
2270 maybe-check-target-winsup \
2271 maybe-check-target-libgloss \
2272 maybe-check-target-libffi \
2273 maybe-check-target-libjava \
2274 maybe-check-target-zlib \
2275 maybe-check-target-boehm-gc \
2276 maybe-check-target-rda \
2277 maybe-check-target-libada \
2278 maybe-check-target-libgomp \
2279 maybe-check-target-libitm \
2280 maybe-check-target-libatomic
2282 do-check:
2283 @: $(MAKE); $(unstage)
2284 @r=`${PWD_COMMAND}`; export r; \
2285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2286 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2288 # Automated reporting of test results.
2290 warning.log: build.log
2291 $(srcdir)/contrib/warn_summary build.log > $@
2293 mail-report.log:
2294 if test x'$(BOOT_CFLAGS)' != x''; then \
2295 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2296 fi; \
2297 $(srcdir)/contrib/test_summary -t >$@
2298 chmod +x $@
2299 echo If you really want to send e-mail, run ./$@ now
2301 mail-report-with-warnings.log: warning.log
2302 if test x'$(BOOT_CFLAGS)' != x''; then \
2303 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2304 fi; \
2305 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2306 chmod +x $@
2307 echo If you really want to send e-mail, run ./$@ now
2309 # Installation targets.
2311 .PHONY: install uninstall
2312 install:
2313 @: $(MAKE); $(unstage)
2314 @r=`${PWD_COMMAND}`; export r; \
2315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2316 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2318 .PHONY: install-host-nogcc
2319 install-host-nogcc: \
2320 maybe-install-bfd \
2321 maybe-install-opcodes \
2322 maybe-install-binutils \
2323 maybe-install-bison \
2324 maybe-install-cgen \
2325 maybe-install-dejagnu \
2326 maybe-install-etc \
2327 maybe-install-fastjar \
2328 maybe-install-fixincludes \
2329 maybe-install-flex \
2330 maybe-install-gas \
2331 maybe-install-gmp \
2332 maybe-install-mpfr \
2333 maybe-install-mpc \
2334 maybe-install-isl \
2335 maybe-install-cloog \
2336 maybe-install-libelf \
2337 maybe-install-gold \
2338 maybe-install-gprof \
2339 maybe-install-intl \
2340 maybe-install-tcl \
2341 maybe-install-itcl \
2342 maybe-install-ld \
2343 maybe-install-libcpp \
2344 maybe-install-libdecnumber \
2345 maybe-install-libgui \
2346 maybe-install-libiberty \
2347 maybe-install-libiconv \
2348 maybe-install-m4 \
2349 maybe-install-readline \
2350 maybe-install-sid \
2351 maybe-install-sim \
2352 maybe-install-texinfo \
2353 maybe-install-zlib \
2354 maybe-install-gdb \
2355 maybe-install-expect \
2356 maybe-install-guile \
2357 maybe-install-tk \
2358 maybe-install-libtermcap \
2359 maybe-install-utils \
2360 maybe-install-gnattools \
2361 maybe-install-lto-plugin
2363 .PHONY: install-host
2364 install-host: \
2365 maybe-install-bfd \
2366 maybe-install-opcodes \
2367 maybe-install-binutils \
2368 maybe-install-bison \
2369 maybe-install-cgen \
2370 maybe-install-dejagnu \
2371 maybe-install-etc \
2372 maybe-install-fastjar \
2373 maybe-install-fixincludes \
2374 maybe-install-flex \
2375 maybe-install-gas \
2376 maybe-install-gcc \
2377 maybe-install-gmp \
2378 maybe-install-mpfr \
2379 maybe-install-mpc \
2380 maybe-install-isl \
2381 maybe-install-cloog \
2382 maybe-install-libelf \
2383 maybe-install-gold \
2384 maybe-install-gprof \
2385 maybe-install-intl \
2386 maybe-install-tcl \
2387 maybe-install-itcl \
2388 maybe-install-ld \
2389 maybe-install-libcpp \
2390 maybe-install-libdecnumber \
2391 maybe-install-libgui \
2392 maybe-install-libiberty \
2393 maybe-install-libiconv \
2394 maybe-install-m4 \
2395 maybe-install-readline \
2396 maybe-install-sid \
2397 maybe-install-sim \
2398 maybe-install-texinfo \
2399 maybe-install-zlib \
2400 maybe-install-gdb \
2401 maybe-install-expect \
2402 maybe-install-guile \
2403 maybe-install-tk \
2404 maybe-install-libtermcap \
2405 maybe-install-utils \
2406 maybe-install-gnattools \
2407 maybe-install-lto-plugin
2409 .PHONY: install-target
2410 install-target: \
2411 maybe-install-target-libstdc++-v3 \
2412 maybe-install-target-libmudflap \
2413 maybe-install-target-libssp \
2414 maybe-install-target-newlib \
2415 maybe-install-target-libgcc \
2416 maybe-install-target-libquadmath \
2417 maybe-install-target-libgfortran \
2418 maybe-install-target-libobjc \
2419 maybe-install-target-libgo \
2420 maybe-install-target-libtermcap \
2421 maybe-install-target-winsup \
2422 maybe-install-target-libgloss \
2423 maybe-install-target-libffi \
2424 maybe-install-target-libjava \
2425 maybe-install-target-zlib \
2426 maybe-install-target-boehm-gc \
2427 maybe-install-target-rda \
2428 maybe-install-target-libada \
2429 maybe-install-target-libgomp \
2430 maybe-install-target-libitm \
2431 maybe-install-target-libatomic
2433 uninstall:
2434 @echo "the uninstall target is not supported in this tree"
2436 .PHONY: install.all
2437 install.all: install-no-fixedincludes
2438 @if [ -f ./gcc/Makefile ] ; then \
2439 r=`${PWD_COMMAND}` ; export r ; \
2440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2441 $(HOST_EXPORTS) \
2442 (cd ./gcc && \
2443 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2444 else \
2445 true ; \
2448 # install-no-fixedincludes is used to allow the elaboration of binary packages
2449 # suitable for distribution, where we cannot include the fixed system header
2450 # files.
2451 .PHONY: install-no-fixedincludes
2452 install-no-fixedincludes: installdirs install-host-nogcc \
2453 install-target gcc-install-no-fixedincludes
2455 .PHONY: install-strip
2456 install-strip:
2457 @: $(MAKE); $(unstage)
2458 @r=`${PWD_COMMAND}`; export r; \
2459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2460 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2462 .PHONY: install-strip-host
2463 install-strip-host: \
2464 maybe-install-strip-bfd \
2465 maybe-install-strip-opcodes \
2466 maybe-install-strip-binutils \
2467 maybe-install-strip-bison \
2468 maybe-install-strip-cgen \
2469 maybe-install-strip-dejagnu \
2470 maybe-install-strip-etc \
2471 maybe-install-strip-fastjar \
2472 maybe-install-strip-fixincludes \
2473 maybe-install-strip-flex \
2474 maybe-install-strip-gas \
2475 maybe-install-strip-gcc \
2476 maybe-install-strip-gmp \
2477 maybe-install-strip-mpfr \
2478 maybe-install-strip-mpc \
2479 maybe-install-strip-isl \
2480 maybe-install-strip-cloog \
2481 maybe-install-strip-libelf \
2482 maybe-install-strip-gold \
2483 maybe-install-strip-gprof \
2484 maybe-install-strip-intl \
2485 maybe-install-strip-tcl \
2486 maybe-install-strip-itcl \
2487 maybe-install-strip-ld \
2488 maybe-install-strip-libcpp \
2489 maybe-install-strip-libdecnumber \
2490 maybe-install-strip-libgui \
2491 maybe-install-strip-libiberty \
2492 maybe-install-strip-libiconv \
2493 maybe-install-strip-m4 \
2494 maybe-install-strip-readline \
2495 maybe-install-strip-sid \
2496 maybe-install-strip-sim \
2497 maybe-install-strip-texinfo \
2498 maybe-install-strip-zlib \
2499 maybe-install-strip-gdb \
2500 maybe-install-strip-expect \
2501 maybe-install-strip-guile \
2502 maybe-install-strip-tk \
2503 maybe-install-strip-libtermcap \
2504 maybe-install-strip-utils \
2505 maybe-install-strip-gnattools \
2506 maybe-install-strip-lto-plugin
2508 .PHONY: install-strip-target
2509 install-strip-target: \
2510 maybe-install-strip-target-libstdc++-v3 \
2511 maybe-install-strip-target-libmudflap \
2512 maybe-install-strip-target-libssp \
2513 maybe-install-strip-target-newlib \
2514 maybe-install-strip-target-libgcc \
2515 maybe-install-strip-target-libquadmath \
2516 maybe-install-strip-target-libgfortran \
2517 maybe-install-strip-target-libobjc \
2518 maybe-install-strip-target-libgo \
2519 maybe-install-strip-target-libtermcap \
2520 maybe-install-strip-target-winsup \
2521 maybe-install-strip-target-libgloss \
2522 maybe-install-strip-target-libffi \
2523 maybe-install-strip-target-libjava \
2524 maybe-install-strip-target-zlib \
2525 maybe-install-strip-target-boehm-gc \
2526 maybe-install-strip-target-rda \
2527 maybe-install-strip-target-libada \
2528 maybe-install-strip-target-libgomp \
2529 maybe-install-strip-target-libitm \
2530 maybe-install-strip-target-libatomic
2533 ### other supporting targets
2535 MAKEDIRS= \
2536 $(DESTDIR)$(prefix) \
2537 $(DESTDIR)$(exec_prefix)
2538 .PHONY: installdirs
2539 installdirs: mkinstalldirs
2540 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2542 dir.info: do-install-info
2543 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2544 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2545 mv -f dir.info.new dir.info ; \
2546 else true ; \
2549 dist:
2550 @echo "Building a full distribution of this tree isn't done"
2551 @echo "via 'make dist'. Check out the etc/ subdirectory"
2553 etags tags: TAGS
2555 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2556 # ability to use several tags files at once, so there is probably no need
2557 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2558 # (if we felt like it) have this Makefile write a piece of elisp which
2559 # the user could load to tell emacs19 where all the TAGS files we just
2560 # built are.
2561 TAGS: do-TAGS
2563 # ------------------------------------
2564 # Macros for configure and all targets
2565 # ------------------------------------
2571 # --------------------------------------
2572 # Modules which run on the build machine
2573 # --------------------------------------
2576 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2577 maybe-configure-build-libiberty:
2578 @if gcc-bootstrap
2579 configure-build-libiberty: stage_current
2580 @endif gcc-bootstrap
2581 @if build-libiberty
2582 maybe-configure-build-libiberty: configure-build-libiberty
2583 configure-build-libiberty:
2584 @: $(MAKE); $(unstage)
2585 @r=`${PWD_COMMAND}`; export r; \
2586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2587 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2588 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2589 $(BUILD_EXPORTS) \
2590 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2591 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2592 case $(srcdir) in \
2593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2594 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2596 esac; \
2597 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2598 libsrcdir="$$s/libiberty"; \
2599 rm -f no-such-file || : ; \
2600 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2601 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2602 --target=${target_alias} $${srcdiroption} \
2603 || exit 1
2604 @endif build-libiberty
2610 .PHONY: all-build-libiberty maybe-all-build-libiberty
2611 maybe-all-build-libiberty:
2612 @if gcc-bootstrap
2613 all-build-libiberty: stage_current
2614 @endif gcc-bootstrap
2615 @if build-libiberty
2616 TARGET-build-libiberty=all
2617 maybe-all-build-libiberty: all-build-libiberty
2618 all-build-libiberty: configure-build-libiberty
2619 @: $(MAKE); $(unstage)
2620 @r=`${PWD_COMMAND}`; export r; \
2621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2622 $(BUILD_EXPORTS) \
2623 (cd $(BUILD_SUBDIR)/libiberty && \
2624 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2625 $(TARGET-build-libiberty))
2626 @endif build-libiberty
2632 .PHONY: configure-build-bison maybe-configure-build-bison
2633 maybe-configure-build-bison:
2634 @if gcc-bootstrap
2635 configure-build-bison: stage_current
2636 @endif gcc-bootstrap
2637 @if build-bison
2638 maybe-configure-build-bison: configure-build-bison
2639 configure-build-bison:
2640 @: $(MAKE); $(unstage)
2641 @r=`${PWD_COMMAND}`; export r; \
2642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2643 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2644 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2645 $(BUILD_EXPORTS) \
2646 echo Configuring in $(BUILD_SUBDIR)/bison; \
2647 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2648 case $(srcdir) in \
2649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2650 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2652 esac; \
2653 srcdiroption="--srcdir=$${topdir}/bison"; \
2654 libsrcdir="$$s/bison"; \
2655 rm -f no-such-file || : ; \
2656 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2657 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2658 --target=${target_alias} $${srcdiroption} \
2659 || exit 1
2660 @endif build-bison
2666 .PHONY: all-build-bison maybe-all-build-bison
2667 maybe-all-build-bison:
2668 @if gcc-bootstrap
2669 all-build-bison: stage_current
2670 @endif gcc-bootstrap
2671 @if build-bison
2672 TARGET-build-bison=all
2673 maybe-all-build-bison: all-build-bison
2674 all-build-bison: configure-build-bison
2675 @: $(MAKE); $(unstage)
2676 @r=`${PWD_COMMAND}`; export r; \
2677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2678 $(BUILD_EXPORTS) \
2679 (cd $(BUILD_SUBDIR)/bison && \
2680 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2681 $(TARGET-build-bison))
2682 @endif build-bison
2688 .PHONY: configure-build-flex maybe-configure-build-flex
2689 maybe-configure-build-flex:
2690 @if gcc-bootstrap
2691 configure-build-flex: stage_current
2692 @endif gcc-bootstrap
2693 @if build-flex
2694 maybe-configure-build-flex: configure-build-flex
2695 configure-build-flex:
2696 @: $(MAKE); $(unstage)
2697 @r=`${PWD_COMMAND}`; export r; \
2698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2699 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2700 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2701 $(BUILD_EXPORTS) \
2702 echo Configuring in $(BUILD_SUBDIR)/flex; \
2703 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2704 case $(srcdir) in \
2705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2706 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2708 esac; \
2709 srcdiroption="--srcdir=$${topdir}/flex"; \
2710 libsrcdir="$$s/flex"; \
2711 rm -f no-such-file || : ; \
2712 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2713 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2714 --target=${target_alias} $${srcdiroption} \
2715 || exit 1
2716 @endif build-flex
2722 .PHONY: all-build-flex maybe-all-build-flex
2723 maybe-all-build-flex:
2724 @if gcc-bootstrap
2725 all-build-flex: stage_current
2726 @endif gcc-bootstrap
2727 @if build-flex
2728 TARGET-build-flex=all
2729 maybe-all-build-flex: all-build-flex
2730 all-build-flex: configure-build-flex
2731 @: $(MAKE); $(unstage)
2732 @r=`${PWD_COMMAND}`; export r; \
2733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2734 $(BUILD_EXPORTS) \
2735 (cd $(BUILD_SUBDIR)/flex && \
2736 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2737 $(TARGET-build-flex))
2738 @endif build-flex
2744 .PHONY: configure-build-m4 maybe-configure-build-m4
2745 maybe-configure-build-m4:
2746 @if gcc-bootstrap
2747 configure-build-m4: stage_current
2748 @endif gcc-bootstrap
2749 @if build-m4
2750 maybe-configure-build-m4: configure-build-m4
2751 configure-build-m4:
2752 @: $(MAKE); $(unstage)
2753 @r=`${PWD_COMMAND}`; export r; \
2754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2755 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2756 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2757 $(BUILD_EXPORTS) \
2758 echo Configuring in $(BUILD_SUBDIR)/m4; \
2759 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2760 case $(srcdir) in \
2761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2762 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2764 esac; \
2765 srcdiroption="--srcdir=$${topdir}/m4"; \
2766 libsrcdir="$$s/m4"; \
2767 rm -f no-such-file || : ; \
2768 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2769 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2770 --target=${target_alias} $${srcdiroption} \
2771 || exit 1
2772 @endif build-m4
2778 .PHONY: all-build-m4 maybe-all-build-m4
2779 maybe-all-build-m4:
2780 @if gcc-bootstrap
2781 all-build-m4: stage_current
2782 @endif gcc-bootstrap
2783 @if build-m4
2784 TARGET-build-m4=all
2785 maybe-all-build-m4: all-build-m4
2786 all-build-m4: configure-build-m4
2787 @: $(MAKE); $(unstage)
2788 @r=`${PWD_COMMAND}`; export r; \
2789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2790 $(BUILD_EXPORTS) \
2791 (cd $(BUILD_SUBDIR)/m4 && \
2792 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2793 $(TARGET-build-m4))
2794 @endif build-m4
2800 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2801 maybe-configure-build-texinfo:
2802 @if gcc-bootstrap
2803 configure-build-texinfo: stage_current
2804 @endif gcc-bootstrap
2805 @if build-texinfo
2806 maybe-configure-build-texinfo: configure-build-texinfo
2807 configure-build-texinfo:
2808 @: $(MAKE); $(unstage)
2809 @r=`${PWD_COMMAND}`; export r; \
2810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2811 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2812 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2813 $(BUILD_EXPORTS) \
2814 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2815 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2816 case $(srcdir) in \
2817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2818 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2820 esac; \
2821 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2822 libsrcdir="$$s/texinfo"; \
2823 rm -f no-such-file || : ; \
2824 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2825 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2826 --target=${target_alias} $${srcdiroption} \
2827 || exit 1
2828 @endif build-texinfo
2834 .PHONY: all-build-texinfo maybe-all-build-texinfo
2835 maybe-all-build-texinfo:
2836 @if gcc-bootstrap
2837 all-build-texinfo: stage_current
2838 @endif gcc-bootstrap
2839 @if build-texinfo
2840 TARGET-build-texinfo=all
2841 maybe-all-build-texinfo: all-build-texinfo
2842 all-build-texinfo: configure-build-texinfo
2843 @: $(MAKE); $(unstage)
2844 @r=`${PWD_COMMAND}`; export r; \
2845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2846 $(BUILD_EXPORTS) \
2847 (cd $(BUILD_SUBDIR)/texinfo && \
2848 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2849 $(TARGET-build-texinfo))
2850 @endif build-texinfo
2856 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2857 maybe-configure-build-fixincludes:
2858 @if gcc-bootstrap
2859 configure-build-fixincludes: stage_current
2860 @endif gcc-bootstrap
2861 @if build-fixincludes
2862 maybe-configure-build-fixincludes: configure-build-fixincludes
2863 configure-build-fixincludes:
2864 @: $(MAKE); $(unstage)
2865 @r=`${PWD_COMMAND}`; export r; \
2866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2867 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2868 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2869 $(BUILD_EXPORTS) \
2870 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2871 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2872 case $(srcdir) in \
2873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2874 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2876 esac; \
2877 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2878 libsrcdir="$$s/fixincludes"; \
2879 rm -f no-such-file || : ; \
2880 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2881 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2882 --target=${target_alias} $${srcdiroption} \
2883 || exit 1
2884 @endif build-fixincludes
2890 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2891 maybe-all-build-fixincludes:
2892 @if gcc-bootstrap
2893 all-build-fixincludes: stage_current
2894 @endif gcc-bootstrap
2895 @if build-fixincludes
2896 TARGET-build-fixincludes=all
2897 maybe-all-build-fixincludes: all-build-fixincludes
2898 all-build-fixincludes: configure-build-fixincludes
2899 @: $(MAKE); $(unstage)
2900 @r=`${PWD_COMMAND}`; export r; \
2901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2902 $(BUILD_EXPORTS) \
2903 (cd $(BUILD_SUBDIR)/fixincludes && \
2904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2905 $(TARGET-build-fixincludes))
2906 @endif build-fixincludes
2912 # --------------------------------------
2913 # Modules which run on the host machine
2914 # --------------------------------------
2917 .PHONY: configure-bfd maybe-configure-bfd
2918 maybe-configure-bfd:
2919 @if gcc-bootstrap
2920 configure-bfd: stage_current
2921 @endif gcc-bootstrap
2922 @if bfd
2923 maybe-configure-bfd: configure-bfd
2924 configure-bfd:
2925 @r=`${PWD_COMMAND}`; export r; \
2926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2927 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2929 $(HOST_EXPORTS) \
2930 echo Configuring in $(HOST_SUBDIR)/bfd; \
2931 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2932 case $(srcdir) in \
2933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2934 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2936 esac; \
2937 srcdiroption="--srcdir=$${topdir}/bfd"; \
2938 libsrcdir="$$s/bfd"; \
2939 $(SHELL) $${libsrcdir}/configure \
2940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2941 --target=${target_alias} $${srcdiroption} \
2942 || exit 1
2943 @endif bfd
2947 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2948 maybe-configure-stage1-bfd:
2949 @if bfd-bootstrap
2950 maybe-configure-stage1-bfd: configure-stage1-bfd
2951 configure-stage1-bfd:
2952 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2954 @r=`${PWD_COMMAND}`; export r; \
2955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2956 TFLAGS="$(STAGE1_TFLAGS)"; \
2957 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2958 $(HOST_EXPORTS) \
2959 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2960 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2961 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2962 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2964 cd $(HOST_SUBDIR)/bfd || exit 1; \
2965 case $(srcdir) in \
2966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2967 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2969 esac; \
2970 srcdiroption="--srcdir=$${topdir}/bfd"; \
2971 libsrcdir="$$s/bfd"; \
2972 $(SHELL) $${libsrcdir}/configure \
2973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2974 --target=${target_alias} $${srcdiroption} \
2975 $(STAGE1_CONFIGURE_FLAGS)
2976 @endif bfd-bootstrap
2978 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2979 maybe-configure-stage2-bfd:
2980 @if bfd-bootstrap
2981 maybe-configure-stage2-bfd: configure-stage2-bfd
2982 configure-stage2-bfd:
2983 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2985 @r=`${PWD_COMMAND}`; export r; \
2986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2987 TFLAGS="$(STAGE2_TFLAGS)"; \
2988 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2989 $(HOST_EXPORTS) \
2990 $(POSTSTAGE1_HOST_EXPORTS) \
2991 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
2992 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
2993 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
2994 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
2995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2996 cd $(HOST_SUBDIR)/bfd || exit 1; \
2997 case $(srcdir) in \
2998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2999 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3001 esac; \
3002 srcdiroption="--srcdir=$${topdir}/bfd"; \
3003 libsrcdir="$$s/bfd"; \
3004 $(SHELL) $${libsrcdir}/configure \
3005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3006 --target=${target_alias} $${srcdiroption} \
3007 --with-build-libsubdir=$(HOST_SUBDIR) \
3008 $(STAGE2_CONFIGURE_FLAGS)
3009 @endif bfd-bootstrap
3011 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3012 maybe-configure-stage3-bfd:
3013 @if bfd-bootstrap
3014 maybe-configure-stage3-bfd: configure-stage3-bfd
3015 configure-stage3-bfd:
3016 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3018 @r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020 TFLAGS="$(STAGE3_TFLAGS)"; \
3021 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3022 $(HOST_EXPORTS) \
3023 $(POSTSTAGE1_HOST_EXPORTS) \
3024 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3025 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3026 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3027 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3029 cd $(HOST_SUBDIR)/bfd || exit 1; \
3030 case $(srcdir) in \
3031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3032 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3034 esac; \
3035 srcdiroption="--srcdir=$${topdir}/bfd"; \
3036 libsrcdir="$$s/bfd"; \
3037 $(SHELL) $${libsrcdir}/configure \
3038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3039 --target=${target_alias} $${srcdiroption} \
3040 --with-build-libsubdir=$(HOST_SUBDIR) \
3041 $(STAGE3_CONFIGURE_FLAGS)
3042 @endif bfd-bootstrap
3044 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3045 maybe-configure-stage4-bfd:
3046 @if bfd-bootstrap
3047 maybe-configure-stage4-bfd: configure-stage4-bfd
3048 configure-stage4-bfd:
3049 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3051 @r=`${PWD_COMMAND}`; export r; \
3052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3053 TFLAGS="$(STAGE4_TFLAGS)"; \
3054 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3055 $(HOST_EXPORTS) \
3056 $(POSTSTAGE1_HOST_EXPORTS) \
3057 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3058 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3059 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3060 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3062 cd $(HOST_SUBDIR)/bfd || exit 1; \
3063 case $(srcdir) in \
3064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3065 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3067 esac; \
3068 srcdiroption="--srcdir=$${topdir}/bfd"; \
3069 libsrcdir="$$s/bfd"; \
3070 $(SHELL) $${libsrcdir}/configure \
3071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3072 --target=${target_alias} $${srcdiroption} \
3073 --with-build-libsubdir=$(HOST_SUBDIR) \
3074 $(STAGE4_CONFIGURE_FLAGS)
3075 @endif bfd-bootstrap
3077 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3078 maybe-configure-stageprofile-bfd:
3079 @if bfd-bootstrap
3080 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3081 configure-stageprofile-bfd:
3082 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3083 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3084 @r=`${PWD_COMMAND}`; export r; \
3085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3086 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3087 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3088 $(HOST_EXPORTS) \
3089 $(POSTSTAGE1_HOST_EXPORTS) \
3090 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3091 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3092 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3093 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3095 cd $(HOST_SUBDIR)/bfd || exit 1; \
3096 case $(srcdir) in \
3097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3098 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3100 esac; \
3101 srcdiroption="--srcdir=$${topdir}/bfd"; \
3102 libsrcdir="$$s/bfd"; \
3103 $(SHELL) $${libsrcdir}/configure \
3104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3105 --target=${target_alias} $${srcdiroption} \
3106 --with-build-libsubdir=$(HOST_SUBDIR) \
3107 $(STAGEprofile_CONFIGURE_FLAGS)
3108 @endif bfd-bootstrap
3110 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3111 maybe-configure-stagefeedback-bfd:
3112 @if bfd-bootstrap
3113 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3114 configure-stagefeedback-bfd:
3115 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3116 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3117 @r=`${PWD_COMMAND}`; export r; \
3118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3119 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3120 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3121 $(HOST_EXPORTS) \
3122 $(POSTSTAGE1_HOST_EXPORTS) \
3123 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3124 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3125 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3126 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3128 cd $(HOST_SUBDIR)/bfd || exit 1; \
3129 case $(srcdir) in \
3130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3131 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3133 esac; \
3134 srcdiroption="--srcdir=$${topdir}/bfd"; \
3135 libsrcdir="$$s/bfd"; \
3136 $(SHELL) $${libsrcdir}/configure \
3137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3138 --target=${target_alias} $${srcdiroption} \
3139 --with-build-libsubdir=$(HOST_SUBDIR) \
3140 $(STAGEfeedback_CONFIGURE_FLAGS)
3141 @endif bfd-bootstrap
3147 .PHONY: all-bfd maybe-all-bfd
3148 maybe-all-bfd:
3149 @if gcc-bootstrap
3150 all-bfd: stage_current
3151 @endif gcc-bootstrap
3152 @if bfd
3153 TARGET-bfd=all
3154 maybe-all-bfd: all-bfd
3155 all-bfd: configure-bfd
3156 @r=`${PWD_COMMAND}`; export r; \
3157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3158 $(HOST_EXPORTS) \
3159 (cd $(HOST_SUBDIR)/bfd && \
3160 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3161 $(TARGET-bfd))
3162 @endif bfd
3166 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3167 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3168 maybe-all-stage1-bfd:
3169 maybe-clean-stage1-bfd:
3170 @if bfd-bootstrap
3171 maybe-all-stage1-bfd: all-stage1-bfd
3172 all-stage1: all-stage1-bfd
3173 TARGET-stage1-bfd = $(TARGET-bfd)
3174 all-stage1-bfd: configure-stage1-bfd
3175 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3176 @r=`${PWD_COMMAND}`; export r; \
3177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 TFLAGS="$(STAGE1_TFLAGS)"; \
3179 $(HOST_EXPORTS) \
3180 cd $(HOST_SUBDIR)/bfd && \
3181 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3182 CFLAGS="$(STAGE1_CFLAGS)" \
3183 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3184 LIBCFLAGS="$(LIBCFLAGS)" \
3185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3188 $(EXTRA_HOST_FLAGS) \
3189 TFLAGS="$(STAGE1_TFLAGS)" \
3190 $(TARGET-stage1-bfd)
3192 maybe-clean-stage1-bfd: clean-stage1-bfd
3193 clean-stage1: clean-stage1-bfd
3194 clean-stage1-bfd:
3195 @if [ $(current_stage) = stage1 ]; then \
3196 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3197 else \
3198 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3199 $(MAKE) stage1-start; \
3200 fi; \
3201 cd $(HOST_SUBDIR)/bfd && \
3202 $(MAKE) $(EXTRA_HOST_FLAGS) \
3203 clean
3204 @endif bfd-bootstrap
3207 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3208 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3209 maybe-all-stage2-bfd:
3210 maybe-clean-stage2-bfd:
3211 @if bfd-bootstrap
3212 maybe-all-stage2-bfd: all-stage2-bfd
3213 all-stage2: all-stage2-bfd
3214 TARGET-stage2-bfd = $(TARGET-bfd)
3215 all-stage2-bfd: configure-stage2-bfd
3216 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3217 @r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 TFLAGS="$(STAGE2_TFLAGS)"; \
3220 $(HOST_EXPORTS) \
3221 $(POSTSTAGE1_HOST_EXPORTS) \
3222 cd $(HOST_SUBDIR)/bfd && \
3223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3224 CFLAGS="$(STAGE2_CFLAGS)" \
3225 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3226 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3230 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3231 TFLAGS="$(STAGE2_TFLAGS)" \
3232 $(TARGET-stage2-bfd)
3234 maybe-clean-stage2-bfd: clean-stage2-bfd
3235 clean-stage2: clean-stage2-bfd
3236 clean-stage2-bfd:
3237 @if [ $(current_stage) = stage2 ]; then \
3238 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3239 else \
3240 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3241 $(MAKE) stage2-start; \
3242 fi; \
3243 cd $(HOST_SUBDIR)/bfd && \
3244 $(MAKE) $(EXTRA_HOST_FLAGS) \
3245 $(POSTSTAGE1_FLAGS_TO_PASS) \
3246 clean
3247 @endif bfd-bootstrap
3250 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3251 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3252 maybe-all-stage3-bfd:
3253 maybe-clean-stage3-bfd:
3254 @if bfd-bootstrap
3255 maybe-all-stage3-bfd: all-stage3-bfd
3256 all-stage3: all-stage3-bfd
3257 TARGET-stage3-bfd = $(TARGET-bfd)
3258 all-stage3-bfd: configure-stage3-bfd
3259 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3260 @r=`${PWD_COMMAND}`; export r; \
3261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3262 TFLAGS="$(STAGE3_TFLAGS)"; \
3263 $(HOST_EXPORTS) \
3264 $(POSTSTAGE1_HOST_EXPORTS) \
3265 cd $(HOST_SUBDIR)/bfd && \
3266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3267 CFLAGS="$(STAGE3_CFLAGS)" \
3268 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3269 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3274 TFLAGS="$(STAGE3_TFLAGS)" \
3275 $(TARGET-stage3-bfd)
3277 maybe-clean-stage3-bfd: clean-stage3-bfd
3278 clean-stage3: clean-stage3-bfd
3279 clean-stage3-bfd:
3280 @if [ $(current_stage) = stage3 ]; then \
3281 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3282 else \
3283 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3284 $(MAKE) stage3-start; \
3285 fi; \
3286 cd $(HOST_SUBDIR)/bfd && \
3287 $(MAKE) $(EXTRA_HOST_FLAGS) \
3288 $(POSTSTAGE1_FLAGS_TO_PASS) \
3289 clean
3290 @endif bfd-bootstrap
3293 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3294 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3295 maybe-all-stage4-bfd:
3296 maybe-clean-stage4-bfd:
3297 @if bfd-bootstrap
3298 maybe-all-stage4-bfd: all-stage4-bfd
3299 all-stage4: all-stage4-bfd
3300 TARGET-stage4-bfd = $(TARGET-bfd)
3301 all-stage4-bfd: configure-stage4-bfd
3302 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3303 @r=`${PWD_COMMAND}`; export r; \
3304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3305 TFLAGS="$(STAGE4_TFLAGS)"; \
3306 $(HOST_EXPORTS) \
3307 $(POSTSTAGE1_HOST_EXPORTS) \
3308 cd $(HOST_SUBDIR)/bfd && \
3309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3310 CFLAGS="$(STAGE4_CFLAGS)" \
3311 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3312 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3316 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3317 TFLAGS="$(STAGE4_TFLAGS)" \
3318 $(TARGET-stage4-bfd)
3320 maybe-clean-stage4-bfd: clean-stage4-bfd
3321 clean-stage4: clean-stage4-bfd
3322 clean-stage4-bfd:
3323 @if [ $(current_stage) = stage4 ]; then \
3324 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3325 else \
3326 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3327 $(MAKE) stage4-start; \
3328 fi; \
3329 cd $(HOST_SUBDIR)/bfd && \
3330 $(MAKE) $(EXTRA_HOST_FLAGS) \
3331 $(POSTSTAGE1_FLAGS_TO_PASS) \
3332 clean
3333 @endif bfd-bootstrap
3336 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3337 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3338 maybe-all-stageprofile-bfd:
3339 maybe-clean-stageprofile-bfd:
3340 @if bfd-bootstrap
3341 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3342 all-stageprofile: all-stageprofile-bfd
3343 TARGET-stageprofile-bfd = $(TARGET-bfd)
3344 all-stageprofile-bfd: configure-stageprofile-bfd
3345 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3346 @r=`${PWD_COMMAND}`; export r; \
3347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3348 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3349 $(HOST_EXPORTS) \
3350 $(POSTSTAGE1_HOST_EXPORTS) \
3351 cd $(HOST_SUBDIR)/bfd && \
3352 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3353 CFLAGS="$(STAGEprofile_CFLAGS)" \
3354 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3355 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3360 TFLAGS="$(STAGEprofile_TFLAGS)" \
3361 $(TARGET-stageprofile-bfd)
3363 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3364 clean-stageprofile: clean-stageprofile-bfd
3365 clean-stageprofile-bfd:
3366 @if [ $(current_stage) = stageprofile ]; then \
3367 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3368 else \
3369 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3370 $(MAKE) stageprofile-start; \
3371 fi; \
3372 cd $(HOST_SUBDIR)/bfd && \
3373 $(MAKE) $(EXTRA_HOST_FLAGS) \
3374 $(POSTSTAGE1_FLAGS_TO_PASS) \
3375 clean
3376 @endif bfd-bootstrap
3379 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3380 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3381 maybe-all-stagefeedback-bfd:
3382 maybe-clean-stagefeedback-bfd:
3383 @if bfd-bootstrap
3384 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3385 all-stagefeedback: all-stagefeedback-bfd
3386 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3387 all-stagefeedback-bfd: configure-stagefeedback-bfd
3388 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3389 @r=`${PWD_COMMAND}`; export r; \
3390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3391 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3392 $(HOST_EXPORTS) \
3393 $(POSTSTAGE1_HOST_EXPORTS) \
3394 cd $(HOST_SUBDIR)/bfd && \
3395 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3396 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3397 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3398 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3402 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3403 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3404 $(TARGET-stagefeedback-bfd)
3406 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3407 clean-stagefeedback: clean-stagefeedback-bfd
3408 clean-stagefeedback-bfd:
3409 @if [ $(current_stage) = stagefeedback ]; then \
3410 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3411 else \
3412 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3413 $(MAKE) stagefeedback-start; \
3414 fi; \
3415 cd $(HOST_SUBDIR)/bfd && \
3416 $(MAKE) $(EXTRA_HOST_FLAGS) \
3417 $(POSTSTAGE1_FLAGS_TO_PASS) \
3418 clean
3419 @endif bfd-bootstrap
3425 .PHONY: check-bfd maybe-check-bfd
3426 maybe-check-bfd:
3427 @if bfd
3428 maybe-check-bfd: check-bfd
3430 check-bfd:
3431 @: $(MAKE); $(unstage)
3432 @r=`${PWD_COMMAND}`; export r; \
3433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3434 $(HOST_EXPORTS) \
3435 (cd $(HOST_SUBDIR)/bfd && \
3436 $(MAKE) $(FLAGS_TO_PASS) check)
3438 @endif bfd
3440 .PHONY: install-bfd maybe-install-bfd
3441 maybe-install-bfd:
3442 @if bfd
3443 maybe-install-bfd: install-bfd
3445 install-bfd: installdirs
3446 @: $(MAKE); $(unstage)
3447 @r=`${PWD_COMMAND}`; export r; \
3448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3449 $(HOST_EXPORTS) \
3450 (cd $(HOST_SUBDIR)/bfd && \
3451 $(MAKE) $(FLAGS_TO_PASS) install)
3453 @endif bfd
3455 .PHONY: install-strip-bfd maybe-install-strip-bfd
3456 maybe-install-strip-bfd:
3457 @if bfd
3458 maybe-install-strip-bfd: install-strip-bfd
3460 install-strip-bfd: installdirs
3461 @: $(MAKE); $(unstage)
3462 @r=`${PWD_COMMAND}`; export r; \
3463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3464 $(HOST_EXPORTS) \
3465 (cd $(HOST_SUBDIR)/bfd && \
3466 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3468 @endif bfd
3470 # Other targets (info, dvi, pdf, etc.)
3472 .PHONY: maybe-info-bfd info-bfd
3473 maybe-info-bfd:
3474 @if bfd
3475 maybe-info-bfd: info-bfd
3477 info-bfd: \
3478 configure-bfd
3479 @[ -f ./bfd/Makefile ] || exit 0; \
3480 r=`${PWD_COMMAND}`; export r; \
3481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3482 $(HOST_EXPORTS) \
3483 for flag in $(EXTRA_HOST_FLAGS) ; do \
3484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3485 done; \
3486 echo "Doing info in bfd" ; \
3487 (cd $(HOST_SUBDIR)/bfd && \
3488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3490 "RANLIB=$${RANLIB}" \
3491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3492 info) \
3493 || exit 1
3495 @endif bfd
3497 .PHONY: maybe-dvi-bfd dvi-bfd
3498 maybe-dvi-bfd:
3499 @if bfd
3500 maybe-dvi-bfd: dvi-bfd
3502 dvi-bfd: \
3503 configure-bfd
3504 @[ -f ./bfd/Makefile ] || exit 0; \
3505 r=`${PWD_COMMAND}`; export r; \
3506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3507 $(HOST_EXPORTS) \
3508 for flag in $(EXTRA_HOST_FLAGS) ; do \
3509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3510 done; \
3511 echo "Doing dvi in bfd" ; \
3512 (cd $(HOST_SUBDIR)/bfd && \
3513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3515 "RANLIB=$${RANLIB}" \
3516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3517 dvi) \
3518 || exit 1
3520 @endif bfd
3522 .PHONY: maybe-pdf-bfd pdf-bfd
3523 maybe-pdf-bfd:
3524 @if bfd
3525 maybe-pdf-bfd: pdf-bfd
3527 pdf-bfd: \
3528 configure-bfd
3529 @[ -f ./bfd/Makefile ] || exit 0; \
3530 r=`${PWD_COMMAND}`; export r; \
3531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3532 $(HOST_EXPORTS) \
3533 for flag in $(EXTRA_HOST_FLAGS) ; do \
3534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3535 done; \
3536 echo "Doing pdf in bfd" ; \
3537 (cd $(HOST_SUBDIR)/bfd && \
3538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3540 "RANLIB=$${RANLIB}" \
3541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3542 pdf) \
3543 || exit 1
3545 @endif bfd
3547 .PHONY: maybe-html-bfd html-bfd
3548 maybe-html-bfd:
3549 @if bfd
3550 maybe-html-bfd: html-bfd
3552 html-bfd: \
3553 configure-bfd
3554 @[ -f ./bfd/Makefile ] || exit 0; \
3555 r=`${PWD_COMMAND}`; export r; \
3556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3557 $(HOST_EXPORTS) \
3558 for flag in $(EXTRA_HOST_FLAGS) ; do \
3559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3560 done; \
3561 echo "Doing html in bfd" ; \
3562 (cd $(HOST_SUBDIR)/bfd && \
3563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3565 "RANLIB=$${RANLIB}" \
3566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3567 html) \
3568 || exit 1
3570 @endif bfd
3572 .PHONY: maybe-TAGS-bfd TAGS-bfd
3573 maybe-TAGS-bfd:
3574 @if bfd
3575 maybe-TAGS-bfd: TAGS-bfd
3577 TAGS-bfd: \
3578 configure-bfd
3579 @[ -f ./bfd/Makefile ] || exit 0; \
3580 r=`${PWD_COMMAND}`; export r; \
3581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3582 $(HOST_EXPORTS) \
3583 for flag in $(EXTRA_HOST_FLAGS) ; do \
3584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3585 done; \
3586 echo "Doing TAGS in bfd" ; \
3587 (cd $(HOST_SUBDIR)/bfd && \
3588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3590 "RANLIB=$${RANLIB}" \
3591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3592 TAGS) \
3593 || exit 1
3595 @endif bfd
3597 .PHONY: maybe-install-info-bfd install-info-bfd
3598 maybe-install-info-bfd:
3599 @if bfd
3600 maybe-install-info-bfd: install-info-bfd
3602 install-info-bfd: \
3603 configure-bfd \
3604 info-bfd
3605 @[ -f ./bfd/Makefile ] || exit 0; \
3606 r=`${PWD_COMMAND}`; export r; \
3607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3608 $(HOST_EXPORTS) \
3609 for flag in $(EXTRA_HOST_FLAGS) ; do \
3610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3611 done; \
3612 echo "Doing install-info in bfd" ; \
3613 (cd $(HOST_SUBDIR)/bfd && \
3614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3616 "RANLIB=$${RANLIB}" \
3617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3618 install-info) \
3619 || exit 1
3621 @endif bfd
3623 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3624 maybe-install-pdf-bfd:
3625 @if bfd
3626 maybe-install-pdf-bfd: install-pdf-bfd
3628 install-pdf-bfd: \
3629 configure-bfd \
3630 pdf-bfd
3631 @[ -f ./bfd/Makefile ] || exit 0; \
3632 r=`${PWD_COMMAND}`; export r; \
3633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3634 $(HOST_EXPORTS) \
3635 for flag in $(EXTRA_HOST_FLAGS) ; do \
3636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3637 done; \
3638 echo "Doing install-pdf in bfd" ; \
3639 (cd $(HOST_SUBDIR)/bfd && \
3640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3642 "RANLIB=$${RANLIB}" \
3643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3644 install-pdf) \
3645 || exit 1
3647 @endif bfd
3649 .PHONY: maybe-install-html-bfd install-html-bfd
3650 maybe-install-html-bfd:
3651 @if bfd
3652 maybe-install-html-bfd: install-html-bfd
3654 install-html-bfd: \
3655 configure-bfd \
3656 html-bfd
3657 @[ -f ./bfd/Makefile ] || exit 0; \
3658 r=`${PWD_COMMAND}`; export r; \
3659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3660 $(HOST_EXPORTS) \
3661 for flag in $(EXTRA_HOST_FLAGS) ; do \
3662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3663 done; \
3664 echo "Doing install-html in bfd" ; \
3665 (cd $(HOST_SUBDIR)/bfd && \
3666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3668 "RANLIB=$${RANLIB}" \
3669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3670 install-html) \
3671 || exit 1
3673 @endif bfd
3675 .PHONY: maybe-installcheck-bfd installcheck-bfd
3676 maybe-installcheck-bfd:
3677 @if bfd
3678 maybe-installcheck-bfd: installcheck-bfd
3680 installcheck-bfd: \
3681 configure-bfd
3682 @[ -f ./bfd/Makefile ] || exit 0; \
3683 r=`${PWD_COMMAND}`; export r; \
3684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3685 $(HOST_EXPORTS) \
3686 for flag in $(EXTRA_HOST_FLAGS) ; do \
3687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3688 done; \
3689 echo "Doing installcheck in bfd" ; \
3690 (cd $(HOST_SUBDIR)/bfd && \
3691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3693 "RANLIB=$${RANLIB}" \
3694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3695 installcheck) \
3696 || exit 1
3698 @endif bfd
3700 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3701 maybe-mostlyclean-bfd:
3702 @if bfd
3703 maybe-mostlyclean-bfd: mostlyclean-bfd
3705 mostlyclean-bfd:
3706 @[ -f ./bfd/Makefile ] || exit 0; \
3707 r=`${PWD_COMMAND}`; export r; \
3708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3709 $(HOST_EXPORTS) \
3710 for flag in $(EXTRA_HOST_FLAGS) ; do \
3711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3712 done; \
3713 echo "Doing mostlyclean in bfd" ; \
3714 (cd $(HOST_SUBDIR)/bfd && \
3715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3717 "RANLIB=$${RANLIB}" \
3718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3719 mostlyclean) \
3720 || exit 1
3722 @endif bfd
3724 .PHONY: maybe-clean-bfd clean-bfd
3725 maybe-clean-bfd:
3726 @if bfd
3727 maybe-clean-bfd: clean-bfd
3729 clean-bfd:
3730 @[ -f ./bfd/Makefile ] || exit 0; \
3731 r=`${PWD_COMMAND}`; export r; \
3732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3733 $(HOST_EXPORTS) \
3734 for flag in $(EXTRA_HOST_FLAGS) ; do \
3735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3736 done; \
3737 echo "Doing clean in bfd" ; \
3738 (cd $(HOST_SUBDIR)/bfd && \
3739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3741 "RANLIB=$${RANLIB}" \
3742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3743 clean) \
3744 || exit 1
3746 @endif bfd
3748 .PHONY: maybe-distclean-bfd distclean-bfd
3749 maybe-distclean-bfd:
3750 @if bfd
3751 maybe-distclean-bfd: distclean-bfd
3753 distclean-bfd:
3754 @[ -f ./bfd/Makefile ] || exit 0; \
3755 r=`${PWD_COMMAND}`; export r; \
3756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3757 $(HOST_EXPORTS) \
3758 for flag in $(EXTRA_HOST_FLAGS) ; do \
3759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3760 done; \
3761 echo "Doing distclean in bfd" ; \
3762 (cd $(HOST_SUBDIR)/bfd && \
3763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3765 "RANLIB=$${RANLIB}" \
3766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3767 distclean) \
3768 || exit 1
3770 @endif bfd
3772 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3773 maybe-maintainer-clean-bfd:
3774 @if bfd
3775 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3777 maintainer-clean-bfd:
3778 @[ -f ./bfd/Makefile ] || exit 0; \
3779 r=`${PWD_COMMAND}`; export r; \
3780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3781 $(HOST_EXPORTS) \
3782 for flag in $(EXTRA_HOST_FLAGS) ; do \
3783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3784 done; \
3785 echo "Doing maintainer-clean in bfd" ; \
3786 (cd $(HOST_SUBDIR)/bfd && \
3787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3789 "RANLIB=$${RANLIB}" \
3790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3791 maintainer-clean) \
3792 || exit 1
3794 @endif bfd
3798 .PHONY: configure-opcodes maybe-configure-opcodes
3799 maybe-configure-opcodes:
3800 @if gcc-bootstrap
3801 configure-opcodes: stage_current
3802 @endif gcc-bootstrap
3803 @if opcodes
3804 maybe-configure-opcodes: configure-opcodes
3805 configure-opcodes:
3806 @r=`${PWD_COMMAND}`; export r; \
3807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3808 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3810 $(HOST_EXPORTS) \
3811 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3812 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3813 case $(srcdir) in \
3814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3815 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3817 esac; \
3818 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3819 libsrcdir="$$s/opcodes"; \
3820 $(SHELL) $${libsrcdir}/configure \
3821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3822 --target=${target_alias} $${srcdiroption} \
3823 || exit 1
3824 @endif opcodes
3828 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3829 maybe-configure-stage1-opcodes:
3830 @if opcodes-bootstrap
3831 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3832 configure-stage1-opcodes:
3833 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3834 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3835 @r=`${PWD_COMMAND}`; export r; \
3836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3837 TFLAGS="$(STAGE1_TFLAGS)"; \
3838 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3839 $(HOST_EXPORTS) \
3840 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3841 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3842 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3843 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3845 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3846 case $(srcdir) in \
3847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3848 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3850 esac; \
3851 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3852 libsrcdir="$$s/opcodes"; \
3853 $(SHELL) $${libsrcdir}/configure \
3854 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3855 --target=${target_alias} $${srcdiroption} \
3856 $(STAGE1_CONFIGURE_FLAGS)
3857 @endif opcodes-bootstrap
3859 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3860 maybe-configure-stage2-opcodes:
3861 @if opcodes-bootstrap
3862 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3863 configure-stage2-opcodes:
3864 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3866 @r=`${PWD_COMMAND}`; export r; \
3867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3868 TFLAGS="$(STAGE2_TFLAGS)"; \
3869 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3870 $(HOST_EXPORTS) \
3871 $(POSTSTAGE1_HOST_EXPORTS) \
3872 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3873 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3874 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3875 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3877 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3878 case $(srcdir) in \
3879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3880 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3882 esac; \
3883 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3884 libsrcdir="$$s/opcodes"; \
3885 $(SHELL) $${libsrcdir}/configure \
3886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3887 --target=${target_alias} $${srcdiroption} \
3888 --with-build-libsubdir=$(HOST_SUBDIR) \
3889 $(STAGE2_CONFIGURE_FLAGS)
3890 @endif opcodes-bootstrap
3892 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3893 maybe-configure-stage3-opcodes:
3894 @if opcodes-bootstrap
3895 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3896 configure-stage3-opcodes:
3897 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3898 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3899 @r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3901 TFLAGS="$(STAGE3_TFLAGS)"; \
3902 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3903 $(HOST_EXPORTS) \
3904 $(POSTSTAGE1_HOST_EXPORTS) \
3905 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3906 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3907 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3908 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3910 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3911 case $(srcdir) in \
3912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3913 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3915 esac; \
3916 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3917 libsrcdir="$$s/opcodes"; \
3918 $(SHELL) $${libsrcdir}/configure \
3919 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3920 --target=${target_alias} $${srcdiroption} \
3921 --with-build-libsubdir=$(HOST_SUBDIR) \
3922 $(STAGE3_CONFIGURE_FLAGS)
3923 @endif opcodes-bootstrap
3925 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3926 maybe-configure-stage4-opcodes:
3927 @if opcodes-bootstrap
3928 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3929 configure-stage4-opcodes:
3930 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3932 @r=`${PWD_COMMAND}`; export r; \
3933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3934 TFLAGS="$(STAGE4_TFLAGS)"; \
3935 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3936 $(HOST_EXPORTS) \
3937 $(POSTSTAGE1_HOST_EXPORTS) \
3938 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3939 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3940 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3941 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3943 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3944 case $(srcdir) in \
3945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3946 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3948 esac; \
3949 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3950 libsrcdir="$$s/opcodes"; \
3951 $(SHELL) $${libsrcdir}/configure \
3952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3953 --target=${target_alias} $${srcdiroption} \
3954 --with-build-libsubdir=$(HOST_SUBDIR) \
3955 $(STAGE4_CONFIGURE_FLAGS)
3956 @endif opcodes-bootstrap
3958 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3959 maybe-configure-stageprofile-opcodes:
3960 @if opcodes-bootstrap
3961 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3962 configure-stageprofile-opcodes:
3963 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3964 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3965 @r=`${PWD_COMMAND}`; export r; \
3966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3967 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3968 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3969 $(HOST_EXPORTS) \
3970 $(POSTSTAGE1_HOST_EXPORTS) \
3971 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3972 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3973 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3974 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3975 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3976 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3977 case $(srcdir) in \
3978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3979 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3981 esac; \
3982 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3983 libsrcdir="$$s/opcodes"; \
3984 $(SHELL) $${libsrcdir}/configure \
3985 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3986 --target=${target_alias} $${srcdiroption} \
3987 --with-build-libsubdir=$(HOST_SUBDIR) \
3988 $(STAGEprofile_CONFIGURE_FLAGS)
3989 @endif opcodes-bootstrap
3991 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3992 maybe-configure-stagefeedback-opcodes:
3993 @if opcodes-bootstrap
3994 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3995 configure-stagefeedback-opcodes:
3996 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3998 @r=`${PWD_COMMAND}`; export r; \
3999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4000 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4001 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4002 $(HOST_EXPORTS) \
4003 $(POSTSTAGE1_HOST_EXPORTS) \
4004 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4005 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4006 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4007 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4009 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4010 case $(srcdir) in \
4011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4012 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4014 esac; \
4015 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4016 libsrcdir="$$s/opcodes"; \
4017 $(SHELL) $${libsrcdir}/configure \
4018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4019 --target=${target_alias} $${srcdiroption} \
4020 --with-build-libsubdir=$(HOST_SUBDIR) \
4021 $(STAGEfeedback_CONFIGURE_FLAGS)
4022 @endif opcodes-bootstrap
4028 .PHONY: all-opcodes maybe-all-opcodes
4029 maybe-all-opcodes:
4030 @if gcc-bootstrap
4031 all-opcodes: stage_current
4032 @endif gcc-bootstrap
4033 @if opcodes
4034 TARGET-opcodes=all
4035 maybe-all-opcodes: all-opcodes
4036 all-opcodes: configure-opcodes
4037 @r=`${PWD_COMMAND}`; export r; \
4038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4039 $(HOST_EXPORTS) \
4040 (cd $(HOST_SUBDIR)/opcodes && \
4041 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4042 $(TARGET-opcodes))
4043 @endif opcodes
4047 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4048 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4049 maybe-all-stage1-opcodes:
4050 maybe-clean-stage1-opcodes:
4051 @if opcodes-bootstrap
4052 maybe-all-stage1-opcodes: all-stage1-opcodes
4053 all-stage1: all-stage1-opcodes
4054 TARGET-stage1-opcodes = $(TARGET-opcodes)
4055 all-stage1-opcodes: configure-stage1-opcodes
4056 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4057 @r=`${PWD_COMMAND}`; export r; \
4058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4059 TFLAGS="$(STAGE1_TFLAGS)"; \
4060 $(HOST_EXPORTS) \
4061 cd $(HOST_SUBDIR)/opcodes && \
4062 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4063 CFLAGS="$(STAGE1_CFLAGS)" \
4064 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4065 LIBCFLAGS="$(LIBCFLAGS)" \
4066 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4067 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4068 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4069 $(EXTRA_HOST_FLAGS) \
4070 TFLAGS="$(STAGE1_TFLAGS)" \
4071 $(TARGET-stage1-opcodes)
4073 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4074 clean-stage1: clean-stage1-opcodes
4075 clean-stage1-opcodes:
4076 @if [ $(current_stage) = stage1 ]; then \
4077 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4078 else \
4079 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4080 $(MAKE) stage1-start; \
4081 fi; \
4082 cd $(HOST_SUBDIR)/opcodes && \
4083 $(MAKE) $(EXTRA_HOST_FLAGS) \
4084 clean
4085 @endif opcodes-bootstrap
4088 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4089 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4090 maybe-all-stage2-opcodes:
4091 maybe-clean-stage2-opcodes:
4092 @if opcodes-bootstrap
4093 maybe-all-stage2-opcodes: all-stage2-opcodes
4094 all-stage2: all-stage2-opcodes
4095 TARGET-stage2-opcodes = $(TARGET-opcodes)
4096 all-stage2-opcodes: configure-stage2-opcodes
4097 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4098 @r=`${PWD_COMMAND}`; export r; \
4099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4100 TFLAGS="$(STAGE2_TFLAGS)"; \
4101 $(HOST_EXPORTS) \
4102 $(POSTSTAGE1_HOST_EXPORTS) \
4103 cd $(HOST_SUBDIR)/opcodes && \
4104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4105 CFLAGS="$(STAGE2_CFLAGS)" \
4106 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4107 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4111 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4112 TFLAGS="$(STAGE2_TFLAGS)" \
4113 $(TARGET-stage2-opcodes)
4115 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4116 clean-stage2: clean-stage2-opcodes
4117 clean-stage2-opcodes:
4118 @if [ $(current_stage) = stage2 ]; then \
4119 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4120 else \
4121 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4122 $(MAKE) stage2-start; \
4123 fi; \
4124 cd $(HOST_SUBDIR)/opcodes && \
4125 $(MAKE) $(EXTRA_HOST_FLAGS) \
4126 $(POSTSTAGE1_FLAGS_TO_PASS) \
4127 clean
4128 @endif opcodes-bootstrap
4131 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4132 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4133 maybe-all-stage3-opcodes:
4134 maybe-clean-stage3-opcodes:
4135 @if opcodes-bootstrap
4136 maybe-all-stage3-opcodes: all-stage3-opcodes
4137 all-stage3: all-stage3-opcodes
4138 TARGET-stage3-opcodes = $(TARGET-opcodes)
4139 all-stage3-opcodes: configure-stage3-opcodes
4140 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4141 @r=`${PWD_COMMAND}`; export r; \
4142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4143 TFLAGS="$(STAGE3_TFLAGS)"; \
4144 $(HOST_EXPORTS) \
4145 $(POSTSTAGE1_HOST_EXPORTS) \
4146 cd $(HOST_SUBDIR)/opcodes && \
4147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4148 CFLAGS="$(STAGE3_CFLAGS)" \
4149 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4150 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4154 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4155 TFLAGS="$(STAGE3_TFLAGS)" \
4156 $(TARGET-stage3-opcodes)
4158 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4159 clean-stage3: clean-stage3-opcodes
4160 clean-stage3-opcodes:
4161 @if [ $(current_stage) = stage3 ]; then \
4162 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4163 else \
4164 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4165 $(MAKE) stage3-start; \
4166 fi; \
4167 cd $(HOST_SUBDIR)/opcodes && \
4168 $(MAKE) $(EXTRA_HOST_FLAGS) \
4169 $(POSTSTAGE1_FLAGS_TO_PASS) \
4170 clean
4171 @endif opcodes-bootstrap
4174 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4175 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4176 maybe-all-stage4-opcodes:
4177 maybe-clean-stage4-opcodes:
4178 @if opcodes-bootstrap
4179 maybe-all-stage4-opcodes: all-stage4-opcodes
4180 all-stage4: all-stage4-opcodes
4181 TARGET-stage4-opcodes = $(TARGET-opcodes)
4182 all-stage4-opcodes: configure-stage4-opcodes
4183 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4184 @r=`${PWD_COMMAND}`; export r; \
4185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4186 TFLAGS="$(STAGE4_TFLAGS)"; \
4187 $(HOST_EXPORTS) \
4188 $(POSTSTAGE1_HOST_EXPORTS) \
4189 cd $(HOST_SUBDIR)/opcodes && \
4190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4191 CFLAGS="$(STAGE4_CFLAGS)" \
4192 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4193 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4197 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4198 TFLAGS="$(STAGE4_TFLAGS)" \
4199 $(TARGET-stage4-opcodes)
4201 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4202 clean-stage4: clean-stage4-opcodes
4203 clean-stage4-opcodes:
4204 @if [ $(current_stage) = stage4 ]; then \
4205 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4206 else \
4207 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4208 $(MAKE) stage4-start; \
4209 fi; \
4210 cd $(HOST_SUBDIR)/opcodes && \
4211 $(MAKE) $(EXTRA_HOST_FLAGS) \
4212 $(POSTSTAGE1_FLAGS_TO_PASS) \
4213 clean
4214 @endif opcodes-bootstrap
4217 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4218 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4219 maybe-all-stageprofile-opcodes:
4220 maybe-clean-stageprofile-opcodes:
4221 @if opcodes-bootstrap
4222 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4223 all-stageprofile: all-stageprofile-opcodes
4224 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4225 all-stageprofile-opcodes: configure-stageprofile-opcodes
4226 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4227 @r=`${PWD_COMMAND}`; export r; \
4228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4229 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4230 $(HOST_EXPORTS) \
4231 $(POSTSTAGE1_HOST_EXPORTS) \
4232 cd $(HOST_SUBDIR)/opcodes && \
4233 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4234 CFLAGS="$(STAGEprofile_CFLAGS)" \
4235 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4236 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4237 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4238 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4239 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4240 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4241 TFLAGS="$(STAGEprofile_TFLAGS)" \
4242 $(TARGET-stageprofile-opcodes)
4244 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4245 clean-stageprofile: clean-stageprofile-opcodes
4246 clean-stageprofile-opcodes:
4247 @if [ $(current_stage) = stageprofile ]; then \
4248 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4249 else \
4250 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4251 $(MAKE) stageprofile-start; \
4252 fi; \
4253 cd $(HOST_SUBDIR)/opcodes && \
4254 $(MAKE) $(EXTRA_HOST_FLAGS) \
4255 $(POSTSTAGE1_FLAGS_TO_PASS) \
4256 clean
4257 @endif opcodes-bootstrap
4260 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4261 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4262 maybe-all-stagefeedback-opcodes:
4263 maybe-clean-stagefeedback-opcodes:
4264 @if opcodes-bootstrap
4265 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4266 all-stagefeedback: all-stagefeedback-opcodes
4267 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4268 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4269 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4270 @r=`${PWD_COMMAND}`; export r; \
4271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4272 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4273 $(HOST_EXPORTS) \
4274 $(POSTSTAGE1_HOST_EXPORTS) \
4275 cd $(HOST_SUBDIR)/opcodes && \
4276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4277 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4278 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4279 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4284 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4285 $(TARGET-stagefeedback-opcodes)
4287 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4288 clean-stagefeedback: clean-stagefeedback-opcodes
4289 clean-stagefeedback-opcodes:
4290 @if [ $(current_stage) = stagefeedback ]; then \
4291 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4292 else \
4293 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4294 $(MAKE) stagefeedback-start; \
4295 fi; \
4296 cd $(HOST_SUBDIR)/opcodes && \
4297 $(MAKE) $(EXTRA_HOST_FLAGS) \
4298 $(POSTSTAGE1_FLAGS_TO_PASS) \
4299 clean
4300 @endif opcodes-bootstrap
4306 .PHONY: check-opcodes maybe-check-opcodes
4307 maybe-check-opcodes:
4308 @if opcodes
4309 maybe-check-opcodes: check-opcodes
4311 check-opcodes:
4312 @: $(MAKE); $(unstage)
4313 @r=`${PWD_COMMAND}`; export r; \
4314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4315 $(HOST_EXPORTS) \
4316 (cd $(HOST_SUBDIR)/opcodes && \
4317 $(MAKE) $(FLAGS_TO_PASS) check)
4319 @endif opcodes
4321 .PHONY: install-opcodes maybe-install-opcodes
4322 maybe-install-opcodes:
4323 @if opcodes
4324 maybe-install-opcodes: install-opcodes
4326 install-opcodes: installdirs
4327 @: $(MAKE); $(unstage)
4328 @r=`${PWD_COMMAND}`; export r; \
4329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4330 $(HOST_EXPORTS) \
4331 (cd $(HOST_SUBDIR)/opcodes && \
4332 $(MAKE) $(FLAGS_TO_PASS) install)
4334 @endif opcodes
4336 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4337 maybe-install-strip-opcodes:
4338 @if opcodes
4339 maybe-install-strip-opcodes: install-strip-opcodes
4341 install-strip-opcodes: installdirs
4342 @: $(MAKE); $(unstage)
4343 @r=`${PWD_COMMAND}`; export r; \
4344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4345 $(HOST_EXPORTS) \
4346 (cd $(HOST_SUBDIR)/opcodes && \
4347 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4349 @endif opcodes
4351 # Other targets (info, dvi, pdf, etc.)
4353 .PHONY: maybe-info-opcodes info-opcodes
4354 maybe-info-opcodes:
4355 @if opcodes
4356 maybe-info-opcodes: info-opcodes
4358 info-opcodes: \
4359 configure-opcodes
4360 @[ -f ./opcodes/Makefile ] || exit 0; \
4361 r=`${PWD_COMMAND}`; export r; \
4362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4363 $(HOST_EXPORTS) \
4364 for flag in $(EXTRA_HOST_FLAGS) ; do \
4365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4366 done; \
4367 echo "Doing info in opcodes" ; \
4368 (cd $(HOST_SUBDIR)/opcodes && \
4369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4371 "RANLIB=$${RANLIB}" \
4372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4373 info) \
4374 || exit 1
4376 @endif opcodes
4378 .PHONY: maybe-dvi-opcodes dvi-opcodes
4379 maybe-dvi-opcodes:
4380 @if opcodes
4381 maybe-dvi-opcodes: dvi-opcodes
4383 dvi-opcodes: \
4384 configure-opcodes
4385 @[ -f ./opcodes/Makefile ] || exit 0; \
4386 r=`${PWD_COMMAND}`; export r; \
4387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4388 $(HOST_EXPORTS) \
4389 for flag in $(EXTRA_HOST_FLAGS) ; do \
4390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4391 done; \
4392 echo "Doing dvi in opcodes" ; \
4393 (cd $(HOST_SUBDIR)/opcodes && \
4394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4396 "RANLIB=$${RANLIB}" \
4397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4398 dvi) \
4399 || exit 1
4401 @endif opcodes
4403 .PHONY: maybe-pdf-opcodes pdf-opcodes
4404 maybe-pdf-opcodes:
4405 @if opcodes
4406 maybe-pdf-opcodes: pdf-opcodes
4408 pdf-opcodes: \
4409 configure-opcodes
4410 @[ -f ./opcodes/Makefile ] || exit 0; \
4411 r=`${PWD_COMMAND}`; export r; \
4412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4413 $(HOST_EXPORTS) \
4414 for flag in $(EXTRA_HOST_FLAGS) ; do \
4415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4416 done; \
4417 echo "Doing pdf in opcodes" ; \
4418 (cd $(HOST_SUBDIR)/opcodes && \
4419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4421 "RANLIB=$${RANLIB}" \
4422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4423 pdf) \
4424 || exit 1
4426 @endif opcodes
4428 .PHONY: maybe-html-opcodes html-opcodes
4429 maybe-html-opcodes:
4430 @if opcodes
4431 maybe-html-opcodes: html-opcodes
4433 html-opcodes: \
4434 configure-opcodes
4435 @[ -f ./opcodes/Makefile ] || exit 0; \
4436 r=`${PWD_COMMAND}`; export r; \
4437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4438 $(HOST_EXPORTS) \
4439 for flag in $(EXTRA_HOST_FLAGS) ; do \
4440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4441 done; \
4442 echo "Doing html in opcodes" ; \
4443 (cd $(HOST_SUBDIR)/opcodes && \
4444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4446 "RANLIB=$${RANLIB}" \
4447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4448 html) \
4449 || exit 1
4451 @endif opcodes
4453 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4454 maybe-TAGS-opcodes:
4455 @if opcodes
4456 maybe-TAGS-opcodes: TAGS-opcodes
4458 TAGS-opcodes: \
4459 configure-opcodes
4460 @[ -f ./opcodes/Makefile ] || exit 0; \
4461 r=`${PWD_COMMAND}`; export r; \
4462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4463 $(HOST_EXPORTS) \
4464 for flag in $(EXTRA_HOST_FLAGS) ; do \
4465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4466 done; \
4467 echo "Doing TAGS in opcodes" ; \
4468 (cd $(HOST_SUBDIR)/opcodes && \
4469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4471 "RANLIB=$${RANLIB}" \
4472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4473 TAGS) \
4474 || exit 1
4476 @endif opcodes
4478 .PHONY: maybe-install-info-opcodes install-info-opcodes
4479 maybe-install-info-opcodes:
4480 @if opcodes
4481 maybe-install-info-opcodes: install-info-opcodes
4483 install-info-opcodes: \
4484 configure-opcodes \
4485 info-opcodes
4486 @[ -f ./opcodes/Makefile ] || exit 0; \
4487 r=`${PWD_COMMAND}`; export r; \
4488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4489 $(HOST_EXPORTS) \
4490 for flag in $(EXTRA_HOST_FLAGS) ; do \
4491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4492 done; \
4493 echo "Doing install-info in opcodes" ; \
4494 (cd $(HOST_SUBDIR)/opcodes && \
4495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4497 "RANLIB=$${RANLIB}" \
4498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4499 install-info) \
4500 || exit 1
4502 @endif opcodes
4504 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4505 maybe-install-pdf-opcodes:
4506 @if opcodes
4507 maybe-install-pdf-opcodes: install-pdf-opcodes
4509 install-pdf-opcodes: \
4510 configure-opcodes \
4511 pdf-opcodes
4512 @[ -f ./opcodes/Makefile ] || exit 0; \
4513 r=`${PWD_COMMAND}`; export r; \
4514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4515 $(HOST_EXPORTS) \
4516 for flag in $(EXTRA_HOST_FLAGS) ; do \
4517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4518 done; \
4519 echo "Doing install-pdf in opcodes" ; \
4520 (cd $(HOST_SUBDIR)/opcodes && \
4521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4523 "RANLIB=$${RANLIB}" \
4524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4525 install-pdf) \
4526 || exit 1
4528 @endif opcodes
4530 .PHONY: maybe-install-html-opcodes install-html-opcodes
4531 maybe-install-html-opcodes:
4532 @if opcodes
4533 maybe-install-html-opcodes: install-html-opcodes
4535 install-html-opcodes: \
4536 configure-opcodes \
4537 html-opcodes
4538 @[ -f ./opcodes/Makefile ] || exit 0; \
4539 r=`${PWD_COMMAND}`; export r; \
4540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4541 $(HOST_EXPORTS) \
4542 for flag in $(EXTRA_HOST_FLAGS) ; do \
4543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4544 done; \
4545 echo "Doing install-html in opcodes" ; \
4546 (cd $(HOST_SUBDIR)/opcodes && \
4547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4549 "RANLIB=$${RANLIB}" \
4550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4551 install-html) \
4552 || exit 1
4554 @endif opcodes
4556 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4557 maybe-installcheck-opcodes:
4558 @if opcodes
4559 maybe-installcheck-opcodes: installcheck-opcodes
4561 installcheck-opcodes: \
4562 configure-opcodes
4563 @[ -f ./opcodes/Makefile ] || exit 0; \
4564 r=`${PWD_COMMAND}`; export r; \
4565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4566 $(HOST_EXPORTS) \
4567 for flag in $(EXTRA_HOST_FLAGS) ; do \
4568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4569 done; \
4570 echo "Doing installcheck in opcodes" ; \
4571 (cd $(HOST_SUBDIR)/opcodes && \
4572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4574 "RANLIB=$${RANLIB}" \
4575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4576 installcheck) \
4577 || exit 1
4579 @endif opcodes
4581 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4582 maybe-mostlyclean-opcodes:
4583 @if opcodes
4584 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4586 mostlyclean-opcodes:
4587 @[ -f ./opcodes/Makefile ] || exit 0; \
4588 r=`${PWD_COMMAND}`; export r; \
4589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 $(HOST_EXPORTS) \
4591 for flag in $(EXTRA_HOST_FLAGS) ; do \
4592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4593 done; \
4594 echo "Doing mostlyclean in opcodes" ; \
4595 (cd $(HOST_SUBDIR)/opcodes && \
4596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4598 "RANLIB=$${RANLIB}" \
4599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4600 mostlyclean) \
4601 || exit 1
4603 @endif opcodes
4605 .PHONY: maybe-clean-opcodes clean-opcodes
4606 maybe-clean-opcodes:
4607 @if opcodes
4608 maybe-clean-opcodes: clean-opcodes
4610 clean-opcodes:
4611 @[ -f ./opcodes/Makefile ] || exit 0; \
4612 r=`${PWD_COMMAND}`; export r; \
4613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4614 $(HOST_EXPORTS) \
4615 for flag in $(EXTRA_HOST_FLAGS) ; do \
4616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4617 done; \
4618 echo "Doing clean in opcodes" ; \
4619 (cd $(HOST_SUBDIR)/opcodes && \
4620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4622 "RANLIB=$${RANLIB}" \
4623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4624 clean) \
4625 || exit 1
4627 @endif opcodes
4629 .PHONY: maybe-distclean-opcodes distclean-opcodes
4630 maybe-distclean-opcodes:
4631 @if opcodes
4632 maybe-distclean-opcodes: distclean-opcodes
4634 distclean-opcodes:
4635 @[ -f ./opcodes/Makefile ] || exit 0; \
4636 r=`${PWD_COMMAND}`; export r; \
4637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4638 $(HOST_EXPORTS) \
4639 for flag in $(EXTRA_HOST_FLAGS) ; do \
4640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4641 done; \
4642 echo "Doing distclean in opcodes" ; \
4643 (cd $(HOST_SUBDIR)/opcodes && \
4644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4646 "RANLIB=$${RANLIB}" \
4647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4648 distclean) \
4649 || exit 1
4651 @endif opcodes
4653 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4654 maybe-maintainer-clean-opcodes:
4655 @if opcodes
4656 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4658 maintainer-clean-opcodes:
4659 @[ -f ./opcodes/Makefile ] || exit 0; \
4660 r=`${PWD_COMMAND}`; export r; \
4661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4662 $(HOST_EXPORTS) \
4663 for flag in $(EXTRA_HOST_FLAGS) ; do \
4664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4665 done; \
4666 echo "Doing maintainer-clean in opcodes" ; \
4667 (cd $(HOST_SUBDIR)/opcodes && \
4668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4670 "RANLIB=$${RANLIB}" \
4671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4672 maintainer-clean) \
4673 || exit 1
4675 @endif opcodes
4679 .PHONY: configure-binutils maybe-configure-binutils
4680 maybe-configure-binutils:
4681 @if gcc-bootstrap
4682 configure-binutils: stage_current
4683 @endif gcc-bootstrap
4684 @if binutils
4685 maybe-configure-binutils: configure-binutils
4686 configure-binutils:
4687 @r=`${PWD_COMMAND}`; export r; \
4688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4689 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4691 $(HOST_EXPORTS) \
4692 echo Configuring in $(HOST_SUBDIR)/binutils; \
4693 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4694 case $(srcdir) in \
4695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4696 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4698 esac; \
4699 srcdiroption="--srcdir=$${topdir}/binutils"; \
4700 libsrcdir="$$s/binutils"; \
4701 $(SHELL) $${libsrcdir}/configure \
4702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4703 --target=${target_alias} $${srcdiroption} \
4704 || exit 1
4705 @endif binutils
4709 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4710 maybe-configure-stage1-binutils:
4711 @if binutils-bootstrap
4712 maybe-configure-stage1-binutils: configure-stage1-binutils
4713 configure-stage1-binutils:
4714 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4716 @r=`${PWD_COMMAND}`; export r; \
4717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4718 TFLAGS="$(STAGE1_TFLAGS)"; \
4719 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4720 $(HOST_EXPORTS) \
4721 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4722 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4723 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4724 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4726 cd $(HOST_SUBDIR)/binutils || exit 1; \
4727 case $(srcdir) in \
4728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4729 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4731 esac; \
4732 srcdiroption="--srcdir=$${topdir}/binutils"; \
4733 libsrcdir="$$s/binutils"; \
4734 $(SHELL) $${libsrcdir}/configure \
4735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4736 --target=${target_alias} $${srcdiroption} \
4737 $(STAGE1_CONFIGURE_FLAGS)
4738 @endif binutils-bootstrap
4740 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4741 maybe-configure-stage2-binutils:
4742 @if binutils-bootstrap
4743 maybe-configure-stage2-binutils: configure-stage2-binutils
4744 configure-stage2-binutils:
4745 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4747 @r=`${PWD_COMMAND}`; export r; \
4748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4749 TFLAGS="$(STAGE2_TFLAGS)"; \
4750 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4751 $(HOST_EXPORTS) \
4752 $(POSTSTAGE1_HOST_EXPORTS) \
4753 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4754 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4755 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4756 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4758 cd $(HOST_SUBDIR)/binutils || exit 1; \
4759 case $(srcdir) in \
4760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4761 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4763 esac; \
4764 srcdiroption="--srcdir=$${topdir}/binutils"; \
4765 libsrcdir="$$s/binutils"; \
4766 $(SHELL) $${libsrcdir}/configure \
4767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4768 --target=${target_alias} $${srcdiroption} \
4769 --with-build-libsubdir=$(HOST_SUBDIR) \
4770 $(STAGE2_CONFIGURE_FLAGS)
4771 @endif binutils-bootstrap
4773 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4774 maybe-configure-stage3-binutils:
4775 @if binutils-bootstrap
4776 maybe-configure-stage3-binutils: configure-stage3-binutils
4777 configure-stage3-binutils:
4778 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4780 @r=`${PWD_COMMAND}`; export r; \
4781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4782 TFLAGS="$(STAGE3_TFLAGS)"; \
4783 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4784 $(HOST_EXPORTS) \
4785 $(POSTSTAGE1_HOST_EXPORTS) \
4786 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4787 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4788 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4789 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4791 cd $(HOST_SUBDIR)/binutils || exit 1; \
4792 case $(srcdir) in \
4793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4794 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4796 esac; \
4797 srcdiroption="--srcdir=$${topdir}/binutils"; \
4798 libsrcdir="$$s/binutils"; \
4799 $(SHELL) $${libsrcdir}/configure \
4800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4801 --target=${target_alias} $${srcdiroption} \
4802 --with-build-libsubdir=$(HOST_SUBDIR) \
4803 $(STAGE3_CONFIGURE_FLAGS)
4804 @endif binutils-bootstrap
4806 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4807 maybe-configure-stage4-binutils:
4808 @if binutils-bootstrap
4809 maybe-configure-stage4-binutils: configure-stage4-binutils
4810 configure-stage4-binutils:
4811 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4812 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4813 @r=`${PWD_COMMAND}`; export r; \
4814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4815 TFLAGS="$(STAGE4_TFLAGS)"; \
4816 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4817 $(HOST_EXPORTS) \
4818 $(POSTSTAGE1_HOST_EXPORTS) \
4819 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4820 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4821 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4822 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4824 cd $(HOST_SUBDIR)/binutils || exit 1; \
4825 case $(srcdir) in \
4826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4827 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4829 esac; \
4830 srcdiroption="--srcdir=$${topdir}/binutils"; \
4831 libsrcdir="$$s/binutils"; \
4832 $(SHELL) $${libsrcdir}/configure \
4833 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4834 --target=${target_alias} $${srcdiroption} \
4835 --with-build-libsubdir=$(HOST_SUBDIR) \
4836 $(STAGE4_CONFIGURE_FLAGS)
4837 @endif binutils-bootstrap
4839 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4840 maybe-configure-stageprofile-binutils:
4841 @if binutils-bootstrap
4842 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4843 configure-stageprofile-binutils:
4844 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4846 @r=`${PWD_COMMAND}`; export r; \
4847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4848 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4849 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4850 $(HOST_EXPORTS) \
4851 $(POSTSTAGE1_HOST_EXPORTS) \
4852 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4853 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4854 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4855 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4857 cd $(HOST_SUBDIR)/binutils || exit 1; \
4858 case $(srcdir) in \
4859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4860 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4862 esac; \
4863 srcdiroption="--srcdir=$${topdir}/binutils"; \
4864 libsrcdir="$$s/binutils"; \
4865 $(SHELL) $${libsrcdir}/configure \
4866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4867 --target=${target_alias} $${srcdiroption} \
4868 --with-build-libsubdir=$(HOST_SUBDIR) \
4869 $(STAGEprofile_CONFIGURE_FLAGS)
4870 @endif binutils-bootstrap
4872 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4873 maybe-configure-stagefeedback-binutils:
4874 @if binutils-bootstrap
4875 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4876 configure-stagefeedback-binutils:
4877 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4879 @r=`${PWD_COMMAND}`; export r; \
4880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4881 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4882 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4883 $(HOST_EXPORTS) \
4884 $(POSTSTAGE1_HOST_EXPORTS) \
4885 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4886 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4887 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4888 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4890 cd $(HOST_SUBDIR)/binutils || exit 1; \
4891 case $(srcdir) in \
4892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4893 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4895 esac; \
4896 srcdiroption="--srcdir=$${topdir}/binutils"; \
4897 libsrcdir="$$s/binutils"; \
4898 $(SHELL) $${libsrcdir}/configure \
4899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4900 --target=${target_alias} $${srcdiroption} \
4901 --with-build-libsubdir=$(HOST_SUBDIR) \
4902 $(STAGEfeedback_CONFIGURE_FLAGS)
4903 @endif binutils-bootstrap
4909 .PHONY: all-binutils maybe-all-binutils
4910 maybe-all-binutils:
4911 @if gcc-bootstrap
4912 all-binutils: stage_current
4913 @endif gcc-bootstrap
4914 @if binutils
4915 TARGET-binutils=all
4916 maybe-all-binutils: all-binutils
4917 all-binutils: configure-binutils
4918 @r=`${PWD_COMMAND}`; export r; \
4919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4920 $(HOST_EXPORTS) \
4921 (cd $(HOST_SUBDIR)/binutils && \
4922 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4923 $(TARGET-binutils))
4924 @endif binutils
4928 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4929 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4930 maybe-all-stage1-binutils:
4931 maybe-clean-stage1-binutils:
4932 @if binutils-bootstrap
4933 maybe-all-stage1-binutils: all-stage1-binutils
4934 all-stage1: all-stage1-binutils
4935 TARGET-stage1-binutils = $(TARGET-binutils)
4936 all-stage1-binutils: configure-stage1-binutils
4937 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4938 @r=`${PWD_COMMAND}`; export r; \
4939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4940 TFLAGS="$(STAGE1_TFLAGS)"; \
4941 $(HOST_EXPORTS) \
4942 cd $(HOST_SUBDIR)/binutils && \
4943 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4944 CFLAGS="$(STAGE1_CFLAGS)" \
4945 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4946 LIBCFLAGS="$(LIBCFLAGS)" \
4947 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4948 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4949 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4950 $(EXTRA_HOST_FLAGS) \
4951 TFLAGS="$(STAGE1_TFLAGS)" \
4952 $(TARGET-stage1-binutils)
4954 maybe-clean-stage1-binutils: clean-stage1-binutils
4955 clean-stage1: clean-stage1-binutils
4956 clean-stage1-binutils:
4957 @if [ $(current_stage) = stage1 ]; then \
4958 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4959 else \
4960 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4961 $(MAKE) stage1-start; \
4962 fi; \
4963 cd $(HOST_SUBDIR)/binutils && \
4964 $(MAKE) $(EXTRA_HOST_FLAGS) \
4965 clean
4966 @endif binutils-bootstrap
4969 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4970 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4971 maybe-all-stage2-binutils:
4972 maybe-clean-stage2-binutils:
4973 @if binutils-bootstrap
4974 maybe-all-stage2-binutils: all-stage2-binutils
4975 all-stage2: all-stage2-binutils
4976 TARGET-stage2-binutils = $(TARGET-binutils)
4977 all-stage2-binutils: configure-stage2-binutils
4978 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4979 @r=`${PWD_COMMAND}`; export r; \
4980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4981 TFLAGS="$(STAGE2_TFLAGS)"; \
4982 $(HOST_EXPORTS) \
4983 $(POSTSTAGE1_HOST_EXPORTS) \
4984 cd $(HOST_SUBDIR)/binutils && \
4985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4986 CFLAGS="$(STAGE2_CFLAGS)" \
4987 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4988 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4992 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4993 TFLAGS="$(STAGE2_TFLAGS)" \
4994 $(TARGET-stage2-binutils)
4996 maybe-clean-stage2-binutils: clean-stage2-binutils
4997 clean-stage2: clean-stage2-binutils
4998 clean-stage2-binutils:
4999 @if [ $(current_stage) = stage2 ]; then \
5000 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5001 else \
5002 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5003 $(MAKE) stage2-start; \
5004 fi; \
5005 cd $(HOST_SUBDIR)/binutils && \
5006 $(MAKE) $(EXTRA_HOST_FLAGS) \
5007 $(POSTSTAGE1_FLAGS_TO_PASS) \
5008 clean
5009 @endif binutils-bootstrap
5012 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5013 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5014 maybe-all-stage3-binutils:
5015 maybe-clean-stage3-binutils:
5016 @if binutils-bootstrap
5017 maybe-all-stage3-binutils: all-stage3-binutils
5018 all-stage3: all-stage3-binutils
5019 TARGET-stage3-binutils = $(TARGET-binutils)
5020 all-stage3-binutils: configure-stage3-binutils
5021 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5022 @r=`${PWD_COMMAND}`; export r; \
5023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 TFLAGS="$(STAGE3_TFLAGS)"; \
5025 $(HOST_EXPORTS) \
5026 $(POSTSTAGE1_HOST_EXPORTS) \
5027 cd $(HOST_SUBDIR)/binutils && \
5028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5029 CFLAGS="$(STAGE3_CFLAGS)" \
5030 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5031 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5035 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5036 TFLAGS="$(STAGE3_TFLAGS)" \
5037 $(TARGET-stage3-binutils)
5039 maybe-clean-stage3-binutils: clean-stage3-binutils
5040 clean-stage3: clean-stage3-binutils
5041 clean-stage3-binutils:
5042 @if [ $(current_stage) = stage3 ]; then \
5043 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5044 else \
5045 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5046 $(MAKE) stage3-start; \
5047 fi; \
5048 cd $(HOST_SUBDIR)/binutils && \
5049 $(MAKE) $(EXTRA_HOST_FLAGS) \
5050 $(POSTSTAGE1_FLAGS_TO_PASS) \
5051 clean
5052 @endif binutils-bootstrap
5055 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5056 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5057 maybe-all-stage4-binutils:
5058 maybe-clean-stage4-binutils:
5059 @if binutils-bootstrap
5060 maybe-all-stage4-binutils: all-stage4-binutils
5061 all-stage4: all-stage4-binutils
5062 TARGET-stage4-binutils = $(TARGET-binutils)
5063 all-stage4-binutils: configure-stage4-binutils
5064 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5065 @r=`${PWD_COMMAND}`; export r; \
5066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5067 TFLAGS="$(STAGE4_TFLAGS)"; \
5068 $(HOST_EXPORTS) \
5069 $(POSTSTAGE1_HOST_EXPORTS) \
5070 cd $(HOST_SUBDIR)/binutils && \
5071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5072 CFLAGS="$(STAGE4_CFLAGS)" \
5073 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5074 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5078 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5079 TFLAGS="$(STAGE4_TFLAGS)" \
5080 $(TARGET-stage4-binutils)
5082 maybe-clean-stage4-binutils: clean-stage4-binutils
5083 clean-stage4: clean-stage4-binutils
5084 clean-stage4-binutils:
5085 @if [ $(current_stage) = stage4 ]; then \
5086 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5087 else \
5088 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5089 $(MAKE) stage4-start; \
5090 fi; \
5091 cd $(HOST_SUBDIR)/binutils && \
5092 $(MAKE) $(EXTRA_HOST_FLAGS) \
5093 $(POSTSTAGE1_FLAGS_TO_PASS) \
5094 clean
5095 @endif binutils-bootstrap
5098 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5099 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5100 maybe-all-stageprofile-binutils:
5101 maybe-clean-stageprofile-binutils:
5102 @if binutils-bootstrap
5103 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5104 all-stageprofile: all-stageprofile-binutils
5105 TARGET-stageprofile-binutils = $(TARGET-binutils)
5106 all-stageprofile-binutils: configure-stageprofile-binutils
5107 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5108 @r=`${PWD_COMMAND}`; export r; \
5109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5110 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5111 $(HOST_EXPORTS) \
5112 $(POSTSTAGE1_HOST_EXPORTS) \
5113 cd $(HOST_SUBDIR)/binutils && \
5114 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5115 CFLAGS="$(STAGEprofile_CFLAGS)" \
5116 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5117 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5118 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5119 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5120 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5121 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5122 TFLAGS="$(STAGEprofile_TFLAGS)" \
5123 $(TARGET-stageprofile-binutils)
5125 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5126 clean-stageprofile: clean-stageprofile-binutils
5127 clean-stageprofile-binutils:
5128 @if [ $(current_stage) = stageprofile ]; then \
5129 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5130 else \
5131 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5132 $(MAKE) stageprofile-start; \
5133 fi; \
5134 cd $(HOST_SUBDIR)/binutils && \
5135 $(MAKE) $(EXTRA_HOST_FLAGS) \
5136 $(POSTSTAGE1_FLAGS_TO_PASS) \
5137 clean
5138 @endif binutils-bootstrap
5141 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5142 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5143 maybe-all-stagefeedback-binutils:
5144 maybe-clean-stagefeedback-binutils:
5145 @if binutils-bootstrap
5146 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5147 all-stagefeedback: all-stagefeedback-binutils
5148 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5149 all-stagefeedback-binutils: configure-stagefeedback-binutils
5150 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5151 @r=`${PWD_COMMAND}`; export r; \
5152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5153 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5154 $(HOST_EXPORTS) \
5155 $(POSTSTAGE1_HOST_EXPORTS) \
5156 cd $(HOST_SUBDIR)/binutils && \
5157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5158 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5159 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5160 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5164 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5165 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5166 $(TARGET-stagefeedback-binutils)
5168 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5169 clean-stagefeedback: clean-stagefeedback-binutils
5170 clean-stagefeedback-binutils:
5171 @if [ $(current_stage) = stagefeedback ]; then \
5172 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5173 else \
5174 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5175 $(MAKE) stagefeedback-start; \
5176 fi; \
5177 cd $(HOST_SUBDIR)/binutils && \
5178 $(MAKE) $(EXTRA_HOST_FLAGS) \
5179 $(POSTSTAGE1_FLAGS_TO_PASS) \
5180 clean
5181 @endif binutils-bootstrap
5187 .PHONY: check-binutils maybe-check-binutils
5188 maybe-check-binutils:
5189 @if binutils
5190 maybe-check-binutils: check-binutils
5192 check-binutils:
5193 @: $(MAKE); $(unstage)
5194 @r=`${PWD_COMMAND}`; export r; \
5195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5196 $(HOST_EXPORTS) \
5197 (cd $(HOST_SUBDIR)/binutils && \
5198 $(MAKE) $(FLAGS_TO_PASS) check)
5200 @endif binutils
5202 .PHONY: install-binutils maybe-install-binutils
5203 maybe-install-binutils:
5204 @if binutils
5205 maybe-install-binutils: install-binutils
5207 install-binutils: installdirs
5208 @: $(MAKE); $(unstage)
5209 @r=`${PWD_COMMAND}`; export r; \
5210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5211 $(HOST_EXPORTS) \
5212 (cd $(HOST_SUBDIR)/binutils && \
5213 $(MAKE) $(FLAGS_TO_PASS) install)
5215 @endif binutils
5217 .PHONY: install-strip-binutils maybe-install-strip-binutils
5218 maybe-install-strip-binutils:
5219 @if binutils
5220 maybe-install-strip-binutils: install-strip-binutils
5222 install-strip-binutils: installdirs
5223 @: $(MAKE); $(unstage)
5224 @r=`${PWD_COMMAND}`; export r; \
5225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5226 $(HOST_EXPORTS) \
5227 (cd $(HOST_SUBDIR)/binutils && \
5228 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5230 @endif binutils
5232 # Other targets (info, dvi, pdf, etc.)
5234 .PHONY: maybe-info-binutils info-binutils
5235 maybe-info-binutils:
5236 @if binutils
5237 maybe-info-binutils: info-binutils
5239 info-binutils: \
5240 configure-binutils
5241 @[ -f ./binutils/Makefile ] || exit 0; \
5242 r=`${PWD_COMMAND}`; export r; \
5243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5244 $(HOST_EXPORTS) \
5245 for flag in $(EXTRA_HOST_FLAGS) ; do \
5246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5247 done; \
5248 echo "Doing info in binutils" ; \
5249 (cd $(HOST_SUBDIR)/binutils && \
5250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5252 "RANLIB=$${RANLIB}" \
5253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5254 info) \
5255 || exit 1
5257 @endif binutils
5259 .PHONY: maybe-dvi-binutils dvi-binutils
5260 maybe-dvi-binutils:
5261 @if binutils
5262 maybe-dvi-binutils: dvi-binutils
5264 dvi-binutils: \
5265 configure-binutils
5266 @[ -f ./binutils/Makefile ] || exit 0; \
5267 r=`${PWD_COMMAND}`; export r; \
5268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5269 $(HOST_EXPORTS) \
5270 for flag in $(EXTRA_HOST_FLAGS) ; do \
5271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5272 done; \
5273 echo "Doing dvi in binutils" ; \
5274 (cd $(HOST_SUBDIR)/binutils && \
5275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5277 "RANLIB=$${RANLIB}" \
5278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5279 dvi) \
5280 || exit 1
5282 @endif binutils
5284 .PHONY: maybe-pdf-binutils pdf-binutils
5285 maybe-pdf-binutils:
5286 @if binutils
5287 maybe-pdf-binutils: pdf-binutils
5289 pdf-binutils: \
5290 configure-binutils
5291 @[ -f ./binutils/Makefile ] || exit 0; \
5292 r=`${PWD_COMMAND}`; export r; \
5293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5294 $(HOST_EXPORTS) \
5295 for flag in $(EXTRA_HOST_FLAGS) ; do \
5296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5297 done; \
5298 echo "Doing pdf in binutils" ; \
5299 (cd $(HOST_SUBDIR)/binutils && \
5300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5302 "RANLIB=$${RANLIB}" \
5303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5304 pdf) \
5305 || exit 1
5307 @endif binutils
5309 .PHONY: maybe-html-binutils html-binutils
5310 maybe-html-binutils:
5311 @if binutils
5312 maybe-html-binutils: html-binutils
5314 html-binutils: \
5315 configure-binutils
5316 @[ -f ./binutils/Makefile ] || exit 0; \
5317 r=`${PWD_COMMAND}`; export r; \
5318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5319 $(HOST_EXPORTS) \
5320 for flag in $(EXTRA_HOST_FLAGS) ; do \
5321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5322 done; \
5323 echo "Doing html in binutils" ; \
5324 (cd $(HOST_SUBDIR)/binutils && \
5325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5327 "RANLIB=$${RANLIB}" \
5328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5329 html) \
5330 || exit 1
5332 @endif binutils
5334 .PHONY: maybe-TAGS-binutils TAGS-binutils
5335 maybe-TAGS-binutils:
5336 @if binutils
5337 maybe-TAGS-binutils: TAGS-binutils
5339 TAGS-binutils: \
5340 configure-binutils
5341 @[ -f ./binutils/Makefile ] || exit 0; \
5342 r=`${PWD_COMMAND}`; export r; \
5343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5344 $(HOST_EXPORTS) \
5345 for flag in $(EXTRA_HOST_FLAGS) ; do \
5346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5347 done; \
5348 echo "Doing TAGS in binutils" ; \
5349 (cd $(HOST_SUBDIR)/binutils && \
5350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5352 "RANLIB=$${RANLIB}" \
5353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5354 TAGS) \
5355 || exit 1
5357 @endif binutils
5359 .PHONY: maybe-install-info-binutils install-info-binutils
5360 maybe-install-info-binutils:
5361 @if binutils
5362 maybe-install-info-binutils: install-info-binutils
5364 install-info-binutils: \
5365 configure-binutils \
5366 info-binutils
5367 @[ -f ./binutils/Makefile ] || exit 0; \
5368 r=`${PWD_COMMAND}`; export r; \
5369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5370 $(HOST_EXPORTS) \
5371 for flag in $(EXTRA_HOST_FLAGS) ; do \
5372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5373 done; \
5374 echo "Doing install-info in binutils" ; \
5375 (cd $(HOST_SUBDIR)/binutils && \
5376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5378 "RANLIB=$${RANLIB}" \
5379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5380 install-info) \
5381 || exit 1
5383 @endif binutils
5385 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5386 maybe-install-pdf-binutils:
5387 @if binutils
5388 maybe-install-pdf-binutils: install-pdf-binutils
5390 install-pdf-binutils: \
5391 configure-binutils \
5392 pdf-binutils
5393 @[ -f ./binutils/Makefile ] || exit 0; \
5394 r=`${PWD_COMMAND}`; export r; \
5395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5396 $(HOST_EXPORTS) \
5397 for flag in $(EXTRA_HOST_FLAGS) ; do \
5398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5399 done; \
5400 echo "Doing install-pdf in binutils" ; \
5401 (cd $(HOST_SUBDIR)/binutils && \
5402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5404 "RANLIB=$${RANLIB}" \
5405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5406 install-pdf) \
5407 || exit 1
5409 @endif binutils
5411 .PHONY: maybe-install-html-binutils install-html-binutils
5412 maybe-install-html-binutils:
5413 @if binutils
5414 maybe-install-html-binutils: install-html-binutils
5416 install-html-binutils: \
5417 configure-binutils \
5418 html-binutils
5419 @[ -f ./binutils/Makefile ] || exit 0; \
5420 r=`${PWD_COMMAND}`; export r; \
5421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5422 $(HOST_EXPORTS) \
5423 for flag in $(EXTRA_HOST_FLAGS) ; do \
5424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5425 done; \
5426 echo "Doing install-html in binutils" ; \
5427 (cd $(HOST_SUBDIR)/binutils && \
5428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5430 "RANLIB=$${RANLIB}" \
5431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5432 install-html) \
5433 || exit 1
5435 @endif binutils
5437 .PHONY: maybe-installcheck-binutils installcheck-binutils
5438 maybe-installcheck-binutils:
5439 @if binutils
5440 maybe-installcheck-binutils: installcheck-binutils
5442 installcheck-binutils: \
5443 configure-binutils
5444 @[ -f ./binutils/Makefile ] || exit 0; \
5445 r=`${PWD_COMMAND}`; export r; \
5446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5447 $(HOST_EXPORTS) \
5448 for flag in $(EXTRA_HOST_FLAGS) ; do \
5449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5450 done; \
5451 echo "Doing installcheck in binutils" ; \
5452 (cd $(HOST_SUBDIR)/binutils && \
5453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5455 "RANLIB=$${RANLIB}" \
5456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5457 installcheck) \
5458 || exit 1
5460 @endif binutils
5462 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5463 maybe-mostlyclean-binutils:
5464 @if binutils
5465 maybe-mostlyclean-binutils: mostlyclean-binutils
5467 mostlyclean-binutils:
5468 @[ -f ./binutils/Makefile ] || exit 0; \
5469 r=`${PWD_COMMAND}`; export r; \
5470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5471 $(HOST_EXPORTS) \
5472 for flag in $(EXTRA_HOST_FLAGS) ; do \
5473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5474 done; \
5475 echo "Doing mostlyclean in binutils" ; \
5476 (cd $(HOST_SUBDIR)/binutils && \
5477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5479 "RANLIB=$${RANLIB}" \
5480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5481 mostlyclean) \
5482 || exit 1
5484 @endif binutils
5486 .PHONY: maybe-clean-binutils clean-binutils
5487 maybe-clean-binutils:
5488 @if binutils
5489 maybe-clean-binutils: clean-binutils
5491 clean-binutils:
5492 @[ -f ./binutils/Makefile ] || exit 0; \
5493 r=`${PWD_COMMAND}`; export r; \
5494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5495 $(HOST_EXPORTS) \
5496 for flag in $(EXTRA_HOST_FLAGS) ; do \
5497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5498 done; \
5499 echo "Doing clean in binutils" ; \
5500 (cd $(HOST_SUBDIR)/binutils && \
5501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5503 "RANLIB=$${RANLIB}" \
5504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5505 clean) \
5506 || exit 1
5508 @endif binutils
5510 .PHONY: maybe-distclean-binutils distclean-binutils
5511 maybe-distclean-binutils:
5512 @if binutils
5513 maybe-distclean-binutils: distclean-binutils
5515 distclean-binutils:
5516 @[ -f ./binutils/Makefile ] || exit 0; \
5517 r=`${PWD_COMMAND}`; export r; \
5518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5519 $(HOST_EXPORTS) \
5520 for flag in $(EXTRA_HOST_FLAGS) ; do \
5521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5522 done; \
5523 echo "Doing distclean in binutils" ; \
5524 (cd $(HOST_SUBDIR)/binutils && \
5525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5527 "RANLIB=$${RANLIB}" \
5528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5529 distclean) \
5530 || exit 1
5532 @endif binutils
5534 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5535 maybe-maintainer-clean-binutils:
5536 @if binutils
5537 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5539 maintainer-clean-binutils:
5540 @[ -f ./binutils/Makefile ] || exit 0; \
5541 r=`${PWD_COMMAND}`; export r; \
5542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5543 $(HOST_EXPORTS) \
5544 for flag in $(EXTRA_HOST_FLAGS) ; do \
5545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5546 done; \
5547 echo "Doing maintainer-clean in binutils" ; \
5548 (cd $(HOST_SUBDIR)/binutils && \
5549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5551 "RANLIB=$${RANLIB}" \
5552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5553 maintainer-clean) \
5554 || exit 1
5556 @endif binutils
5560 .PHONY: configure-bison maybe-configure-bison
5561 maybe-configure-bison:
5562 @if gcc-bootstrap
5563 configure-bison: stage_current
5564 @endif gcc-bootstrap
5565 @if bison
5566 maybe-configure-bison: configure-bison
5567 configure-bison:
5568 @: $(MAKE); $(unstage)
5569 @r=`${PWD_COMMAND}`; export r; \
5570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5571 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5572 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5573 $(HOST_EXPORTS) \
5574 echo Configuring in $(HOST_SUBDIR)/bison; \
5575 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5576 case $(srcdir) in \
5577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5578 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5580 esac; \
5581 srcdiroption="--srcdir=$${topdir}/bison"; \
5582 libsrcdir="$$s/bison"; \
5583 $(SHELL) $${libsrcdir}/configure \
5584 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5585 --target=${target_alias} $${srcdiroption} \
5586 || exit 1
5587 @endif bison
5593 .PHONY: all-bison maybe-all-bison
5594 maybe-all-bison:
5595 @if gcc-bootstrap
5596 all-bison: stage_current
5597 @endif gcc-bootstrap
5598 @if bison
5599 TARGET-bison=all
5600 maybe-all-bison: all-bison
5601 all-bison: configure-bison
5602 @: $(MAKE); $(unstage)
5603 @r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 $(HOST_EXPORTS) \
5606 (cd $(HOST_SUBDIR)/bison && \
5607 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5608 $(TARGET-bison))
5609 @endif bison
5614 .PHONY: check-bison maybe-check-bison
5615 maybe-check-bison:
5616 @if bison
5617 maybe-check-bison: check-bison
5619 # This module is only tested in a native toolchain.
5620 check-bison:
5621 @: $(MAKE); $(unstage)
5622 @if [ '$(host)' = '$(target)' ] ; then \
5623 r=`${PWD_COMMAND}`; export r; \
5624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5625 $(HOST_EXPORTS) \
5626 (cd $(HOST_SUBDIR)/bison && \
5627 $(MAKE) $(FLAGS_TO_PASS) check); \
5630 @endif bison
5632 .PHONY: install-bison maybe-install-bison
5633 maybe-install-bison:
5634 @if bison
5635 maybe-install-bison: install-bison
5637 install-bison: installdirs
5638 @: $(MAKE); $(unstage)
5639 @r=`${PWD_COMMAND}`; export r; \
5640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5641 $(HOST_EXPORTS) \
5642 (cd $(HOST_SUBDIR)/bison && \
5643 $(MAKE) $(FLAGS_TO_PASS) install)
5645 @endif bison
5647 .PHONY: install-strip-bison maybe-install-strip-bison
5648 maybe-install-strip-bison:
5649 @if bison
5650 maybe-install-strip-bison: install-strip-bison
5652 install-strip-bison: installdirs
5653 @: $(MAKE); $(unstage)
5654 @r=`${PWD_COMMAND}`; export r; \
5655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5656 $(HOST_EXPORTS) \
5657 (cd $(HOST_SUBDIR)/bison && \
5658 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5660 @endif bison
5662 # Other targets (info, dvi, pdf, etc.)
5664 .PHONY: maybe-info-bison info-bison
5665 maybe-info-bison:
5666 @if bison
5667 maybe-info-bison: info-bison
5669 info-bison: \
5670 configure-bison
5671 @: $(MAKE); $(unstage)
5672 @[ -f ./bison/Makefile ] || exit 0; \
5673 r=`${PWD_COMMAND}`; export r; \
5674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5675 $(HOST_EXPORTS) \
5676 for flag in $(EXTRA_HOST_FLAGS) ; do \
5677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5678 done; \
5679 echo "Doing info in bison" ; \
5680 (cd $(HOST_SUBDIR)/bison && \
5681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5683 "RANLIB=$${RANLIB}" \
5684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5685 info) \
5686 || exit 1
5688 @endif bison
5690 .PHONY: maybe-dvi-bison dvi-bison
5691 maybe-dvi-bison:
5692 @if bison
5693 maybe-dvi-bison: dvi-bison
5695 dvi-bison: \
5696 configure-bison
5697 @: $(MAKE); $(unstage)
5698 @[ -f ./bison/Makefile ] || exit 0; \
5699 r=`${PWD_COMMAND}`; export r; \
5700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5701 $(HOST_EXPORTS) \
5702 for flag in $(EXTRA_HOST_FLAGS) ; do \
5703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5704 done; \
5705 echo "Doing dvi in bison" ; \
5706 (cd $(HOST_SUBDIR)/bison && \
5707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5709 "RANLIB=$${RANLIB}" \
5710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5711 dvi) \
5712 || exit 1
5714 @endif bison
5716 .PHONY: maybe-pdf-bison pdf-bison
5717 maybe-pdf-bison:
5718 @if bison
5719 maybe-pdf-bison: pdf-bison
5721 pdf-bison: \
5722 configure-bison
5723 @: $(MAKE); $(unstage)
5724 @[ -f ./bison/Makefile ] || exit 0; \
5725 r=`${PWD_COMMAND}`; export r; \
5726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5727 $(HOST_EXPORTS) \
5728 for flag in $(EXTRA_HOST_FLAGS) ; do \
5729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5730 done; \
5731 echo "Doing pdf in bison" ; \
5732 (cd $(HOST_SUBDIR)/bison && \
5733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5735 "RANLIB=$${RANLIB}" \
5736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5737 pdf) \
5738 || exit 1
5740 @endif bison
5742 .PHONY: maybe-html-bison html-bison
5743 maybe-html-bison:
5744 @if bison
5745 maybe-html-bison: html-bison
5747 html-bison: \
5748 configure-bison
5749 @: $(MAKE); $(unstage)
5750 @[ -f ./bison/Makefile ] || exit 0; \
5751 r=`${PWD_COMMAND}`; export r; \
5752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5753 $(HOST_EXPORTS) \
5754 for flag in $(EXTRA_HOST_FLAGS) ; do \
5755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5756 done; \
5757 echo "Doing html in bison" ; \
5758 (cd $(HOST_SUBDIR)/bison && \
5759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5761 "RANLIB=$${RANLIB}" \
5762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5763 html) \
5764 || exit 1
5766 @endif bison
5768 .PHONY: maybe-TAGS-bison TAGS-bison
5769 maybe-TAGS-bison:
5770 @if bison
5771 maybe-TAGS-bison: TAGS-bison
5773 TAGS-bison: \
5774 configure-bison
5775 @: $(MAKE); $(unstage)
5776 @[ -f ./bison/Makefile ] || exit 0; \
5777 r=`${PWD_COMMAND}`; export r; \
5778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5779 $(HOST_EXPORTS) \
5780 for flag in $(EXTRA_HOST_FLAGS) ; do \
5781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5782 done; \
5783 echo "Doing TAGS in bison" ; \
5784 (cd $(HOST_SUBDIR)/bison && \
5785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5787 "RANLIB=$${RANLIB}" \
5788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5789 TAGS) \
5790 || exit 1
5792 @endif bison
5794 .PHONY: maybe-install-info-bison install-info-bison
5795 maybe-install-info-bison:
5796 @if bison
5797 maybe-install-info-bison: install-info-bison
5799 install-info-bison: \
5800 configure-bison \
5801 info-bison
5802 @: $(MAKE); $(unstage)
5803 @[ -f ./bison/Makefile ] || exit 0; \
5804 r=`${PWD_COMMAND}`; export r; \
5805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5806 $(HOST_EXPORTS) \
5807 for flag in $(EXTRA_HOST_FLAGS) ; do \
5808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5809 done; \
5810 echo "Doing install-info in bison" ; \
5811 (cd $(HOST_SUBDIR)/bison && \
5812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5814 "RANLIB=$${RANLIB}" \
5815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5816 install-info) \
5817 || exit 1
5819 @endif bison
5821 .PHONY: maybe-install-pdf-bison install-pdf-bison
5822 maybe-install-pdf-bison:
5823 @if bison
5824 maybe-install-pdf-bison: install-pdf-bison
5826 install-pdf-bison: \
5827 configure-bison \
5828 pdf-bison
5829 @: $(MAKE); $(unstage)
5830 @[ -f ./bison/Makefile ] || exit 0; \
5831 r=`${PWD_COMMAND}`; export r; \
5832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5833 $(HOST_EXPORTS) \
5834 for flag in $(EXTRA_HOST_FLAGS) ; do \
5835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5836 done; \
5837 echo "Doing install-pdf in bison" ; \
5838 (cd $(HOST_SUBDIR)/bison && \
5839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5841 "RANLIB=$${RANLIB}" \
5842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5843 install-pdf) \
5844 || exit 1
5846 @endif bison
5848 .PHONY: maybe-install-html-bison install-html-bison
5849 maybe-install-html-bison:
5850 @if bison
5851 maybe-install-html-bison: install-html-bison
5853 install-html-bison: \
5854 configure-bison \
5855 html-bison
5856 @: $(MAKE); $(unstage)
5857 @[ -f ./bison/Makefile ] || exit 0; \
5858 r=`${PWD_COMMAND}`; export r; \
5859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5860 $(HOST_EXPORTS) \
5861 for flag in $(EXTRA_HOST_FLAGS) ; do \
5862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5863 done; \
5864 echo "Doing install-html in bison" ; \
5865 (cd $(HOST_SUBDIR)/bison && \
5866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5868 "RANLIB=$${RANLIB}" \
5869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5870 install-html) \
5871 || exit 1
5873 @endif bison
5875 .PHONY: maybe-installcheck-bison installcheck-bison
5876 maybe-installcheck-bison:
5877 @if bison
5878 maybe-installcheck-bison: installcheck-bison
5880 installcheck-bison: \
5881 configure-bison
5882 @: $(MAKE); $(unstage)
5883 @[ -f ./bison/Makefile ] || exit 0; \
5884 r=`${PWD_COMMAND}`; export r; \
5885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5886 $(HOST_EXPORTS) \
5887 for flag in $(EXTRA_HOST_FLAGS) ; do \
5888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5889 done; \
5890 echo "Doing installcheck in bison" ; \
5891 (cd $(HOST_SUBDIR)/bison && \
5892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5894 "RANLIB=$${RANLIB}" \
5895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5896 installcheck) \
5897 || exit 1
5899 @endif bison
5901 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5902 maybe-mostlyclean-bison:
5903 @if bison
5904 maybe-mostlyclean-bison: mostlyclean-bison
5906 mostlyclean-bison:
5907 @: $(MAKE); $(unstage)
5908 @[ -f ./bison/Makefile ] || exit 0; \
5909 r=`${PWD_COMMAND}`; export r; \
5910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5911 $(HOST_EXPORTS) \
5912 for flag in $(EXTRA_HOST_FLAGS) ; do \
5913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5914 done; \
5915 echo "Doing mostlyclean in bison" ; \
5916 (cd $(HOST_SUBDIR)/bison && \
5917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5919 "RANLIB=$${RANLIB}" \
5920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5921 mostlyclean) \
5922 || exit 1
5924 @endif bison
5926 .PHONY: maybe-clean-bison clean-bison
5927 maybe-clean-bison:
5928 @if bison
5929 maybe-clean-bison: clean-bison
5931 clean-bison:
5932 @: $(MAKE); $(unstage)
5933 @[ -f ./bison/Makefile ] || exit 0; \
5934 r=`${PWD_COMMAND}`; export r; \
5935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5936 $(HOST_EXPORTS) \
5937 for flag in $(EXTRA_HOST_FLAGS) ; do \
5938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5939 done; \
5940 echo "Doing clean in bison" ; \
5941 (cd $(HOST_SUBDIR)/bison && \
5942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5944 "RANLIB=$${RANLIB}" \
5945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5946 clean) \
5947 || exit 1
5949 @endif bison
5951 .PHONY: maybe-distclean-bison distclean-bison
5952 maybe-distclean-bison:
5953 @if bison
5954 maybe-distclean-bison: distclean-bison
5956 distclean-bison:
5957 @: $(MAKE); $(unstage)
5958 @[ -f ./bison/Makefile ] || exit 0; \
5959 r=`${PWD_COMMAND}`; export r; \
5960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 $(HOST_EXPORTS) \
5962 for flag in $(EXTRA_HOST_FLAGS) ; do \
5963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5964 done; \
5965 echo "Doing distclean in bison" ; \
5966 (cd $(HOST_SUBDIR)/bison && \
5967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5969 "RANLIB=$${RANLIB}" \
5970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5971 distclean) \
5972 || exit 1
5974 @endif bison
5976 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5977 maybe-maintainer-clean-bison:
5978 @if bison
5979 maybe-maintainer-clean-bison: maintainer-clean-bison
5981 maintainer-clean-bison:
5982 @: $(MAKE); $(unstage)
5983 @[ -f ./bison/Makefile ] || exit 0; \
5984 r=`${PWD_COMMAND}`; export r; \
5985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5986 $(HOST_EXPORTS) \
5987 for flag in $(EXTRA_HOST_FLAGS) ; do \
5988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5989 done; \
5990 echo "Doing maintainer-clean in bison" ; \
5991 (cd $(HOST_SUBDIR)/bison && \
5992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5994 "RANLIB=$${RANLIB}" \
5995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5996 maintainer-clean) \
5997 || exit 1
5999 @endif bison
6003 .PHONY: configure-cgen maybe-configure-cgen
6004 maybe-configure-cgen:
6005 @if gcc-bootstrap
6006 configure-cgen: stage_current
6007 @endif gcc-bootstrap
6008 @if cgen
6009 maybe-configure-cgen: configure-cgen
6010 configure-cgen:
6011 @: $(MAKE); $(unstage)
6012 @r=`${PWD_COMMAND}`; export r; \
6013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6014 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6016 $(HOST_EXPORTS) \
6017 echo Configuring in $(HOST_SUBDIR)/cgen; \
6018 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6019 case $(srcdir) in \
6020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6021 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6023 esac; \
6024 srcdiroption="--srcdir=$${topdir}/cgen"; \
6025 libsrcdir="$$s/cgen"; \
6026 $(SHELL) $${libsrcdir}/configure \
6027 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6028 --target=${target_alias} $${srcdiroption} \
6029 || exit 1
6030 @endif cgen
6036 .PHONY: all-cgen maybe-all-cgen
6037 maybe-all-cgen:
6038 @if gcc-bootstrap
6039 all-cgen: stage_current
6040 @endif gcc-bootstrap
6041 @if cgen
6042 TARGET-cgen=all
6043 maybe-all-cgen: all-cgen
6044 all-cgen: configure-cgen
6045 @: $(MAKE); $(unstage)
6046 @r=`${PWD_COMMAND}`; export r; \
6047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6048 $(HOST_EXPORTS) \
6049 (cd $(HOST_SUBDIR)/cgen && \
6050 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6051 $(TARGET-cgen))
6052 @endif cgen
6057 .PHONY: check-cgen maybe-check-cgen
6058 maybe-check-cgen:
6059 @if cgen
6060 maybe-check-cgen: check-cgen
6062 check-cgen:
6063 @: $(MAKE); $(unstage)
6064 @r=`${PWD_COMMAND}`; export r; \
6065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6066 $(HOST_EXPORTS) \
6067 (cd $(HOST_SUBDIR)/cgen && \
6068 $(MAKE) $(FLAGS_TO_PASS) check)
6070 @endif cgen
6072 .PHONY: install-cgen maybe-install-cgen
6073 maybe-install-cgen:
6074 @if cgen
6075 maybe-install-cgen: install-cgen
6077 install-cgen: installdirs
6078 @: $(MAKE); $(unstage)
6079 @r=`${PWD_COMMAND}`; export r; \
6080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6081 $(HOST_EXPORTS) \
6082 (cd $(HOST_SUBDIR)/cgen && \
6083 $(MAKE) $(FLAGS_TO_PASS) install)
6085 @endif cgen
6087 .PHONY: install-strip-cgen maybe-install-strip-cgen
6088 maybe-install-strip-cgen:
6089 @if cgen
6090 maybe-install-strip-cgen: install-strip-cgen
6092 install-strip-cgen: installdirs
6093 @: $(MAKE); $(unstage)
6094 @r=`${PWD_COMMAND}`; export r; \
6095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6096 $(HOST_EXPORTS) \
6097 (cd $(HOST_SUBDIR)/cgen && \
6098 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6100 @endif cgen
6102 # Other targets (info, dvi, pdf, etc.)
6104 .PHONY: maybe-info-cgen info-cgen
6105 maybe-info-cgen:
6106 @if cgen
6107 maybe-info-cgen: info-cgen
6109 info-cgen: \
6110 configure-cgen
6111 @: $(MAKE); $(unstage)
6112 @[ -f ./cgen/Makefile ] || exit 0; \
6113 r=`${PWD_COMMAND}`; export r; \
6114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6115 $(HOST_EXPORTS) \
6116 for flag in $(EXTRA_HOST_FLAGS) ; do \
6117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6118 done; \
6119 echo "Doing info in cgen" ; \
6120 (cd $(HOST_SUBDIR)/cgen && \
6121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6123 "RANLIB=$${RANLIB}" \
6124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6125 info) \
6126 || exit 1
6128 @endif cgen
6130 .PHONY: maybe-dvi-cgen dvi-cgen
6131 maybe-dvi-cgen:
6132 @if cgen
6133 maybe-dvi-cgen: dvi-cgen
6135 dvi-cgen: \
6136 configure-cgen
6137 @: $(MAKE); $(unstage)
6138 @[ -f ./cgen/Makefile ] || exit 0; \
6139 r=`${PWD_COMMAND}`; export r; \
6140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6141 $(HOST_EXPORTS) \
6142 for flag in $(EXTRA_HOST_FLAGS) ; do \
6143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6144 done; \
6145 echo "Doing dvi in cgen" ; \
6146 (cd $(HOST_SUBDIR)/cgen && \
6147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6149 "RANLIB=$${RANLIB}" \
6150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6151 dvi) \
6152 || exit 1
6154 @endif cgen
6156 .PHONY: maybe-pdf-cgen pdf-cgen
6157 maybe-pdf-cgen:
6158 @if cgen
6159 maybe-pdf-cgen: pdf-cgen
6161 pdf-cgen: \
6162 configure-cgen
6163 @: $(MAKE); $(unstage)
6164 @[ -f ./cgen/Makefile ] || exit 0; \
6165 r=`${PWD_COMMAND}`; export r; \
6166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6167 $(HOST_EXPORTS) \
6168 for flag in $(EXTRA_HOST_FLAGS) ; do \
6169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6170 done; \
6171 echo "Doing pdf in cgen" ; \
6172 (cd $(HOST_SUBDIR)/cgen && \
6173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6175 "RANLIB=$${RANLIB}" \
6176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6177 pdf) \
6178 || exit 1
6180 @endif cgen
6182 .PHONY: maybe-html-cgen html-cgen
6183 maybe-html-cgen:
6184 @if cgen
6185 maybe-html-cgen: html-cgen
6187 html-cgen: \
6188 configure-cgen
6189 @: $(MAKE); $(unstage)
6190 @[ -f ./cgen/Makefile ] || exit 0; \
6191 r=`${PWD_COMMAND}`; export r; \
6192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6193 $(HOST_EXPORTS) \
6194 for flag in $(EXTRA_HOST_FLAGS) ; do \
6195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6196 done; \
6197 echo "Doing html in cgen" ; \
6198 (cd $(HOST_SUBDIR)/cgen && \
6199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6201 "RANLIB=$${RANLIB}" \
6202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6203 html) \
6204 || exit 1
6206 @endif cgen
6208 .PHONY: maybe-TAGS-cgen TAGS-cgen
6209 maybe-TAGS-cgen:
6210 @if cgen
6211 maybe-TAGS-cgen: TAGS-cgen
6213 TAGS-cgen: \
6214 configure-cgen
6215 @: $(MAKE); $(unstage)
6216 @[ -f ./cgen/Makefile ] || exit 0; \
6217 r=`${PWD_COMMAND}`; export r; \
6218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6219 $(HOST_EXPORTS) \
6220 for flag in $(EXTRA_HOST_FLAGS) ; do \
6221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6222 done; \
6223 echo "Doing TAGS in cgen" ; \
6224 (cd $(HOST_SUBDIR)/cgen && \
6225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6227 "RANLIB=$${RANLIB}" \
6228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6229 TAGS) \
6230 || exit 1
6232 @endif cgen
6234 .PHONY: maybe-install-info-cgen install-info-cgen
6235 maybe-install-info-cgen:
6236 @if cgen
6237 maybe-install-info-cgen: install-info-cgen
6239 install-info-cgen: \
6240 configure-cgen \
6241 info-cgen
6242 @: $(MAKE); $(unstage)
6243 @[ -f ./cgen/Makefile ] || exit 0; \
6244 r=`${PWD_COMMAND}`; export r; \
6245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6246 $(HOST_EXPORTS) \
6247 for flag in $(EXTRA_HOST_FLAGS) ; do \
6248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6249 done; \
6250 echo "Doing install-info in cgen" ; \
6251 (cd $(HOST_SUBDIR)/cgen && \
6252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6254 "RANLIB=$${RANLIB}" \
6255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6256 install-info) \
6257 || exit 1
6259 @endif cgen
6261 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6262 maybe-install-pdf-cgen:
6263 @if cgen
6264 maybe-install-pdf-cgen: install-pdf-cgen
6266 install-pdf-cgen: \
6267 configure-cgen \
6268 pdf-cgen
6269 @: $(MAKE); $(unstage)
6270 @[ -f ./cgen/Makefile ] || exit 0; \
6271 r=`${PWD_COMMAND}`; export r; \
6272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6273 $(HOST_EXPORTS) \
6274 for flag in $(EXTRA_HOST_FLAGS) ; do \
6275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6276 done; \
6277 echo "Doing install-pdf in cgen" ; \
6278 (cd $(HOST_SUBDIR)/cgen && \
6279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6281 "RANLIB=$${RANLIB}" \
6282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6283 install-pdf) \
6284 || exit 1
6286 @endif cgen
6288 .PHONY: maybe-install-html-cgen install-html-cgen
6289 maybe-install-html-cgen:
6290 @if cgen
6291 maybe-install-html-cgen: install-html-cgen
6293 install-html-cgen: \
6294 configure-cgen \
6295 html-cgen
6296 @: $(MAKE); $(unstage)
6297 @[ -f ./cgen/Makefile ] || exit 0; \
6298 r=`${PWD_COMMAND}`; export r; \
6299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6300 $(HOST_EXPORTS) \
6301 for flag in $(EXTRA_HOST_FLAGS) ; do \
6302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6303 done; \
6304 echo "Doing install-html in cgen" ; \
6305 (cd $(HOST_SUBDIR)/cgen && \
6306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6308 "RANLIB=$${RANLIB}" \
6309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6310 install-html) \
6311 || exit 1
6313 @endif cgen
6315 .PHONY: maybe-installcheck-cgen installcheck-cgen
6316 maybe-installcheck-cgen:
6317 @if cgen
6318 maybe-installcheck-cgen: installcheck-cgen
6320 installcheck-cgen: \
6321 configure-cgen
6322 @: $(MAKE); $(unstage)
6323 @[ -f ./cgen/Makefile ] || exit 0; \
6324 r=`${PWD_COMMAND}`; export r; \
6325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6326 $(HOST_EXPORTS) \
6327 for flag in $(EXTRA_HOST_FLAGS) ; do \
6328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6329 done; \
6330 echo "Doing installcheck in cgen" ; \
6331 (cd $(HOST_SUBDIR)/cgen && \
6332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6334 "RANLIB=$${RANLIB}" \
6335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6336 installcheck) \
6337 || exit 1
6339 @endif cgen
6341 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6342 maybe-mostlyclean-cgen:
6343 @if cgen
6344 maybe-mostlyclean-cgen: mostlyclean-cgen
6346 mostlyclean-cgen:
6347 @: $(MAKE); $(unstage)
6348 @[ -f ./cgen/Makefile ] || exit 0; \
6349 r=`${PWD_COMMAND}`; export r; \
6350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351 $(HOST_EXPORTS) \
6352 for flag in $(EXTRA_HOST_FLAGS) ; do \
6353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6354 done; \
6355 echo "Doing mostlyclean in cgen" ; \
6356 (cd $(HOST_SUBDIR)/cgen && \
6357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6359 "RANLIB=$${RANLIB}" \
6360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6361 mostlyclean) \
6362 || exit 1
6364 @endif cgen
6366 .PHONY: maybe-clean-cgen clean-cgen
6367 maybe-clean-cgen:
6368 @if cgen
6369 maybe-clean-cgen: clean-cgen
6371 clean-cgen:
6372 @: $(MAKE); $(unstage)
6373 @[ -f ./cgen/Makefile ] || exit 0; \
6374 r=`${PWD_COMMAND}`; export r; \
6375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6376 $(HOST_EXPORTS) \
6377 for flag in $(EXTRA_HOST_FLAGS) ; do \
6378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6379 done; \
6380 echo "Doing clean in cgen" ; \
6381 (cd $(HOST_SUBDIR)/cgen && \
6382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6384 "RANLIB=$${RANLIB}" \
6385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6386 clean) \
6387 || exit 1
6389 @endif cgen
6391 .PHONY: maybe-distclean-cgen distclean-cgen
6392 maybe-distclean-cgen:
6393 @if cgen
6394 maybe-distclean-cgen: distclean-cgen
6396 distclean-cgen:
6397 @: $(MAKE); $(unstage)
6398 @[ -f ./cgen/Makefile ] || exit 0; \
6399 r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6401 $(HOST_EXPORTS) \
6402 for flag in $(EXTRA_HOST_FLAGS) ; do \
6403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6404 done; \
6405 echo "Doing distclean in cgen" ; \
6406 (cd $(HOST_SUBDIR)/cgen && \
6407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6409 "RANLIB=$${RANLIB}" \
6410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6411 distclean) \
6412 || exit 1
6414 @endif cgen
6416 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6417 maybe-maintainer-clean-cgen:
6418 @if cgen
6419 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6421 maintainer-clean-cgen:
6422 @: $(MAKE); $(unstage)
6423 @[ -f ./cgen/Makefile ] || exit 0; \
6424 r=`${PWD_COMMAND}`; export r; \
6425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6426 $(HOST_EXPORTS) \
6427 for flag in $(EXTRA_HOST_FLAGS) ; do \
6428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6429 done; \
6430 echo "Doing maintainer-clean in cgen" ; \
6431 (cd $(HOST_SUBDIR)/cgen && \
6432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6434 "RANLIB=$${RANLIB}" \
6435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6436 maintainer-clean) \
6437 || exit 1
6439 @endif cgen
6443 .PHONY: configure-dejagnu maybe-configure-dejagnu
6444 maybe-configure-dejagnu:
6445 @if gcc-bootstrap
6446 configure-dejagnu: stage_current
6447 @endif gcc-bootstrap
6448 @if dejagnu
6449 maybe-configure-dejagnu: configure-dejagnu
6450 configure-dejagnu:
6451 @: $(MAKE); $(unstage)
6452 @r=`${PWD_COMMAND}`; export r; \
6453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6454 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6456 $(HOST_EXPORTS) \
6457 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6458 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6459 case $(srcdir) in \
6460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6461 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6463 esac; \
6464 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6465 libsrcdir="$$s/dejagnu"; \
6466 $(SHELL) $${libsrcdir}/configure \
6467 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6468 --target=${target_alias} $${srcdiroption} \
6469 || exit 1
6470 @endif dejagnu
6476 .PHONY: all-dejagnu maybe-all-dejagnu
6477 maybe-all-dejagnu:
6478 @if gcc-bootstrap
6479 all-dejagnu: stage_current
6480 @endif gcc-bootstrap
6481 @if dejagnu
6482 TARGET-dejagnu=all
6483 maybe-all-dejagnu: all-dejagnu
6484 all-dejagnu: configure-dejagnu
6485 @: $(MAKE); $(unstage)
6486 @r=`${PWD_COMMAND}`; export r; \
6487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6488 $(HOST_EXPORTS) \
6489 (cd $(HOST_SUBDIR)/dejagnu && \
6490 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6491 $(TARGET-dejagnu))
6492 @endif dejagnu
6497 .PHONY: check-dejagnu maybe-check-dejagnu
6498 maybe-check-dejagnu:
6499 @if dejagnu
6500 maybe-check-dejagnu: check-dejagnu
6502 check-dejagnu:
6503 @: $(MAKE); $(unstage)
6504 @r=`${PWD_COMMAND}`; export r; \
6505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 $(HOST_EXPORTS) \
6507 (cd $(HOST_SUBDIR)/dejagnu && \
6508 $(MAKE) $(FLAGS_TO_PASS) check)
6510 @endif dejagnu
6512 .PHONY: install-dejagnu maybe-install-dejagnu
6513 maybe-install-dejagnu:
6514 @if dejagnu
6515 maybe-install-dejagnu: install-dejagnu
6517 install-dejagnu: installdirs
6518 @: $(MAKE); $(unstage)
6519 @r=`${PWD_COMMAND}`; export r; \
6520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6521 $(HOST_EXPORTS) \
6522 (cd $(HOST_SUBDIR)/dejagnu && \
6523 $(MAKE) $(FLAGS_TO_PASS) install)
6525 @endif dejagnu
6527 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6528 maybe-install-strip-dejagnu:
6529 @if dejagnu
6530 maybe-install-strip-dejagnu: install-strip-dejagnu
6532 install-strip-dejagnu: installdirs
6533 @: $(MAKE); $(unstage)
6534 @r=`${PWD_COMMAND}`; export r; \
6535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6536 $(HOST_EXPORTS) \
6537 (cd $(HOST_SUBDIR)/dejagnu && \
6538 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6540 @endif dejagnu
6542 # Other targets (info, dvi, pdf, etc.)
6544 .PHONY: maybe-info-dejagnu info-dejagnu
6545 maybe-info-dejagnu:
6546 @if dejagnu
6547 maybe-info-dejagnu: info-dejagnu
6549 info-dejagnu: \
6550 configure-dejagnu
6551 @: $(MAKE); $(unstage)
6552 @[ -f ./dejagnu/Makefile ] || exit 0; \
6553 r=`${PWD_COMMAND}`; export r; \
6554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6555 $(HOST_EXPORTS) \
6556 for flag in $(EXTRA_HOST_FLAGS) ; do \
6557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6558 done; \
6559 echo "Doing info in dejagnu" ; \
6560 (cd $(HOST_SUBDIR)/dejagnu && \
6561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6563 "RANLIB=$${RANLIB}" \
6564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6565 info) \
6566 || exit 1
6568 @endif dejagnu
6570 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6571 maybe-dvi-dejagnu:
6572 @if dejagnu
6573 maybe-dvi-dejagnu: dvi-dejagnu
6575 dvi-dejagnu: \
6576 configure-dejagnu
6577 @: $(MAKE); $(unstage)
6578 @[ -f ./dejagnu/Makefile ] || exit 0; \
6579 r=`${PWD_COMMAND}`; export r; \
6580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6581 $(HOST_EXPORTS) \
6582 for flag in $(EXTRA_HOST_FLAGS) ; do \
6583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6584 done; \
6585 echo "Doing dvi in dejagnu" ; \
6586 (cd $(HOST_SUBDIR)/dejagnu && \
6587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6589 "RANLIB=$${RANLIB}" \
6590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6591 dvi) \
6592 || exit 1
6594 @endif dejagnu
6596 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6597 maybe-pdf-dejagnu:
6598 @if dejagnu
6599 maybe-pdf-dejagnu: pdf-dejagnu
6601 pdf-dejagnu: \
6602 configure-dejagnu
6603 @: $(MAKE); $(unstage)
6604 @[ -f ./dejagnu/Makefile ] || exit 0; \
6605 r=`${PWD_COMMAND}`; export r; \
6606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6607 $(HOST_EXPORTS) \
6608 for flag in $(EXTRA_HOST_FLAGS) ; do \
6609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6610 done; \
6611 echo "Doing pdf in dejagnu" ; \
6612 (cd $(HOST_SUBDIR)/dejagnu && \
6613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6615 "RANLIB=$${RANLIB}" \
6616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6617 pdf) \
6618 || exit 1
6620 @endif dejagnu
6622 .PHONY: maybe-html-dejagnu html-dejagnu
6623 maybe-html-dejagnu:
6624 @if dejagnu
6625 maybe-html-dejagnu: html-dejagnu
6627 html-dejagnu: \
6628 configure-dejagnu
6629 @: $(MAKE); $(unstage)
6630 @[ -f ./dejagnu/Makefile ] || exit 0; \
6631 r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(HOST_EXPORTS) \
6634 for flag in $(EXTRA_HOST_FLAGS) ; do \
6635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6636 done; \
6637 echo "Doing html in dejagnu" ; \
6638 (cd $(HOST_SUBDIR)/dejagnu && \
6639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6641 "RANLIB=$${RANLIB}" \
6642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6643 html) \
6644 || exit 1
6646 @endif dejagnu
6648 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6649 maybe-TAGS-dejagnu:
6650 @if dejagnu
6651 maybe-TAGS-dejagnu: TAGS-dejagnu
6653 TAGS-dejagnu: \
6654 configure-dejagnu
6655 @: $(MAKE); $(unstage)
6656 @[ -f ./dejagnu/Makefile ] || exit 0; \
6657 r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6659 $(HOST_EXPORTS) \
6660 for flag in $(EXTRA_HOST_FLAGS) ; do \
6661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6662 done; \
6663 echo "Doing TAGS in dejagnu" ; \
6664 (cd $(HOST_SUBDIR)/dejagnu && \
6665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6667 "RANLIB=$${RANLIB}" \
6668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6669 TAGS) \
6670 || exit 1
6672 @endif dejagnu
6674 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6675 maybe-install-info-dejagnu:
6676 @if dejagnu
6677 maybe-install-info-dejagnu: install-info-dejagnu
6679 install-info-dejagnu: \
6680 configure-dejagnu \
6681 info-dejagnu
6682 @: $(MAKE); $(unstage)
6683 @[ -f ./dejagnu/Makefile ] || exit 0; \
6684 r=`${PWD_COMMAND}`; export r; \
6685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6686 $(HOST_EXPORTS) \
6687 for flag in $(EXTRA_HOST_FLAGS) ; do \
6688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6689 done; \
6690 echo "Doing install-info in dejagnu" ; \
6691 (cd $(HOST_SUBDIR)/dejagnu && \
6692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6694 "RANLIB=$${RANLIB}" \
6695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6696 install-info) \
6697 || exit 1
6699 @endif dejagnu
6701 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6702 maybe-install-pdf-dejagnu:
6703 @if dejagnu
6704 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6706 install-pdf-dejagnu: \
6707 configure-dejagnu \
6708 pdf-dejagnu
6709 @: $(MAKE); $(unstage)
6710 @[ -f ./dejagnu/Makefile ] || exit 0; \
6711 r=`${PWD_COMMAND}`; export r; \
6712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6713 $(HOST_EXPORTS) \
6714 for flag in $(EXTRA_HOST_FLAGS) ; do \
6715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6716 done; \
6717 echo "Doing install-pdf in dejagnu" ; \
6718 (cd $(HOST_SUBDIR)/dejagnu && \
6719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6721 "RANLIB=$${RANLIB}" \
6722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6723 install-pdf) \
6724 || exit 1
6726 @endif dejagnu
6728 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6729 maybe-install-html-dejagnu:
6730 @if dejagnu
6731 maybe-install-html-dejagnu: install-html-dejagnu
6733 install-html-dejagnu: \
6734 configure-dejagnu \
6735 html-dejagnu
6736 @: $(MAKE); $(unstage)
6737 @[ -f ./dejagnu/Makefile ] || exit 0; \
6738 r=`${PWD_COMMAND}`; export r; \
6739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6740 $(HOST_EXPORTS) \
6741 for flag in $(EXTRA_HOST_FLAGS) ; do \
6742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6743 done; \
6744 echo "Doing install-html in dejagnu" ; \
6745 (cd $(HOST_SUBDIR)/dejagnu && \
6746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6748 "RANLIB=$${RANLIB}" \
6749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6750 install-html) \
6751 || exit 1
6753 @endif dejagnu
6755 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6756 maybe-installcheck-dejagnu:
6757 @if dejagnu
6758 maybe-installcheck-dejagnu: installcheck-dejagnu
6760 installcheck-dejagnu: \
6761 configure-dejagnu
6762 @: $(MAKE); $(unstage)
6763 @[ -f ./dejagnu/Makefile ] || exit 0; \
6764 r=`${PWD_COMMAND}`; export r; \
6765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6766 $(HOST_EXPORTS) \
6767 for flag in $(EXTRA_HOST_FLAGS) ; do \
6768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6769 done; \
6770 echo "Doing installcheck in dejagnu" ; \
6771 (cd $(HOST_SUBDIR)/dejagnu && \
6772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6774 "RANLIB=$${RANLIB}" \
6775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6776 installcheck) \
6777 || exit 1
6779 @endif dejagnu
6781 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6782 maybe-mostlyclean-dejagnu:
6783 @if dejagnu
6784 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6786 mostlyclean-dejagnu:
6787 @: $(MAKE); $(unstage)
6788 @[ -f ./dejagnu/Makefile ] || exit 0; \
6789 r=`${PWD_COMMAND}`; export r; \
6790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6791 $(HOST_EXPORTS) \
6792 for flag in $(EXTRA_HOST_FLAGS) ; do \
6793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6794 done; \
6795 echo "Doing mostlyclean in dejagnu" ; \
6796 (cd $(HOST_SUBDIR)/dejagnu && \
6797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6799 "RANLIB=$${RANLIB}" \
6800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6801 mostlyclean) \
6802 || exit 1
6804 @endif dejagnu
6806 .PHONY: maybe-clean-dejagnu clean-dejagnu
6807 maybe-clean-dejagnu:
6808 @if dejagnu
6809 maybe-clean-dejagnu: clean-dejagnu
6811 clean-dejagnu:
6812 @: $(MAKE); $(unstage)
6813 @[ -f ./dejagnu/Makefile ] || exit 0; \
6814 r=`${PWD_COMMAND}`; export r; \
6815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6816 $(HOST_EXPORTS) \
6817 for flag in $(EXTRA_HOST_FLAGS) ; do \
6818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6819 done; \
6820 echo "Doing clean in dejagnu" ; \
6821 (cd $(HOST_SUBDIR)/dejagnu && \
6822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6824 "RANLIB=$${RANLIB}" \
6825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6826 clean) \
6827 || exit 1
6829 @endif dejagnu
6831 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6832 maybe-distclean-dejagnu:
6833 @if dejagnu
6834 maybe-distclean-dejagnu: distclean-dejagnu
6836 distclean-dejagnu:
6837 @: $(MAKE); $(unstage)
6838 @[ -f ./dejagnu/Makefile ] || exit 0; \
6839 r=`${PWD_COMMAND}`; export r; \
6840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6841 $(HOST_EXPORTS) \
6842 for flag in $(EXTRA_HOST_FLAGS) ; do \
6843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6844 done; \
6845 echo "Doing distclean in dejagnu" ; \
6846 (cd $(HOST_SUBDIR)/dejagnu && \
6847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6849 "RANLIB=$${RANLIB}" \
6850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6851 distclean) \
6852 || exit 1
6854 @endif dejagnu
6856 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6857 maybe-maintainer-clean-dejagnu:
6858 @if dejagnu
6859 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6861 maintainer-clean-dejagnu:
6862 @: $(MAKE); $(unstage)
6863 @[ -f ./dejagnu/Makefile ] || exit 0; \
6864 r=`${PWD_COMMAND}`; export r; \
6865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6866 $(HOST_EXPORTS) \
6867 for flag in $(EXTRA_HOST_FLAGS) ; do \
6868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6869 done; \
6870 echo "Doing maintainer-clean in dejagnu" ; \
6871 (cd $(HOST_SUBDIR)/dejagnu && \
6872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6874 "RANLIB=$${RANLIB}" \
6875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6876 maintainer-clean) \
6877 || exit 1
6879 @endif dejagnu
6883 .PHONY: configure-etc maybe-configure-etc
6884 maybe-configure-etc:
6885 @if gcc-bootstrap
6886 configure-etc: stage_current
6887 @endif gcc-bootstrap
6888 @if etc
6889 maybe-configure-etc: configure-etc
6890 configure-etc:
6891 @: $(MAKE); $(unstage)
6892 @r=`${PWD_COMMAND}`; export r; \
6893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6894 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6896 $(HOST_EXPORTS) \
6897 echo Configuring in $(HOST_SUBDIR)/etc; \
6898 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6899 case $(srcdir) in \
6900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6901 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6903 esac; \
6904 srcdiroption="--srcdir=$${topdir}/etc"; \
6905 libsrcdir="$$s/etc"; \
6906 $(SHELL) $${libsrcdir}/configure \
6907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6908 --target=${target_alias} $${srcdiroption} \
6909 || exit 1
6910 @endif etc
6916 .PHONY: all-etc maybe-all-etc
6917 maybe-all-etc:
6918 @if gcc-bootstrap
6919 all-etc: stage_current
6920 @endif gcc-bootstrap
6921 @if etc
6922 TARGET-etc=all
6923 maybe-all-etc: all-etc
6924 all-etc: configure-etc
6925 @: $(MAKE); $(unstage)
6926 @r=`${PWD_COMMAND}`; export r; \
6927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6928 $(HOST_EXPORTS) \
6929 (cd $(HOST_SUBDIR)/etc && \
6930 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6931 $(TARGET-etc))
6932 @endif etc
6937 .PHONY: check-etc maybe-check-etc
6938 maybe-check-etc:
6939 @if etc
6940 maybe-check-etc: check-etc
6942 check-etc:
6943 @: $(MAKE); $(unstage)
6944 @r=`${PWD_COMMAND}`; export r; \
6945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6946 $(HOST_EXPORTS) \
6947 (cd $(HOST_SUBDIR)/etc && \
6948 $(MAKE) $(FLAGS_TO_PASS) check)
6950 @endif etc
6952 .PHONY: install-etc maybe-install-etc
6953 maybe-install-etc:
6954 @if etc
6955 maybe-install-etc: install-etc
6957 install-etc: installdirs
6958 @: $(MAKE); $(unstage)
6959 @r=`${PWD_COMMAND}`; export r; \
6960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6961 $(HOST_EXPORTS) \
6962 (cd $(HOST_SUBDIR)/etc && \
6963 $(MAKE) $(FLAGS_TO_PASS) install)
6965 @endif etc
6967 .PHONY: install-strip-etc maybe-install-strip-etc
6968 maybe-install-strip-etc:
6969 @if etc
6970 maybe-install-strip-etc: install-strip-etc
6972 install-strip-etc: installdirs
6973 @: $(MAKE); $(unstage)
6974 @r=`${PWD_COMMAND}`; export r; \
6975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6976 $(HOST_EXPORTS) \
6977 (cd $(HOST_SUBDIR)/etc && \
6978 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6980 @endif etc
6982 # Other targets (info, dvi, pdf, etc.)
6984 .PHONY: maybe-info-etc info-etc
6985 maybe-info-etc:
6986 @if etc
6987 maybe-info-etc: info-etc
6989 info-etc: \
6990 configure-etc
6991 @: $(MAKE); $(unstage)
6992 @[ -f ./etc/Makefile ] || exit 0; \
6993 r=`${PWD_COMMAND}`; export r; \
6994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6995 $(HOST_EXPORTS) \
6996 for flag in $(EXTRA_HOST_FLAGS) ; do \
6997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6998 done; \
6999 echo "Doing info in etc" ; \
7000 (cd $(HOST_SUBDIR)/etc && \
7001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7003 "RANLIB=$${RANLIB}" \
7004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7005 info) \
7006 || exit 1
7008 @endif etc
7010 .PHONY: maybe-dvi-etc dvi-etc
7011 maybe-dvi-etc:
7012 @if etc
7013 maybe-dvi-etc: dvi-etc
7015 dvi-etc: \
7016 configure-etc
7017 @: $(MAKE); $(unstage)
7018 @[ -f ./etc/Makefile ] || exit 0; \
7019 r=`${PWD_COMMAND}`; export r; \
7020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7021 $(HOST_EXPORTS) \
7022 for flag in $(EXTRA_HOST_FLAGS) ; do \
7023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7024 done; \
7025 echo "Doing dvi in etc" ; \
7026 (cd $(HOST_SUBDIR)/etc && \
7027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7029 "RANLIB=$${RANLIB}" \
7030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7031 dvi) \
7032 || exit 1
7034 @endif etc
7036 .PHONY: maybe-pdf-etc pdf-etc
7037 maybe-pdf-etc:
7038 @if etc
7039 maybe-pdf-etc: pdf-etc
7041 pdf-etc: \
7042 configure-etc
7043 @: $(MAKE); $(unstage)
7044 @[ -f ./etc/Makefile ] || exit 0; \
7045 r=`${PWD_COMMAND}`; export r; \
7046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7047 $(HOST_EXPORTS) \
7048 for flag in $(EXTRA_HOST_FLAGS) ; do \
7049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7050 done; \
7051 echo "Doing pdf in etc" ; \
7052 (cd $(HOST_SUBDIR)/etc && \
7053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7055 "RANLIB=$${RANLIB}" \
7056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7057 pdf) \
7058 || exit 1
7060 @endif etc
7062 .PHONY: maybe-html-etc html-etc
7063 maybe-html-etc:
7064 @if etc
7065 maybe-html-etc: html-etc
7067 html-etc: \
7068 configure-etc
7069 @: $(MAKE); $(unstage)
7070 @[ -f ./etc/Makefile ] || exit 0; \
7071 r=`${PWD_COMMAND}`; export r; \
7072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7073 $(HOST_EXPORTS) \
7074 for flag in $(EXTRA_HOST_FLAGS) ; do \
7075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7076 done; \
7077 echo "Doing html in etc" ; \
7078 (cd $(HOST_SUBDIR)/etc && \
7079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7081 "RANLIB=$${RANLIB}" \
7082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7083 html) \
7084 || exit 1
7086 @endif etc
7088 .PHONY: maybe-TAGS-etc TAGS-etc
7089 maybe-TAGS-etc:
7090 @if etc
7091 maybe-TAGS-etc: TAGS-etc
7093 TAGS-etc: \
7094 configure-etc
7095 @: $(MAKE); $(unstage)
7096 @[ -f ./etc/Makefile ] || exit 0; \
7097 r=`${PWD_COMMAND}`; export r; \
7098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7099 $(HOST_EXPORTS) \
7100 for flag in $(EXTRA_HOST_FLAGS) ; do \
7101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7102 done; \
7103 echo "Doing TAGS in etc" ; \
7104 (cd $(HOST_SUBDIR)/etc && \
7105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7107 "RANLIB=$${RANLIB}" \
7108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7109 TAGS) \
7110 || exit 1
7112 @endif etc
7114 .PHONY: maybe-install-info-etc install-info-etc
7115 maybe-install-info-etc:
7116 @if etc
7117 maybe-install-info-etc: install-info-etc
7119 install-info-etc: \
7120 configure-etc \
7121 info-etc
7122 @: $(MAKE); $(unstage)
7123 @[ -f ./etc/Makefile ] || exit 0; \
7124 r=`${PWD_COMMAND}`; export r; \
7125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7126 $(HOST_EXPORTS) \
7127 for flag in $(EXTRA_HOST_FLAGS) ; do \
7128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7129 done; \
7130 echo "Doing install-info in etc" ; \
7131 (cd $(HOST_SUBDIR)/etc && \
7132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7134 "RANLIB=$${RANLIB}" \
7135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7136 install-info) \
7137 || exit 1
7139 @endif etc
7141 .PHONY: maybe-install-pdf-etc install-pdf-etc
7142 maybe-install-pdf-etc:
7143 @if etc
7144 maybe-install-pdf-etc: install-pdf-etc
7146 install-pdf-etc: \
7147 configure-etc \
7148 pdf-etc
7149 @: $(MAKE); $(unstage)
7150 @[ -f ./etc/Makefile ] || exit 0; \
7151 r=`${PWD_COMMAND}`; export r; \
7152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7153 $(HOST_EXPORTS) \
7154 for flag in $(EXTRA_HOST_FLAGS) ; do \
7155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7156 done; \
7157 echo "Doing install-pdf in etc" ; \
7158 (cd $(HOST_SUBDIR)/etc && \
7159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7161 "RANLIB=$${RANLIB}" \
7162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7163 install-pdf) \
7164 || exit 1
7166 @endif etc
7168 .PHONY: maybe-install-html-etc install-html-etc
7169 maybe-install-html-etc:
7170 @if etc
7171 maybe-install-html-etc: install-html-etc
7173 install-html-etc: \
7174 configure-etc \
7175 html-etc
7176 @: $(MAKE); $(unstage)
7177 @[ -f ./etc/Makefile ] || exit 0; \
7178 r=`${PWD_COMMAND}`; export r; \
7179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7180 $(HOST_EXPORTS) \
7181 for flag in $(EXTRA_HOST_FLAGS) ; do \
7182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7183 done; \
7184 echo "Doing install-html in etc" ; \
7185 (cd $(HOST_SUBDIR)/etc && \
7186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7188 "RANLIB=$${RANLIB}" \
7189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7190 install-html) \
7191 || exit 1
7193 @endif etc
7195 .PHONY: maybe-installcheck-etc installcheck-etc
7196 maybe-installcheck-etc:
7197 @if etc
7198 maybe-installcheck-etc: installcheck-etc
7200 installcheck-etc: \
7201 configure-etc
7202 @: $(MAKE); $(unstage)
7203 @[ -f ./etc/Makefile ] || exit 0; \
7204 r=`${PWD_COMMAND}`; export r; \
7205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 $(HOST_EXPORTS) \
7207 for flag in $(EXTRA_HOST_FLAGS) ; do \
7208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7209 done; \
7210 echo "Doing installcheck in etc" ; \
7211 (cd $(HOST_SUBDIR)/etc && \
7212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7214 "RANLIB=$${RANLIB}" \
7215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7216 installcheck) \
7217 || exit 1
7219 @endif etc
7221 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7222 maybe-mostlyclean-etc:
7223 @if etc
7224 maybe-mostlyclean-etc: mostlyclean-etc
7226 mostlyclean-etc:
7227 @: $(MAKE); $(unstage)
7228 @[ -f ./etc/Makefile ] || exit 0; \
7229 r=`${PWD_COMMAND}`; export r; \
7230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7231 $(HOST_EXPORTS) \
7232 for flag in $(EXTRA_HOST_FLAGS) ; do \
7233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7234 done; \
7235 echo "Doing mostlyclean in etc" ; \
7236 (cd $(HOST_SUBDIR)/etc && \
7237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7239 "RANLIB=$${RANLIB}" \
7240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7241 mostlyclean) \
7242 || exit 1
7244 @endif etc
7246 .PHONY: maybe-clean-etc clean-etc
7247 maybe-clean-etc:
7248 @if etc
7249 maybe-clean-etc: clean-etc
7251 clean-etc:
7252 @: $(MAKE); $(unstage)
7253 @[ -f ./etc/Makefile ] || exit 0; \
7254 r=`${PWD_COMMAND}`; export r; \
7255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7256 $(HOST_EXPORTS) \
7257 for flag in $(EXTRA_HOST_FLAGS) ; do \
7258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7259 done; \
7260 echo "Doing clean in etc" ; \
7261 (cd $(HOST_SUBDIR)/etc && \
7262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7264 "RANLIB=$${RANLIB}" \
7265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7266 clean) \
7267 || exit 1
7269 @endif etc
7271 .PHONY: maybe-distclean-etc distclean-etc
7272 maybe-distclean-etc:
7273 @if etc
7274 maybe-distclean-etc: distclean-etc
7276 distclean-etc:
7277 @: $(MAKE); $(unstage)
7278 @[ -f ./etc/Makefile ] || exit 0; \
7279 r=`${PWD_COMMAND}`; export r; \
7280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7281 $(HOST_EXPORTS) \
7282 for flag in $(EXTRA_HOST_FLAGS) ; do \
7283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7284 done; \
7285 echo "Doing distclean in etc" ; \
7286 (cd $(HOST_SUBDIR)/etc && \
7287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7289 "RANLIB=$${RANLIB}" \
7290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7291 distclean) \
7292 || exit 1
7294 @endif etc
7296 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7297 maybe-maintainer-clean-etc:
7298 @if etc
7299 maybe-maintainer-clean-etc: maintainer-clean-etc
7301 maintainer-clean-etc:
7302 @: $(MAKE); $(unstage)
7303 @[ -f ./etc/Makefile ] || exit 0; \
7304 r=`${PWD_COMMAND}`; export r; \
7305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7306 $(HOST_EXPORTS) \
7307 for flag in $(EXTRA_HOST_FLAGS) ; do \
7308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7309 done; \
7310 echo "Doing maintainer-clean in etc" ; \
7311 (cd $(HOST_SUBDIR)/etc && \
7312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7314 "RANLIB=$${RANLIB}" \
7315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7316 maintainer-clean) \
7317 || exit 1
7319 @endif etc
7323 .PHONY: configure-fastjar maybe-configure-fastjar
7324 maybe-configure-fastjar:
7325 @if gcc-bootstrap
7326 configure-fastjar: stage_current
7327 @endif gcc-bootstrap
7328 @if fastjar
7329 maybe-configure-fastjar: configure-fastjar
7330 configure-fastjar:
7331 @: $(MAKE); $(unstage)
7332 @r=`${PWD_COMMAND}`; export r; \
7333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7334 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7336 $(HOST_EXPORTS) \
7337 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7338 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7339 case $(srcdir) in \
7340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7341 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7343 esac; \
7344 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7345 libsrcdir="$$s/fastjar"; \
7346 $(SHELL) $${libsrcdir}/configure \
7347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7348 --target=${target_alias} $${srcdiroption} \
7349 || exit 1
7350 @endif fastjar
7356 .PHONY: all-fastjar maybe-all-fastjar
7357 maybe-all-fastjar:
7358 @if gcc-bootstrap
7359 all-fastjar: stage_current
7360 @endif gcc-bootstrap
7361 @if fastjar
7362 TARGET-fastjar=all
7363 maybe-all-fastjar: all-fastjar
7364 all-fastjar: configure-fastjar
7365 @: $(MAKE); $(unstage)
7366 @r=`${PWD_COMMAND}`; export r; \
7367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7368 $(HOST_EXPORTS) \
7369 (cd $(HOST_SUBDIR)/fastjar && \
7370 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7371 $(TARGET-fastjar))
7372 @endif fastjar
7377 .PHONY: check-fastjar maybe-check-fastjar
7378 maybe-check-fastjar:
7379 @if fastjar
7380 maybe-check-fastjar: check-fastjar
7382 # This module is only tested in a native toolchain.
7383 check-fastjar:
7384 @: $(MAKE); $(unstage)
7385 @if [ '$(host)' = '$(target)' ] ; then \
7386 r=`${PWD_COMMAND}`; export r; \
7387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7388 $(HOST_EXPORTS) \
7389 (cd $(HOST_SUBDIR)/fastjar && \
7390 $(MAKE) $(FLAGS_TO_PASS) check); \
7393 @endif fastjar
7395 .PHONY: install-fastjar maybe-install-fastjar
7396 maybe-install-fastjar:
7397 @if fastjar
7398 maybe-install-fastjar: install-fastjar
7400 install-fastjar: installdirs
7401 @: $(MAKE); $(unstage)
7402 @r=`${PWD_COMMAND}`; export r; \
7403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7404 $(HOST_EXPORTS) \
7405 (cd $(HOST_SUBDIR)/fastjar && \
7406 $(MAKE) $(FLAGS_TO_PASS) install)
7408 @endif fastjar
7410 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7411 maybe-install-strip-fastjar:
7412 @if fastjar
7413 maybe-install-strip-fastjar: install-strip-fastjar
7415 install-strip-fastjar: installdirs
7416 @: $(MAKE); $(unstage)
7417 @r=`${PWD_COMMAND}`; export r; \
7418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7419 $(HOST_EXPORTS) \
7420 (cd $(HOST_SUBDIR)/fastjar && \
7421 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7423 @endif fastjar
7425 # Other targets (info, dvi, pdf, etc.)
7427 .PHONY: maybe-info-fastjar info-fastjar
7428 maybe-info-fastjar:
7429 @if fastjar
7430 maybe-info-fastjar: info-fastjar
7432 info-fastjar: \
7433 configure-fastjar
7434 @: $(MAKE); $(unstage)
7435 @[ -f ./fastjar/Makefile ] || exit 0; \
7436 r=`${PWD_COMMAND}`; export r; \
7437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7438 $(HOST_EXPORTS) \
7439 for flag in $(EXTRA_HOST_FLAGS) ; do \
7440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7441 done; \
7442 echo "Doing info in fastjar" ; \
7443 (cd $(HOST_SUBDIR)/fastjar && \
7444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7446 "RANLIB=$${RANLIB}" \
7447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7448 info) \
7449 || exit 1
7451 @endif fastjar
7453 .PHONY: maybe-dvi-fastjar dvi-fastjar
7454 maybe-dvi-fastjar:
7455 @if fastjar
7456 maybe-dvi-fastjar: dvi-fastjar
7458 dvi-fastjar: \
7459 configure-fastjar
7460 @: $(MAKE); $(unstage)
7461 @[ -f ./fastjar/Makefile ] || exit 0; \
7462 r=`${PWD_COMMAND}`; export r; \
7463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7464 $(HOST_EXPORTS) \
7465 for flag in $(EXTRA_HOST_FLAGS) ; do \
7466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7467 done; \
7468 echo "Doing dvi in fastjar" ; \
7469 (cd $(HOST_SUBDIR)/fastjar && \
7470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7472 "RANLIB=$${RANLIB}" \
7473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7474 dvi) \
7475 || exit 1
7477 @endif fastjar
7479 .PHONY: maybe-pdf-fastjar pdf-fastjar
7480 maybe-pdf-fastjar:
7481 @if fastjar
7482 maybe-pdf-fastjar: pdf-fastjar
7484 pdf-fastjar: \
7485 configure-fastjar
7486 @: $(MAKE); $(unstage)
7487 @[ -f ./fastjar/Makefile ] || exit 0; \
7488 r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(HOST_EXPORTS) \
7491 for flag in $(EXTRA_HOST_FLAGS) ; do \
7492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7493 done; \
7494 echo "Doing pdf in fastjar" ; \
7495 (cd $(HOST_SUBDIR)/fastjar && \
7496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498 "RANLIB=$${RANLIB}" \
7499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7500 pdf) \
7501 || exit 1
7503 @endif fastjar
7505 .PHONY: maybe-html-fastjar html-fastjar
7506 maybe-html-fastjar:
7507 @if fastjar
7508 maybe-html-fastjar: html-fastjar
7510 html-fastjar: \
7511 configure-fastjar
7512 @: $(MAKE); $(unstage)
7513 @[ -f ./fastjar/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(HOST_EXPORTS) \
7517 for flag in $(EXTRA_HOST_FLAGS) ; do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing html in fastjar" ; \
7521 (cd $(HOST_SUBDIR)/fastjar && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7526 html) \
7527 || exit 1
7529 @endif fastjar
7531 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7532 maybe-TAGS-fastjar:
7533 @if fastjar
7534 maybe-TAGS-fastjar: TAGS-fastjar
7536 TAGS-fastjar: \
7537 configure-fastjar
7538 @: $(MAKE); $(unstage)
7539 @[ -f ./fastjar/Makefile ] || exit 0; \
7540 r=`${PWD_COMMAND}`; export r; \
7541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7542 $(HOST_EXPORTS) \
7543 for flag in $(EXTRA_HOST_FLAGS) ; do \
7544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7545 done; \
7546 echo "Doing TAGS in fastjar" ; \
7547 (cd $(HOST_SUBDIR)/fastjar && \
7548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7550 "RANLIB=$${RANLIB}" \
7551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7552 TAGS) \
7553 || exit 1
7555 @endif fastjar
7557 .PHONY: maybe-install-info-fastjar install-info-fastjar
7558 maybe-install-info-fastjar:
7559 @if fastjar
7560 maybe-install-info-fastjar: install-info-fastjar
7562 install-info-fastjar: \
7563 configure-fastjar \
7564 info-fastjar
7565 @: $(MAKE); $(unstage)
7566 @[ -f ./fastjar/Makefile ] || exit 0; \
7567 r=`${PWD_COMMAND}`; export r; \
7568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7569 $(HOST_EXPORTS) \
7570 for flag in $(EXTRA_HOST_FLAGS) ; do \
7571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7572 done; \
7573 echo "Doing install-info in fastjar" ; \
7574 (cd $(HOST_SUBDIR)/fastjar && \
7575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7577 "RANLIB=$${RANLIB}" \
7578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7579 install-info) \
7580 || exit 1
7582 @endif fastjar
7584 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7585 maybe-install-pdf-fastjar:
7586 @if fastjar
7587 maybe-install-pdf-fastjar: install-pdf-fastjar
7589 install-pdf-fastjar: \
7590 configure-fastjar \
7591 pdf-fastjar
7592 @: $(MAKE); $(unstage)
7593 @[ -f ./fastjar/Makefile ] || exit 0; \
7594 r=`${PWD_COMMAND}`; export r; \
7595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7596 $(HOST_EXPORTS) \
7597 for flag in $(EXTRA_HOST_FLAGS) ; do \
7598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7599 done; \
7600 echo "Doing install-pdf in fastjar" ; \
7601 (cd $(HOST_SUBDIR)/fastjar && \
7602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7604 "RANLIB=$${RANLIB}" \
7605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7606 install-pdf) \
7607 || exit 1
7609 @endif fastjar
7611 .PHONY: maybe-install-html-fastjar install-html-fastjar
7612 maybe-install-html-fastjar:
7613 @if fastjar
7614 maybe-install-html-fastjar: install-html-fastjar
7616 install-html-fastjar: \
7617 configure-fastjar \
7618 html-fastjar
7619 @: $(MAKE); $(unstage)
7620 @[ -f ./fastjar/Makefile ] || exit 0; \
7621 r=`${PWD_COMMAND}`; export r; \
7622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 $(HOST_EXPORTS) \
7624 for flag in $(EXTRA_HOST_FLAGS) ; do \
7625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7626 done; \
7627 echo "Doing install-html in fastjar" ; \
7628 (cd $(HOST_SUBDIR)/fastjar && \
7629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7631 "RANLIB=$${RANLIB}" \
7632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7633 install-html) \
7634 || exit 1
7636 @endif fastjar
7638 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7639 maybe-installcheck-fastjar:
7640 @if fastjar
7641 maybe-installcheck-fastjar: installcheck-fastjar
7643 installcheck-fastjar: \
7644 configure-fastjar
7645 @: $(MAKE); $(unstage)
7646 @[ -f ./fastjar/Makefile ] || exit 0; \
7647 r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7649 $(HOST_EXPORTS) \
7650 for flag in $(EXTRA_HOST_FLAGS) ; do \
7651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7652 done; \
7653 echo "Doing installcheck in fastjar" ; \
7654 (cd $(HOST_SUBDIR)/fastjar && \
7655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7657 "RANLIB=$${RANLIB}" \
7658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7659 installcheck) \
7660 || exit 1
7662 @endif fastjar
7664 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7665 maybe-mostlyclean-fastjar:
7666 @if fastjar
7667 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7669 mostlyclean-fastjar:
7670 @: $(MAKE); $(unstage)
7671 @[ -f ./fastjar/Makefile ] || exit 0; \
7672 r=`${PWD_COMMAND}`; export r; \
7673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7674 $(HOST_EXPORTS) \
7675 for flag in $(EXTRA_HOST_FLAGS) ; do \
7676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7677 done; \
7678 echo "Doing mostlyclean in fastjar" ; \
7679 (cd $(HOST_SUBDIR)/fastjar && \
7680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7682 "RANLIB=$${RANLIB}" \
7683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7684 mostlyclean) \
7685 || exit 1
7687 @endif fastjar
7689 .PHONY: maybe-clean-fastjar clean-fastjar
7690 maybe-clean-fastjar:
7691 @if fastjar
7692 maybe-clean-fastjar: clean-fastjar
7694 clean-fastjar:
7695 @: $(MAKE); $(unstage)
7696 @[ -f ./fastjar/Makefile ] || exit 0; \
7697 r=`${PWD_COMMAND}`; export r; \
7698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7699 $(HOST_EXPORTS) \
7700 for flag in $(EXTRA_HOST_FLAGS) ; do \
7701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7702 done; \
7703 echo "Doing clean in fastjar" ; \
7704 (cd $(HOST_SUBDIR)/fastjar && \
7705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7707 "RANLIB=$${RANLIB}" \
7708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7709 clean) \
7710 || exit 1
7712 @endif fastjar
7714 .PHONY: maybe-distclean-fastjar distclean-fastjar
7715 maybe-distclean-fastjar:
7716 @if fastjar
7717 maybe-distclean-fastjar: distclean-fastjar
7719 distclean-fastjar:
7720 @: $(MAKE); $(unstage)
7721 @[ -f ./fastjar/Makefile ] || exit 0; \
7722 r=`${PWD_COMMAND}`; export r; \
7723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7724 $(HOST_EXPORTS) \
7725 for flag in $(EXTRA_HOST_FLAGS) ; do \
7726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7727 done; \
7728 echo "Doing distclean in fastjar" ; \
7729 (cd $(HOST_SUBDIR)/fastjar && \
7730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7732 "RANLIB=$${RANLIB}" \
7733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7734 distclean) \
7735 || exit 1
7737 @endif fastjar
7739 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7740 maybe-maintainer-clean-fastjar:
7741 @if fastjar
7742 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7744 maintainer-clean-fastjar:
7745 @: $(MAKE); $(unstage)
7746 @[ -f ./fastjar/Makefile ] || exit 0; \
7747 r=`${PWD_COMMAND}`; export r; \
7748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7749 $(HOST_EXPORTS) \
7750 for flag in $(EXTRA_HOST_FLAGS) ; do \
7751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7752 done; \
7753 echo "Doing maintainer-clean in fastjar" ; \
7754 (cd $(HOST_SUBDIR)/fastjar && \
7755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7757 "RANLIB=$${RANLIB}" \
7758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7759 maintainer-clean) \
7760 || exit 1
7762 @endif fastjar
7766 .PHONY: configure-fixincludes maybe-configure-fixincludes
7767 maybe-configure-fixincludes:
7768 @if gcc-bootstrap
7769 configure-fixincludes: stage_current
7770 @endif gcc-bootstrap
7771 @if fixincludes
7772 maybe-configure-fixincludes: configure-fixincludes
7773 configure-fixincludes:
7774 @: $(MAKE); $(unstage)
7775 @r=`${PWD_COMMAND}`; export r; \
7776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7777 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7779 $(HOST_EXPORTS) \
7780 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7781 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7782 case $(srcdir) in \
7783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7784 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7786 esac; \
7787 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7788 libsrcdir="$$s/fixincludes"; \
7789 $(SHELL) $${libsrcdir}/configure \
7790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7791 --target=${target_alias} $${srcdiroption} \
7792 || exit 1
7793 @endif fixincludes
7799 .PHONY: all-fixincludes maybe-all-fixincludes
7800 maybe-all-fixincludes:
7801 @if gcc-bootstrap
7802 all-fixincludes: stage_current
7803 @endif gcc-bootstrap
7804 @if fixincludes
7805 TARGET-fixincludes=all
7806 maybe-all-fixincludes: all-fixincludes
7807 all-fixincludes: configure-fixincludes
7808 @: $(MAKE); $(unstage)
7809 @r=`${PWD_COMMAND}`; export r; \
7810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7811 $(HOST_EXPORTS) \
7812 (cd $(HOST_SUBDIR)/fixincludes && \
7813 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7814 $(TARGET-fixincludes))
7815 @endif fixincludes
7820 .PHONY: check-fixincludes maybe-check-fixincludes
7821 maybe-check-fixincludes:
7822 @if fixincludes
7823 maybe-check-fixincludes: check-fixincludes
7825 check-fixincludes:
7826 @: $(MAKE); $(unstage)
7827 @r=`${PWD_COMMAND}`; export r; \
7828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7829 $(HOST_EXPORTS) \
7830 (cd $(HOST_SUBDIR)/fixincludes && \
7831 $(MAKE) $(FLAGS_TO_PASS) check)
7833 @endif fixincludes
7835 .PHONY: install-fixincludes maybe-install-fixincludes
7836 maybe-install-fixincludes:
7837 @if fixincludes
7838 maybe-install-fixincludes: install-fixincludes
7840 install-fixincludes: installdirs
7841 @: $(MAKE); $(unstage)
7842 @r=`${PWD_COMMAND}`; export r; \
7843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7844 $(HOST_EXPORTS) \
7845 (cd $(HOST_SUBDIR)/fixincludes && \
7846 $(MAKE) $(FLAGS_TO_PASS) install)
7848 @endif fixincludes
7850 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7851 maybe-install-strip-fixincludes:
7852 @if fixincludes
7853 maybe-install-strip-fixincludes: install-strip-fixincludes
7855 install-strip-fixincludes: installdirs
7856 @: $(MAKE); $(unstage)
7857 @r=`${PWD_COMMAND}`; export r; \
7858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7859 $(HOST_EXPORTS) \
7860 (cd $(HOST_SUBDIR)/fixincludes && \
7861 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7863 @endif fixincludes
7865 # Other targets (info, dvi, pdf, etc.)
7867 .PHONY: maybe-info-fixincludes info-fixincludes
7868 maybe-info-fixincludes:
7869 @if fixincludes
7870 maybe-info-fixincludes: info-fixincludes
7872 info-fixincludes: \
7873 configure-fixincludes
7874 @: $(MAKE); $(unstage)
7875 @[ -f ./fixincludes/Makefile ] || exit 0; \
7876 r=`${PWD_COMMAND}`; export r; \
7877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7878 $(HOST_EXPORTS) \
7879 for flag in $(EXTRA_HOST_FLAGS) ; do \
7880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7881 done; \
7882 echo "Doing info in fixincludes" ; \
7883 (cd $(HOST_SUBDIR)/fixincludes && \
7884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7886 "RANLIB=$${RANLIB}" \
7887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7888 info) \
7889 || exit 1
7891 @endif fixincludes
7893 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7894 maybe-dvi-fixincludes:
7895 @if fixincludes
7896 maybe-dvi-fixincludes: dvi-fixincludes
7898 dvi-fixincludes: \
7899 configure-fixincludes
7900 @: $(MAKE); $(unstage)
7901 @[ -f ./fixincludes/Makefile ] || exit 0; \
7902 r=`${PWD_COMMAND}`; export r; \
7903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7904 $(HOST_EXPORTS) \
7905 for flag in $(EXTRA_HOST_FLAGS) ; do \
7906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7907 done; \
7908 echo "Doing dvi in fixincludes" ; \
7909 (cd $(HOST_SUBDIR)/fixincludes && \
7910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7912 "RANLIB=$${RANLIB}" \
7913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7914 dvi) \
7915 || exit 1
7917 @endif fixincludes
7919 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7920 maybe-pdf-fixincludes:
7921 @if fixincludes
7922 maybe-pdf-fixincludes: pdf-fixincludes
7924 pdf-fixincludes: \
7925 configure-fixincludes
7926 @: $(MAKE); $(unstage)
7927 @[ -f ./fixincludes/Makefile ] || exit 0; \
7928 r=`${PWD_COMMAND}`; export r; \
7929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7930 $(HOST_EXPORTS) \
7931 for flag in $(EXTRA_HOST_FLAGS) ; do \
7932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7933 done; \
7934 echo "Doing pdf in fixincludes" ; \
7935 (cd $(HOST_SUBDIR)/fixincludes && \
7936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7938 "RANLIB=$${RANLIB}" \
7939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7940 pdf) \
7941 || exit 1
7943 @endif fixincludes
7945 .PHONY: maybe-html-fixincludes html-fixincludes
7946 maybe-html-fixincludes:
7947 @if fixincludes
7948 maybe-html-fixincludes: html-fixincludes
7950 html-fixincludes: \
7951 configure-fixincludes
7952 @: $(MAKE); $(unstage)
7953 @[ -f ./fixincludes/Makefile ] || exit 0; \
7954 r=`${PWD_COMMAND}`; export r; \
7955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7956 $(HOST_EXPORTS) \
7957 for flag in $(EXTRA_HOST_FLAGS) ; do \
7958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7959 done; \
7960 echo "Doing html in fixincludes" ; \
7961 (cd $(HOST_SUBDIR)/fixincludes && \
7962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7964 "RANLIB=$${RANLIB}" \
7965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7966 html) \
7967 || exit 1
7969 @endif fixincludes
7971 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7972 maybe-TAGS-fixincludes:
7973 @if fixincludes
7974 maybe-TAGS-fixincludes: TAGS-fixincludes
7976 # fixincludes doesn't support TAGS.
7977 TAGS-fixincludes:
7979 @endif fixincludes
7981 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7982 maybe-install-info-fixincludes:
7983 @if fixincludes
7984 maybe-install-info-fixincludes: install-info-fixincludes
7986 install-info-fixincludes: \
7987 configure-fixincludes \
7988 info-fixincludes
7989 @: $(MAKE); $(unstage)
7990 @[ -f ./fixincludes/Makefile ] || exit 0; \
7991 r=`${PWD_COMMAND}`; export r; \
7992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7993 $(HOST_EXPORTS) \
7994 for flag in $(EXTRA_HOST_FLAGS) ; do \
7995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7996 done; \
7997 echo "Doing install-info in fixincludes" ; \
7998 (cd $(HOST_SUBDIR)/fixincludes && \
7999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8001 "RANLIB=$${RANLIB}" \
8002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8003 install-info) \
8004 || exit 1
8006 @endif fixincludes
8008 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8009 maybe-install-pdf-fixincludes:
8010 @if fixincludes
8011 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8013 install-pdf-fixincludes: \
8014 configure-fixincludes \
8015 pdf-fixincludes
8016 @: $(MAKE); $(unstage)
8017 @[ -f ./fixincludes/Makefile ] || exit 0; \
8018 r=`${PWD_COMMAND}`; export r; \
8019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8020 $(HOST_EXPORTS) \
8021 for flag in $(EXTRA_HOST_FLAGS) ; do \
8022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8023 done; \
8024 echo "Doing install-pdf in fixincludes" ; \
8025 (cd $(HOST_SUBDIR)/fixincludes && \
8026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8028 "RANLIB=$${RANLIB}" \
8029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8030 install-pdf) \
8031 || exit 1
8033 @endif fixincludes
8035 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8036 maybe-install-html-fixincludes:
8037 @if fixincludes
8038 maybe-install-html-fixincludes: install-html-fixincludes
8040 install-html-fixincludes: \
8041 configure-fixincludes \
8042 html-fixincludes
8043 @: $(MAKE); $(unstage)
8044 @[ -f ./fixincludes/Makefile ] || exit 0; \
8045 r=`${PWD_COMMAND}`; export r; \
8046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8047 $(HOST_EXPORTS) \
8048 for flag in $(EXTRA_HOST_FLAGS) ; do \
8049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8050 done; \
8051 echo "Doing install-html in fixincludes" ; \
8052 (cd $(HOST_SUBDIR)/fixincludes && \
8053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8055 "RANLIB=$${RANLIB}" \
8056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8057 install-html) \
8058 || exit 1
8060 @endif fixincludes
8062 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8063 maybe-installcheck-fixincludes:
8064 @if fixincludes
8065 maybe-installcheck-fixincludes: installcheck-fixincludes
8067 installcheck-fixincludes: \
8068 configure-fixincludes
8069 @: $(MAKE); $(unstage)
8070 @[ -f ./fixincludes/Makefile ] || exit 0; \
8071 r=`${PWD_COMMAND}`; export r; \
8072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8073 $(HOST_EXPORTS) \
8074 for flag in $(EXTRA_HOST_FLAGS) ; do \
8075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8076 done; \
8077 echo "Doing installcheck in fixincludes" ; \
8078 (cd $(HOST_SUBDIR)/fixincludes && \
8079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8081 "RANLIB=$${RANLIB}" \
8082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8083 installcheck) \
8084 || exit 1
8086 @endif fixincludes
8088 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8089 maybe-mostlyclean-fixincludes:
8090 @if fixincludes
8091 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8093 mostlyclean-fixincludes:
8094 @: $(MAKE); $(unstage)
8095 @[ -f ./fixincludes/Makefile ] || exit 0; \
8096 r=`${PWD_COMMAND}`; export r; \
8097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8098 $(HOST_EXPORTS) \
8099 for flag in $(EXTRA_HOST_FLAGS) ; do \
8100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8101 done; \
8102 echo "Doing mostlyclean in fixincludes" ; \
8103 (cd $(HOST_SUBDIR)/fixincludes && \
8104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8106 "RANLIB=$${RANLIB}" \
8107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8108 mostlyclean) \
8109 || exit 1
8111 @endif fixincludes
8113 .PHONY: maybe-clean-fixincludes clean-fixincludes
8114 maybe-clean-fixincludes:
8115 @if fixincludes
8116 maybe-clean-fixincludes: clean-fixincludes
8118 clean-fixincludes:
8119 @: $(MAKE); $(unstage)
8120 @[ -f ./fixincludes/Makefile ] || exit 0; \
8121 r=`${PWD_COMMAND}`; export r; \
8122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8123 $(HOST_EXPORTS) \
8124 for flag in $(EXTRA_HOST_FLAGS) ; do \
8125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8126 done; \
8127 echo "Doing clean in fixincludes" ; \
8128 (cd $(HOST_SUBDIR)/fixincludes && \
8129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8131 "RANLIB=$${RANLIB}" \
8132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8133 clean) \
8134 || exit 1
8136 @endif fixincludes
8138 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8139 maybe-distclean-fixincludes:
8140 @if fixincludes
8141 maybe-distclean-fixincludes: distclean-fixincludes
8143 distclean-fixincludes:
8144 @: $(MAKE); $(unstage)
8145 @[ -f ./fixincludes/Makefile ] || exit 0; \
8146 r=`${PWD_COMMAND}`; export r; \
8147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8148 $(HOST_EXPORTS) \
8149 for flag in $(EXTRA_HOST_FLAGS) ; do \
8150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8151 done; \
8152 echo "Doing distclean in fixincludes" ; \
8153 (cd $(HOST_SUBDIR)/fixincludes && \
8154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8156 "RANLIB=$${RANLIB}" \
8157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8158 distclean) \
8159 || exit 1
8161 @endif fixincludes
8163 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8164 maybe-maintainer-clean-fixincludes:
8165 @if fixincludes
8166 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8168 maintainer-clean-fixincludes:
8169 @: $(MAKE); $(unstage)
8170 @[ -f ./fixincludes/Makefile ] || exit 0; \
8171 r=`${PWD_COMMAND}`; export r; \
8172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8173 $(HOST_EXPORTS) \
8174 for flag in $(EXTRA_HOST_FLAGS) ; do \
8175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8176 done; \
8177 echo "Doing maintainer-clean in fixincludes" ; \
8178 (cd $(HOST_SUBDIR)/fixincludes && \
8179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8181 "RANLIB=$${RANLIB}" \
8182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8183 maintainer-clean) \
8184 || exit 1
8186 @endif fixincludes
8190 .PHONY: configure-flex maybe-configure-flex
8191 maybe-configure-flex:
8192 @if gcc-bootstrap
8193 configure-flex: stage_current
8194 @endif gcc-bootstrap
8195 @if flex
8196 maybe-configure-flex: configure-flex
8197 configure-flex:
8198 @: $(MAKE); $(unstage)
8199 @r=`${PWD_COMMAND}`; export r; \
8200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8201 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8203 $(HOST_EXPORTS) \
8204 echo Configuring in $(HOST_SUBDIR)/flex; \
8205 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8206 case $(srcdir) in \
8207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8208 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8210 esac; \
8211 srcdiroption="--srcdir=$${topdir}/flex"; \
8212 libsrcdir="$$s/flex"; \
8213 $(SHELL) $${libsrcdir}/configure \
8214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8215 --target=${target_alias} $${srcdiroption} \
8216 || exit 1
8217 @endif flex
8223 .PHONY: all-flex maybe-all-flex
8224 maybe-all-flex:
8225 @if gcc-bootstrap
8226 all-flex: stage_current
8227 @endif gcc-bootstrap
8228 @if flex
8229 TARGET-flex=all
8230 maybe-all-flex: all-flex
8231 all-flex: configure-flex
8232 @: $(MAKE); $(unstage)
8233 @r=`${PWD_COMMAND}`; export r; \
8234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8235 $(HOST_EXPORTS) \
8236 (cd $(HOST_SUBDIR)/flex && \
8237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8238 $(TARGET-flex))
8239 @endif flex
8244 .PHONY: check-flex maybe-check-flex
8245 maybe-check-flex:
8246 @if flex
8247 maybe-check-flex: check-flex
8249 # This module is only tested in a native toolchain.
8250 check-flex:
8251 @: $(MAKE); $(unstage)
8252 @if [ '$(host)' = '$(target)' ] ; then \
8253 r=`${PWD_COMMAND}`; export r; \
8254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8255 $(HOST_EXPORTS) \
8256 (cd $(HOST_SUBDIR)/flex && \
8257 $(MAKE) $(FLAGS_TO_PASS) check); \
8260 @endif flex
8262 .PHONY: install-flex maybe-install-flex
8263 maybe-install-flex:
8264 @if flex
8265 maybe-install-flex: install-flex
8267 install-flex: installdirs
8268 @: $(MAKE); $(unstage)
8269 @r=`${PWD_COMMAND}`; export r; \
8270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8271 $(HOST_EXPORTS) \
8272 (cd $(HOST_SUBDIR)/flex && \
8273 $(MAKE) $(FLAGS_TO_PASS) install)
8275 @endif flex
8277 .PHONY: install-strip-flex maybe-install-strip-flex
8278 maybe-install-strip-flex:
8279 @if flex
8280 maybe-install-strip-flex: install-strip-flex
8282 install-strip-flex: installdirs
8283 @: $(MAKE); $(unstage)
8284 @r=`${PWD_COMMAND}`; export r; \
8285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8286 $(HOST_EXPORTS) \
8287 (cd $(HOST_SUBDIR)/flex && \
8288 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8290 @endif flex
8292 # Other targets (info, dvi, pdf, etc.)
8294 .PHONY: maybe-info-flex info-flex
8295 maybe-info-flex:
8296 @if flex
8297 maybe-info-flex: info-flex
8299 info-flex: \
8300 configure-flex
8301 @: $(MAKE); $(unstage)
8302 @[ -f ./flex/Makefile ] || exit 0; \
8303 r=`${PWD_COMMAND}`; export r; \
8304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8305 $(HOST_EXPORTS) \
8306 for flag in $(EXTRA_HOST_FLAGS) ; do \
8307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8308 done; \
8309 echo "Doing info in flex" ; \
8310 (cd $(HOST_SUBDIR)/flex && \
8311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8313 "RANLIB=$${RANLIB}" \
8314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8315 info) \
8316 || exit 1
8318 @endif flex
8320 .PHONY: maybe-dvi-flex dvi-flex
8321 maybe-dvi-flex:
8322 @if flex
8323 maybe-dvi-flex: dvi-flex
8325 dvi-flex: \
8326 configure-flex
8327 @: $(MAKE); $(unstage)
8328 @[ -f ./flex/Makefile ] || exit 0; \
8329 r=`${PWD_COMMAND}`; export r; \
8330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8331 $(HOST_EXPORTS) \
8332 for flag in $(EXTRA_HOST_FLAGS) ; do \
8333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8334 done; \
8335 echo "Doing dvi in flex" ; \
8336 (cd $(HOST_SUBDIR)/flex && \
8337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8339 "RANLIB=$${RANLIB}" \
8340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8341 dvi) \
8342 || exit 1
8344 @endif flex
8346 .PHONY: maybe-pdf-flex pdf-flex
8347 maybe-pdf-flex:
8348 @if flex
8349 maybe-pdf-flex: pdf-flex
8351 pdf-flex: \
8352 configure-flex
8353 @: $(MAKE); $(unstage)
8354 @[ -f ./flex/Makefile ] || exit 0; \
8355 r=`${PWD_COMMAND}`; export r; \
8356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8357 $(HOST_EXPORTS) \
8358 for flag in $(EXTRA_HOST_FLAGS) ; do \
8359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8360 done; \
8361 echo "Doing pdf in flex" ; \
8362 (cd $(HOST_SUBDIR)/flex && \
8363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8365 "RANLIB=$${RANLIB}" \
8366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8367 pdf) \
8368 || exit 1
8370 @endif flex
8372 .PHONY: maybe-html-flex html-flex
8373 maybe-html-flex:
8374 @if flex
8375 maybe-html-flex: html-flex
8377 html-flex: \
8378 configure-flex
8379 @: $(MAKE); $(unstage)
8380 @[ -f ./flex/Makefile ] || exit 0; \
8381 r=`${PWD_COMMAND}`; export r; \
8382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8383 $(HOST_EXPORTS) \
8384 for flag in $(EXTRA_HOST_FLAGS) ; do \
8385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8386 done; \
8387 echo "Doing html in flex" ; \
8388 (cd $(HOST_SUBDIR)/flex && \
8389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8391 "RANLIB=$${RANLIB}" \
8392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8393 html) \
8394 || exit 1
8396 @endif flex
8398 .PHONY: maybe-TAGS-flex TAGS-flex
8399 maybe-TAGS-flex:
8400 @if flex
8401 maybe-TAGS-flex: TAGS-flex
8403 TAGS-flex: \
8404 configure-flex
8405 @: $(MAKE); $(unstage)
8406 @[ -f ./flex/Makefile ] || exit 0; \
8407 r=`${PWD_COMMAND}`; export r; \
8408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8409 $(HOST_EXPORTS) \
8410 for flag in $(EXTRA_HOST_FLAGS) ; do \
8411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8412 done; \
8413 echo "Doing TAGS in flex" ; \
8414 (cd $(HOST_SUBDIR)/flex && \
8415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8417 "RANLIB=$${RANLIB}" \
8418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8419 TAGS) \
8420 || exit 1
8422 @endif flex
8424 .PHONY: maybe-install-info-flex install-info-flex
8425 maybe-install-info-flex:
8426 @if flex
8427 maybe-install-info-flex: install-info-flex
8429 install-info-flex: \
8430 configure-flex \
8431 info-flex
8432 @: $(MAKE); $(unstage)
8433 @[ -f ./flex/Makefile ] || exit 0; \
8434 r=`${PWD_COMMAND}`; export r; \
8435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8436 $(HOST_EXPORTS) \
8437 for flag in $(EXTRA_HOST_FLAGS) ; do \
8438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8439 done; \
8440 echo "Doing install-info in flex" ; \
8441 (cd $(HOST_SUBDIR)/flex && \
8442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8444 "RANLIB=$${RANLIB}" \
8445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8446 install-info) \
8447 || exit 1
8449 @endif flex
8451 .PHONY: maybe-install-pdf-flex install-pdf-flex
8452 maybe-install-pdf-flex:
8453 @if flex
8454 maybe-install-pdf-flex: install-pdf-flex
8456 install-pdf-flex: \
8457 configure-flex \
8458 pdf-flex
8459 @: $(MAKE); $(unstage)
8460 @[ -f ./flex/Makefile ] || exit 0; \
8461 r=`${PWD_COMMAND}`; export r; \
8462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8463 $(HOST_EXPORTS) \
8464 for flag in $(EXTRA_HOST_FLAGS) ; do \
8465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8466 done; \
8467 echo "Doing install-pdf in flex" ; \
8468 (cd $(HOST_SUBDIR)/flex && \
8469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8471 "RANLIB=$${RANLIB}" \
8472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8473 install-pdf) \
8474 || exit 1
8476 @endif flex
8478 .PHONY: maybe-install-html-flex install-html-flex
8479 maybe-install-html-flex:
8480 @if flex
8481 maybe-install-html-flex: install-html-flex
8483 install-html-flex: \
8484 configure-flex \
8485 html-flex
8486 @: $(MAKE); $(unstage)
8487 @[ -f ./flex/Makefile ] || exit 0; \
8488 r=`${PWD_COMMAND}`; export r; \
8489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8490 $(HOST_EXPORTS) \
8491 for flag in $(EXTRA_HOST_FLAGS) ; do \
8492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8493 done; \
8494 echo "Doing install-html in flex" ; \
8495 (cd $(HOST_SUBDIR)/flex && \
8496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8498 "RANLIB=$${RANLIB}" \
8499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8500 install-html) \
8501 || exit 1
8503 @endif flex
8505 .PHONY: maybe-installcheck-flex installcheck-flex
8506 maybe-installcheck-flex:
8507 @if flex
8508 maybe-installcheck-flex: installcheck-flex
8510 installcheck-flex: \
8511 configure-flex
8512 @: $(MAKE); $(unstage)
8513 @[ -f ./flex/Makefile ] || exit 0; \
8514 r=`${PWD_COMMAND}`; export r; \
8515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8516 $(HOST_EXPORTS) \
8517 for flag in $(EXTRA_HOST_FLAGS) ; do \
8518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8519 done; \
8520 echo "Doing installcheck in flex" ; \
8521 (cd $(HOST_SUBDIR)/flex && \
8522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8524 "RANLIB=$${RANLIB}" \
8525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8526 installcheck) \
8527 || exit 1
8529 @endif flex
8531 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8532 maybe-mostlyclean-flex:
8533 @if flex
8534 maybe-mostlyclean-flex: mostlyclean-flex
8536 mostlyclean-flex:
8537 @: $(MAKE); $(unstage)
8538 @[ -f ./flex/Makefile ] || exit 0; \
8539 r=`${PWD_COMMAND}`; export r; \
8540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8541 $(HOST_EXPORTS) \
8542 for flag in $(EXTRA_HOST_FLAGS) ; do \
8543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8544 done; \
8545 echo "Doing mostlyclean in flex" ; \
8546 (cd $(HOST_SUBDIR)/flex && \
8547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8549 "RANLIB=$${RANLIB}" \
8550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8551 mostlyclean) \
8552 || exit 1
8554 @endif flex
8556 .PHONY: maybe-clean-flex clean-flex
8557 maybe-clean-flex:
8558 @if flex
8559 maybe-clean-flex: clean-flex
8561 clean-flex:
8562 @: $(MAKE); $(unstage)
8563 @[ -f ./flex/Makefile ] || exit 0; \
8564 r=`${PWD_COMMAND}`; export r; \
8565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8566 $(HOST_EXPORTS) \
8567 for flag in $(EXTRA_HOST_FLAGS) ; do \
8568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8569 done; \
8570 echo "Doing clean in flex" ; \
8571 (cd $(HOST_SUBDIR)/flex && \
8572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8574 "RANLIB=$${RANLIB}" \
8575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8576 clean) \
8577 || exit 1
8579 @endif flex
8581 .PHONY: maybe-distclean-flex distclean-flex
8582 maybe-distclean-flex:
8583 @if flex
8584 maybe-distclean-flex: distclean-flex
8586 distclean-flex:
8587 @: $(MAKE); $(unstage)
8588 @[ -f ./flex/Makefile ] || exit 0; \
8589 r=`${PWD_COMMAND}`; export r; \
8590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8591 $(HOST_EXPORTS) \
8592 for flag in $(EXTRA_HOST_FLAGS) ; do \
8593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8594 done; \
8595 echo "Doing distclean in flex" ; \
8596 (cd $(HOST_SUBDIR)/flex && \
8597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8599 "RANLIB=$${RANLIB}" \
8600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8601 distclean) \
8602 || exit 1
8604 @endif flex
8606 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8607 maybe-maintainer-clean-flex:
8608 @if flex
8609 maybe-maintainer-clean-flex: maintainer-clean-flex
8611 maintainer-clean-flex:
8612 @: $(MAKE); $(unstage)
8613 @[ -f ./flex/Makefile ] || exit 0; \
8614 r=`${PWD_COMMAND}`; export r; \
8615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8616 $(HOST_EXPORTS) \
8617 for flag in $(EXTRA_HOST_FLAGS) ; do \
8618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8619 done; \
8620 echo "Doing maintainer-clean in flex" ; \
8621 (cd $(HOST_SUBDIR)/flex && \
8622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8624 "RANLIB=$${RANLIB}" \
8625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8626 maintainer-clean) \
8627 || exit 1
8629 @endif flex
8633 .PHONY: configure-gas maybe-configure-gas
8634 maybe-configure-gas:
8635 @if gcc-bootstrap
8636 configure-gas: stage_current
8637 @endif gcc-bootstrap
8638 @if gas
8639 maybe-configure-gas: configure-gas
8640 configure-gas:
8641 @r=`${PWD_COMMAND}`; export r; \
8642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8643 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8645 $(HOST_EXPORTS) \
8646 echo Configuring in $(HOST_SUBDIR)/gas; \
8647 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8648 case $(srcdir) in \
8649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8650 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8652 esac; \
8653 srcdiroption="--srcdir=$${topdir}/gas"; \
8654 libsrcdir="$$s/gas"; \
8655 $(SHELL) $${libsrcdir}/configure \
8656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8657 --target=${target_alias} $${srcdiroption} \
8658 || exit 1
8659 @endif gas
8663 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8664 maybe-configure-stage1-gas:
8665 @if gas-bootstrap
8666 maybe-configure-stage1-gas: configure-stage1-gas
8667 configure-stage1-gas:
8668 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8669 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8670 @r=`${PWD_COMMAND}`; export r; \
8671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8672 TFLAGS="$(STAGE1_TFLAGS)"; \
8673 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8674 $(HOST_EXPORTS) \
8675 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8676 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8677 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8678 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8680 cd $(HOST_SUBDIR)/gas || exit 1; \
8681 case $(srcdir) in \
8682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8683 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8685 esac; \
8686 srcdiroption="--srcdir=$${topdir}/gas"; \
8687 libsrcdir="$$s/gas"; \
8688 $(SHELL) $${libsrcdir}/configure \
8689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8690 --target=${target_alias} $${srcdiroption} \
8691 $(STAGE1_CONFIGURE_FLAGS)
8692 @endif gas-bootstrap
8694 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8695 maybe-configure-stage2-gas:
8696 @if gas-bootstrap
8697 maybe-configure-stage2-gas: configure-stage2-gas
8698 configure-stage2-gas:
8699 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8700 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8701 @r=`${PWD_COMMAND}`; export r; \
8702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8703 TFLAGS="$(STAGE2_TFLAGS)"; \
8704 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8705 $(HOST_EXPORTS) \
8706 $(POSTSTAGE1_HOST_EXPORTS) \
8707 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8708 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8709 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8710 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8712 cd $(HOST_SUBDIR)/gas || exit 1; \
8713 case $(srcdir) in \
8714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8715 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8717 esac; \
8718 srcdiroption="--srcdir=$${topdir}/gas"; \
8719 libsrcdir="$$s/gas"; \
8720 $(SHELL) $${libsrcdir}/configure \
8721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8722 --target=${target_alias} $${srcdiroption} \
8723 --with-build-libsubdir=$(HOST_SUBDIR) \
8724 $(STAGE2_CONFIGURE_FLAGS)
8725 @endif gas-bootstrap
8727 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8728 maybe-configure-stage3-gas:
8729 @if gas-bootstrap
8730 maybe-configure-stage3-gas: configure-stage3-gas
8731 configure-stage3-gas:
8732 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8734 @r=`${PWD_COMMAND}`; export r; \
8735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8736 TFLAGS="$(STAGE3_TFLAGS)"; \
8737 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8738 $(HOST_EXPORTS) \
8739 $(POSTSTAGE1_HOST_EXPORTS) \
8740 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8741 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8742 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8743 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8745 cd $(HOST_SUBDIR)/gas || exit 1; \
8746 case $(srcdir) in \
8747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8748 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8750 esac; \
8751 srcdiroption="--srcdir=$${topdir}/gas"; \
8752 libsrcdir="$$s/gas"; \
8753 $(SHELL) $${libsrcdir}/configure \
8754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8755 --target=${target_alias} $${srcdiroption} \
8756 --with-build-libsubdir=$(HOST_SUBDIR) \
8757 $(STAGE3_CONFIGURE_FLAGS)
8758 @endif gas-bootstrap
8760 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8761 maybe-configure-stage4-gas:
8762 @if gas-bootstrap
8763 maybe-configure-stage4-gas: configure-stage4-gas
8764 configure-stage4-gas:
8765 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8766 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8767 @r=`${PWD_COMMAND}`; export r; \
8768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8769 TFLAGS="$(STAGE4_TFLAGS)"; \
8770 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8771 $(HOST_EXPORTS) \
8772 $(POSTSTAGE1_HOST_EXPORTS) \
8773 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8774 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8775 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8776 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8778 cd $(HOST_SUBDIR)/gas || exit 1; \
8779 case $(srcdir) in \
8780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8781 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8783 esac; \
8784 srcdiroption="--srcdir=$${topdir}/gas"; \
8785 libsrcdir="$$s/gas"; \
8786 $(SHELL) $${libsrcdir}/configure \
8787 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8788 --target=${target_alias} $${srcdiroption} \
8789 --with-build-libsubdir=$(HOST_SUBDIR) \
8790 $(STAGE4_CONFIGURE_FLAGS)
8791 @endif gas-bootstrap
8793 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8794 maybe-configure-stageprofile-gas:
8795 @if gas-bootstrap
8796 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8797 configure-stageprofile-gas:
8798 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8799 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8800 @r=`${PWD_COMMAND}`; export r; \
8801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8802 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8803 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8804 $(HOST_EXPORTS) \
8805 $(POSTSTAGE1_HOST_EXPORTS) \
8806 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8807 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8808 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8809 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8811 cd $(HOST_SUBDIR)/gas || exit 1; \
8812 case $(srcdir) in \
8813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8814 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8816 esac; \
8817 srcdiroption="--srcdir=$${topdir}/gas"; \
8818 libsrcdir="$$s/gas"; \
8819 $(SHELL) $${libsrcdir}/configure \
8820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8821 --target=${target_alias} $${srcdiroption} \
8822 --with-build-libsubdir=$(HOST_SUBDIR) \
8823 $(STAGEprofile_CONFIGURE_FLAGS)
8824 @endif gas-bootstrap
8826 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8827 maybe-configure-stagefeedback-gas:
8828 @if gas-bootstrap
8829 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8830 configure-stagefeedback-gas:
8831 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8832 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8833 @r=`${PWD_COMMAND}`; export r; \
8834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8835 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8836 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8837 $(HOST_EXPORTS) \
8838 $(POSTSTAGE1_HOST_EXPORTS) \
8839 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8840 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8841 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8842 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8844 cd $(HOST_SUBDIR)/gas || exit 1; \
8845 case $(srcdir) in \
8846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8847 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8849 esac; \
8850 srcdiroption="--srcdir=$${topdir}/gas"; \
8851 libsrcdir="$$s/gas"; \
8852 $(SHELL) $${libsrcdir}/configure \
8853 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8854 --target=${target_alias} $${srcdiroption} \
8855 --with-build-libsubdir=$(HOST_SUBDIR) \
8856 $(STAGEfeedback_CONFIGURE_FLAGS)
8857 @endif gas-bootstrap
8863 .PHONY: all-gas maybe-all-gas
8864 maybe-all-gas:
8865 @if gcc-bootstrap
8866 all-gas: stage_current
8867 @endif gcc-bootstrap
8868 @if gas
8869 TARGET-gas=all
8870 maybe-all-gas: all-gas
8871 all-gas: configure-gas
8872 @r=`${PWD_COMMAND}`; export r; \
8873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8874 $(HOST_EXPORTS) \
8875 (cd $(HOST_SUBDIR)/gas && \
8876 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8877 $(TARGET-gas))
8878 @endif gas
8882 .PHONY: all-stage1-gas maybe-all-stage1-gas
8883 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8884 maybe-all-stage1-gas:
8885 maybe-clean-stage1-gas:
8886 @if gas-bootstrap
8887 maybe-all-stage1-gas: all-stage1-gas
8888 all-stage1: all-stage1-gas
8889 TARGET-stage1-gas = $(TARGET-gas)
8890 all-stage1-gas: configure-stage1-gas
8891 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8892 @r=`${PWD_COMMAND}`; export r; \
8893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8894 TFLAGS="$(STAGE1_TFLAGS)"; \
8895 $(HOST_EXPORTS) \
8896 cd $(HOST_SUBDIR)/gas && \
8897 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8898 CFLAGS="$(STAGE1_CFLAGS)" \
8899 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8900 LIBCFLAGS="$(LIBCFLAGS)" \
8901 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8902 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8903 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8904 $(EXTRA_HOST_FLAGS) \
8905 TFLAGS="$(STAGE1_TFLAGS)" \
8906 $(TARGET-stage1-gas)
8908 maybe-clean-stage1-gas: clean-stage1-gas
8909 clean-stage1: clean-stage1-gas
8910 clean-stage1-gas:
8911 @if [ $(current_stage) = stage1 ]; then \
8912 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8913 else \
8914 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8915 $(MAKE) stage1-start; \
8916 fi; \
8917 cd $(HOST_SUBDIR)/gas && \
8918 $(MAKE) $(EXTRA_HOST_FLAGS) \
8919 clean
8920 @endif gas-bootstrap
8923 .PHONY: all-stage2-gas maybe-all-stage2-gas
8924 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8925 maybe-all-stage2-gas:
8926 maybe-clean-stage2-gas:
8927 @if gas-bootstrap
8928 maybe-all-stage2-gas: all-stage2-gas
8929 all-stage2: all-stage2-gas
8930 TARGET-stage2-gas = $(TARGET-gas)
8931 all-stage2-gas: configure-stage2-gas
8932 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8933 @r=`${PWD_COMMAND}`; export r; \
8934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8935 TFLAGS="$(STAGE2_TFLAGS)"; \
8936 $(HOST_EXPORTS) \
8937 $(POSTSTAGE1_HOST_EXPORTS) \
8938 cd $(HOST_SUBDIR)/gas && \
8939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8940 CFLAGS="$(STAGE2_CFLAGS)" \
8941 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8942 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8943 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8944 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8945 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8946 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8947 TFLAGS="$(STAGE2_TFLAGS)" \
8948 $(TARGET-stage2-gas)
8950 maybe-clean-stage2-gas: clean-stage2-gas
8951 clean-stage2: clean-stage2-gas
8952 clean-stage2-gas:
8953 @if [ $(current_stage) = stage2 ]; then \
8954 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8955 else \
8956 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8957 $(MAKE) stage2-start; \
8958 fi; \
8959 cd $(HOST_SUBDIR)/gas && \
8960 $(MAKE) $(EXTRA_HOST_FLAGS) \
8961 $(POSTSTAGE1_FLAGS_TO_PASS) \
8962 clean
8963 @endif gas-bootstrap
8966 .PHONY: all-stage3-gas maybe-all-stage3-gas
8967 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8968 maybe-all-stage3-gas:
8969 maybe-clean-stage3-gas:
8970 @if gas-bootstrap
8971 maybe-all-stage3-gas: all-stage3-gas
8972 all-stage3: all-stage3-gas
8973 TARGET-stage3-gas = $(TARGET-gas)
8974 all-stage3-gas: configure-stage3-gas
8975 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8976 @r=`${PWD_COMMAND}`; export r; \
8977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8978 TFLAGS="$(STAGE3_TFLAGS)"; \
8979 $(HOST_EXPORTS) \
8980 $(POSTSTAGE1_HOST_EXPORTS) \
8981 cd $(HOST_SUBDIR)/gas && \
8982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8983 CFLAGS="$(STAGE3_CFLAGS)" \
8984 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8985 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8986 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8987 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8988 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8989 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8990 TFLAGS="$(STAGE3_TFLAGS)" \
8991 $(TARGET-stage3-gas)
8993 maybe-clean-stage3-gas: clean-stage3-gas
8994 clean-stage3: clean-stage3-gas
8995 clean-stage3-gas:
8996 @if [ $(current_stage) = stage3 ]; then \
8997 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8998 else \
8999 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9000 $(MAKE) stage3-start; \
9001 fi; \
9002 cd $(HOST_SUBDIR)/gas && \
9003 $(MAKE) $(EXTRA_HOST_FLAGS) \
9004 $(POSTSTAGE1_FLAGS_TO_PASS) \
9005 clean
9006 @endif gas-bootstrap
9009 .PHONY: all-stage4-gas maybe-all-stage4-gas
9010 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9011 maybe-all-stage4-gas:
9012 maybe-clean-stage4-gas:
9013 @if gas-bootstrap
9014 maybe-all-stage4-gas: all-stage4-gas
9015 all-stage4: all-stage4-gas
9016 TARGET-stage4-gas = $(TARGET-gas)
9017 all-stage4-gas: configure-stage4-gas
9018 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9019 @r=`${PWD_COMMAND}`; export r; \
9020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9021 TFLAGS="$(STAGE4_TFLAGS)"; \
9022 $(HOST_EXPORTS) \
9023 $(POSTSTAGE1_HOST_EXPORTS) \
9024 cd $(HOST_SUBDIR)/gas && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9026 CFLAGS="$(STAGE4_CFLAGS)" \
9027 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9028 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9029 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9030 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9031 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9032 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9033 TFLAGS="$(STAGE4_TFLAGS)" \
9034 $(TARGET-stage4-gas)
9036 maybe-clean-stage4-gas: clean-stage4-gas
9037 clean-stage4: clean-stage4-gas
9038 clean-stage4-gas:
9039 @if [ $(current_stage) = stage4 ]; then \
9040 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9041 else \
9042 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9043 $(MAKE) stage4-start; \
9044 fi; \
9045 cd $(HOST_SUBDIR)/gas && \
9046 $(MAKE) $(EXTRA_HOST_FLAGS) \
9047 $(POSTSTAGE1_FLAGS_TO_PASS) \
9048 clean
9049 @endif gas-bootstrap
9052 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9053 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9054 maybe-all-stageprofile-gas:
9055 maybe-clean-stageprofile-gas:
9056 @if gas-bootstrap
9057 maybe-all-stageprofile-gas: all-stageprofile-gas
9058 all-stageprofile: all-stageprofile-gas
9059 TARGET-stageprofile-gas = $(TARGET-gas)
9060 all-stageprofile-gas: configure-stageprofile-gas
9061 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9062 @r=`${PWD_COMMAND}`; export r; \
9063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9064 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9065 $(HOST_EXPORTS) \
9066 $(POSTSTAGE1_HOST_EXPORTS) \
9067 cd $(HOST_SUBDIR)/gas && \
9068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9069 CFLAGS="$(STAGEprofile_CFLAGS)" \
9070 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9071 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9075 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9076 TFLAGS="$(STAGEprofile_TFLAGS)" \
9077 $(TARGET-stageprofile-gas)
9079 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9080 clean-stageprofile: clean-stageprofile-gas
9081 clean-stageprofile-gas:
9082 @if [ $(current_stage) = stageprofile ]; then \
9083 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9084 else \
9085 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9086 $(MAKE) stageprofile-start; \
9087 fi; \
9088 cd $(HOST_SUBDIR)/gas && \
9089 $(MAKE) $(EXTRA_HOST_FLAGS) \
9090 $(POSTSTAGE1_FLAGS_TO_PASS) \
9091 clean
9092 @endif gas-bootstrap
9095 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9096 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9097 maybe-all-stagefeedback-gas:
9098 maybe-clean-stagefeedback-gas:
9099 @if gas-bootstrap
9100 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9101 all-stagefeedback: all-stagefeedback-gas
9102 TARGET-stagefeedback-gas = $(TARGET-gas)
9103 all-stagefeedback-gas: configure-stagefeedback-gas
9104 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9105 @r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9108 $(HOST_EXPORTS) \
9109 $(POSTSTAGE1_HOST_EXPORTS) \
9110 cd $(HOST_SUBDIR)/gas && \
9111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9112 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9113 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9114 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9118 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9119 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9120 $(TARGET-stagefeedback-gas)
9122 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9123 clean-stagefeedback: clean-stagefeedback-gas
9124 clean-stagefeedback-gas:
9125 @if [ $(current_stage) = stagefeedback ]; then \
9126 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9127 else \
9128 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9129 $(MAKE) stagefeedback-start; \
9130 fi; \
9131 cd $(HOST_SUBDIR)/gas && \
9132 $(MAKE) $(EXTRA_HOST_FLAGS) \
9133 $(POSTSTAGE1_FLAGS_TO_PASS) \
9134 clean
9135 @endif gas-bootstrap
9141 .PHONY: check-gas maybe-check-gas
9142 maybe-check-gas:
9143 @if gas
9144 maybe-check-gas: check-gas
9146 check-gas:
9147 @: $(MAKE); $(unstage)
9148 @r=`${PWD_COMMAND}`; export r; \
9149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9150 $(HOST_EXPORTS) \
9151 (cd $(HOST_SUBDIR)/gas && \
9152 $(MAKE) $(FLAGS_TO_PASS) check)
9154 @endif gas
9156 .PHONY: install-gas maybe-install-gas
9157 maybe-install-gas:
9158 @if gas
9159 maybe-install-gas: install-gas
9161 install-gas: installdirs
9162 @: $(MAKE); $(unstage)
9163 @r=`${PWD_COMMAND}`; export r; \
9164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9165 $(HOST_EXPORTS) \
9166 (cd $(HOST_SUBDIR)/gas && \
9167 $(MAKE) $(FLAGS_TO_PASS) install)
9169 @endif gas
9171 .PHONY: install-strip-gas maybe-install-strip-gas
9172 maybe-install-strip-gas:
9173 @if gas
9174 maybe-install-strip-gas: install-strip-gas
9176 install-strip-gas: installdirs
9177 @: $(MAKE); $(unstage)
9178 @r=`${PWD_COMMAND}`; export r; \
9179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9180 $(HOST_EXPORTS) \
9181 (cd $(HOST_SUBDIR)/gas && \
9182 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9184 @endif gas
9186 # Other targets (info, dvi, pdf, etc.)
9188 .PHONY: maybe-info-gas info-gas
9189 maybe-info-gas:
9190 @if gas
9191 maybe-info-gas: info-gas
9193 info-gas: \
9194 configure-gas
9195 @[ -f ./gas/Makefile ] || exit 0; \
9196 r=`${PWD_COMMAND}`; export r; \
9197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9198 $(HOST_EXPORTS) \
9199 for flag in $(EXTRA_HOST_FLAGS) ; do \
9200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9201 done; \
9202 echo "Doing info in gas" ; \
9203 (cd $(HOST_SUBDIR)/gas && \
9204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9206 "RANLIB=$${RANLIB}" \
9207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9208 info) \
9209 || exit 1
9211 @endif gas
9213 .PHONY: maybe-dvi-gas dvi-gas
9214 maybe-dvi-gas:
9215 @if gas
9216 maybe-dvi-gas: dvi-gas
9218 dvi-gas: \
9219 configure-gas
9220 @[ -f ./gas/Makefile ] || exit 0; \
9221 r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9223 $(HOST_EXPORTS) \
9224 for flag in $(EXTRA_HOST_FLAGS) ; do \
9225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9226 done; \
9227 echo "Doing dvi in gas" ; \
9228 (cd $(HOST_SUBDIR)/gas && \
9229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9231 "RANLIB=$${RANLIB}" \
9232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9233 dvi) \
9234 || exit 1
9236 @endif gas
9238 .PHONY: maybe-pdf-gas pdf-gas
9239 maybe-pdf-gas:
9240 @if gas
9241 maybe-pdf-gas: pdf-gas
9243 pdf-gas: \
9244 configure-gas
9245 @[ -f ./gas/Makefile ] || exit 0; \
9246 r=`${PWD_COMMAND}`; export r; \
9247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9248 $(HOST_EXPORTS) \
9249 for flag in $(EXTRA_HOST_FLAGS) ; do \
9250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9251 done; \
9252 echo "Doing pdf in gas" ; \
9253 (cd $(HOST_SUBDIR)/gas && \
9254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9256 "RANLIB=$${RANLIB}" \
9257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9258 pdf) \
9259 || exit 1
9261 @endif gas
9263 .PHONY: maybe-html-gas html-gas
9264 maybe-html-gas:
9265 @if gas
9266 maybe-html-gas: html-gas
9268 html-gas: \
9269 configure-gas
9270 @[ -f ./gas/Makefile ] || exit 0; \
9271 r=`${PWD_COMMAND}`; export r; \
9272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9273 $(HOST_EXPORTS) \
9274 for flag in $(EXTRA_HOST_FLAGS) ; do \
9275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9276 done; \
9277 echo "Doing html in gas" ; \
9278 (cd $(HOST_SUBDIR)/gas && \
9279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9281 "RANLIB=$${RANLIB}" \
9282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9283 html) \
9284 || exit 1
9286 @endif gas
9288 .PHONY: maybe-TAGS-gas TAGS-gas
9289 maybe-TAGS-gas:
9290 @if gas
9291 maybe-TAGS-gas: TAGS-gas
9293 TAGS-gas: \
9294 configure-gas
9295 @[ -f ./gas/Makefile ] || exit 0; \
9296 r=`${PWD_COMMAND}`; export r; \
9297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9298 $(HOST_EXPORTS) \
9299 for flag in $(EXTRA_HOST_FLAGS) ; do \
9300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9301 done; \
9302 echo "Doing TAGS in gas" ; \
9303 (cd $(HOST_SUBDIR)/gas && \
9304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9306 "RANLIB=$${RANLIB}" \
9307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9308 TAGS) \
9309 || exit 1
9311 @endif gas
9313 .PHONY: maybe-install-info-gas install-info-gas
9314 maybe-install-info-gas:
9315 @if gas
9316 maybe-install-info-gas: install-info-gas
9318 install-info-gas: \
9319 configure-gas \
9320 info-gas
9321 @[ -f ./gas/Makefile ] || exit 0; \
9322 r=`${PWD_COMMAND}`; export r; \
9323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9324 $(HOST_EXPORTS) \
9325 for flag in $(EXTRA_HOST_FLAGS) ; do \
9326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9327 done; \
9328 echo "Doing install-info in gas" ; \
9329 (cd $(HOST_SUBDIR)/gas && \
9330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9332 "RANLIB=$${RANLIB}" \
9333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9334 install-info) \
9335 || exit 1
9337 @endif gas
9339 .PHONY: maybe-install-pdf-gas install-pdf-gas
9340 maybe-install-pdf-gas:
9341 @if gas
9342 maybe-install-pdf-gas: install-pdf-gas
9344 install-pdf-gas: \
9345 configure-gas \
9346 pdf-gas
9347 @[ -f ./gas/Makefile ] || exit 0; \
9348 r=`${PWD_COMMAND}`; export r; \
9349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9350 $(HOST_EXPORTS) \
9351 for flag in $(EXTRA_HOST_FLAGS) ; do \
9352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9353 done; \
9354 echo "Doing install-pdf in gas" ; \
9355 (cd $(HOST_SUBDIR)/gas && \
9356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9358 "RANLIB=$${RANLIB}" \
9359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9360 install-pdf) \
9361 || exit 1
9363 @endif gas
9365 .PHONY: maybe-install-html-gas install-html-gas
9366 maybe-install-html-gas:
9367 @if gas
9368 maybe-install-html-gas: install-html-gas
9370 install-html-gas: \
9371 configure-gas \
9372 html-gas
9373 @[ -f ./gas/Makefile ] || exit 0; \
9374 r=`${PWD_COMMAND}`; export r; \
9375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9376 $(HOST_EXPORTS) \
9377 for flag in $(EXTRA_HOST_FLAGS) ; do \
9378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9379 done; \
9380 echo "Doing install-html in gas" ; \
9381 (cd $(HOST_SUBDIR)/gas && \
9382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9384 "RANLIB=$${RANLIB}" \
9385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9386 install-html) \
9387 || exit 1
9389 @endif gas
9391 .PHONY: maybe-installcheck-gas installcheck-gas
9392 maybe-installcheck-gas:
9393 @if gas
9394 maybe-installcheck-gas: installcheck-gas
9396 installcheck-gas: \
9397 configure-gas
9398 @[ -f ./gas/Makefile ] || exit 0; \
9399 r=`${PWD_COMMAND}`; export r; \
9400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9401 $(HOST_EXPORTS) \
9402 for flag in $(EXTRA_HOST_FLAGS) ; do \
9403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9404 done; \
9405 echo "Doing installcheck in gas" ; \
9406 (cd $(HOST_SUBDIR)/gas && \
9407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9409 "RANLIB=$${RANLIB}" \
9410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9411 installcheck) \
9412 || exit 1
9414 @endif gas
9416 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9417 maybe-mostlyclean-gas:
9418 @if gas
9419 maybe-mostlyclean-gas: mostlyclean-gas
9421 mostlyclean-gas:
9422 @[ -f ./gas/Makefile ] || exit 0; \
9423 r=`${PWD_COMMAND}`; export r; \
9424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9425 $(HOST_EXPORTS) \
9426 for flag in $(EXTRA_HOST_FLAGS) ; do \
9427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9428 done; \
9429 echo "Doing mostlyclean in gas" ; \
9430 (cd $(HOST_SUBDIR)/gas && \
9431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9433 "RANLIB=$${RANLIB}" \
9434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9435 mostlyclean) \
9436 || exit 1
9438 @endif gas
9440 .PHONY: maybe-clean-gas clean-gas
9441 maybe-clean-gas:
9442 @if gas
9443 maybe-clean-gas: clean-gas
9445 clean-gas:
9446 @[ -f ./gas/Makefile ] || exit 0; \
9447 r=`${PWD_COMMAND}`; export r; \
9448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9449 $(HOST_EXPORTS) \
9450 for flag in $(EXTRA_HOST_FLAGS) ; do \
9451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9452 done; \
9453 echo "Doing clean in gas" ; \
9454 (cd $(HOST_SUBDIR)/gas && \
9455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9457 "RANLIB=$${RANLIB}" \
9458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9459 clean) \
9460 || exit 1
9462 @endif gas
9464 .PHONY: maybe-distclean-gas distclean-gas
9465 maybe-distclean-gas:
9466 @if gas
9467 maybe-distclean-gas: distclean-gas
9469 distclean-gas:
9470 @[ -f ./gas/Makefile ] || exit 0; \
9471 r=`${PWD_COMMAND}`; export r; \
9472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9473 $(HOST_EXPORTS) \
9474 for flag in $(EXTRA_HOST_FLAGS) ; do \
9475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9476 done; \
9477 echo "Doing distclean in gas" ; \
9478 (cd $(HOST_SUBDIR)/gas && \
9479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9481 "RANLIB=$${RANLIB}" \
9482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9483 distclean) \
9484 || exit 1
9486 @endif gas
9488 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9489 maybe-maintainer-clean-gas:
9490 @if gas
9491 maybe-maintainer-clean-gas: maintainer-clean-gas
9493 maintainer-clean-gas:
9494 @[ -f ./gas/Makefile ] || exit 0; \
9495 r=`${PWD_COMMAND}`; export r; \
9496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9497 $(HOST_EXPORTS) \
9498 for flag in $(EXTRA_HOST_FLAGS) ; do \
9499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9500 done; \
9501 echo "Doing maintainer-clean in gas" ; \
9502 (cd $(HOST_SUBDIR)/gas && \
9503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9505 "RANLIB=$${RANLIB}" \
9506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9507 maintainer-clean) \
9508 || exit 1
9510 @endif gas
9514 .PHONY: configure-gcc maybe-configure-gcc
9515 maybe-configure-gcc:
9516 @if gcc-bootstrap
9517 configure-gcc: stage_current
9518 @endif gcc-bootstrap
9519 @if gcc
9520 maybe-configure-gcc: configure-gcc
9521 configure-gcc:
9522 @r=`${PWD_COMMAND}`; export r; \
9523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9524 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9526 $(HOST_EXPORTS) \
9527 echo Configuring in $(HOST_SUBDIR)/gcc; \
9528 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9529 case $(srcdir) in \
9530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9531 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9533 esac; \
9534 srcdiroption="--srcdir=$${topdir}/gcc"; \
9535 libsrcdir="$$s/gcc"; \
9536 $(SHELL) $${libsrcdir}/configure \
9537 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9538 --target=${target_alias} $${srcdiroption} \
9539 || exit 1
9540 @endif gcc
9544 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9545 maybe-configure-stage1-gcc:
9546 @if gcc-bootstrap
9547 maybe-configure-stage1-gcc: configure-stage1-gcc
9548 configure-stage1-gcc:
9549 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9550 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9551 @r=`${PWD_COMMAND}`; export r; \
9552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9553 TFLAGS="$(STAGE1_TFLAGS)"; \
9554 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9555 $(HOST_EXPORTS) \
9556 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9557 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9558 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9559 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9561 cd $(HOST_SUBDIR)/gcc || exit 1; \
9562 case $(srcdir) in \
9563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9564 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9566 esac; \
9567 srcdiroption="--srcdir=$${topdir}/gcc"; \
9568 libsrcdir="$$s/gcc"; \
9569 $(SHELL) $${libsrcdir}/configure \
9570 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9571 --target=${target_alias} $${srcdiroption} \
9572 $(STAGE1_CONFIGURE_FLAGS)
9573 @endif gcc-bootstrap
9575 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9576 maybe-configure-stage2-gcc:
9577 @if gcc-bootstrap
9578 maybe-configure-stage2-gcc: configure-stage2-gcc
9579 configure-stage2-gcc:
9580 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9581 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9582 @r=`${PWD_COMMAND}`; export r; \
9583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9584 TFLAGS="$(STAGE2_TFLAGS)"; \
9585 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9586 $(HOST_EXPORTS) \
9587 $(POSTSTAGE1_HOST_EXPORTS) \
9588 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9589 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9590 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9591 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9593 cd $(HOST_SUBDIR)/gcc || exit 1; \
9594 case $(srcdir) in \
9595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9596 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9598 esac; \
9599 srcdiroption="--srcdir=$${topdir}/gcc"; \
9600 libsrcdir="$$s/gcc"; \
9601 $(SHELL) $${libsrcdir}/configure \
9602 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9603 --target=${target_alias} $${srcdiroption} \
9604 --with-build-libsubdir=$(HOST_SUBDIR) \
9605 $(STAGE2_CONFIGURE_FLAGS)
9606 @endif gcc-bootstrap
9608 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9609 maybe-configure-stage3-gcc:
9610 @if gcc-bootstrap
9611 maybe-configure-stage3-gcc: configure-stage3-gcc
9612 configure-stage3-gcc:
9613 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9614 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9615 @r=`${PWD_COMMAND}`; export r; \
9616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617 TFLAGS="$(STAGE3_TFLAGS)"; \
9618 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9619 $(HOST_EXPORTS) \
9620 $(POSTSTAGE1_HOST_EXPORTS) \
9621 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9622 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9623 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9624 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9626 cd $(HOST_SUBDIR)/gcc || exit 1; \
9627 case $(srcdir) in \
9628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9629 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9631 esac; \
9632 srcdiroption="--srcdir=$${topdir}/gcc"; \
9633 libsrcdir="$$s/gcc"; \
9634 $(SHELL) $${libsrcdir}/configure \
9635 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9636 --target=${target_alias} $${srcdiroption} \
9637 --with-build-libsubdir=$(HOST_SUBDIR) \
9638 $(STAGE3_CONFIGURE_FLAGS)
9639 @endif gcc-bootstrap
9641 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9642 maybe-configure-stage4-gcc:
9643 @if gcc-bootstrap
9644 maybe-configure-stage4-gcc: configure-stage4-gcc
9645 configure-stage4-gcc:
9646 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9647 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9648 @r=`${PWD_COMMAND}`; export r; \
9649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9650 TFLAGS="$(STAGE4_TFLAGS)"; \
9651 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9652 $(HOST_EXPORTS) \
9653 $(POSTSTAGE1_HOST_EXPORTS) \
9654 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9655 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9656 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9657 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9659 cd $(HOST_SUBDIR)/gcc || exit 1; \
9660 case $(srcdir) in \
9661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9662 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9664 esac; \
9665 srcdiroption="--srcdir=$${topdir}/gcc"; \
9666 libsrcdir="$$s/gcc"; \
9667 $(SHELL) $${libsrcdir}/configure \
9668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9669 --target=${target_alias} $${srcdiroption} \
9670 --with-build-libsubdir=$(HOST_SUBDIR) \
9671 $(STAGE4_CONFIGURE_FLAGS)
9672 @endif gcc-bootstrap
9674 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9675 maybe-configure-stageprofile-gcc:
9676 @if gcc-bootstrap
9677 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9678 configure-stageprofile-gcc:
9679 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9680 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9681 @r=`${PWD_COMMAND}`; export r; \
9682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9683 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9684 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9685 $(HOST_EXPORTS) \
9686 $(POSTSTAGE1_HOST_EXPORTS) \
9687 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9688 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9689 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9690 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9692 cd $(HOST_SUBDIR)/gcc || exit 1; \
9693 case $(srcdir) in \
9694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9695 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9697 esac; \
9698 srcdiroption="--srcdir=$${topdir}/gcc"; \
9699 libsrcdir="$$s/gcc"; \
9700 $(SHELL) $${libsrcdir}/configure \
9701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9702 --target=${target_alias} $${srcdiroption} \
9703 --with-build-libsubdir=$(HOST_SUBDIR) \
9704 $(STAGEprofile_CONFIGURE_FLAGS)
9705 @endif gcc-bootstrap
9707 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9708 maybe-configure-stagefeedback-gcc:
9709 @if gcc-bootstrap
9710 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9711 configure-stagefeedback-gcc:
9712 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9713 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9714 @r=`${PWD_COMMAND}`; export r; \
9715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9716 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9717 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9718 $(HOST_EXPORTS) \
9719 $(POSTSTAGE1_HOST_EXPORTS) \
9720 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9721 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9722 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9723 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9725 cd $(HOST_SUBDIR)/gcc || exit 1; \
9726 case $(srcdir) in \
9727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9728 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9730 esac; \
9731 srcdiroption="--srcdir=$${topdir}/gcc"; \
9732 libsrcdir="$$s/gcc"; \
9733 $(SHELL) $${libsrcdir}/configure \
9734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9735 --target=${target_alias} $${srcdiroption} \
9736 --with-build-libsubdir=$(HOST_SUBDIR) \
9737 $(STAGEfeedback_CONFIGURE_FLAGS)
9738 @endif gcc-bootstrap
9744 .PHONY: all-gcc maybe-all-gcc
9745 maybe-all-gcc:
9746 @if gcc-bootstrap
9747 all-gcc: stage_current
9748 @endif gcc-bootstrap
9749 @if gcc
9750 TARGET-gcc=all
9751 maybe-all-gcc: all-gcc
9752 all-gcc: configure-gcc
9753 @r=`${PWD_COMMAND}`; export r; \
9754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9755 $(HOST_EXPORTS) \
9756 (cd $(HOST_SUBDIR)/gcc && \
9757 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9758 $(TARGET-gcc))
9759 @endif gcc
9763 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9764 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9765 maybe-all-stage1-gcc:
9766 maybe-clean-stage1-gcc:
9767 @if gcc-bootstrap
9768 maybe-all-stage1-gcc: all-stage1-gcc
9769 all-stage1: all-stage1-gcc
9770 TARGET-stage1-gcc = $(TARGET-gcc)
9771 all-stage1-gcc: configure-stage1-gcc
9772 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9773 @r=`${PWD_COMMAND}`; export r; \
9774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9775 TFLAGS="$(STAGE1_TFLAGS)"; \
9776 $(HOST_EXPORTS) \
9777 cd $(HOST_SUBDIR)/gcc && \
9778 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9779 CFLAGS="$(STAGE1_CFLAGS)" \
9780 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9781 LIBCFLAGS="$(LIBCFLAGS)" \
9782 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9783 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9784 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9785 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
9786 TFLAGS="$(STAGE1_TFLAGS)" \
9787 $(TARGET-stage1-gcc)
9789 maybe-clean-stage1-gcc: clean-stage1-gcc
9790 clean-stage1: clean-stage1-gcc
9791 clean-stage1-gcc:
9792 @if [ $(current_stage) = stage1 ]; then \
9793 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9794 else \
9795 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9796 $(MAKE) stage1-start; \
9797 fi; \
9798 cd $(HOST_SUBDIR)/gcc && \
9799 $(MAKE) $(EXTRA_HOST_FLAGS) \
9800 $(EXTRA_GCC_FLAGS) clean
9801 @endif gcc-bootstrap
9804 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9805 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9806 maybe-all-stage2-gcc:
9807 maybe-clean-stage2-gcc:
9808 @if gcc-bootstrap
9809 maybe-all-stage2-gcc: all-stage2-gcc
9810 all-stage2: all-stage2-gcc
9811 TARGET-stage2-gcc = $(TARGET-gcc)
9812 all-stage2-gcc: configure-stage2-gcc
9813 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9814 @r=`${PWD_COMMAND}`; export r; \
9815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9816 TFLAGS="$(STAGE2_TFLAGS)"; \
9817 $(HOST_EXPORTS) \
9818 $(POSTSTAGE1_HOST_EXPORTS) \
9819 cd $(HOST_SUBDIR)/gcc && \
9820 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9821 CFLAGS="$(STAGE2_CFLAGS)" \
9822 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9823 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9824 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9825 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9826 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9827 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9828 TFLAGS="$(STAGE2_TFLAGS)" \
9829 $(TARGET-stage2-gcc)
9831 maybe-clean-stage2-gcc: clean-stage2-gcc
9832 clean-stage2: clean-stage2-gcc
9833 clean-stage2-gcc:
9834 @if [ $(current_stage) = stage2 ]; then \
9835 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9836 else \
9837 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9838 $(MAKE) stage2-start; \
9839 fi; \
9840 cd $(HOST_SUBDIR)/gcc && \
9841 $(MAKE) $(EXTRA_HOST_FLAGS) \
9842 $(POSTSTAGE1_FLAGS_TO_PASS) \
9843 $(EXTRA_GCC_FLAGS) clean
9844 @endif gcc-bootstrap
9847 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9848 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9849 maybe-all-stage3-gcc:
9850 maybe-clean-stage3-gcc:
9851 @if gcc-bootstrap
9852 maybe-all-stage3-gcc: all-stage3-gcc
9853 all-stage3: all-stage3-gcc
9854 TARGET-stage3-gcc = $(TARGET-gcc)
9855 all-stage3-gcc: configure-stage3-gcc
9856 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9857 @r=`${PWD_COMMAND}`; export r; \
9858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859 TFLAGS="$(STAGE3_TFLAGS)"; \
9860 $(HOST_EXPORTS) \
9861 $(POSTSTAGE1_HOST_EXPORTS) \
9862 cd $(HOST_SUBDIR)/gcc && \
9863 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9864 CFLAGS="$(STAGE3_CFLAGS)" \
9865 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9866 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9867 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9868 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9869 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9870 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9871 TFLAGS="$(STAGE3_TFLAGS)" \
9872 $(TARGET-stage3-gcc)
9874 maybe-clean-stage3-gcc: clean-stage3-gcc
9875 clean-stage3: clean-stage3-gcc
9876 clean-stage3-gcc:
9877 @if [ $(current_stage) = stage3 ]; then \
9878 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9879 else \
9880 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9881 $(MAKE) stage3-start; \
9882 fi; \
9883 cd $(HOST_SUBDIR)/gcc && \
9884 $(MAKE) $(EXTRA_HOST_FLAGS) \
9885 $(POSTSTAGE1_FLAGS_TO_PASS) \
9886 $(EXTRA_GCC_FLAGS) clean
9887 @endif gcc-bootstrap
9890 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9891 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9892 maybe-all-stage4-gcc:
9893 maybe-clean-stage4-gcc:
9894 @if gcc-bootstrap
9895 maybe-all-stage4-gcc: all-stage4-gcc
9896 all-stage4: all-stage4-gcc
9897 TARGET-stage4-gcc = $(TARGET-gcc)
9898 all-stage4-gcc: configure-stage4-gcc
9899 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9900 @r=`${PWD_COMMAND}`; export r; \
9901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9902 TFLAGS="$(STAGE4_TFLAGS)"; \
9903 $(HOST_EXPORTS) \
9904 $(POSTSTAGE1_HOST_EXPORTS) \
9905 cd $(HOST_SUBDIR)/gcc && \
9906 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9907 CFLAGS="$(STAGE4_CFLAGS)" \
9908 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9909 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9910 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9911 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9912 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9913 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9914 TFLAGS="$(STAGE4_TFLAGS)" \
9915 $(TARGET-stage4-gcc)
9917 maybe-clean-stage4-gcc: clean-stage4-gcc
9918 clean-stage4: clean-stage4-gcc
9919 clean-stage4-gcc:
9920 @if [ $(current_stage) = stage4 ]; then \
9921 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9922 else \
9923 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9924 $(MAKE) stage4-start; \
9925 fi; \
9926 cd $(HOST_SUBDIR)/gcc && \
9927 $(MAKE) $(EXTRA_HOST_FLAGS) \
9928 $(POSTSTAGE1_FLAGS_TO_PASS) \
9929 $(EXTRA_GCC_FLAGS) clean
9930 @endif gcc-bootstrap
9933 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9934 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9935 maybe-all-stageprofile-gcc:
9936 maybe-clean-stageprofile-gcc:
9937 @if gcc-bootstrap
9938 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9939 all-stageprofile: all-stageprofile-gcc
9940 TARGET-stageprofile-gcc = $(TARGET-gcc)
9941 all-stageprofile-gcc: configure-stageprofile-gcc
9942 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9943 @r=`${PWD_COMMAND}`; export r; \
9944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9945 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9946 $(HOST_EXPORTS) \
9947 $(POSTSTAGE1_HOST_EXPORTS) \
9948 cd $(HOST_SUBDIR)/gcc && \
9949 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9950 CFLAGS="$(STAGEprofile_CFLAGS)" \
9951 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9952 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9953 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9954 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9955 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9956 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9957 TFLAGS="$(STAGEprofile_TFLAGS)" \
9958 $(TARGET-stageprofile-gcc)
9960 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9961 clean-stageprofile: clean-stageprofile-gcc
9962 clean-stageprofile-gcc:
9963 @if [ $(current_stage) = stageprofile ]; then \
9964 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9965 else \
9966 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9967 $(MAKE) stageprofile-start; \
9968 fi; \
9969 cd $(HOST_SUBDIR)/gcc && \
9970 $(MAKE) $(EXTRA_HOST_FLAGS) \
9971 $(POSTSTAGE1_FLAGS_TO_PASS) \
9972 $(EXTRA_GCC_FLAGS) clean
9973 @endif gcc-bootstrap
9976 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9977 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9978 maybe-all-stagefeedback-gcc:
9979 maybe-clean-stagefeedback-gcc:
9980 @if gcc-bootstrap
9981 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9982 all-stagefeedback: all-stagefeedback-gcc
9983 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9984 all-stagefeedback-gcc: configure-stagefeedback-gcc
9985 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9986 @r=`${PWD_COMMAND}`; export r; \
9987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9988 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9989 $(HOST_EXPORTS) \
9990 $(POSTSTAGE1_HOST_EXPORTS) \
9991 cd $(HOST_SUBDIR)/gcc && \
9992 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9993 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9994 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9995 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9996 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9997 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9998 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9999 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10000 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10001 $(TARGET-stagefeedback-gcc)
10003 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10004 clean-stagefeedback: clean-stagefeedback-gcc
10005 clean-stagefeedback-gcc:
10006 @if [ $(current_stage) = stagefeedback ]; then \
10007 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10008 else \
10009 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10010 $(MAKE) stagefeedback-start; \
10011 fi; \
10012 cd $(HOST_SUBDIR)/gcc && \
10013 $(MAKE) $(EXTRA_HOST_FLAGS) \
10014 $(POSTSTAGE1_FLAGS_TO_PASS) \
10015 $(EXTRA_GCC_FLAGS) clean
10016 @endif gcc-bootstrap
10022 .PHONY: check-gcc maybe-check-gcc
10023 maybe-check-gcc:
10024 @if gcc
10025 maybe-check-gcc: check-gcc
10027 check-gcc:
10028 @: $(MAKE); $(unstage)
10029 @r=`${PWD_COMMAND}`; export r; \
10030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10031 $(HOST_EXPORTS) \
10032 (cd $(HOST_SUBDIR)/gcc && \
10033 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10035 @endif gcc
10037 .PHONY: install-gcc maybe-install-gcc
10038 maybe-install-gcc:
10039 @if gcc
10040 maybe-install-gcc: install-gcc
10042 install-gcc: installdirs
10043 @: $(MAKE); $(unstage)
10044 @r=`${PWD_COMMAND}`; export r; \
10045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10046 $(HOST_EXPORTS) \
10047 (cd $(HOST_SUBDIR)/gcc && \
10048 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10050 @endif gcc
10052 .PHONY: install-strip-gcc maybe-install-strip-gcc
10053 maybe-install-strip-gcc:
10054 @if gcc
10055 maybe-install-strip-gcc: install-strip-gcc
10057 install-strip-gcc: installdirs
10058 @: $(MAKE); $(unstage)
10059 @r=`${PWD_COMMAND}`; export r; \
10060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10061 $(HOST_EXPORTS) \
10062 (cd $(HOST_SUBDIR)/gcc && \
10063 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10065 @endif gcc
10067 # Other targets (info, dvi, pdf, etc.)
10069 .PHONY: maybe-info-gcc info-gcc
10070 maybe-info-gcc:
10071 @if gcc
10072 maybe-info-gcc: info-gcc
10074 info-gcc: \
10075 configure-gcc
10076 @[ -f ./gcc/Makefile ] || exit 0; \
10077 r=`${PWD_COMMAND}`; export r; \
10078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10079 $(HOST_EXPORTS) \
10080 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10082 done; \
10083 echo "Doing info in gcc" ; \
10084 (cd $(HOST_SUBDIR)/gcc && \
10085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10087 "RANLIB=$${RANLIB}" \
10088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10089 info) \
10090 || exit 1
10092 @endif gcc
10094 .PHONY: maybe-dvi-gcc dvi-gcc
10095 maybe-dvi-gcc:
10096 @if gcc
10097 maybe-dvi-gcc: dvi-gcc
10099 dvi-gcc: \
10100 configure-gcc
10101 @[ -f ./gcc/Makefile ] || exit 0; \
10102 r=`${PWD_COMMAND}`; export r; \
10103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10104 $(HOST_EXPORTS) \
10105 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10107 done; \
10108 echo "Doing dvi in gcc" ; \
10109 (cd $(HOST_SUBDIR)/gcc && \
10110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10112 "RANLIB=$${RANLIB}" \
10113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10114 dvi) \
10115 || exit 1
10117 @endif gcc
10119 .PHONY: maybe-pdf-gcc pdf-gcc
10120 maybe-pdf-gcc:
10121 @if gcc
10122 maybe-pdf-gcc: pdf-gcc
10124 pdf-gcc: \
10125 configure-gcc
10126 @[ -f ./gcc/Makefile ] || exit 0; \
10127 r=`${PWD_COMMAND}`; export r; \
10128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10129 $(HOST_EXPORTS) \
10130 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10132 done; \
10133 echo "Doing pdf in gcc" ; \
10134 (cd $(HOST_SUBDIR)/gcc && \
10135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10137 "RANLIB=$${RANLIB}" \
10138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10139 pdf) \
10140 || exit 1
10142 @endif gcc
10144 .PHONY: maybe-html-gcc html-gcc
10145 maybe-html-gcc:
10146 @if gcc
10147 maybe-html-gcc: html-gcc
10149 html-gcc: \
10150 configure-gcc
10151 @[ -f ./gcc/Makefile ] || exit 0; \
10152 r=`${PWD_COMMAND}`; export r; \
10153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10154 $(HOST_EXPORTS) \
10155 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10157 done; \
10158 echo "Doing html in gcc" ; \
10159 (cd $(HOST_SUBDIR)/gcc && \
10160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10162 "RANLIB=$${RANLIB}" \
10163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10164 html) \
10165 || exit 1
10167 @endif gcc
10169 .PHONY: maybe-TAGS-gcc TAGS-gcc
10170 maybe-TAGS-gcc:
10171 @if gcc
10172 maybe-TAGS-gcc: TAGS-gcc
10174 TAGS-gcc: \
10175 configure-gcc
10176 @[ -f ./gcc/Makefile ] || exit 0; \
10177 r=`${PWD_COMMAND}`; export r; \
10178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10179 $(HOST_EXPORTS) \
10180 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10182 done; \
10183 echo "Doing TAGS in gcc" ; \
10184 (cd $(HOST_SUBDIR)/gcc && \
10185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10187 "RANLIB=$${RANLIB}" \
10188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10189 TAGS) \
10190 || exit 1
10192 @endif gcc
10194 .PHONY: maybe-install-info-gcc install-info-gcc
10195 maybe-install-info-gcc:
10196 @if gcc
10197 maybe-install-info-gcc: install-info-gcc
10199 install-info-gcc: \
10200 configure-gcc \
10201 info-gcc
10202 @[ -f ./gcc/Makefile ] || exit 0; \
10203 r=`${PWD_COMMAND}`; export r; \
10204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10205 $(HOST_EXPORTS) \
10206 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10208 done; \
10209 echo "Doing install-info in gcc" ; \
10210 (cd $(HOST_SUBDIR)/gcc && \
10211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10213 "RANLIB=$${RANLIB}" \
10214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10215 install-info) \
10216 || exit 1
10218 @endif gcc
10220 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10221 maybe-install-pdf-gcc:
10222 @if gcc
10223 maybe-install-pdf-gcc: install-pdf-gcc
10225 install-pdf-gcc: \
10226 configure-gcc \
10227 pdf-gcc
10228 @[ -f ./gcc/Makefile ] || exit 0; \
10229 r=`${PWD_COMMAND}`; export r; \
10230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10231 $(HOST_EXPORTS) \
10232 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10234 done; \
10235 echo "Doing install-pdf in gcc" ; \
10236 (cd $(HOST_SUBDIR)/gcc && \
10237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10239 "RANLIB=$${RANLIB}" \
10240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10241 install-pdf) \
10242 || exit 1
10244 @endif gcc
10246 .PHONY: maybe-install-html-gcc install-html-gcc
10247 maybe-install-html-gcc:
10248 @if gcc
10249 maybe-install-html-gcc: install-html-gcc
10251 install-html-gcc: \
10252 configure-gcc \
10253 html-gcc
10254 @[ -f ./gcc/Makefile ] || exit 0; \
10255 r=`${PWD_COMMAND}`; export r; \
10256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10257 $(HOST_EXPORTS) \
10258 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10260 done; \
10261 echo "Doing install-html in gcc" ; \
10262 (cd $(HOST_SUBDIR)/gcc && \
10263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10265 "RANLIB=$${RANLIB}" \
10266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10267 install-html) \
10268 || exit 1
10270 @endif gcc
10272 .PHONY: maybe-installcheck-gcc installcheck-gcc
10273 maybe-installcheck-gcc:
10274 @if gcc
10275 maybe-installcheck-gcc: installcheck-gcc
10277 installcheck-gcc: \
10278 configure-gcc
10279 @[ -f ./gcc/Makefile ] || exit 0; \
10280 r=`${PWD_COMMAND}`; export r; \
10281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10282 $(HOST_EXPORTS) \
10283 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10285 done; \
10286 echo "Doing installcheck in gcc" ; \
10287 (cd $(HOST_SUBDIR)/gcc && \
10288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10290 "RANLIB=$${RANLIB}" \
10291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10292 installcheck) \
10293 || exit 1
10295 @endif gcc
10297 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10298 maybe-mostlyclean-gcc:
10299 @if gcc
10300 maybe-mostlyclean-gcc: mostlyclean-gcc
10302 mostlyclean-gcc:
10303 @[ -f ./gcc/Makefile ] || exit 0; \
10304 r=`${PWD_COMMAND}`; export r; \
10305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10306 $(HOST_EXPORTS) \
10307 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10309 done; \
10310 echo "Doing mostlyclean in gcc" ; \
10311 (cd $(HOST_SUBDIR)/gcc && \
10312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10314 "RANLIB=$${RANLIB}" \
10315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10316 mostlyclean) \
10317 || exit 1
10319 @endif gcc
10321 .PHONY: maybe-clean-gcc clean-gcc
10322 maybe-clean-gcc:
10323 @if gcc
10324 maybe-clean-gcc: clean-gcc
10326 clean-gcc:
10327 @[ -f ./gcc/Makefile ] || exit 0; \
10328 r=`${PWD_COMMAND}`; export r; \
10329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10330 $(HOST_EXPORTS) \
10331 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10333 done; \
10334 echo "Doing clean in gcc" ; \
10335 (cd $(HOST_SUBDIR)/gcc && \
10336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10338 "RANLIB=$${RANLIB}" \
10339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10340 clean) \
10341 || exit 1
10343 @endif gcc
10345 .PHONY: maybe-distclean-gcc distclean-gcc
10346 maybe-distclean-gcc:
10347 @if gcc
10348 maybe-distclean-gcc: distclean-gcc
10350 distclean-gcc:
10351 @[ -f ./gcc/Makefile ] || exit 0; \
10352 r=`${PWD_COMMAND}`; export r; \
10353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10354 $(HOST_EXPORTS) \
10355 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10357 done; \
10358 echo "Doing distclean in gcc" ; \
10359 (cd $(HOST_SUBDIR)/gcc && \
10360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10362 "RANLIB=$${RANLIB}" \
10363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10364 distclean) \
10365 || exit 1
10367 @endif gcc
10369 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10370 maybe-maintainer-clean-gcc:
10371 @if gcc
10372 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10374 maintainer-clean-gcc:
10375 @[ -f ./gcc/Makefile ] || exit 0; \
10376 r=`${PWD_COMMAND}`; export r; \
10377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10378 $(HOST_EXPORTS) \
10379 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10381 done; \
10382 echo "Doing maintainer-clean in gcc" ; \
10383 (cd $(HOST_SUBDIR)/gcc && \
10384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10386 "RANLIB=$${RANLIB}" \
10387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10388 maintainer-clean) \
10389 || exit 1
10391 @endif gcc
10395 .PHONY: configure-gmp maybe-configure-gmp
10396 maybe-configure-gmp:
10397 @if gcc-bootstrap
10398 configure-gmp: stage_current
10399 @endif gcc-bootstrap
10400 @if gmp
10401 maybe-configure-gmp: configure-gmp
10402 configure-gmp:
10403 @r=`${PWD_COMMAND}`; export r; \
10404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10405 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10406 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10407 $(HOST_EXPORTS) \
10408 echo Configuring in $(HOST_SUBDIR)/gmp; \
10409 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10410 case $(srcdir) in \
10411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10412 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10414 esac; \
10415 srcdiroption="--srcdir=$${topdir}/gmp"; \
10416 libsrcdir="$$s/gmp"; \
10417 $(SHELL) $${libsrcdir}/configure \
10418 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10419 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10420 || exit 1
10421 @endif gmp
10425 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10426 maybe-configure-stage1-gmp:
10427 @if gmp-bootstrap
10428 maybe-configure-stage1-gmp: configure-stage1-gmp
10429 configure-stage1-gmp:
10430 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10432 @r=`${PWD_COMMAND}`; export r; \
10433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10434 TFLAGS="$(STAGE1_TFLAGS)"; \
10435 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10436 $(HOST_EXPORTS) \
10437 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10438 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10439 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10440 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10442 cd $(HOST_SUBDIR)/gmp || exit 1; \
10443 case $(srcdir) in \
10444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10445 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10447 esac; \
10448 srcdiroption="--srcdir=$${topdir}/gmp"; \
10449 libsrcdir="$$s/gmp"; \
10450 $(SHELL) $${libsrcdir}/configure \
10451 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10452 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10453 $(STAGE1_CONFIGURE_FLAGS) \
10454 --disable-shared
10455 @endif gmp-bootstrap
10457 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10458 maybe-configure-stage2-gmp:
10459 @if gmp-bootstrap
10460 maybe-configure-stage2-gmp: configure-stage2-gmp
10461 configure-stage2-gmp:
10462 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10463 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10464 @r=`${PWD_COMMAND}`; export r; \
10465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10466 TFLAGS="$(STAGE2_TFLAGS)"; \
10467 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10468 $(HOST_EXPORTS) \
10469 $(POSTSTAGE1_HOST_EXPORTS) \
10470 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10471 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10472 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10473 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10475 cd $(HOST_SUBDIR)/gmp || exit 1; \
10476 case $(srcdir) in \
10477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10478 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10480 esac; \
10481 srcdiroption="--srcdir=$${topdir}/gmp"; \
10482 libsrcdir="$$s/gmp"; \
10483 $(SHELL) $${libsrcdir}/configure \
10484 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10485 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10486 --with-build-libsubdir=$(HOST_SUBDIR) \
10487 $(STAGE2_CONFIGURE_FLAGS) \
10488 --disable-shared
10489 @endif gmp-bootstrap
10491 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10492 maybe-configure-stage3-gmp:
10493 @if gmp-bootstrap
10494 maybe-configure-stage3-gmp: configure-stage3-gmp
10495 configure-stage3-gmp:
10496 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10497 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10498 @r=`${PWD_COMMAND}`; export r; \
10499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10500 TFLAGS="$(STAGE3_TFLAGS)"; \
10501 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10502 $(HOST_EXPORTS) \
10503 $(POSTSTAGE1_HOST_EXPORTS) \
10504 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10505 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10506 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10507 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10509 cd $(HOST_SUBDIR)/gmp || exit 1; \
10510 case $(srcdir) in \
10511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10512 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10514 esac; \
10515 srcdiroption="--srcdir=$${topdir}/gmp"; \
10516 libsrcdir="$$s/gmp"; \
10517 $(SHELL) $${libsrcdir}/configure \
10518 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10519 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10520 --with-build-libsubdir=$(HOST_SUBDIR) \
10521 $(STAGE3_CONFIGURE_FLAGS) \
10522 --disable-shared
10523 @endif gmp-bootstrap
10525 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10526 maybe-configure-stage4-gmp:
10527 @if gmp-bootstrap
10528 maybe-configure-stage4-gmp: configure-stage4-gmp
10529 configure-stage4-gmp:
10530 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10531 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10532 @r=`${PWD_COMMAND}`; export r; \
10533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10534 TFLAGS="$(STAGE4_TFLAGS)"; \
10535 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10536 $(HOST_EXPORTS) \
10537 $(POSTSTAGE1_HOST_EXPORTS) \
10538 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10539 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10540 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10541 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10543 cd $(HOST_SUBDIR)/gmp || exit 1; \
10544 case $(srcdir) in \
10545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10546 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10548 esac; \
10549 srcdiroption="--srcdir=$${topdir}/gmp"; \
10550 libsrcdir="$$s/gmp"; \
10551 $(SHELL) $${libsrcdir}/configure \
10552 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10553 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10554 --with-build-libsubdir=$(HOST_SUBDIR) \
10555 $(STAGE4_CONFIGURE_FLAGS) \
10556 --disable-shared
10557 @endif gmp-bootstrap
10559 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10560 maybe-configure-stageprofile-gmp:
10561 @if gmp-bootstrap
10562 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10563 configure-stageprofile-gmp:
10564 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10565 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10566 @r=`${PWD_COMMAND}`; export r; \
10567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10568 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10569 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10570 $(HOST_EXPORTS) \
10571 $(POSTSTAGE1_HOST_EXPORTS) \
10572 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10573 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10574 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10575 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10577 cd $(HOST_SUBDIR)/gmp || exit 1; \
10578 case $(srcdir) in \
10579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10580 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10582 esac; \
10583 srcdiroption="--srcdir=$${topdir}/gmp"; \
10584 libsrcdir="$$s/gmp"; \
10585 $(SHELL) $${libsrcdir}/configure \
10586 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10587 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10588 --with-build-libsubdir=$(HOST_SUBDIR) \
10589 $(STAGEprofile_CONFIGURE_FLAGS) \
10590 --disable-shared
10591 @endif gmp-bootstrap
10593 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10594 maybe-configure-stagefeedback-gmp:
10595 @if gmp-bootstrap
10596 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10597 configure-stagefeedback-gmp:
10598 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10599 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10600 @r=`${PWD_COMMAND}`; export r; \
10601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10602 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10603 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10604 $(HOST_EXPORTS) \
10605 $(POSTSTAGE1_HOST_EXPORTS) \
10606 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10607 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10608 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10609 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10611 cd $(HOST_SUBDIR)/gmp || exit 1; \
10612 case $(srcdir) in \
10613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10614 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10616 esac; \
10617 srcdiroption="--srcdir=$${topdir}/gmp"; \
10618 libsrcdir="$$s/gmp"; \
10619 $(SHELL) $${libsrcdir}/configure \
10620 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10621 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10622 --with-build-libsubdir=$(HOST_SUBDIR) \
10623 $(STAGEfeedback_CONFIGURE_FLAGS) \
10624 --disable-shared
10625 @endif gmp-bootstrap
10631 .PHONY: all-gmp maybe-all-gmp
10632 maybe-all-gmp:
10633 @if gcc-bootstrap
10634 all-gmp: stage_current
10635 @endif gcc-bootstrap
10636 @if gmp
10637 TARGET-gmp=all
10638 maybe-all-gmp: all-gmp
10639 all-gmp: configure-gmp
10640 @r=`${PWD_COMMAND}`; export r; \
10641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10642 $(HOST_EXPORTS) \
10643 (cd $(HOST_SUBDIR)/gmp && \
10644 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10645 $(TARGET-gmp))
10646 @endif gmp
10650 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10651 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10652 maybe-all-stage1-gmp:
10653 maybe-clean-stage1-gmp:
10654 @if gmp-bootstrap
10655 maybe-all-stage1-gmp: all-stage1-gmp
10656 all-stage1: all-stage1-gmp
10657 TARGET-stage1-gmp = $(TARGET-gmp)
10658 all-stage1-gmp: configure-stage1-gmp
10659 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10660 @r=`${PWD_COMMAND}`; export r; \
10661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10662 TFLAGS="$(STAGE1_TFLAGS)"; \
10663 $(HOST_EXPORTS) \
10664 cd $(HOST_SUBDIR)/gmp && \
10665 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10666 CFLAGS="$(STAGE1_CFLAGS)" \
10667 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10668 LIBCFLAGS="$(LIBCFLAGS)" \
10669 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10670 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10671 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10672 $(EXTRA_HOST_FLAGS) \
10673 TFLAGS="$(STAGE1_TFLAGS)" \
10674 $(TARGET-stage1-gmp)
10676 maybe-clean-stage1-gmp: clean-stage1-gmp
10677 clean-stage1: clean-stage1-gmp
10678 clean-stage1-gmp:
10679 @if [ $(current_stage) = stage1 ]; then \
10680 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10681 else \
10682 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10683 $(MAKE) stage1-start; \
10684 fi; \
10685 cd $(HOST_SUBDIR)/gmp && \
10686 $(MAKE) $(EXTRA_HOST_FLAGS) \
10687 clean
10688 @endif gmp-bootstrap
10691 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10692 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10693 maybe-all-stage2-gmp:
10694 maybe-clean-stage2-gmp:
10695 @if gmp-bootstrap
10696 maybe-all-stage2-gmp: all-stage2-gmp
10697 all-stage2: all-stage2-gmp
10698 TARGET-stage2-gmp = $(TARGET-gmp)
10699 all-stage2-gmp: configure-stage2-gmp
10700 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10701 @r=`${PWD_COMMAND}`; export r; \
10702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10703 TFLAGS="$(STAGE2_TFLAGS)"; \
10704 $(HOST_EXPORTS) \
10705 $(POSTSTAGE1_HOST_EXPORTS) \
10706 cd $(HOST_SUBDIR)/gmp && \
10707 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10708 CFLAGS="$(STAGE2_CFLAGS)" \
10709 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10710 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10711 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10712 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10713 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10714 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10715 TFLAGS="$(STAGE2_TFLAGS)" \
10716 $(TARGET-stage2-gmp)
10718 maybe-clean-stage2-gmp: clean-stage2-gmp
10719 clean-stage2: clean-stage2-gmp
10720 clean-stage2-gmp:
10721 @if [ $(current_stage) = stage2 ]; then \
10722 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10723 else \
10724 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10725 $(MAKE) stage2-start; \
10726 fi; \
10727 cd $(HOST_SUBDIR)/gmp && \
10728 $(MAKE) $(EXTRA_HOST_FLAGS) \
10729 $(POSTSTAGE1_FLAGS_TO_PASS) \
10730 clean
10731 @endif gmp-bootstrap
10734 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10735 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10736 maybe-all-stage3-gmp:
10737 maybe-clean-stage3-gmp:
10738 @if gmp-bootstrap
10739 maybe-all-stage3-gmp: all-stage3-gmp
10740 all-stage3: all-stage3-gmp
10741 TARGET-stage3-gmp = $(TARGET-gmp)
10742 all-stage3-gmp: configure-stage3-gmp
10743 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10744 @r=`${PWD_COMMAND}`; export r; \
10745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 TFLAGS="$(STAGE3_TFLAGS)"; \
10747 $(HOST_EXPORTS) \
10748 $(POSTSTAGE1_HOST_EXPORTS) \
10749 cd $(HOST_SUBDIR)/gmp && \
10750 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10751 CFLAGS="$(STAGE3_CFLAGS)" \
10752 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10753 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10754 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10755 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10756 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10757 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10758 TFLAGS="$(STAGE3_TFLAGS)" \
10759 $(TARGET-stage3-gmp)
10761 maybe-clean-stage3-gmp: clean-stage3-gmp
10762 clean-stage3: clean-stage3-gmp
10763 clean-stage3-gmp:
10764 @if [ $(current_stage) = stage3 ]; then \
10765 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10766 else \
10767 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10768 $(MAKE) stage3-start; \
10769 fi; \
10770 cd $(HOST_SUBDIR)/gmp && \
10771 $(MAKE) $(EXTRA_HOST_FLAGS) \
10772 $(POSTSTAGE1_FLAGS_TO_PASS) \
10773 clean
10774 @endif gmp-bootstrap
10777 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10778 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10779 maybe-all-stage4-gmp:
10780 maybe-clean-stage4-gmp:
10781 @if gmp-bootstrap
10782 maybe-all-stage4-gmp: all-stage4-gmp
10783 all-stage4: all-stage4-gmp
10784 TARGET-stage4-gmp = $(TARGET-gmp)
10785 all-stage4-gmp: configure-stage4-gmp
10786 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10787 @r=`${PWD_COMMAND}`; export r; \
10788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10789 TFLAGS="$(STAGE4_TFLAGS)"; \
10790 $(HOST_EXPORTS) \
10791 $(POSTSTAGE1_HOST_EXPORTS) \
10792 cd $(HOST_SUBDIR)/gmp && \
10793 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10794 CFLAGS="$(STAGE4_CFLAGS)" \
10795 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10796 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10797 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10798 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10799 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10800 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10801 TFLAGS="$(STAGE4_TFLAGS)" \
10802 $(TARGET-stage4-gmp)
10804 maybe-clean-stage4-gmp: clean-stage4-gmp
10805 clean-stage4: clean-stage4-gmp
10806 clean-stage4-gmp:
10807 @if [ $(current_stage) = stage4 ]; then \
10808 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10809 else \
10810 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10811 $(MAKE) stage4-start; \
10812 fi; \
10813 cd $(HOST_SUBDIR)/gmp && \
10814 $(MAKE) $(EXTRA_HOST_FLAGS) \
10815 $(POSTSTAGE1_FLAGS_TO_PASS) \
10816 clean
10817 @endif gmp-bootstrap
10820 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10821 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10822 maybe-all-stageprofile-gmp:
10823 maybe-clean-stageprofile-gmp:
10824 @if gmp-bootstrap
10825 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10826 all-stageprofile: all-stageprofile-gmp
10827 TARGET-stageprofile-gmp = $(TARGET-gmp)
10828 all-stageprofile-gmp: configure-stageprofile-gmp
10829 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10830 @r=`${PWD_COMMAND}`; export r; \
10831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10832 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10833 $(HOST_EXPORTS) \
10834 $(POSTSTAGE1_HOST_EXPORTS) \
10835 cd $(HOST_SUBDIR)/gmp && \
10836 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10837 CFLAGS="$(STAGEprofile_CFLAGS)" \
10838 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10839 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10840 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10841 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10842 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10843 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10844 TFLAGS="$(STAGEprofile_TFLAGS)" \
10845 $(TARGET-stageprofile-gmp)
10847 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10848 clean-stageprofile: clean-stageprofile-gmp
10849 clean-stageprofile-gmp:
10850 @if [ $(current_stage) = stageprofile ]; then \
10851 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10852 else \
10853 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10854 $(MAKE) stageprofile-start; \
10855 fi; \
10856 cd $(HOST_SUBDIR)/gmp && \
10857 $(MAKE) $(EXTRA_HOST_FLAGS) \
10858 $(POSTSTAGE1_FLAGS_TO_PASS) \
10859 clean
10860 @endif gmp-bootstrap
10863 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10864 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10865 maybe-all-stagefeedback-gmp:
10866 maybe-clean-stagefeedback-gmp:
10867 @if gmp-bootstrap
10868 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10869 all-stagefeedback: all-stagefeedback-gmp
10870 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10871 all-stagefeedback-gmp: configure-stagefeedback-gmp
10872 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10873 @r=`${PWD_COMMAND}`; export r; \
10874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10875 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10876 $(HOST_EXPORTS) \
10877 $(POSTSTAGE1_HOST_EXPORTS) \
10878 cd $(HOST_SUBDIR)/gmp && \
10879 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10880 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10881 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10882 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10883 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10884 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10885 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10886 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10887 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10888 $(TARGET-stagefeedback-gmp)
10890 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10891 clean-stagefeedback: clean-stagefeedback-gmp
10892 clean-stagefeedback-gmp:
10893 @if [ $(current_stage) = stagefeedback ]; then \
10894 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10895 else \
10896 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10897 $(MAKE) stagefeedback-start; \
10898 fi; \
10899 cd $(HOST_SUBDIR)/gmp && \
10900 $(MAKE) $(EXTRA_HOST_FLAGS) \
10901 $(POSTSTAGE1_FLAGS_TO_PASS) \
10902 clean
10903 @endif gmp-bootstrap
10909 .PHONY: check-gmp maybe-check-gmp
10910 maybe-check-gmp:
10911 @if gmp
10912 maybe-check-gmp: check-gmp
10914 check-gmp:
10915 @: $(MAKE); $(unstage)
10916 @r=`${PWD_COMMAND}`; export r; \
10917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10918 $(HOST_EXPORTS) \
10919 (cd $(HOST_SUBDIR)/gmp && \
10920 $(MAKE) $(FLAGS_TO_PASS) check)
10922 @endif gmp
10924 .PHONY: install-gmp maybe-install-gmp
10925 maybe-install-gmp:
10926 @if gmp
10927 maybe-install-gmp: install-gmp
10929 install-gmp:
10931 @endif gmp
10933 .PHONY: install-strip-gmp maybe-install-strip-gmp
10934 maybe-install-strip-gmp:
10935 @if gmp
10936 maybe-install-strip-gmp: install-strip-gmp
10938 install-strip-gmp:
10940 @endif gmp
10942 # Other targets (info, dvi, pdf, etc.)
10944 .PHONY: maybe-info-gmp info-gmp
10945 maybe-info-gmp:
10946 @if gmp
10947 maybe-info-gmp: info-gmp
10949 info-gmp: \
10950 configure-gmp
10951 @[ -f ./gmp/Makefile ] || exit 0; \
10952 r=`${PWD_COMMAND}`; export r; \
10953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10954 $(HOST_EXPORTS) \
10955 for flag in $(EXTRA_HOST_FLAGS) ; do \
10956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10957 done; \
10958 echo "Doing info in gmp" ; \
10959 (cd $(HOST_SUBDIR)/gmp && \
10960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10962 "RANLIB=$${RANLIB}" \
10963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10964 info) \
10965 || exit 1
10967 @endif gmp
10969 .PHONY: maybe-dvi-gmp dvi-gmp
10970 maybe-dvi-gmp:
10971 @if gmp
10972 maybe-dvi-gmp: dvi-gmp
10974 dvi-gmp: \
10975 configure-gmp
10976 @[ -f ./gmp/Makefile ] || exit 0; \
10977 r=`${PWD_COMMAND}`; export r; \
10978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 $(HOST_EXPORTS) \
10980 for flag in $(EXTRA_HOST_FLAGS) ; do \
10981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10982 done; \
10983 echo "Doing dvi in gmp" ; \
10984 (cd $(HOST_SUBDIR)/gmp && \
10985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10987 "RANLIB=$${RANLIB}" \
10988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10989 dvi) \
10990 || exit 1
10992 @endif gmp
10994 .PHONY: maybe-pdf-gmp pdf-gmp
10995 maybe-pdf-gmp:
10996 @if gmp
10997 maybe-pdf-gmp: pdf-gmp
10999 pdf-gmp: \
11000 configure-gmp
11001 @[ -f ./gmp/Makefile ] || exit 0; \
11002 r=`${PWD_COMMAND}`; export r; \
11003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11004 $(HOST_EXPORTS) \
11005 for flag in $(EXTRA_HOST_FLAGS) ; do \
11006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11007 done; \
11008 echo "Doing pdf in gmp" ; \
11009 (cd $(HOST_SUBDIR)/gmp && \
11010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11012 "RANLIB=$${RANLIB}" \
11013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11014 pdf) \
11015 || exit 1
11017 @endif gmp
11019 .PHONY: maybe-html-gmp html-gmp
11020 maybe-html-gmp:
11021 @if gmp
11022 maybe-html-gmp: html-gmp
11024 html-gmp: \
11025 configure-gmp
11026 @[ -f ./gmp/Makefile ] || exit 0; \
11027 r=`${PWD_COMMAND}`; export r; \
11028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11029 $(HOST_EXPORTS) \
11030 for flag in $(EXTRA_HOST_FLAGS) ; do \
11031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11032 done; \
11033 echo "Doing html in gmp" ; \
11034 (cd $(HOST_SUBDIR)/gmp && \
11035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11037 "RANLIB=$${RANLIB}" \
11038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11039 html) \
11040 || exit 1
11042 @endif gmp
11044 .PHONY: maybe-TAGS-gmp TAGS-gmp
11045 maybe-TAGS-gmp:
11046 @if gmp
11047 maybe-TAGS-gmp: TAGS-gmp
11049 TAGS-gmp: \
11050 configure-gmp
11051 @[ -f ./gmp/Makefile ] || exit 0; \
11052 r=`${PWD_COMMAND}`; export r; \
11053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11054 $(HOST_EXPORTS) \
11055 for flag in $(EXTRA_HOST_FLAGS) ; do \
11056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11057 done; \
11058 echo "Doing TAGS in gmp" ; \
11059 (cd $(HOST_SUBDIR)/gmp && \
11060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11062 "RANLIB=$${RANLIB}" \
11063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11064 TAGS) \
11065 || exit 1
11067 @endif gmp
11069 .PHONY: maybe-install-info-gmp install-info-gmp
11070 maybe-install-info-gmp:
11071 @if gmp
11072 maybe-install-info-gmp: install-info-gmp
11074 install-info-gmp: \
11075 configure-gmp \
11076 info-gmp
11077 @[ -f ./gmp/Makefile ] || exit 0; \
11078 r=`${PWD_COMMAND}`; export r; \
11079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11080 $(HOST_EXPORTS) \
11081 for flag in $(EXTRA_HOST_FLAGS) ; do \
11082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11083 done; \
11084 echo "Doing install-info in gmp" ; \
11085 (cd $(HOST_SUBDIR)/gmp && \
11086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11088 "RANLIB=$${RANLIB}" \
11089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11090 install-info) \
11091 || exit 1
11093 @endif gmp
11095 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11096 maybe-install-pdf-gmp:
11097 @if gmp
11098 maybe-install-pdf-gmp: install-pdf-gmp
11100 install-pdf-gmp: \
11101 configure-gmp \
11102 pdf-gmp
11103 @[ -f ./gmp/Makefile ] || exit 0; \
11104 r=`${PWD_COMMAND}`; export r; \
11105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11106 $(HOST_EXPORTS) \
11107 for flag in $(EXTRA_HOST_FLAGS) ; do \
11108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11109 done; \
11110 echo "Doing install-pdf in gmp" ; \
11111 (cd $(HOST_SUBDIR)/gmp && \
11112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11114 "RANLIB=$${RANLIB}" \
11115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11116 install-pdf) \
11117 || exit 1
11119 @endif gmp
11121 .PHONY: maybe-install-html-gmp install-html-gmp
11122 maybe-install-html-gmp:
11123 @if gmp
11124 maybe-install-html-gmp: install-html-gmp
11126 install-html-gmp: \
11127 configure-gmp \
11128 html-gmp
11129 @[ -f ./gmp/Makefile ] || exit 0; \
11130 r=`${PWD_COMMAND}`; export r; \
11131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11132 $(HOST_EXPORTS) \
11133 for flag in $(EXTRA_HOST_FLAGS) ; do \
11134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11135 done; \
11136 echo "Doing install-html in gmp" ; \
11137 (cd $(HOST_SUBDIR)/gmp && \
11138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11140 "RANLIB=$${RANLIB}" \
11141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11142 install-html) \
11143 || exit 1
11145 @endif gmp
11147 .PHONY: maybe-installcheck-gmp installcheck-gmp
11148 maybe-installcheck-gmp:
11149 @if gmp
11150 maybe-installcheck-gmp: installcheck-gmp
11152 installcheck-gmp: \
11153 configure-gmp
11154 @[ -f ./gmp/Makefile ] || exit 0; \
11155 r=`${PWD_COMMAND}`; export r; \
11156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11157 $(HOST_EXPORTS) \
11158 for flag in $(EXTRA_HOST_FLAGS) ; do \
11159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11160 done; \
11161 echo "Doing installcheck in gmp" ; \
11162 (cd $(HOST_SUBDIR)/gmp && \
11163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11165 "RANLIB=$${RANLIB}" \
11166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11167 installcheck) \
11168 || exit 1
11170 @endif gmp
11172 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11173 maybe-mostlyclean-gmp:
11174 @if gmp
11175 maybe-mostlyclean-gmp: mostlyclean-gmp
11177 mostlyclean-gmp:
11178 @[ -f ./gmp/Makefile ] || exit 0; \
11179 r=`${PWD_COMMAND}`; export r; \
11180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11181 $(HOST_EXPORTS) \
11182 for flag in $(EXTRA_HOST_FLAGS) ; do \
11183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11184 done; \
11185 echo "Doing mostlyclean in gmp" ; \
11186 (cd $(HOST_SUBDIR)/gmp && \
11187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11189 "RANLIB=$${RANLIB}" \
11190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11191 mostlyclean) \
11192 || exit 1
11194 @endif gmp
11196 .PHONY: maybe-clean-gmp clean-gmp
11197 maybe-clean-gmp:
11198 @if gmp
11199 maybe-clean-gmp: clean-gmp
11201 clean-gmp:
11202 @[ -f ./gmp/Makefile ] || exit 0; \
11203 r=`${PWD_COMMAND}`; export r; \
11204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11205 $(HOST_EXPORTS) \
11206 for flag in $(EXTRA_HOST_FLAGS) ; do \
11207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11208 done; \
11209 echo "Doing clean in gmp" ; \
11210 (cd $(HOST_SUBDIR)/gmp && \
11211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11213 "RANLIB=$${RANLIB}" \
11214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11215 clean) \
11216 || exit 1
11218 @endif gmp
11220 .PHONY: maybe-distclean-gmp distclean-gmp
11221 maybe-distclean-gmp:
11222 @if gmp
11223 maybe-distclean-gmp: distclean-gmp
11225 distclean-gmp:
11226 @[ -f ./gmp/Makefile ] || exit 0; \
11227 r=`${PWD_COMMAND}`; export r; \
11228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11229 $(HOST_EXPORTS) \
11230 for flag in $(EXTRA_HOST_FLAGS) ; do \
11231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11232 done; \
11233 echo "Doing distclean in gmp" ; \
11234 (cd $(HOST_SUBDIR)/gmp && \
11235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11237 "RANLIB=$${RANLIB}" \
11238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11239 distclean) \
11240 || exit 1
11242 @endif gmp
11244 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11245 maybe-maintainer-clean-gmp:
11246 @if gmp
11247 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11249 maintainer-clean-gmp:
11250 @[ -f ./gmp/Makefile ] || exit 0; \
11251 r=`${PWD_COMMAND}`; export r; \
11252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11253 $(HOST_EXPORTS) \
11254 for flag in $(EXTRA_HOST_FLAGS) ; do \
11255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11256 done; \
11257 echo "Doing maintainer-clean in gmp" ; \
11258 (cd $(HOST_SUBDIR)/gmp && \
11259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11261 "RANLIB=$${RANLIB}" \
11262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11263 maintainer-clean) \
11264 || exit 1
11266 @endif gmp
11270 .PHONY: configure-mpfr maybe-configure-mpfr
11271 maybe-configure-mpfr:
11272 @if gcc-bootstrap
11273 configure-mpfr: stage_current
11274 @endif gcc-bootstrap
11275 @if mpfr
11276 maybe-configure-mpfr: configure-mpfr
11277 configure-mpfr:
11278 @r=`${PWD_COMMAND}`; export r; \
11279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11280 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11282 $(HOST_EXPORTS) \
11283 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11284 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11285 case $(srcdir) in \
11286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11287 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11289 esac; \
11290 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11291 libsrcdir="$$s/mpfr"; \
11292 $(SHELL) $${libsrcdir}/configure \
11293 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11294 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11295 || exit 1
11296 @endif mpfr
11300 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11301 maybe-configure-stage1-mpfr:
11302 @if mpfr-bootstrap
11303 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11304 configure-stage1-mpfr:
11305 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11306 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11307 @r=`${PWD_COMMAND}`; export r; \
11308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11309 TFLAGS="$(STAGE1_TFLAGS)"; \
11310 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11311 $(HOST_EXPORTS) \
11312 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11313 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11314 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11315 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11317 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11318 case $(srcdir) in \
11319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11320 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11322 esac; \
11323 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11324 libsrcdir="$$s/mpfr"; \
11325 $(SHELL) $${libsrcdir}/configure \
11326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11327 --target=${target_alias} $${srcdiroption} \
11328 $(STAGE1_CONFIGURE_FLAGS) \
11329 --disable-shared @extra_mpfr_configure_flags@
11330 @endif mpfr-bootstrap
11332 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11333 maybe-configure-stage2-mpfr:
11334 @if mpfr-bootstrap
11335 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11336 configure-stage2-mpfr:
11337 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11339 @r=`${PWD_COMMAND}`; export r; \
11340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11341 TFLAGS="$(STAGE2_TFLAGS)"; \
11342 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11343 $(HOST_EXPORTS) \
11344 $(POSTSTAGE1_HOST_EXPORTS) \
11345 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11346 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11347 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11348 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11350 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11351 case $(srcdir) in \
11352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11353 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11355 esac; \
11356 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11357 libsrcdir="$$s/mpfr"; \
11358 $(SHELL) $${libsrcdir}/configure \
11359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11360 --target=${target_alias} $${srcdiroption} \
11361 --with-build-libsubdir=$(HOST_SUBDIR) \
11362 $(STAGE2_CONFIGURE_FLAGS) \
11363 --disable-shared @extra_mpfr_configure_flags@
11364 @endif mpfr-bootstrap
11366 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11367 maybe-configure-stage3-mpfr:
11368 @if mpfr-bootstrap
11369 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11370 configure-stage3-mpfr:
11371 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11372 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11373 @r=`${PWD_COMMAND}`; export r; \
11374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11375 TFLAGS="$(STAGE3_TFLAGS)"; \
11376 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11377 $(HOST_EXPORTS) \
11378 $(POSTSTAGE1_HOST_EXPORTS) \
11379 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11380 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11381 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11382 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11384 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11385 case $(srcdir) in \
11386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11387 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11389 esac; \
11390 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11391 libsrcdir="$$s/mpfr"; \
11392 $(SHELL) $${libsrcdir}/configure \
11393 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11394 --target=${target_alias} $${srcdiroption} \
11395 --with-build-libsubdir=$(HOST_SUBDIR) \
11396 $(STAGE3_CONFIGURE_FLAGS) \
11397 --disable-shared @extra_mpfr_configure_flags@
11398 @endif mpfr-bootstrap
11400 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11401 maybe-configure-stage4-mpfr:
11402 @if mpfr-bootstrap
11403 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11404 configure-stage4-mpfr:
11405 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11407 @r=`${PWD_COMMAND}`; export r; \
11408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11409 TFLAGS="$(STAGE4_TFLAGS)"; \
11410 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11411 $(HOST_EXPORTS) \
11412 $(POSTSTAGE1_HOST_EXPORTS) \
11413 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11414 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11415 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11416 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11418 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11419 case $(srcdir) in \
11420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11421 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11423 esac; \
11424 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11425 libsrcdir="$$s/mpfr"; \
11426 $(SHELL) $${libsrcdir}/configure \
11427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11428 --target=${target_alias} $${srcdiroption} \
11429 --with-build-libsubdir=$(HOST_SUBDIR) \
11430 $(STAGE4_CONFIGURE_FLAGS) \
11431 --disable-shared @extra_mpfr_configure_flags@
11432 @endif mpfr-bootstrap
11434 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11435 maybe-configure-stageprofile-mpfr:
11436 @if mpfr-bootstrap
11437 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11438 configure-stageprofile-mpfr:
11439 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11440 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11441 @r=`${PWD_COMMAND}`; export r; \
11442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11443 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11444 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11445 $(HOST_EXPORTS) \
11446 $(POSTSTAGE1_HOST_EXPORTS) \
11447 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11448 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11449 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11450 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11452 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11453 case $(srcdir) in \
11454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11455 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11457 esac; \
11458 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11459 libsrcdir="$$s/mpfr"; \
11460 $(SHELL) $${libsrcdir}/configure \
11461 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11462 --target=${target_alias} $${srcdiroption} \
11463 --with-build-libsubdir=$(HOST_SUBDIR) \
11464 $(STAGEprofile_CONFIGURE_FLAGS) \
11465 --disable-shared @extra_mpfr_configure_flags@
11466 @endif mpfr-bootstrap
11468 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11469 maybe-configure-stagefeedback-mpfr:
11470 @if mpfr-bootstrap
11471 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11472 configure-stagefeedback-mpfr:
11473 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11474 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11475 @r=`${PWD_COMMAND}`; export r; \
11476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11477 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11478 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11479 $(HOST_EXPORTS) \
11480 $(POSTSTAGE1_HOST_EXPORTS) \
11481 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11482 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11483 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11484 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11486 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11487 case $(srcdir) in \
11488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11489 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11491 esac; \
11492 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11493 libsrcdir="$$s/mpfr"; \
11494 $(SHELL) $${libsrcdir}/configure \
11495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11496 --target=${target_alias} $${srcdiroption} \
11497 --with-build-libsubdir=$(HOST_SUBDIR) \
11498 $(STAGEfeedback_CONFIGURE_FLAGS) \
11499 --disable-shared @extra_mpfr_configure_flags@
11500 @endif mpfr-bootstrap
11506 .PHONY: all-mpfr maybe-all-mpfr
11507 maybe-all-mpfr:
11508 @if gcc-bootstrap
11509 all-mpfr: stage_current
11510 @endif gcc-bootstrap
11511 @if mpfr
11512 TARGET-mpfr=all
11513 maybe-all-mpfr: all-mpfr
11514 all-mpfr: configure-mpfr
11515 @r=`${PWD_COMMAND}`; export r; \
11516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11517 $(HOST_EXPORTS) \
11518 (cd $(HOST_SUBDIR)/mpfr && \
11519 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11520 $(TARGET-mpfr))
11521 @endif mpfr
11525 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11526 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11527 maybe-all-stage1-mpfr:
11528 maybe-clean-stage1-mpfr:
11529 @if mpfr-bootstrap
11530 maybe-all-stage1-mpfr: all-stage1-mpfr
11531 all-stage1: all-stage1-mpfr
11532 TARGET-stage1-mpfr = $(TARGET-mpfr)
11533 all-stage1-mpfr: configure-stage1-mpfr
11534 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11535 @r=`${PWD_COMMAND}`; export r; \
11536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11537 TFLAGS="$(STAGE1_TFLAGS)"; \
11538 $(HOST_EXPORTS) \
11539 cd $(HOST_SUBDIR)/mpfr && \
11540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11541 CFLAGS="$(STAGE1_CFLAGS)" \
11542 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11543 LIBCFLAGS="$(LIBCFLAGS)" \
11544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11547 $(EXTRA_HOST_FLAGS) \
11548 TFLAGS="$(STAGE1_TFLAGS)" \
11549 $(TARGET-stage1-mpfr)
11551 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11552 clean-stage1: clean-stage1-mpfr
11553 clean-stage1-mpfr:
11554 @if [ $(current_stage) = stage1 ]; then \
11555 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11556 else \
11557 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11558 $(MAKE) stage1-start; \
11559 fi; \
11560 cd $(HOST_SUBDIR)/mpfr && \
11561 $(MAKE) $(EXTRA_HOST_FLAGS) \
11562 clean
11563 @endif mpfr-bootstrap
11566 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11567 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11568 maybe-all-stage2-mpfr:
11569 maybe-clean-stage2-mpfr:
11570 @if mpfr-bootstrap
11571 maybe-all-stage2-mpfr: all-stage2-mpfr
11572 all-stage2: all-stage2-mpfr
11573 TARGET-stage2-mpfr = $(TARGET-mpfr)
11574 all-stage2-mpfr: configure-stage2-mpfr
11575 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11576 @r=`${PWD_COMMAND}`; export r; \
11577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11578 TFLAGS="$(STAGE2_TFLAGS)"; \
11579 $(HOST_EXPORTS) \
11580 $(POSTSTAGE1_HOST_EXPORTS) \
11581 cd $(HOST_SUBDIR)/mpfr && \
11582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11583 CFLAGS="$(STAGE2_CFLAGS)" \
11584 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11585 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11590 TFLAGS="$(STAGE2_TFLAGS)" \
11591 $(TARGET-stage2-mpfr)
11593 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11594 clean-stage2: clean-stage2-mpfr
11595 clean-stage2-mpfr:
11596 @if [ $(current_stage) = stage2 ]; then \
11597 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11598 else \
11599 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11600 $(MAKE) stage2-start; \
11601 fi; \
11602 cd $(HOST_SUBDIR)/mpfr && \
11603 $(MAKE) $(EXTRA_HOST_FLAGS) \
11604 $(POSTSTAGE1_FLAGS_TO_PASS) \
11605 clean
11606 @endif mpfr-bootstrap
11609 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11610 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11611 maybe-all-stage3-mpfr:
11612 maybe-clean-stage3-mpfr:
11613 @if mpfr-bootstrap
11614 maybe-all-stage3-mpfr: all-stage3-mpfr
11615 all-stage3: all-stage3-mpfr
11616 TARGET-stage3-mpfr = $(TARGET-mpfr)
11617 all-stage3-mpfr: configure-stage3-mpfr
11618 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11619 @r=`${PWD_COMMAND}`; export r; \
11620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11621 TFLAGS="$(STAGE3_TFLAGS)"; \
11622 $(HOST_EXPORTS) \
11623 $(POSTSTAGE1_HOST_EXPORTS) \
11624 cd $(HOST_SUBDIR)/mpfr && \
11625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11626 CFLAGS="$(STAGE3_CFLAGS)" \
11627 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11628 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11632 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11633 TFLAGS="$(STAGE3_TFLAGS)" \
11634 $(TARGET-stage3-mpfr)
11636 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11637 clean-stage3: clean-stage3-mpfr
11638 clean-stage3-mpfr:
11639 @if [ $(current_stage) = stage3 ]; then \
11640 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11641 else \
11642 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11643 $(MAKE) stage3-start; \
11644 fi; \
11645 cd $(HOST_SUBDIR)/mpfr && \
11646 $(MAKE) $(EXTRA_HOST_FLAGS) \
11647 $(POSTSTAGE1_FLAGS_TO_PASS) \
11648 clean
11649 @endif mpfr-bootstrap
11652 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11653 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11654 maybe-all-stage4-mpfr:
11655 maybe-clean-stage4-mpfr:
11656 @if mpfr-bootstrap
11657 maybe-all-stage4-mpfr: all-stage4-mpfr
11658 all-stage4: all-stage4-mpfr
11659 TARGET-stage4-mpfr = $(TARGET-mpfr)
11660 all-stage4-mpfr: configure-stage4-mpfr
11661 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11662 @r=`${PWD_COMMAND}`; export r; \
11663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11664 TFLAGS="$(STAGE4_TFLAGS)"; \
11665 $(HOST_EXPORTS) \
11666 $(POSTSTAGE1_HOST_EXPORTS) \
11667 cd $(HOST_SUBDIR)/mpfr && \
11668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11669 CFLAGS="$(STAGE4_CFLAGS)" \
11670 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11671 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11672 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11673 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11674 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11675 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11676 TFLAGS="$(STAGE4_TFLAGS)" \
11677 $(TARGET-stage4-mpfr)
11679 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11680 clean-stage4: clean-stage4-mpfr
11681 clean-stage4-mpfr:
11682 @if [ $(current_stage) = stage4 ]; then \
11683 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11684 else \
11685 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11686 $(MAKE) stage4-start; \
11687 fi; \
11688 cd $(HOST_SUBDIR)/mpfr && \
11689 $(MAKE) $(EXTRA_HOST_FLAGS) \
11690 $(POSTSTAGE1_FLAGS_TO_PASS) \
11691 clean
11692 @endif mpfr-bootstrap
11695 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11696 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11697 maybe-all-stageprofile-mpfr:
11698 maybe-clean-stageprofile-mpfr:
11699 @if mpfr-bootstrap
11700 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11701 all-stageprofile: all-stageprofile-mpfr
11702 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11703 all-stageprofile-mpfr: configure-stageprofile-mpfr
11704 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11705 @r=`${PWD_COMMAND}`; export r; \
11706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11707 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11708 $(HOST_EXPORTS) \
11709 $(POSTSTAGE1_HOST_EXPORTS) \
11710 cd $(HOST_SUBDIR)/mpfr && \
11711 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11712 CFLAGS="$(STAGEprofile_CFLAGS)" \
11713 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11714 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11715 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11716 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11717 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11718 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11719 TFLAGS="$(STAGEprofile_TFLAGS)" \
11720 $(TARGET-stageprofile-mpfr)
11722 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11723 clean-stageprofile: clean-stageprofile-mpfr
11724 clean-stageprofile-mpfr:
11725 @if [ $(current_stage) = stageprofile ]; then \
11726 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11727 else \
11728 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11729 $(MAKE) stageprofile-start; \
11730 fi; \
11731 cd $(HOST_SUBDIR)/mpfr && \
11732 $(MAKE) $(EXTRA_HOST_FLAGS) \
11733 $(POSTSTAGE1_FLAGS_TO_PASS) \
11734 clean
11735 @endif mpfr-bootstrap
11738 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11739 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11740 maybe-all-stagefeedback-mpfr:
11741 maybe-clean-stagefeedback-mpfr:
11742 @if mpfr-bootstrap
11743 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11744 all-stagefeedback: all-stagefeedback-mpfr
11745 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11746 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11747 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11748 @r=`${PWD_COMMAND}`; export r; \
11749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11750 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11751 $(HOST_EXPORTS) \
11752 $(POSTSTAGE1_HOST_EXPORTS) \
11753 cd $(HOST_SUBDIR)/mpfr && \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11755 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11756 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11757 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11758 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11759 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11760 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11761 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11762 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11763 $(TARGET-stagefeedback-mpfr)
11765 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11766 clean-stagefeedback: clean-stagefeedback-mpfr
11767 clean-stagefeedback-mpfr:
11768 @if [ $(current_stage) = stagefeedback ]; then \
11769 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11770 else \
11771 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11772 $(MAKE) stagefeedback-start; \
11773 fi; \
11774 cd $(HOST_SUBDIR)/mpfr && \
11775 $(MAKE) $(EXTRA_HOST_FLAGS) \
11776 $(POSTSTAGE1_FLAGS_TO_PASS) \
11777 clean
11778 @endif mpfr-bootstrap
11784 .PHONY: check-mpfr maybe-check-mpfr
11785 maybe-check-mpfr:
11786 @if mpfr
11787 maybe-check-mpfr: check-mpfr
11789 check-mpfr:
11790 @: $(MAKE); $(unstage)
11791 @r=`${PWD_COMMAND}`; export r; \
11792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11793 $(HOST_EXPORTS) \
11794 (cd $(HOST_SUBDIR)/mpfr && \
11795 $(MAKE) $(FLAGS_TO_PASS) check)
11797 @endif mpfr
11799 .PHONY: install-mpfr maybe-install-mpfr
11800 maybe-install-mpfr:
11801 @if mpfr
11802 maybe-install-mpfr: install-mpfr
11804 install-mpfr:
11806 @endif mpfr
11808 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11809 maybe-install-strip-mpfr:
11810 @if mpfr
11811 maybe-install-strip-mpfr: install-strip-mpfr
11813 install-strip-mpfr:
11815 @endif mpfr
11817 # Other targets (info, dvi, pdf, etc.)
11819 .PHONY: maybe-info-mpfr info-mpfr
11820 maybe-info-mpfr:
11821 @if mpfr
11822 maybe-info-mpfr: info-mpfr
11824 info-mpfr: \
11825 configure-mpfr
11826 @[ -f ./mpfr/Makefile ] || exit 0; \
11827 r=`${PWD_COMMAND}`; export r; \
11828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11829 $(HOST_EXPORTS) \
11830 for flag in $(EXTRA_HOST_FLAGS) ; do \
11831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11832 done; \
11833 echo "Doing info in mpfr" ; \
11834 (cd $(HOST_SUBDIR)/mpfr && \
11835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11837 "RANLIB=$${RANLIB}" \
11838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11839 info) \
11840 || exit 1
11842 @endif mpfr
11844 .PHONY: maybe-dvi-mpfr dvi-mpfr
11845 maybe-dvi-mpfr:
11846 @if mpfr
11847 maybe-dvi-mpfr: dvi-mpfr
11849 dvi-mpfr: \
11850 configure-mpfr
11851 @[ -f ./mpfr/Makefile ] || exit 0; \
11852 r=`${PWD_COMMAND}`; export r; \
11853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11854 $(HOST_EXPORTS) \
11855 for flag in $(EXTRA_HOST_FLAGS) ; do \
11856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11857 done; \
11858 echo "Doing dvi in mpfr" ; \
11859 (cd $(HOST_SUBDIR)/mpfr && \
11860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11862 "RANLIB=$${RANLIB}" \
11863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11864 dvi) \
11865 || exit 1
11867 @endif mpfr
11869 .PHONY: maybe-pdf-mpfr pdf-mpfr
11870 maybe-pdf-mpfr:
11871 @if mpfr
11872 maybe-pdf-mpfr: pdf-mpfr
11874 pdf-mpfr: \
11875 configure-mpfr
11876 @[ -f ./mpfr/Makefile ] || exit 0; \
11877 r=`${PWD_COMMAND}`; export r; \
11878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11879 $(HOST_EXPORTS) \
11880 for flag in $(EXTRA_HOST_FLAGS) ; do \
11881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11882 done; \
11883 echo "Doing pdf in mpfr" ; \
11884 (cd $(HOST_SUBDIR)/mpfr && \
11885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11887 "RANLIB=$${RANLIB}" \
11888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11889 pdf) \
11890 || exit 1
11892 @endif mpfr
11894 .PHONY: maybe-html-mpfr html-mpfr
11895 maybe-html-mpfr:
11896 @if mpfr
11897 maybe-html-mpfr: html-mpfr
11899 html-mpfr: \
11900 configure-mpfr
11901 @[ -f ./mpfr/Makefile ] || exit 0; \
11902 r=`${PWD_COMMAND}`; export r; \
11903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11904 $(HOST_EXPORTS) \
11905 for flag in $(EXTRA_HOST_FLAGS) ; do \
11906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11907 done; \
11908 echo "Doing html in mpfr" ; \
11909 (cd $(HOST_SUBDIR)/mpfr && \
11910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11912 "RANLIB=$${RANLIB}" \
11913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11914 html) \
11915 || exit 1
11917 @endif mpfr
11919 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11920 maybe-TAGS-mpfr:
11921 @if mpfr
11922 maybe-TAGS-mpfr: TAGS-mpfr
11924 TAGS-mpfr: \
11925 configure-mpfr
11926 @[ -f ./mpfr/Makefile ] || exit 0; \
11927 r=`${PWD_COMMAND}`; export r; \
11928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11929 $(HOST_EXPORTS) \
11930 for flag in $(EXTRA_HOST_FLAGS) ; do \
11931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11932 done; \
11933 echo "Doing TAGS in mpfr" ; \
11934 (cd $(HOST_SUBDIR)/mpfr && \
11935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11937 "RANLIB=$${RANLIB}" \
11938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11939 TAGS) \
11940 || exit 1
11942 @endif mpfr
11944 .PHONY: maybe-install-info-mpfr install-info-mpfr
11945 maybe-install-info-mpfr:
11946 @if mpfr
11947 maybe-install-info-mpfr: install-info-mpfr
11949 install-info-mpfr: \
11950 configure-mpfr \
11951 info-mpfr
11952 @[ -f ./mpfr/Makefile ] || exit 0; \
11953 r=`${PWD_COMMAND}`; export r; \
11954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11955 $(HOST_EXPORTS) \
11956 for flag in $(EXTRA_HOST_FLAGS) ; do \
11957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11958 done; \
11959 echo "Doing install-info in mpfr" ; \
11960 (cd $(HOST_SUBDIR)/mpfr && \
11961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11963 "RANLIB=$${RANLIB}" \
11964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11965 install-info) \
11966 || exit 1
11968 @endif mpfr
11970 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11971 maybe-install-pdf-mpfr:
11972 @if mpfr
11973 maybe-install-pdf-mpfr: install-pdf-mpfr
11975 install-pdf-mpfr: \
11976 configure-mpfr \
11977 pdf-mpfr
11978 @[ -f ./mpfr/Makefile ] || exit 0; \
11979 r=`${PWD_COMMAND}`; export r; \
11980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11981 $(HOST_EXPORTS) \
11982 for flag in $(EXTRA_HOST_FLAGS) ; do \
11983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11984 done; \
11985 echo "Doing install-pdf in mpfr" ; \
11986 (cd $(HOST_SUBDIR)/mpfr && \
11987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11989 "RANLIB=$${RANLIB}" \
11990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11991 install-pdf) \
11992 || exit 1
11994 @endif mpfr
11996 .PHONY: maybe-install-html-mpfr install-html-mpfr
11997 maybe-install-html-mpfr:
11998 @if mpfr
11999 maybe-install-html-mpfr: install-html-mpfr
12001 install-html-mpfr: \
12002 configure-mpfr \
12003 html-mpfr
12004 @[ -f ./mpfr/Makefile ] || exit 0; \
12005 r=`${PWD_COMMAND}`; export r; \
12006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12007 $(HOST_EXPORTS) \
12008 for flag in $(EXTRA_HOST_FLAGS) ; do \
12009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12010 done; \
12011 echo "Doing install-html in mpfr" ; \
12012 (cd $(HOST_SUBDIR)/mpfr && \
12013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12015 "RANLIB=$${RANLIB}" \
12016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12017 install-html) \
12018 || exit 1
12020 @endif mpfr
12022 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12023 maybe-installcheck-mpfr:
12024 @if mpfr
12025 maybe-installcheck-mpfr: installcheck-mpfr
12027 installcheck-mpfr: \
12028 configure-mpfr
12029 @[ -f ./mpfr/Makefile ] || exit 0; \
12030 r=`${PWD_COMMAND}`; export r; \
12031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12032 $(HOST_EXPORTS) \
12033 for flag in $(EXTRA_HOST_FLAGS) ; do \
12034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12035 done; \
12036 echo "Doing installcheck in mpfr" ; \
12037 (cd $(HOST_SUBDIR)/mpfr && \
12038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12040 "RANLIB=$${RANLIB}" \
12041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12042 installcheck) \
12043 || exit 1
12045 @endif mpfr
12047 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12048 maybe-mostlyclean-mpfr:
12049 @if mpfr
12050 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12052 mostlyclean-mpfr:
12053 @[ -f ./mpfr/Makefile ] || exit 0; \
12054 r=`${PWD_COMMAND}`; export r; \
12055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12056 $(HOST_EXPORTS) \
12057 for flag in $(EXTRA_HOST_FLAGS) ; do \
12058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12059 done; \
12060 echo "Doing mostlyclean in mpfr" ; \
12061 (cd $(HOST_SUBDIR)/mpfr && \
12062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12064 "RANLIB=$${RANLIB}" \
12065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12066 mostlyclean) \
12067 || exit 1
12069 @endif mpfr
12071 .PHONY: maybe-clean-mpfr clean-mpfr
12072 maybe-clean-mpfr:
12073 @if mpfr
12074 maybe-clean-mpfr: clean-mpfr
12076 clean-mpfr:
12077 @[ -f ./mpfr/Makefile ] || exit 0; \
12078 r=`${PWD_COMMAND}`; export r; \
12079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12080 $(HOST_EXPORTS) \
12081 for flag in $(EXTRA_HOST_FLAGS) ; do \
12082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12083 done; \
12084 echo "Doing clean in mpfr" ; \
12085 (cd $(HOST_SUBDIR)/mpfr && \
12086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12088 "RANLIB=$${RANLIB}" \
12089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12090 clean) \
12091 || exit 1
12093 @endif mpfr
12095 .PHONY: maybe-distclean-mpfr distclean-mpfr
12096 maybe-distclean-mpfr:
12097 @if mpfr
12098 maybe-distclean-mpfr: distclean-mpfr
12100 distclean-mpfr:
12101 @[ -f ./mpfr/Makefile ] || exit 0; \
12102 r=`${PWD_COMMAND}`; export r; \
12103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12104 $(HOST_EXPORTS) \
12105 for flag in $(EXTRA_HOST_FLAGS) ; do \
12106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12107 done; \
12108 echo "Doing distclean in mpfr" ; \
12109 (cd $(HOST_SUBDIR)/mpfr && \
12110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12112 "RANLIB=$${RANLIB}" \
12113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12114 distclean) \
12115 || exit 1
12117 @endif mpfr
12119 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12120 maybe-maintainer-clean-mpfr:
12121 @if mpfr
12122 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12124 maintainer-clean-mpfr:
12125 @[ -f ./mpfr/Makefile ] || exit 0; \
12126 r=`${PWD_COMMAND}`; export r; \
12127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12128 $(HOST_EXPORTS) \
12129 for flag in $(EXTRA_HOST_FLAGS) ; do \
12130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12131 done; \
12132 echo "Doing maintainer-clean in mpfr" ; \
12133 (cd $(HOST_SUBDIR)/mpfr && \
12134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12136 "RANLIB=$${RANLIB}" \
12137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12138 maintainer-clean) \
12139 || exit 1
12141 @endif mpfr
12145 .PHONY: configure-mpc maybe-configure-mpc
12146 maybe-configure-mpc:
12147 @if gcc-bootstrap
12148 configure-mpc: stage_current
12149 @endif gcc-bootstrap
12150 @if mpc
12151 maybe-configure-mpc: configure-mpc
12152 configure-mpc:
12153 @r=`${PWD_COMMAND}`; export r; \
12154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12155 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12157 $(HOST_EXPORTS) \
12158 echo Configuring in $(HOST_SUBDIR)/mpc; \
12159 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12160 case $(srcdir) in \
12161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12162 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12164 esac; \
12165 srcdiroption="--srcdir=$${topdir}/mpc"; \
12166 libsrcdir="$$s/mpc"; \
12167 $(SHELL) $${libsrcdir}/configure \
12168 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12169 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12170 || exit 1
12171 @endif mpc
12175 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12176 maybe-configure-stage1-mpc:
12177 @if mpc-bootstrap
12178 maybe-configure-stage1-mpc: configure-stage1-mpc
12179 configure-stage1-mpc:
12180 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12182 @r=`${PWD_COMMAND}`; export r; \
12183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 TFLAGS="$(STAGE1_TFLAGS)"; \
12185 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12186 $(HOST_EXPORTS) \
12187 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12188 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12189 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12190 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12191 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12192 cd $(HOST_SUBDIR)/mpc || exit 1; \
12193 case $(srcdir) in \
12194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12195 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12197 esac; \
12198 srcdiroption="--srcdir=$${topdir}/mpc"; \
12199 libsrcdir="$$s/mpc"; \
12200 $(SHELL) $${libsrcdir}/configure \
12201 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12202 --target=${target_alias} $${srcdiroption} \
12203 $(STAGE1_CONFIGURE_FLAGS) \
12204 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12205 @endif mpc-bootstrap
12207 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12208 maybe-configure-stage2-mpc:
12209 @if mpc-bootstrap
12210 maybe-configure-stage2-mpc: configure-stage2-mpc
12211 configure-stage2-mpc:
12212 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12213 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12214 @r=`${PWD_COMMAND}`; export r; \
12215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12216 TFLAGS="$(STAGE2_TFLAGS)"; \
12217 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12218 $(HOST_EXPORTS) \
12219 $(POSTSTAGE1_HOST_EXPORTS) \
12220 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12221 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12222 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12223 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12225 cd $(HOST_SUBDIR)/mpc || exit 1; \
12226 case $(srcdir) in \
12227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12228 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12230 esac; \
12231 srcdiroption="--srcdir=$${topdir}/mpc"; \
12232 libsrcdir="$$s/mpc"; \
12233 $(SHELL) $${libsrcdir}/configure \
12234 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12235 --target=${target_alias} $${srcdiroption} \
12236 --with-build-libsubdir=$(HOST_SUBDIR) \
12237 $(STAGE2_CONFIGURE_FLAGS) \
12238 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12239 @endif mpc-bootstrap
12241 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12242 maybe-configure-stage3-mpc:
12243 @if mpc-bootstrap
12244 maybe-configure-stage3-mpc: configure-stage3-mpc
12245 configure-stage3-mpc:
12246 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12248 @r=`${PWD_COMMAND}`; export r; \
12249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12250 TFLAGS="$(STAGE3_TFLAGS)"; \
12251 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12252 $(HOST_EXPORTS) \
12253 $(POSTSTAGE1_HOST_EXPORTS) \
12254 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12255 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12256 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12257 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12259 cd $(HOST_SUBDIR)/mpc || exit 1; \
12260 case $(srcdir) in \
12261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12262 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12264 esac; \
12265 srcdiroption="--srcdir=$${topdir}/mpc"; \
12266 libsrcdir="$$s/mpc"; \
12267 $(SHELL) $${libsrcdir}/configure \
12268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12269 --target=${target_alias} $${srcdiroption} \
12270 --with-build-libsubdir=$(HOST_SUBDIR) \
12271 $(STAGE3_CONFIGURE_FLAGS) \
12272 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12273 @endif mpc-bootstrap
12275 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12276 maybe-configure-stage4-mpc:
12277 @if mpc-bootstrap
12278 maybe-configure-stage4-mpc: configure-stage4-mpc
12279 configure-stage4-mpc:
12280 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12282 @r=`${PWD_COMMAND}`; export r; \
12283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12284 TFLAGS="$(STAGE4_TFLAGS)"; \
12285 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12286 $(HOST_EXPORTS) \
12287 $(POSTSTAGE1_HOST_EXPORTS) \
12288 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12289 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12290 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12291 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12293 cd $(HOST_SUBDIR)/mpc || exit 1; \
12294 case $(srcdir) in \
12295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12296 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12298 esac; \
12299 srcdiroption="--srcdir=$${topdir}/mpc"; \
12300 libsrcdir="$$s/mpc"; \
12301 $(SHELL) $${libsrcdir}/configure \
12302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12303 --target=${target_alias} $${srcdiroption} \
12304 --with-build-libsubdir=$(HOST_SUBDIR) \
12305 $(STAGE4_CONFIGURE_FLAGS) \
12306 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12307 @endif mpc-bootstrap
12309 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12310 maybe-configure-stageprofile-mpc:
12311 @if mpc-bootstrap
12312 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12313 configure-stageprofile-mpc:
12314 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12316 @r=`${PWD_COMMAND}`; export r; \
12317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12318 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12319 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12320 $(HOST_EXPORTS) \
12321 $(POSTSTAGE1_HOST_EXPORTS) \
12322 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12323 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12324 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12325 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12327 cd $(HOST_SUBDIR)/mpc || exit 1; \
12328 case $(srcdir) in \
12329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12330 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12332 esac; \
12333 srcdiroption="--srcdir=$${topdir}/mpc"; \
12334 libsrcdir="$$s/mpc"; \
12335 $(SHELL) $${libsrcdir}/configure \
12336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12337 --target=${target_alias} $${srcdiroption} \
12338 --with-build-libsubdir=$(HOST_SUBDIR) \
12339 $(STAGEprofile_CONFIGURE_FLAGS) \
12340 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12341 @endif mpc-bootstrap
12343 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12344 maybe-configure-stagefeedback-mpc:
12345 @if mpc-bootstrap
12346 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12347 configure-stagefeedback-mpc:
12348 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12350 @r=`${PWD_COMMAND}`; export r; \
12351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12352 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12353 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12354 $(HOST_EXPORTS) \
12355 $(POSTSTAGE1_HOST_EXPORTS) \
12356 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12357 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12358 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12359 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12361 cd $(HOST_SUBDIR)/mpc || exit 1; \
12362 case $(srcdir) in \
12363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12364 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12366 esac; \
12367 srcdiroption="--srcdir=$${topdir}/mpc"; \
12368 libsrcdir="$$s/mpc"; \
12369 $(SHELL) $${libsrcdir}/configure \
12370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12371 --target=${target_alias} $${srcdiroption} \
12372 --with-build-libsubdir=$(HOST_SUBDIR) \
12373 $(STAGEfeedback_CONFIGURE_FLAGS) \
12374 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12375 @endif mpc-bootstrap
12381 .PHONY: all-mpc maybe-all-mpc
12382 maybe-all-mpc:
12383 @if gcc-bootstrap
12384 all-mpc: stage_current
12385 @endif gcc-bootstrap
12386 @if mpc
12387 TARGET-mpc=all
12388 maybe-all-mpc: all-mpc
12389 all-mpc: configure-mpc
12390 @r=`${PWD_COMMAND}`; export r; \
12391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12392 $(HOST_EXPORTS) \
12393 (cd $(HOST_SUBDIR)/mpc && \
12394 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12395 $(TARGET-mpc))
12396 @endif mpc
12400 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12401 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12402 maybe-all-stage1-mpc:
12403 maybe-clean-stage1-mpc:
12404 @if mpc-bootstrap
12405 maybe-all-stage1-mpc: all-stage1-mpc
12406 all-stage1: all-stage1-mpc
12407 TARGET-stage1-mpc = $(TARGET-mpc)
12408 all-stage1-mpc: configure-stage1-mpc
12409 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12410 @r=`${PWD_COMMAND}`; export r; \
12411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12412 TFLAGS="$(STAGE1_TFLAGS)"; \
12413 $(HOST_EXPORTS) \
12414 cd $(HOST_SUBDIR)/mpc && \
12415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12416 CFLAGS="$(STAGE1_CFLAGS)" \
12417 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12418 LIBCFLAGS="$(LIBCFLAGS)" \
12419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12422 $(EXTRA_HOST_FLAGS) \
12423 TFLAGS="$(STAGE1_TFLAGS)" \
12424 $(TARGET-stage1-mpc)
12426 maybe-clean-stage1-mpc: clean-stage1-mpc
12427 clean-stage1: clean-stage1-mpc
12428 clean-stage1-mpc:
12429 @if [ $(current_stage) = stage1 ]; then \
12430 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12431 else \
12432 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12433 $(MAKE) stage1-start; \
12434 fi; \
12435 cd $(HOST_SUBDIR)/mpc && \
12436 $(MAKE) $(EXTRA_HOST_FLAGS) \
12437 clean
12438 @endif mpc-bootstrap
12441 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12442 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12443 maybe-all-stage2-mpc:
12444 maybe-clean-stage2-mpc:
12445 @if mpc-bootstrap
12446 maybe-all-stage2-mpc: all-stage2-mpc
12447 all-stage2: all-stage2-mpc
12448 TARGET-stage2-mpc = $(TARGET-mpc)
12449 all-stage2-mpc: configure-stage2-mpc
12450 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12451 @r=`${PWD_COMMAND}`; export r; \
12452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12453 TFLAGS="$(STAGE2_TFLAGS)"; \
12454 $(HOST_EXPORTS) \
12455 $(POSTSTAGE1_HOST_EXPORTS) \
12456 cd $(HOST_SUBDIR)/mpc && \
12457 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12458 CFLAGS="$(STAGE2_CFLAGS)" \
12459 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12460 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12464 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12465 TFLAGS="$(STAGE2_TFLAGS)" \
12466 $(TARGET-stage2-mpc)
12468 maybe-clean-stage2-mpc: clean-stage2-mpc
12469 clean-stage2: clean-stage2-mpc
12470 clean-stage2-mpc:
12471 @if [ $(current_stage) = stage2 ]; then \
12472 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12473 else \
12474 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12475 $(MAKE) stage2-start; \
12476 fi; \
12477 cd $(HOST_SUBDIR)/mpc && \
12478 $(MAKE) $(EXTRA_HOST_FLAGS) \
12479 $(POSTSTAGE1_FLAGS_TO_PASS) \
12480 clean
12481 @endif mpc-bootstrap
12484 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12485 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12486 maybe-all-stage3-mpc:
12487 maybe-clean-stage3-mpc:
12488 @if mpc-bootstrap
12489 maybe-all-stage3-mpc: all-stage3-mpc
12490 all-stage3: all-stage3-mpc
12491 TARGET-stage3-mpc = $(TARGET-mpc)
12492 all-stage3-mpc: configure-stage3-mpc
12493 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12494 @r=`${PWD_COMMAND}`; export r; \
12495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12496 TFLAGS="$(STAGE3_TFLAGS)"; \
12497 $(HOST_EXPORTS) \
12498 $(POSTSTAGE1_HOST_EXPORTS) \
12499 cd $(HOST_SUBDIR)/mpc && \
12500 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12501 CFLAGS="$(STAGE3_CFLAGS)" \
12502 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12503 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12504 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12505 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12506 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12507 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12508 TFLAGS="$(STAGE3_TFLAGS)" \
12509 $(TARGET-stage3-mpc)
12511 maybe-clean-stage3-mpc: clean-stage3-mpc
12512 clean-stage3: clean-stage3-mpc
12513 clean-stage3-mpc:
12514 @if [ $(current_stage) = stage3 ]; then \
12515 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12516 else \
12517 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12518 $(MAKE) stage3-start; \
12519 fi; \
12520 cd $(HOST_SUBDIR)/mpc && \
12521 $(MAKE) $(EXTRA_HOST_FLAGS) \
12522 $(POSTSTAGE1_FLAGS_TO_PASS) \
12523 clean
12524 @endif mpc-bootstrap
12527 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12528 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12529 maybe-all-stage4-mpc:
12530 maybe-clean-stage4-mpc:
12531 @if mpc-bootstrap
12532 maybe-all-stage4-mpc: all-stage4-mpc
12533 all-stage4: all-stage4-mpc
12534 TARGET-stage4-mpc = $(TARGET-mpc)
12535 all-stage4-mpc: configure-stage4-mpc
12536 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12537 @r=`${PWD_COMMAND}`; export r; \
12538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12539 TFLAGS="$(STAGE4_TFLAGS)"; \
12540 $(HOST_EXPORTS) \
12541 $(POSTSTAGE1_HOST_EXPORTS) \
12542 cd $(HOST_SUBDIR)/mpc && \
12543 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12544 CFLAGS="$(STAGE4_CFLAGS)" \
12545 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12546 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12547 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12548 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12549 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12550 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12551 TFLAGS="$(STAGE4_TFLAGS)" \
12552 $(TARGET-stage4-mpc)
12554 maybe-clean-stage4-mpc: clean-stage4-mpc
12555 clean-stage4: clean-stage4-mpc
12556 clean-stage4-mpc:
12557 @if [ $(current_stage) = stage4 ]; then \
12558 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12559 else \
12560 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12561 $(MAKE) stage4-start; \
12562 fi; \
12563 cd $(HOST_SUBDIR)/mpc && \
12564 $(MAKE) $(EXTRA_HOST_FLAGS) \
12565 $(POSTSTAGE1_FLAGS_TO_PASS) \
12566 clean
12567 @endif mpc-bootstrap
12570 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12571 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12572 maybe-all-stageprofile-mpc:
12573 maybe-clean-stageprofile-mpc:
12574 @if mpc-bootstrap
12575 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12576 all-stageprofile: all-stageprofile-mpc
12577 TARGET-stageprofile-mpc = $(TARGET-mpc)
12578 all-stageprofile-mpc: configure-stageprofile-mpc
12579 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12580 @r=`${PWD_COMMAND}`; export r; \
12581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12582 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12583 $(HOST_EXPORTS) \
12584 $(POSTSTAGE1_HOST_EXPORTS) \
12585 cd $(HOST_SUBDIR)/mpc && \
12586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12587 CFLAGS="$(STAGEprofile_CFLAGS)" \
12588 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12589 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12593 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12594 TFLAGS="$(STAGEprofile_TFLAGS)" \
12595 $(TARGET-stageprofile-mpc)
12597 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12598 clean-stageprofile: clean-stageprofile-mpc
12599 clean-stageprofile-mpc:
12600 @if [ $(current_stage) = stageprofile ]; then \
12601 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12602 else \
12603 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12604 $(MAKE) stageprofile-start; \
12605 fi; \
12606 cd $(HOST_SUBDIR)/mpc && \
12607 $(MAKE) $(EXTRA_HOST_FLAGS) \
12608 $(POSTSTAGE1_FLAGS_TO_PASS) \
12609 clean
12610 @endif mpc-bootstrap
12613 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12614 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12615 maybe-all-stagefeedback-mpc:
12616 maybe-clean-stagefeedback-mpc:
12617 @if mpc-bootstrap
12618 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12619 all-stagefeedback: all-stagefeedback-mpc
12620 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12621 all-stagefeedback-mpc: configure-stagefeedback-mpc
12622 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12623 @r=`${PWD_COMMAND}`; export r; \
12624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12625 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12626 $(HOST_EXPORTS) \
12627 $(POSTSTAGE1_HOST_EXPORTS) \
12628 cd $(HOST_SUBDIR)/mpc && \
12629 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12630 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12631 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12632 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12633 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12634 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12635 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12636 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12637 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12638 $(TARGET-stagefeedback-mpc)
12640 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12641 clean-stagefeedback: clean-stagefeedback-mpc
12642 clean-stagefeedback-mpc:
12643 @if [ $(current_stage) = stagefeedback ]; then \
12644 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12645 else \
12646 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12647 $(MAKE) stagefeedback-start; \
12648 fi; \
12649 cd $(HOST_SUBDIR)/mpc && \
12650 $(MAKE) $(EXTRA_HOST_FLAGS) \
12651 $(POSTSTAGE1_FLAGS_TO_PASS) \
12652 clean
12653 @endif mpc-bootstrap
12659 .PHONY: check-mpc maybe-check-mpc
12660 maybe-check-mpc:
12661 @if mpc
12662 maybe-check-mpc: check-mpc
12664 check-mpc:
12665 @: $(MAKE); $(unstage)
12666 @r=`${PWD_COMMAND}`; export r; \
12667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12668 $(HOST_EXPORTS) \
12669 (cd $(HOST_SUBDIR)/mpc && \
12670 $(MAKE) $(FLAGS_TO_PASS) check)
12672 @endif mpc
12674 .PHONY: install-mpc maybe-install-mpc
12675 maybe-install-mpc:
12676 @if mpc
12677 maybe-install-mpc: install-mpc
12679 install-mpc:
12681 @endif mpc
12683 .PHONY: install-strip-mpc maybe-install-strip-mpc
12684 maybe-install-strip-mpc:
12685 @if mpc
12686 maybe-install-strip-mpc: install-strip-mpc
12688 install-strip-mpc:
12690 @endif mpc
12692 # Other targets (info, dvi, pdf, etc.)
12694 .PHONY: maybe-info-mpc info-mpc
12695 maybe-info-mpc:
12696 @if mpc
12697 maybe-info-mpc: info-mpc
12699 info-mpc: \
12700 configure-mpc
12701 @[ -f ./mpc/Makefile ] || exit 0; \
12702 r=`${PWD_COMMAND}`; export r; \
12703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12704 $(HOST_EXPORTS) \
12705 for flag in $(EXTRA_HOST_FLAGS) ; do \
12706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12707 done; \
12708 echo "Doing info in mpc" ; \
12709 (cd $(HOST_SUBDIR)/mpc && \
12710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12712 "RANLIB=$${RANLIB}" \
12713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12714 info) \
12715 || exit 1
12717 @endif mpc
12719 .PHONY: maybe-dvi-mpc dvi-mpc
12720 maybe-dvi-mpc:
12721 @if mpc
12722 maybe-dvi-mpc: dvi-mpc
12724 dvi-mpc: \
12725 configure-mpc
12726 @[ -f ./mpc/Makefile ] || exit 0; \
12727 r=`${PWD_COMMAND}`; export r; \
12728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12729 $(HOST_EXPORTS) \
12730 for flag in $(EXTRA_HOST_FLAGS) ; do \
12731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12732 done; \
12733 echo "Doing dvi in mpc" ; \
12734 (cd $(HOST_SUBDIR)/mpc && \
12735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12737 "RANLIB=$${RANLIB}" \
12738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12739 dvi) \
12740 || exit 1
12742 @endif mpc
12744 .PHONY: maybe-pdf-mpc pdf-mpc
12745 maybe-pdf-mpc:
12746 @if mpc
12747 maybe-pdf-mpc: pdf-mpc
12749 pdf-mpc: \
12750 configure-mpc
12751 @[ -f ./mpc/Makefile ] || exit 0; \
12752 r=`${PWD_COMMAND}`; export r; \
12753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12754 $(HOST_EXPORTS) \
12755 for flag in $(EXTRA_HOST_FLAGS) ; do \
12756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12757 done; \
12758 echo "Doing pdf in mpc" ; \
12759 (cd $(HOST_SUBDIR)/mpc && \
12760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12762 "RANLIB=$${RANLIB}" \
12763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12764 pdf) \
12765 || exit 1
12767 @endif mpc
12769 .PHONY: maybe-html-mpc html-mpc
12770 maybe-html-mpc:
12771 @if mpc
12772 maybe-html-mpc: html-mpc
12774 html-mpc: \
12775 configure-mpc
12776 @[ -f ./mpc/Makefile ] || exit 0; \
12777 r=`${PWD_COMMAND}`; export r; \
12778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12779 $(HOST_EXPORTS) \
12780 for flag in $(EXTRA_HOST_FLAGS) ; do \
12781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12782 done; \
12783 echo "Doing html in mpc" ; \
12784 (cd $(HOST_SUBDIR)/mpc && \
12785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12787 "RANLIB=$${RANLIB}" \
12788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12789 html) \
12790 || exit 1
12792 @endif mpc
12794 .PHONY: maybe-TAGS-mpc TAGS-mpc
12795 maybe-TAGS-mpc:
12796 @if mpc
12797 maybe-TAGS-mpc: TAGS-mpc
12799 TAGS-mpc: \
12800 configure-mpc
12801 @[ -f ./mpc/Makefile ] || exit 0; \
12802 r=`${PWD_COMMAND}`; export r; \
12803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12804 $(HOST_EXPORTS) \
12805 for flag in $(EXTRA_HOST_FLAGS) ; do \
12806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12807 done; \
12808 echo "Doing TAGS in mpc" ; \
12809 (cd $(HOST_SUBDIR)/mpc && \
12810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12812 "RANLIB=$${RANLIB}" \
12813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12814 TAGS) \
12815 || exit 1
12817 @endif mpc
12819 .PHONY: maybe-install-info-mpc install-info-mpc
12820 maybe-install-info-mpc:
12821 @if mpc
12822 maybe-install-info-mpc: install-info-mpc
12824 install-info-mpc: \
12825 configure-mpc \
12826 info-mpc
12827 @[ -f ./mpc/Makefile ] || exit 0; \
12828 r=`${PWD_COMMAND}`; export r; \
12829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12830 $(HOST_EXPORTS) \
12831 for flag in $(EXTRA_HOST_FLAGS) ; do \
12832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12833 done; \
12834 echo "Doing install-info in mpc" ; \
12835 (cd $(HOST_SUBDIR)/mpc && \
12836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12838 "RANLIB=$${RANLIB}" \
12839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12840 install-info) \
12841 || exit 1
12843 @endif mpc
12845 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12846 maybe-install-pdf-mpc:
12847 @if mpc
12848 maybe-install-pdf-mpc: install-pdf-mpc
12850 install-pdf-mpc: \
12851 configure-mpc \
12852 pdf-mpc
12853 @[ -f ./mpc/Makefile ] || exit 0; \
12854 r=`${PWD_COMMAND}`; export r; \
12855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12856 $(HOST_EXPORTS) \
12857 for flag in $(EXTRA_HOST_FLAGS) ; do \
12858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12859 done; \
12860 echo "Doing install-pdf in mpc" ; \
12861 (cd $(HOST_SUBDIR)/mpc && \
12862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12864 "RANLIB=$${RANLIB}" \
12865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12866 install-pdf) \
12867 || exit 1
12869 @endif mpc
12871 .PHONY: maybe-install-html-mpc install-html-mpc
12872 maybe-install-html-mpc:
12873 @if mpc
12874 maybe-install-html-mpc: install-html-mpc
12876 install-html-mpc: \
12877 configure-mpc \
12878 html-mpc
12879 @[ -f ./mpc/Makefile ] || exit 0; \
12880 r=`${PWD_COMMAND}`; export r; \
12881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12882 $(HOST_EXPORTS) \
12883 for flag in $(EXTRA_HOST_FLAGS) ; do \
12884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12885 done; \
12886 echo "Doing install-html in mpc" ; \
12887 (cd $(HOST_SUBDIR)/mpc && \
12888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12890 "RANLIB=$${RANLIB}" \
12891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12892 install-html) \
12893 || exit 1
12895 @endif mpc
12897 .PHONY: maybe-installcheck-mpc installcheck-mpc
12898 maybe-installcheck-mpc:
12899 @if mpc
12900 maybe-installcheck-mpc: installcheck-mpc
12902 installcheck-mpc: \
12903 configure-mpc
12904 @[ -f ./mpc/Makefile ] || exit 0; \
12905 r=`${PWD_COMMAND}`; export r; \
12906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12907 $(HOST_EXPORTS) \
12908 for flag in $(EXTRA_HOST_FLAGS) ; do \
12909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12910 done; \
12911 echo "Doing installcheck in mpc" ; \
12912 (cd $(HOST_SUBDIR)/mpc && \
12913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12915 "RANLIB=$${RANLIB}" \
12916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12917 installcheck) \
12918 || exit 1
12920 @endif mpc
12922 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12923 maybe-mostlyclean-mpc:
12924 @if mpc
12925 maybe-mostlyclean-mpc: mostlyclean-mpc
12927 mostlyclean-mpc:
12928 @[ -f ./mpc/Makefile ] || exit 0; \
12929 r=`${PWD_COMMAND}`; export r; \
12930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12931 $(HOST_EXPORTS) \
12932 for flag in $(EXTRA_HOST_FLAGS) ; do \
12933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12934 done; \
12935 echo "Doing mostlyclean in mpc" ; \
12936 (cd $(HOST_SUBDIR)/mpc && \
12937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12939 "RANLIB=$${RANLIB}" \
12940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12941 mostlyclean) \
12942 || exit 1
12944 @endif mpc
12946 .PHONY: maybe-clean-mpc clean-mpc
12947 maybe-clean-mpc:
12948 @if mpc
12949 maybe-clean-mpc: clean-mpc
12951 clean-mpc:
12952 @[ -f ./mpc/Makefile ] || exit 0; \
12953 r=`${PWD_COMMAND}`; export r; \
12954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12955 $(HOST_EXPORTS) \
12956 for flag in $(EXTRA_HOST_FLAGS) ; do \
12957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12958 done; \
12959 echo "Doing clean in mpc" ; \
12960 (cd $(HOST_SUBDIR)/mpc && \
12961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12963 "RANLIB=$${RANLIB}" \
12964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12965 clean) \
12966 || exit 1
12968 @endif mpc
12970 .PHONY: maybe-distclean-mpc distclean-mpc
12971 maybe-distclean-mpc:
12972 @if mpc
12973 maybe-distclean-mpc: distclean-mpc
12975 distclean-mpc:
12976 @[ -f ./mpc/Makefile ] || exit 0; \
12977 r=`${PWD_COMMAND}`; export r; \
12978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12979 $(HOST_EXPORTS) \
12980 for flag in $(EXTRA_HOST_FLAGS) ; do \
12981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12982 done; \
12983 echo "Doing distclean in mpc" ; \
12984 (cd $(HOST_SUBDIR)/mpc && \
12985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12987 "RANLIB=$${RANLIB}" \
12988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12989 distclean) \
12990 || exit 1
12992 @endif mpc
12994 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12995 maybe-maintainer-clean-mpc:
12996 @if mpc
12997 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12999 maintainer-clean-mpc:
13000 @[ -f ./mpc/Makefile ] || exit 0; \
13001 r=`${PWD_COMMAND}`; export r; \
13002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13003 $(HOST_EXPORTS) \
13004 for flag in $(EXTRA_HOST_FLAGS) ; do \
13005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13006 done; \
13007 echo "Doing maintainer-clean in mpc" ; \
13008 (cd $(HOST_SUBDIR)/mpc && \
13009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13011 "RANLIB=$${RANLIB}" \
13012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13013 maintainer-clean) \
13014 || exit 1
13016 @endif mpc
13020 .PHONY: configure-isl maybe-configure-isl
13021 maybe-configure-isl:
13022 @if gcc-bootstrap
13023 configure-isl: stage_current
13024 @endif gcc-bootstrap
13025 @if isl
13026 maybe-configure-isl: configure-isl
13027 configure-isl:
13028 @r=`${PWD_COMMAND}`; export r; \
13029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13030 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13032 $(HOST_EXPORTS) \
13033 echo Configuring in $(HOST_SUBDIR)/isl; \
13034 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13035 case $(srcdir) in \
13036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13037 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13039 esac; \
13040 srcdiroption="--srcdir=$${topdir}/isl"; \
13041 libsrcdir="$$s/isl"; \
13042 $(SHELL) $${libsrcdir}/configure \
13043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13044 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp \
13045 || exit 1
13046 @endif isl
13050 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13051 maybe-configure-stage1-isl:
13052 @if isl-bootstrap
13053 maybe-configure-stage1-isl: configure-stage1-isl
13054 configure-stage1-isl:
13055 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13057 @r=`${PWD_COMMAND}`; export r; \
13058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13059 TFLAGS="$(STAGE1_TFLAGS)"; \
13060 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13061 $(HOST_EXPORTS) \
13062 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13063 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13064 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13065 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13067 cd $(HOST_SUBDIR)/isl || exit 1; \
13068 case $(srcdir) in \
13069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13070 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13072 esac; \
13073 srcdiroption="--srcdir=$${topdir}/isl"; \
13074 libsrcdir="$$s/isl"; \
13075 $(SHELL) $${libsrcdir}/configure \
13076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13077 --target=${target_alias} $${srcdiroption} \
13078 $(STAGE1_CONFIGURE_FLAGS) \
13079 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp
13080 @endif isl-bootstrap
13082 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13083 maybe-configure-stage2-isl:
13084 @if isl-bootstrap
13085 maybe-configure-stage2-isl: configure-stage2-isl
13086 configure-stage2-isl:
13087 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13089 @r=`${PWD_COMMAND}`; export r; \
13090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13091 TFLAGS="$(STAGE2_TFLAGS)"; \
13092 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13093 $(HOST_EXPORTS) \
13094 $(POSTSTAGE1_HOST_EXPORTS) \
13095 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13096 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13097 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13098 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13100 cd $(HOST_SUBDIR)/isl || exit 1; \
13101 case $(srcdir) in \
13102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13103 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13105 esac; \
13106 srcdiroption="--srcdir=$${topdir}/isl"; \
13107 libsrcdir="$$s/isl"; \
13108 $(SHELL) $${libsrcdir}/configure \
13109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13110 --target=${target_alias} $${srcdiroption} \
13111 --with-build-libsubdir=$(HOST_SUBDIR) \
13112 $(STAGE2_CONFIGURE_FLAGS) \
13113 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp
13114 @endif isl-bootstrap
13116 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13117 maybe-configure-stage3-isl:
13118 @if isl-bootstrap
13119 maybe-configure-stage3-isl: configure-stage3-isl
13120 configure-stage3-isl:
13121 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13123 @r=`${PWD_COMMAND}`; export r; \
13124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13125 TFLAGS="$(STAGE3_TFLAGS)"; \
13126 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13127 $(HOST_EXPORTS) \
13128 $(POSTSTAGE1_HOST_EXPORTS) \
13129 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13130 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13131 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13132 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13134 cd $(HOST_SUBDIR)/isl || exit 1; \
13135 case $(srcdir) in \
13136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13137 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13139 esac; \
13140 srcdiroption="--srcdir=$${topdir}/isl"; \
13141 libsrcdir="$$s/isl"; \
13142 $(SHELL) $${libsrcdir}/configure \
13143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13144 --target=${target_alias} $${srcdiroption} \
13145 --with-build-libsubdir=$(HOST_SUBDIR) \
13146 $(STAGE3_CONFIGURE_FLAGS) \
13147 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp
13148 @endif isl-bootstrap
13150 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13151 maybe-configure-stage4-isl:
13152 @if isl-bootstrap
13153 maybe-configure-stage4-isl: configure-stage4-isl
13154 configure-stage4-isl:
13155 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13156 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13157 @r=`${PWD_COMMAND}`; export r; \
13158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13159 TFLAGS="$(STAGE4_TFLAGS)"; \
13160 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13161 $(HOST_EXPORTS) \
13162 $(POSTSTAGE1_HOST_EXPORTS) \
13163 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13164 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13165 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13166 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13168 cd $(HOST_SUBDIR)/isl || exit 1; \
13169 case $(srcdir) in \
13170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13171 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13173 esac; \
13174 srcdiroption="--srcdir=$${topdir}/isl"; \
13175 libsrcdir="$$s/isl"; \
13176 $(SHELL) $${libsrcdir}/configure \
13177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13178 --target=${target_alias} $${srcdiroption} \
13179 --with-build-libsubdir=$(HOST_SUBDIR) \
13180 $(STAGE4_CONFIGURE_FLAGS) \
13181 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp
13182 @endif isl-bootstrap
13184 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13185 maybe-configure-stageprofile-isl:
13186 @if isl-bootstrap
13187 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13188 configure-stageprofile-isl:
13189 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13190 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13191 @r=`${PWD_COMMAND}`; export r; \
13192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13193 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13194 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13195 $(HOST_EXPORTS) \
13196 $(POSTSTAGE1_HOST_EXPORTS) \
13197 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13198 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13199 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13200 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13202 cd $(HOST_SUBDIR)/isl || exit 1; \
13203 case $(srcdir) in \
13204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13205 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13207 esac; \
13208 srcdiroption="--srcdir=$${topdir}/isl"; \
13209 libsrcdir="$$s/isl"; \
13210 $(SHELL) $${libsrcdir}/configure \
13211 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13212 --target=${target_alias} $${srcdiroption} \
13213 --with-build-libsubdir=$(HOST_SUBDIR) \
13214 $(STAGEprofile_CONFIGURE_FLAGS) \
13215 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp
13216 @endif isl-bootstrap
13218 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13219 maybe-configure-stagefeedback-isl:
13220 @if isl-bootstrap
13221 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13222 configure-stagefeedback-isl:
13223 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13224 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13225 @r=`${PWD_COMMAND}`; export r; \
13226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13227 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13228 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13229 $(HOST_EXPORTS) \
13230 $(POSTSTAGE1_HOST_EXPORTS) \
13231 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13232 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13233 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13234 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13236 cd $(HOST_SUBDIR)/isl || exit 1; \
13237 case $(srcdir) in \
13238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13239 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13241 esac; \
13242 srcdiroption="--srcdir=$${topdir}/isl"; \
13243 libsrcdir="$$s/isl"; \
13244 $(SHELL) $${libsrcdir}/configure \
13245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13246 --target=${target_alias} $${srcdiroption} \
13247 --with-build-libsubdir=$(HOST_SUBDIR) \
13248 $(STAGEfeedback_CONFIGURE_FLAGS) \
13249 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp
13250 @endif isl-bootstrap
13256 .PHONY: all-isl maybe-all-isl
13257 maybe-all-isl:
13258 @if gcc-bootstrap
13259 all-isl: stage_current
13260 @endif gcc-bootstrap
13261 @if isl
13262 TARGET-isl=all
13263 maybe-all-isl: all-isl
13264 all-isl: configure-isl
13265 @r=`${PWD_COMMAND}`; export r; \
13266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13267 $(HOST_EXPORTS) \
13268 (cd $(HOST_SUBDIR)/isl && \
13269 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13270 $(TARGET-isl))
13271 @endif isl
13275 .PHONY: all-stage1-isl maybe-all-stage1-isl
13276 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13277 maybe-all-stage1-isl:
13278 maybe-clean-stage1-isl:
13279 @if isl-bootstrap
13280 maybe-all-stage1-isl: all-stage1-isl
13281 all-stage1: all-stage1-isl
13282 TARGET-stage1-isl = $(TARGET-isl)
13283 all-stage1-isl: configure-stage1-isl
13284 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13285 @r=`${PWD_COMMAND}`; export r; \
13286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13287 TFLAGS="$(STAGE1_TFLAGS)"; \
13288 $(HOST_EXPORTS) \
13289 cd $(HOST_SUBDIR)/isl && \
13290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13291 CFLAGS="$(STAGE1_CFLAGS)" \
13292 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13293 LIBCFLAGS="$(LIBCFLAGS)" \
13294 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13295 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13296 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13297 $(EXTRA_HOST_FLAGS) \
13298 TFLAGS="$(STAGE1_TFLAGS)" \
13299 $(TARGET-stage1-isl)
13301 maybe-clean-stage1-isl: clean-stage1-isl
13302 clean-stage1: clean-stage1-isl
13303 clean-stage1-isl:
13304 @if [ $(current_stage) = stage1 ]; then \
13305 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13306 else \
13307 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13308 $(MAKE) stage1-start; \
13309 fi; \
13310 cd $(HOST_SUBDIR)/isl && \
13311 $(MAKE) $(EXTRA_HOST_FLAGS) \
13312 clean
13313 @endif isl-bootstrap
13316 .PHONY: all-stage2-isl maybe-all-stage2-isl
13317 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13318 maybe-all-stage2-isl:
13319 maybe-clean-stage2-isl:
13320 @if isl-bootstrap
13321 maybe-all-stage2-isl: all-stage2-isl
13322 all-stage2: all-stage2-isl
13323 TARGET-stage2-isl = $(TARGET-isl)
13324 all-stage2-isl: configure-stage2-isl
13325 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13326 @r=`${PWD_COMMAND}`; export r; \
13327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13328 TFLAGS="$(STAGE2_TFLAGS)"; \
13329 $(HOST_EXPORTS) \
13330 $(POSTSTAGE1_HOST_EXPORTS) \
13331 cd $(HOST_SUBDIR)/isl && \
13332 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13333 CFLAGS="$(STAGE2_CFLAGS)" \
13334 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13335 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13340 TFLAGS="$(STAGE2_TFLAGS)" \
13341 $(TARGET-stage2-isl)
13343 maybe-clean-stage2-isl: clean-stage2-isl
13344 clean-stage2: clean-stage2-isl
13345 clean-stage2-isl:
13346 @if [ $(current_stage) = stage2 ]; then \
13347 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13348 else \
13349 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13350 $(MAKE) stage2-start; \
13351 fi; \
13352 cd $(HOST_SUBDIR)/isl && \
13353 $(MAKE) $(EXTRA_HOST_FLAGS) \
13354 $(POSTSTAGE1_FLAGS_TO_PASS) \
13355 clean
13356 @endif isl-bootstrap
13359 .PHONY: all-stage3-isl maybe-all-stage3-isl
13360 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13361 maybe-all-stage3-isl:
13362 maybe-clean-stage3-isl:
13363 @if isl-bootstrap
13364 maybe-all-stage3-isl: all-stage3-isl
13365 all-stage3: all-stage3-isl
13366 TARGET-stage3-isl = $(TARGET-isl)
13367 all-stage3-isl: configure-stage3-isl
13368 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13369 @r=`${PWD_COMMAND}`; export r; \
13370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13371 TFLAGS="$(STAGE3_TFLAGS)"; \
13372 $(HOST_EXPORTS) \
13373 $(POSTSTAGE1_HOST_EXPORTS) \
13374 cd $(HOST_SUBDIR)/isl && \
13375 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13376 CFLAGS="$(STAGE3_CFLAGS)" \
13377 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13378 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13379 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13380 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13381 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13382 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13383 TFLAGS="$(STAGE3_TFLAGS)" \
13384 $(TARGET-stage3-isl)
13386 maybe-clean-stage3-isl: clean-stage3-isl
13387 clean-stage3: clean-stage3-isl
13388 clean-stage3-isl:
13389 @if [ $(current_stage) = stage3 ]; then \
13390 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13391 else \
13392 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13393 $(MAKE) stage3-start; \
13394 fi; \
13395 cd $(HOST_SUBDIR)/isl && \
13396 $(MAKE) $(EXTRA_HOST_FLAGS) \
13397 $(POSTSTAGE1_FLAGS_TO_PASS) \
13398 clean
13399 @endif isl-bootstrap
13402 .PHONY: all-stage4-isl maybe-all-stage4-isl
13403 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13404 maybe-all-stage4-isl:
13405 maybe-clean-stage4-isl:
13406 @if isl-bootstrap
13407 maybe-all-stage4-isl: all-stage4-isl
13408 all-stage4: all-stage4-isl
13409 TARGET-stage4-isl = $(TARGET-isl)
13410 all-stage4-isl: configure-stage4-isl
13411 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13412 @r=`${PWD_COMMAND}`; export r; \
13413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13414 TFLAGS="$(STAGE4_TFLAGS)"; \
13415 $(HOST_EXPORTS) \
13416 $(POSTSTAGE1_HOST_EXPORTS) \
13417 cd $(HOST_SUBDIR)/isl && \
13418 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13419 CFLAGS="$(STAGE4_CFLAGS)" \
13420 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13421 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13422 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13423 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13424 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13425 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13426 TFLAGS="$(STAGE4_TFLAGS)" \
13427 $(TARGET-stage4-isl)
13429 maybe-clean-stage4-isl: clean-stage4-isl
13430 clean-stage4: clean-stage4-isl
13431 clean-stage4-isl:
13432 @if [ $(current_stage) = stage4 ]; then \
13433 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13434 else \
13435 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13436 $(MAKE) stage4-start; \
13437 fi; \
13438 cd $(HOST_SUBDIR)/isl && \
13439 $(MAKE) $(EXTRA_HOST_FLAGS) \
13440 $(POSTSTAGE1_FLAGS_TO_PASS) \
13441 clean
13442 @endif isl-bootstrap
13445 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13446 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13447 maybe-all-stageprofile-isl:
13448 maybe-clean-stageprofile-isl:
13449 @if isl-bootstrap
13450 maybe-all-stageprofile-isl: all-stageprofile-isl
13451 all-stageprofile: all-stageprofile-isl
13452 TARGET-stageprofile-isl = $(TARGET-isl)
13453 all-stageprofile-isl: configure-stageprofile-isl
13454 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13455 @r=`${PWD_COMMAND}`; export r; \
13456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13457 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13458 $(HOST_EXPORTS) \
13459 $(POSTSTAGE1_HOST_EXPORTS) \
13460 cd $(HOST_SUBDIR)/isl && \
13461 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13462 CFLAGS="$(STAGEprofile_CFLAGS)" \
13463 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13464 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13465 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13466 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13467 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13468 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13469 TFLAGS="$(STAGEprofile_TFLAGS)" \
13470 $(TARGET-stageprofile-isl)
13472 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13473 clean-stageprofile: clean-stageprofile-isl
13474 clean-stageprofile-isl:
13475 @if [ $(current_stage) = stageprofile ]; then \
13476 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13477 else \
13478 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13479 $(MAKE) stageprofile-start; \
13480 fi; \
13481 cd $(HOST_SUBDIR)/isl && \
13482 $(MAKE) $(EXTRA_HOST_FLAGS) \
13483 $(POSTSTAGE1_FLAGS_TO_PASS) \
13484 clean
13485 @endif isl-bootstrap
13488 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13489 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13490 maybe-all-stagefeedback-isl:
13491 maybe-clean-stagefeedback-isl:
13492 @if isl-bootstrap
13493 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13494 all-stagefeedback: all-stagefeedback-isl
13495 TARGET-stagefeedback-isl = $(TARGET-isl)
13496 all-stagefeedback-isl: configure-stagefeedback-isl
13497 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13498 @r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13501 $(HOST_EXPORTS) \
13502 $(POSTSTAGE1_HOST_EXPORTS) \
13503 cd $(HOST_SUBDIR)/isl && \
13504 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13505 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13506 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13507 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13512 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13513 $(TARGET-stagefeedback-isl)
13515 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13516 clean-stagefeedback: clean-stagefeedback-isl
13517 clean-stagefeedback-isl:
13518 @if [ $(current_stage) = stagefeedback ]; then \
13519 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13520 else \
13521 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13522 $(MAKE) stagefeedback-start; \
13523 fi; \
13524 cd $(HOST_SUBDIR)/isl && \
13525 $(MAKE) $(EXTRA_HOST_FLAGS) \
13526 $(POSTSTAGE1_FLAGS_TO_PASS) \
13527 clean
13528 @endif isl-bootstrap
13534 .PHONY: check-isl maybe-check-isl
13535 maybe-check-isl:
13536 @if isl
13537 maybe-check-isl: check-isl
13539 check-isl:
13540 @: $(MAKE); $(unstage)
13541 @r=`${PWD_COMMAND}`; export r; \
13542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13543 $(HOST_EXPORTS) \
13544 (cd $(HOST_SUBDIR)/isl && \
13545 $(MAKE) $(FLAGS_TO_PASS) check)
13547 @endif isl
13549 .PHONY: install-isl maybe-install-isl
13550 maybe-install-isl:
13551 @if isl
13552 maybe-install-isl: install-isl
13554 install-isl:
13556 @endif isl
13558 .PHONY: install-strip-isl maybe-install-strip-isl
13559 maybe-install-strip-isl:
13560 @if isl
13561 maybe-install-strip-isl: install-strip-isl
13563 install-strip-isl:
13565 @endif isl
13567 # Other targets (info, dvi, pdf, etc.)
13569 .PHONY: maybe-info-isl info-isl
13570 maybe-info-isl:
13571 @if isl
13572 maybe-info-isl: info-isl
13574 info-isl: \
13575 configure-isl
13576 @[ -f ./isl/Makefile ] || exit 0; \
13577 r=`${PWD_COMMAND}`; export r; \
13578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13579 $(HOST_EXPORTS) \
13580 for flag in $(EXTRA_HOST_FLAGS) ; do \
13581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13582 done; \
13583 echo "Doing info in isl" ; \
13584 (cd $(HOST_SUBDIR)/isl && \
13585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13587 "RANLIB=$${RANLIB}" \
13588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13589 info) \
13590 || exit 1
13592 @endif isl
13594 .PHONY: maybe-dvi-isl dvi-isl
13595 maybe-dvi-isl:
13596 @if isl
13597 maybe-dvi-isl: dvi-isl
13599 dvi-isl: \
13600 configure-isl
13601 @[ -f ./isl/Makefile ] || exit 0; \
13602 r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 $(HOST_EXPORTS) \
13605 for flag in $(EXTRA_HOST_FLAGS) ; do \
13606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13607 done; \
13608 echo "Doing dvi in isl" ; \
13609 (cd $(HOST_SUBDIR)/isl && \
13610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13612 "RANLIB=$${RANLIB}" \
13613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13614 dvi) \
13615 || exit 1
13617 @endif isl
13619 .PHONY: maybe-pdf-isl pdf-isl
13620 maybe-pdf-isl:
13621 @if isl
13622 maybe-pdf-isl: pdf-isl
13624 pdf-isl: \
13625 configure-isl
13626 @[ -f ./isl/Makefile ] || exit 0; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 $(HOST_EXPORTS) \
13630 for flag in $(EXTRA_HOST_FLAGS) ; do \
13631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13632 done; \
13633 echo "Doing pdf in isl" ; \
13634 (cd $(HOST_SUBDIR)/isl && \
13635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13637 "RANLIB=$${RANLIB}" \
13638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13639 pdf) \
13640 || exit 1
13642 @endif isl
13644 .PHONY: maybe-html-isl html-isl
13645 maybe-html-isl:
13646 @if isl
13647 maybe-html-isl: html-isl
13649 html-isl: \
13650 configure-isl
13651 @[ -f ./isl/Makefile ] || exit 0; \
13652 r=`${PWD_COMMAND}`; export r; \
13653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13654 $(HOST_EXPORTS) \
13655 for flag in $(EXTRA_HOST_FLAGS) ; do \
13656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13657 done; \
13658 echo "Doing html in isl" ; \
13659 (cd $(HOST_SUBDIR)/isl && \
13660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13662 "RANLIB=$${RANLIB}" \
13663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13664 html) \
13665 || exit 1
13667 @endif isl
13669 .PHONY: maybe-TAGS-isl TAGS-isl
13670 maybe-TAGS-isl:
13671 @if isl
13672 maybe-TAGS-isl: TAGS-isl
13674 TAGS-isl: \
13675 configure-isl
13676 @[ -f ./isl/Makefile ] || exit 0; \
13677 r=`${PWD_COMMAND}`; export r; \
13678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13679 $(HOST_EXPORTS) \
13680 for flag in $(EXTRA_HOST_FLAGS) ; do \
13681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13682 done; \
13683 echo "Doing TAGS in isl" ; \
13684 (cd $(HOST_SUBDIR)/isl && \
13685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13687 "RANLIB=$${RANLIB}" \
13688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13689 TAGS) \
13690 || exit 1
13692 @endif isl
13694 .PHONY: maybe-install-info-isl install-info-isl
13695 maybe-install-info-isl:
13696 @if isl
13697 maybe-install-info-isl: install-info-isl
13699 install-info-isl: \
13700 configure-isl \
13701 info-isl
13702 @[ -f ./isl/Makefile ] || exit 0; \
13703 r=`${PWD_COMMAND}`; export r; \
13704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13705 $(HOST_EXPORTS) \
13706 for flag in $(EXTRA_HOST_FLAGS) ; do \
13707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13708 done; \
13709 echo "Doing install-info in isl" ; \
13710 (cd $(HOST_SUBDIR)/isl && \
13711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13713 "RANLIB=$${RANLIB}" \
13714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13715 install-info) \
13716 || exit 1
13718 @endif isl
13720 .PHONY: maybe-install-pdf-isl install-pdf-isl
13721 maybe-install-pdf-isl:
13722 @if isl
13723 maybe-install-pdf-isl: install-pdf-isl
13725 install-pdf-isl: \
13726 configure-isl \
13727 pdf-isl
13728 @[ -f ./isl/Makefile ] || exit 0; \
13729 r=`${PWD_COMMAND}`; export r; \
13730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 $(HOST_EXPORTS) \
13732 for flag in $(EXTRA_HOST_FLAGS) ; do \
13733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13734 done; \
13735 echo "Doing install-pdf in isl" ; \
13736 (cd $(HOST_SUBDIR)/isl && \
13737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13739 "RANLIB=$${RANLIB}" \
13740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13741 install-pdf) \
13742 || exit 1
13744 @endif isl
13746 .PHONY: maybe-install-html-isl install-html-isl
13747 maybe-install-html-isl:
13748 @if isl
13749 maybe-install-html-isl: install-html-isl
13751 install-html-isl: \
13752 configure-isl \
13753 html-isl
13754 @[ -f ./isl/Makefile ] || exit 0; \
13755 r=`${PWD_COMMAND}`; export r; \
13756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13757 $(HOST_EXPORTS) \
13758 for flag in $(EXTRA_HOST_FLAGS) ; do \
13759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13760 done; \
13761 echo "Doing install-html in isl" ; \
13762 (cd $(HOST_SUBDIR)/isl && \
13763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13765 "RANLIB=$${RANLIB}" \
13766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13767 install-html) \
13768 || exit 1
13770 @endif isl
13772 .PHONY: maybe-installcheck-isl installcheck-isl
13773 maybe-installcheck-isl:
13774 @if isl
13775 maybe-installcheck-isl: installcheck-isl
13777 installcheck-isl: \
13778 configure-isl
13779 @[ -f ./isl/Makefile ] || exit 0; \
13780 r=`${PWD_COMMAND}`; export r; \
13781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13782 $(HOST_EXPORTS) \
13783 for flag in $(EXTRA_HOST_FLAGS) ; do \
13784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13785 done; \
13786 echo "Doing installcheck in isl" ; \
13787 (cd $(HOST_SUBDIR)/isl && \
13788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13790 "RANLIB=$${RANLIB}" \
13791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13792 installcheck) \
13793 || exit 1
13795 @endif isl
13797 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13798 maybe-mostlyclean-isl:
13799 @if isl
13800 maybe-mostlyclean-isl: mostlyclean-isl
13802 mostlyclean-isl:
13803 @[ -f ./isl/Makefile ] || exit 0; \
13804 r=`${PWD_COMMAND}`; export r; \
13805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13806 $(HOST_EXPORTS) \
13807 for flag in $(EXTRA_HOST_FLAGS) ; do \
13808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13809 done; \
13810 echo "Doing mostlyclean in isl" ; \
13811 (cd $(HOST_SUBDIR)/isl && \
13812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13814 "RANLIB=$${RANLIB}" \
13815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13816 mostlyclean) \
13817 || exit 1
13819 @endif isl
13821 .PHONY: maybe-clean-isl clean-isl
13822 maybe-clean-isl:
13823 @if isl
13824 maybe-clean-isl: clean-isl
13826 clean-isl:
13827 @[ -f ./isl/Makefile ] || exit 0; \
13828 r=`${PWD_COMMAND}`; export r; \
13829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13830 $(HOST_EXPORTS) \
13831 for flag in $(EXTRA_HOST_FLAGS) ; do \
13832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13833 done; \
13834 echo "Doing clean in isl" ; \
13835 (cd $(HOST_SUBDIR)/isl && \
13836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13838 "RANLIB=$${RANLIB}" \
13839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13840 clean) \
13841 || exit 1
13843 @endif isl
13845 .PHONY: maybe-distclean-isl distclean-isl
13846 maybe-distclean-isl:
13847 @if isl
13848 maybe-distclean-isl: distclean-isl
13850 distclean-isl:
13851 @[ -f ./isl/Makefile ] || exit 0; \
13852 r=`${PWD_COMMAND}`; export r; \
13853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13854 $(HOST_EXPORTS) \
13855 for flag in $(EXTRA_HOST_FLAGS) ; do \
13856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13857 done; \
13858 echo "Doing distclean in isl" ; \
13859 (cd $(HOST_SUBDIR)/isl && \
13860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13862 "RANLIB=$${RANLIB}" \
13863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13864 distclean) \
13865 || exit 1
13867 @endif isl
13869 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13870 maybe-maintainer-clean-isl:
13871 @if isl
13872 maybe-maintainer-clean-isl: maintainer-clean-isl
13874 maintainer-clean-isl:
13875 @[ -f ./isl/Makefile ] || exit 0; \
13876 r=`${PWD_COMMAND}`; export r; \
13877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13878 $(HOST_EXPORTS) \
13879 for flag in $(EXTRA_HOST_FLAGS) ; do \
13880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13881 done; \
13882 echo "Doing maintainer-clean in isl" ; \
13883 (cd $(HOST_SUBDIR)/isl && \
13884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13886 "RANLIB=$${RANLIB}" \
13887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13888 maintainer-clean) \
13889 || exit 1
13891 @endif isl
13895 .PHONY: configure-cloog maybe-configure-cloog
13896 maybe-configure-cloog:
13897 @if gcc-bootstrap
13898 configure-cloog: stage_current
13899 @endif gcc-bootstrap
13900 @if cloog
13901 maybe-configure-cloog: configure-cloog
13902 configure-cloog:
13903 @r=`${PWD_COMMAND}`; export r; \
13904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13905 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13907 $(HOST_EXPORTS) CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13908 echo Configuring in $(HOST_SUBDIR)/cloog; \
13909 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13910 case $(srcdir) in \
13911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13912 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13914 esac; \
13915 srcdiroption="--srcdir=$${topdir}/cloog"; \
13916 libsrcdir="$$s/cloog"; \
13917 $(SHELL) $${libsrcdir}/configure \
13918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13919 --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-isl=system \
13920 || exit 1
13921 @endif cloog
13925 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13926 maybe-configure-stage1-cloog:
13927 @if cloog-bootstrap
13928 maybe-configure-stage1-cloog: configure-stage1-cloog
13929 configure-stage1-cloog:
13930 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13932 @r=`${PWD_COMMAND}`; export r; \
13933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13934 TFLAGS="$(STAGE1_TFLAGS)"; \
13935 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13936 $(HOST_EXPORTS) \
13937 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13938 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13939 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13940 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13942 cd $(HOST_SUBDIR)/cloog || exit 1; \
13943 case $(srcdir) in \
13944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13945 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13947 esac; \
13948 srcdiroption="--srcdir=$${topdir}/cloog"; \
13949 libsrcdir="$$s/cloog"; \
13950 $(SHELL) $${libsrcdir}/configure \
13951 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13952 --target=${target_alias} $${srcdiroption} \
13953 $(STAGE1_CONFIGURE_FLAGS) \
13954 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-isl=system
13955 @endif cloog-bootstrap
13957 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13958 maybe-configure-stage2-cloog:
13959 @if cloog-bootstrap
13960 maybe-configure-stage2-cloog: configure-stage2-cloog
13961 configure-stage2-cloog:
13962 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13964 @r=`${PWD_COMMAND}`; export r; \
13965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13966 TFLAGS="$(STAGE2_TFLAGS)"; \
13967 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13968 $(HOST_EXPORTS) \
13969 $(POSTSTAGE1_HOST_EXPORTS) \
13970 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13971 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13972 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13973 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13975 cd $(HOST_SUBDIR)/cloog || exit 1; \
13976 case $(srcdir) in \
13977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13978 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13980 esac; \
13981 srcdiroption="--srcdir=$${topdir}/cloog"; \
13982 libsrcdir="$$s/cloog"; \
13983 $(SHELL) $${libsrcdir}/configure \
13984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13985 --target=${target_alias} $${srcdiroption} \
13986 --with-build-libsubdir=$(HOST_SUBDIR) \
13987 $(STAGE2_CONFIGURE_FLAGS) \
13988 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-isl=system
13989 @endif cloog-bootstrap
13991 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13992 maybe-configure-stage3-cloog:
13993 @if cloog-bootstrap
13994 maybe-configure-stage3-cloog: configure-stage3-cloog
13995 configure-stage3-cloog:
13996 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13998 @r=`${PWD_COMMAND}`; export r; \
13999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14000 TFLAGS="$(STAGE3_TFLAGS)"; \
14001 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14002 $(HOST_EXPORTS) \
14003 $(POSTSTAGE1_HOST_EXPORTS) \
14004 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14005 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14006 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14007 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
14008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14009 cd $(HOST_SUBDIR)/cloog || exit 1; \
14010 case $(srcdir) in \
14011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14012 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14014 esac; \
14015 srcdiroption="--srcdir=$${topdir}/cloog"; \
14016 libsrcdir="$$s/cloog"; \
14017 $(SHELL) $${libsrcdir}/configure \
14018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14019 --target=${target_alias} $${srcdiroption} \
14020 --with-build-libsubdir=$(HOST_SUBDIR) \
14021 $(STAGE3_CONFIGURE_FLAGS) \
14022 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-isl=system
14023 @endif cloog-bootstrap
14025 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14026 maybe-configure-stage4-cloog:
14027 @if cloog-bootstrap
14028 maybe-configure-stage4-cloog: configure-stage4-cloog
14029 configure-stage4-cloog:
14030 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14032 @r=`${PWD_COMMAND}`; export r; \
14033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14034 TFLAGS="$(STAGE4_TFLAGS)"; \
14035 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14036 $(HOST_EXPORTS) \
14037 $(POSTSTAGE1_HOST_EXPORTS) \
14038 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14039 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14040 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14041 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14043 cd $(HOST_SUBDIR)/cloog || exit 1; \
14044 case $(srcdir) in \
14045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14046 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14048 esac; \
14049 srcdiroption="--srcdir=$${topdir}/cloog"; \
14050 libsrcdir="$$s/cloog"; \
14051 $(SHELL) $${libsrcdir}/configure \
14052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14053 --target=${target_alias} $${srcdiroption} \
14054 --with-build-libsubdir=$(HOST_SUBDIR) \
14055 $(STAGE4_CONFIGURE_FLAGS) \
14056 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-isl=system
14057 @endif cloog-bootstrap
14059 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14060 maybe-configure-stageprofile-cloog:
14061 @if cloog-bootstrap
14062 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14063 configure-stageprofile-cloog:
14064 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14066 @r=`${PWD_COMMAND}`; export r; \
14067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14068 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14069 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14070 $(HOST_EXPORTS) \
14071 $(POSTSTAGE1_HOST_EXPORTS) \
14072 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14073 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14074 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14075 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14077 cd $(HOST_SUBDIR)/cloog || exit 1; \
14078 case $(srcdir) in \
14079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14080 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14082 esac; \
14083 srcdiroption="--srcdir=$${topdir}/cloog"; \
14084 libsrcdir="$$s/cloog"; \
14085 $(SHELL) $${libsrcdir}/configure \
14086 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14087 --target=${target_alias} $${srcdiroption} \
14088 --with-build-libsubdir=$(HOST_SUBDIR) \
14089 $(STAGEprofile_CONFIGURE_FLAGS) \
14090 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-isl=system
14091 @endif cloog-bootstrap
14093 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14094 maybe-configure-stagefeedback-cloog:
14095 @if cloog-bootstrap
14096 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14097 configure-stagefeedback-cloog:
14098 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14100 @r=`${PWD_COMMAND}`; export r; \
14101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14102 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14103 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14104 $(HOST_EXPORTS) \
14105 $(POSTSTAGE1_HOST_EXPORTS) \
14106 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14107 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14108 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14109 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14111 cd $(HOST_SUBDIR)/cloog || exit 1; \
14112 case $(srcdir) in \
14113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14114 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14116 esac; \
14117 srcdiroption="--srcdir=$${topdir}/cloog"; \
14118 libsrcdir="$$s/cloog"; \
14119 $(SHELL) $${libsrcdir}/configure \
14120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14121 --target=${target_alias} $${srcdiroption} \
14122 --with-build-libsubdir=$(HOST_SUBDIR) \
14123 $(STAGEfeedback_CONFIGURE_FLAGS) \
14124 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-isl=system
14125 @endif cloog-bootstrap
14131 .PHONY: all-cloog maybe-all-cloog
14132 maybe-all-cloog:
14133 @if gcc-bootstrap
14134 all-cloog: stage_current
14135 @endif gcc-bootstrap
14136 @if cloog
14137 TARGET-cloog=all
14138 maybe-all-cloog: all-cloog
14139 all-cloog: configure-cloog
14140 @r=`${PWD_COMMAND}`; export r; \
14141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14142 $(HOST_EXPORTS) CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14143 (cd $(HOST_SUBDIR)/cloog && \
14144 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14145 $(TARGET-cloog))
14146 @endif cloog
14150 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14151 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14152 maybe-all-stage1-cloog:
14153 maybe-clean-stage1-cloog:
14154 @if cloog-bootstrap
14155 maybe-all-stage1-cloog: all-stage1-cloog
14156 all-stage1: all-stage1-cloog
14157 TARGET-stage1-cloog = $(TARGET-cloog)
14158 all-stage1-cloog: configure-stage1-cloog
14159 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14160 @r=`${PWD_COMMAND}`; export r; \
14161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14162 TFLAGS="$(STAGE1_TFLAGS)"; \
14163 $(HOST_EXPORTS) CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14164 cd $(HOST_SUBDIR)/cloog && \
14165 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14166 CFLAGS="$(STAGE1_CFLAGS)" \
14167 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14168 LIBCFLAGS="$(LIBCFLAGS)" \
14169 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14170 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14171 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14172 $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14173 TFLAGS="$(STAGE1_TFLAGS)" \
14174 $(TARGET-stage1-cloog)
14176 maybe-clean-stage1-cloog: clean-stage1-cloog
14177 clean-stage1: clean-stage1-cloog
14178 clean-stage1-cloog:
14179 @if [ $(current_stage) = stage1 ]; then \
14180 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14181 else \
14182 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14183 $(MAKE) stage1-start; \
14184 fi; \
14185 cd $(HOST_SUBDIR)/cloog && \
14186 $(MAKE) $(EXTRA_HOST_FLAGS) \
14187 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14188 @endif cloog-bootstrap
14191 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14192 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14193 maybe-all-stage2-cloog:
14194 maybe-clean-stage2-cloog:
14195 @if cloog-bootstrap
14196 maybe-all-stage2-cloog: all-stage2-cloog
14197 all-stage2: all-stage2-cloog
14198 TARGET-stage2-cloog = $(TARGET-cloog)
14199 all-stage2-cloog: configure-stage2-cloog
14200 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14201 @r=`${PWD_COMMAND}`; export r; \
14202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14203 TFLAGS="$(STAGE2_TFLAGS)"; \
14204 $(HOST_EXPORTS) \
14205 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14206 cd $(HOST_SUBDIR)/cloog && \
14207 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14208 CFLAGS="$(STAGE2_CFLAGS)" \
14209 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14210 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14211 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14212 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14213 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14214 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14215 TFLAGS="$(STAGE2_TFLAGS)" \
14216 $(TARGET-stage2-cloog)
14218 maybe-clean-stage2-cloog: clean-stage2-cloog
14219 clean-stage2: clean-stage2-cloog
14220 clean-stage2-cloog:
14221 @if [ $(current_stage) = stage2 ]; then \
14222 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14223 else \
14224 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14225 $(MAKE) stage2-start; \
14226 fi; \
14227 cd $(HOST_SUBDIR)/cloog && \
14228 $(MAKE) $(EXTRA_HOST_FLAGS) \
14229 $(POSTSTAGE1_FLAGS_TO_PASS) \
14230 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14231 @endif cloog-bootstrap
14234 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14235 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14236 maybe-all-stage3-cloog:
14237 maybe-clean-stage3-cloog:
14238 @if cloog-bootstrap
14239 maybe-all-stage3-cloog: all-stage3-cloog
14240 all-stage3: all-stage3-cloog
14241 TARGET-stage3-cloog = $(TARGET-cloog)
14242 all-stage3-cloog: configure-stage3-cloog
14243 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14244 @r=`${PWD_COMMAND}`; export r; \
14245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14246 TFLAGS="$(STAGE3_TFLAGS)"; \
14247 $(HOST_EXPORTS) \
14248 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14249 cd $(HOST_SUBDIR)/cloog && \
14250 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14251 CFLAGS="$(STAGE3_CFLAGS)" \
14252 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14253 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14254 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14255 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14256 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14257 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14258 TFLAGS="$(STAGE3_TFLAGS)" \
14259 $(TARGET-stage3-cloog)
14261 maybe-clean-stage3-cloog: clean-stage3-cloog
14262 clean-stage3: clean-stage3-cloog
14263 clean-stage3-cloog:
14264 @if [ $(current_stage) = stage3 ]; then \
14265 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14266 else \
14267 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14268 $(MAKE) stage3-start; \
14269 fi; \
14270 cd $(HOST_SUBDIR)/cloog && \
14271 $(MAKE) $(EXTRA_HOST_FLAGS) \
14272 $(POSTSTAGE1_FLAGS_TO_PASS) \
14273 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14274 @endif cloog-bootstrap
14277 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14278 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14279 maybe-all-stage4-cloog:
14280 maybe-clean-stage4-cloog:
14281 @if cloog-bootstrap
14282 maybe-all-stage4-cloog: all-stage4-cloog
14283 all-stage4: all-stage4-cloog
14284 TARGET-stage4-cloog = $(TARGET-cloog)
14285 all-stage4-cloog: configure-stage4-cloog
14286 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14287 @r=`${PWD_COMMAND}`; export r; \
14288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14289 TFLAGS="$(STAGE4_TFLAGS)"; \
14290 $(HOST_EXPORTS) \
14291 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14292 cd $(HOST_SUBDIR)/cloog && \
14293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14294 CFLAGS="$(STAGE4_CFLAGS)" \
14295 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14296 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14297 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14298 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14299 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14300 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14301 TFLAGS="$(STAGE4_TFLAGS)" \
14302 $(TARGET-stage4-cloog)
14304 maybe-clean-stage4-cloog: clean-stage4-cloog
14305 clean-stage4: clean-stage4-cloog
14306 clean-stage4-cloog:
14307 @if [ $(current_stage) = stage4 ]; then \
14308 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14309 else \
14310 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14311 $(MAKE) stage4-start; \
14312 fi; \
14313 cd $(HOST_SUBDIR)/cloog && \
14314 $(MAKE) $(EXTRA_HOST_FLAGS) \
14315 $(POSTSTAGE1_FLAGS_TO_PASS) \
14316 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14317 @endif cloog-bootstrap
14320 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14321 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14322 maybe-all-stageprofile-cloog:
14323 maybe-clean-stageprofile-cloog:
14324 @if cloog-bootstrap
14325 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14326 all-stageprofile: all-stageprofile-cloog
14327 TARGET-stageprofile-cloog = $(TARGET-cloog)
14328 all-stageprofile-cloog: configure-stageprofile-cloog
14329 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14330 @r=`${PWD_COMMAND}`; export r; \
14331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14332 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14333 $(HOST_EXPORTS) \
14334 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14335 cd $(HOST_SUBDIR)/cloog && \
14336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14337 CFLAGS="$(STAGEprofile_CFLAGS)" \
14338 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14339 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14344 TFLAGS="$(STAGEprofile_TFLAGS)" \
14345 $(TARGET-stageprofile-cloog)
14347 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14348 clean-stageprofile: clean-stageprofile-cloog
14349 clean-stageprofile-cloog:
14350 @if [ $(current_stage) = stageprofile ]; then \
14351 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14352 else \
14353 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14354 $(MAKE) stageprofile-start; \
14355 fi; \
14356 cd $(HOST_SUBDIR)/cloog && \
14357 $(MAKE) $(EXTRA_HOST_FLAGS) \
14358 $(POSTSTAGE1_FLAGS_TO_PASS) \
14359 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14360 @endif cloog-bootstrap
14363 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14364 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14365 maybe-all-stagefeedback-cloog:
14366 maybe-clean-stagefeedback-cloog:
14367 @if cloog-bootstrap
14368 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14369 all-stagefeedback: all-stagefeedback-cloog
14370 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14371 all-stagefeedback-cloog: configure-stagefeedback-cloog
14372 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14373 @r=`${PWD_COMMAND}`; export r; \
14374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14375 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14376 $(HOST_EXPORTS) \
14377 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14378 cd $(HOST_SUBDIR)/cloog && \
14379 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14380 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14381 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14382 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14383 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14384 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14385 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14386 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14387 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14388 $(TARGET-stagefeedback-cloog)
14390 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14391 clean-stagefeedback: clean-stagefeedback-cloog
14392 clean-stagefeedback-cloog:
14393 @if [ $(current_stage) = stagefeedback ]; then \
14394 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14395 else \
14396 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14397 $(MAKE) stagefeedback-start; \
14398 fi; \
14399 cd $(HOST_SUBDIR)/cloog && \
14400 $(MAKE) $(EXTRA_HOST_FLAGS) \
14401 $(POSTSTAGE1_FLAGS_TO_PASS) \
14402 CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14403 @endif cloog-bootstrap
14409 .PHONY: check-cloog maybe-check-cloog
14410 maybe-check-cloog:
14411 @if cloog
14412 maybe-check-cloog: check-cloog
14414 check-cloog:
14415 @: $(MAKE); $(unstage)
14416 @r=`${PWD_COMMAND}`; export r; \
14417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14418 $(HOST_EXPORTS) \
14419 (cd $(HOST_SUBDIR)/cloog && \
14420 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14422 @endif cloog
14424 .PHONY: install-cloog maybe-install-cloog
14425 maybe-install-cloog:
14426 @if cloog
14427 maybe-install-cloog: install-cloog
14429 install-cloog:
14431 @endif cloog
14433 .PHONY: install-strip-cloog maybe-install-strip-cloog
14434 maybe-install-strip-cloog:
14435 @if cloog
14436 maybe-install-strip-cloog: install-strip-cloog
14438 install-strip-cloog:
14440 @endif cloog
14442 # Other targets (info, dvi, pdf, etc.)
14444 .PHONY: maybe-info-cloog info-cloog
14445 maybe-info-cloog:
14446 @if cloog
14447 maybe-info-cloog: info-cloog
14449 info-cloog: \
14450 configure-cloog
14451 @[ -f ./cloog/Makefile ] || exit 0; \
14452 r=`${PWD_COMMAND}`; export r; \
14453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14454 $(HOST_EXPORTS) \
14455 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14457 done; \
14458 echo "Doing info in cloog" ; \
14459 (cd $(HOST_SUBDIR)/cloog && \
14460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14462 "RANLIB=$${RANLIB}" \
14463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14464 info) \
14465 || exit 1
14467 @endif cloog
14469 .PHONY: maybe-dvi-cloog dvi-cloog
14470 maybe-dvi-cloog:
14471 @if cloog
14472 maybe-dvi-cloog: dvi-cloog
14474 dvi-cloog: \
14475 configure-cloog
14476 @[ -f ./cloog/Makefile ] || exit 0; \
14477 r=`${PWD_COMMAND}`; export r; \
14478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14479 $(HOST_EXPORTS) \
14480 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14482 done; \
14483 echo "Doing dvi in cloog" ; \
14484 (cd $(HOST_SUBDIR)/cloog && \
14485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14487 "RANLIB=$${RANLIB}" \
14488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14489 dvi) \
14490 || exit 1
14492 @endif cloog
14494 .PHONY: maybe-pdf-cloog pdf-cloog
14495 maybe-pdf-cloog:
14496 @if cloog
14497 maybe-pdf-cloog: pdf-cloog
14499 pdf-cloog: \
14500 configure-cloog
14501 @[ -f ./cloog/Makefile ] || exit 0; \
14502 r=`${PWD_COMMAND}`; export r; \
14503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14504 $(HOST_EXPORTS) \
14505 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14507 done; \
14508 echo "Doing pdf in cloog" ; \
14509 (cd $(HOST_SUBDIR)/cloog && \
14510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14512 "RANLIB=$${RANLIB}" \
14513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14514 pdf) \
14515 || exit 1
14517 @endif cloog
14519 .PHONY: maybe-html-cloog html-cloog
14520 maybe-html-cloog:
14521 @if cloog
14522 maybe-html-cloog: html-cloog
14524 html-cloog: \
14525 configure-cloog
14526 @[ -f ./cloog/Makefile ] || exit 0; \
14527 r=`${PWD_COMMAND}`; export r; \
14528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14529 $(HOST_EXPORTS) \
14530 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14532 done; \
14533 echo "Doing html in cloog" ; \
14534 (cd $(HOST_SUBDIR)/cloog && \
14535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14537 "RANLIB=$${RANLIB}" \
14538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14539 html) \
14540 || exit 1
14542 @endif cloog
14544 .PHONY: maybe-TAGS-cloog TAGS-cloog
14545 maybe-TAGS-cloog:
14546 @if cloog
14547 maybe-TAGS-cloog: TAGS-cloog
14549 TAGS-cloog: \
14550 configure-cloog
14551 @[ -f ./cloog/Makefile ] || exit 0; \
14552 r=`${PWD_COMMAND}`; export r; \
14553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14554 $(HOST_EXPORTS) \
14555 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14557 done; \
14558 echo "Doing TAGS in cloog" ; \
14559 (cd $(HOST_SUBDIR)/cloog && \
14560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14562 "RANLIB=$${RANLIB}" \
14563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14564 TAGS) \
14565 || exit 1
14567 @endif cloog
14569 .PHONY: maybe-install-info-cloog install-info-cloog
14570 maybe-install-info-cloog:
14571 @if cloog
14572 maybe-install-info-cloog: install-info-cloog
14574 install-info-cloog: \
14575 configure-cloog \
14576 info-cloog
14577 @[ -f ./cloog/Makefile ] || exit 0; \
14578 r=`${PWD_COMMAND}`; export r; \
14579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14580 $(HOST_EXPORTS) \
14581 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14583 done; \
14584 echo "Doing install-info in cloog" ; \
14585 (cd $(HOST_SUBDIR)/cloog && \
14586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14588 "RANLIB=$${RANLIB}" \
14589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14590 install-info) \
14591 || exit 1
14593 @endif cloog
14595 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14596 maybe-install-pdf-cloog:
14597 @if cloog
14598 maybe-install-pdf-cloog: install-pdf-cloog
14600 install-pdf-cloog: \
14601 configure-cloog \
14602 pdf-cloog
14603 @[ -f ./cloog/Makefile ] || exit 0; \
14604 r=`${PWD_COMMAND}`; export r; \
14605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14606 $(HOST_EXPORTS) \
14607 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14609 done; \
14610 echo "Doing install-pdf in cloog" ; \
14611 (cd $(HOST_SUBDIR)/cloog && \
14612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14614 "RANLIB=$${RANLIB}" \
14615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14616 install-pdf) \
14617 || exit 1
14619 @endif cloog
14621 .PHONY: maybe-install-html-cloog install-html-cloog
14622 maybe-install-html-cloog:
14623 @if cloog
14624 maybe-install-html-cloog: install-html-cloog
14626 install-html-cloog: \
14627 configure-cloog \
14628 html-cloog
14629 @[ -f ./cloog/Makefile ] || exit 0; \
14630 r=`${PWD_COMMAND}`; export r; \
14631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14632 $(HOST_EXPORTS) \
14633 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14635 done; \
14636 echo "Doing install-html in cloog" ; \
14637 (cd $(HOST_SUBDIR)/cloog && \
14638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14640 "RANLIB=$${RANLIB}" \
14641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14642 install-html) \
14643 || exit 1
14645 @endif cloog
14647 .PHONY: maybe-installcheck-cloog installcheck-cloog
14648 maybe-installcheck-cloog:
14649 @if cloog
14650 maybe-installcheck-cloog: installcheck-cloog
14652 installcheck-cloog: \
14653 configure-cloog
14654 @[ -f ./cloog/Makefile ] || exit 0; \
14655 r=`${PWD_COMMAND}`; export r; \
14656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14657 $(HOST_EXPORTS) \
14658 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14660 done; \
14661 echo "Doing installcheck in cloog" ; \
14662 (cd $(HOST_SUBDIR)/cloog && \
14663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14665 "RANLIB=$${RANLIB}" \
14666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14667 installcheck) \
14668 || exit 1
14670 @endif cloog
14672 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14673 maybe-mostlyclean-cloog:
14674 @if cloog
14675 maybe-mostlyclean-cloog: mostlyclean-cloog
14677 mostlyclean-cloog:
14678 @[ -f ./cloog/Makefile ] || exit 0; \
14679 r=`${PWD_COMMAND}`; export r; \
14680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14681 $(HOST_EXPORTS) \
14682 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14684 done; \
14685 echo "Doing mostlyclean in cloog" ; \
14686 (cd $(HOST_SUBDIR)/cloog && \
14687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14689 "RANLIB=$${RANLIB}" \
14690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14691 mostlyclean) \
14692 || exit 1
14694 @endif cloog
14696 .PHONY: maybe-clean-cloog clean-cloog
14697 maybe-clean-cloog:
14698 @if cloog
14699 maybe-clean-cloog: clean-cloog
14701 clean-cloog:
14702 @[ -f ./cloog/Makefile ] || exit 0; \
14703 r=`${PWD_COMMAND}`; export r; \
14704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14705 $(HOST_EXPORTS) \
14706 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14708 done; \
14709 echo "Doing clean in cloog" ; \
14710 (cd $(HOST_SUBDIR)/cloog && \
14711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14713 "RANLIB=$${RANLIB}" \
14714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14715 clean) \
14716 || exit 1
14718 @endif cloog
14720 .PHONY: maybe-distclean-cloog distclean-cloog
14721 maybe-distclean-cloog:
14722 @if cloog
14723 maybe-distclean-cloog: distclean-cloog
14725 distclean-cloog:
14726 @[ -f ./cloog/Makefile ] || exit 0; \
14727 r=`${PWD_COMMAND}`; export r; \
14728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14729 $(HOST_EXPORTS) \
14730 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14732 done; \
14733 echo "Doing distclean in cloog" ; \
14734 (cd $(HOST_SUBDIR)/cloog && \
14735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14737 "RANLIB=$${RANLIB}" \
14738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14739 distclean) \
14740 || exit 1
14742 @endif cloog
14744 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14745 maybe-maintainer-clean-cloog:
14746 @if cloog
14747 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14749 maintainer-clean-cloog:
14750 @[ -f ./cloog/Makefile ] || exit 0; \
14751 r=`${PWD_COMMAND}`; export r; \
14752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14753 $(HOST_EXPORTS) \
14754 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14756 done; \
14757 echo "Doing maintainer-clean in cloog" ; \
14758 (cd $(HOST_SUBDIR)/cloog && \
14759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14761 "RANLIB=$${RANLIB}" \
14762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14763 maintainer-clean) \
14764 || exit 1
14766 @endif cloog
14770 .PHONY: configure-libelf maybe-configure-libelf
14771 maybe-configure-libelf:
14772 @if gcc-bootstrap
14773 configure-libelf: stage_current
14774 @endif gcc-bootstrap
14775 @if libelf
14776 maybe-configure-libelf: configure-libelf
14777 configure-libelf:
14778 @r=`${PWD_COMMAND}`; export r; \
14779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14780 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14782 $(HOST_EXPORTS) \
14783 echo Configuring in $(HOST_SUBDIR)/libelf; \
14784 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14785 case $(srcdir) in \
14786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14787 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14789 esac; \
14790 srcdiroption="--srcdir=$${topdir}/libelf"; \
14791 libsrcdir="$$s/libelf"; \
14792 $(SHELL) $${libsrcdir}/configure \
14793 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14794 --target=${target_alias} $${srcdiroption} --disable-shared \
14795 || exit 1
14796 @endif libelf
14800 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14801 maybe-configure-stage1-libelf:
14802 @if libelf-bootstrap
14803 maybe-configure-stage1-libelf: configure-stage1-libelf
14804 configure-stage1-libelf:
14805 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14807 @r=`${PWD_COMMAND}`; export r; \
14808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14809 TFLAGS="$(STAGE1_TFLAGS)"; \
14810 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14811 $(HOST_EXPORTS) \
14812 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14813 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14814 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14815 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14817 cd $(HOST_SUBDIR)/libelf || exit 1; \
14818 case $(srcdir) in \
14819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14820 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14822 esac; \
14823 srcdiroption="--srcdir=$${topdir}/libelf"; \
14824 libsrcdir="$$s/libelf"; \
14825 $(SHELL) $${libsrcdir}/configure \
14826 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14827 --target=${target_alias} $${srcdiroption} \
14828 $(STAGE1_CONFIGURE_FLAGS) \
14829 --disable-shared
14830 @endif libelf-bootstrap
14832 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14833 maybe-configure-stage2-libelf:
14834 @if libelf-bootstrap
14835 maybe-configure-stage2-libelf: configure-stage2-libelf
14836 configure-stage2-libelf:
14837 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14838 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14839 @r=`${PWD_COMMAND}`; export r; \
14840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14841 TFLAGS="$(STAGE2_TFLAGS)"; \
14842 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14843 $(HOST_EXPORTS) \
14844 $(POSTSTAGE1_HOST_EXPORTS) \
14845 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14846 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14847 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14848 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14850 cd $(HOST_SUBDIR)/libelf || exit 1; \
14851 case $(srcdir) in \
14852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14853 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14855 esac; \
14856 srcdiroption="--srcdir=$${topdir}/libelf"; \
14857 libsrcdir="$$s/libelf"; \
14858 $(SHELL) $${libsrcdir}/configure \
14859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14860 --target=${target_alias} $${srcdiroption} \
14861 --with-build-libsubdir=$(HOST_SUBDIR) \
14862 $(STAGE2_CONFIGURE_FLAGS) \
14863 --disable-shared
14864 @endif libelf-bootstrap
14866 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14867 maybe-configure-stage3-libelf:
14868 @if libelf-bootstrap
14869 maybe-configure-stage3-libelf: configure-stage3-libelf
14870 configure-stage3-libelf:
14871 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14872 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14873 @r=`${PWD_COMMAND}`; export r; \
14874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14875 TFLAGS="$(STAGE3_TFLAGS)"; \
14876 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14877 $(HOST_EXPORTS) \
14878 $(POSTSTAGE1_HOST_EXPORTS) \
14879 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14880 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14881 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14882 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14884 cd $(HOST_SUBDIR)/libelf || exit 1; \
14885 case $(srcdir) in \
14886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14887 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14889 esac; \
14890 srcdiroption="--srcdir=$${topdir}/libelf"; \
14891 libsrcdir="$$s/libelf"; \
14892 $(SHELL) $${libsrcdir}/configure \
14893 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14894 --target=${target_alias} $${srcdiroption} \
14895 --with-build-libsubdir=$(HOST_SUBDIR) \
14896 $(STAGE3_CONFIGURE_FLAGS) \
14897 --disable-shared
14898 @endif libelf-bootstrap
14900 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14901 maybe-configure-stage4-libelf:
14902 @if libelf-bootstrap
14903 maybe-configure-stage4-libelf: configure-stage4-libelf
14904 configure-stage4-libelf:
14905 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14907 @r=`${PWD_COMMAND}`; export r; \
14908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14909 TFLAGS="$(STAGE4_TFLAGS)"; \
14910 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14911 $(HOST_EXPORTS) \
14912 $(POSTSTAGE1_HOST_EXPORTS) \
14913 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14914 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14915 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14916 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14918 cd $(HOST_SUBDIR)/libelf || exit 1; \
14919 case $(srcdir) in \
14920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14921 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14923 esac; \
14924 srcdiroption="--srcdir=$${topdir}/libelf"; \
14925 libsrcdir="$$s/libelf"; \
14926 $(SHELL) $${libsrcdir}/configure \
14927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14928 --target=${target_alias} $${srcdiroption} \
14929 --with-build-libsubdir=$(HOST_SUBDIR) \
14930 $(STAGE4_CONFIGURE_FLAGS) \
14931 --disable-shared
14932 @endif libelf-bootstrap
14934 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14935 maybe-configure-stageprofile-libelf:
14936 @if libelf-bootstrap
14937 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14938 configure-stageprofile-libelf:
14939 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14941 @r=`${PWD_COMMAND}`; export r; \
14942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14943 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14944 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14945 $(HOST_EXPORTS) \
14946 $(POSTSTAGE1_HOST_EXPORTS) \
14947 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14948 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14949 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14950 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14952 cd $(HOST_SUBDIR)/libelf || exit 1; \
14953 case $(srcdir) in \
14954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14955 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14957 esac; \
14958 srcdiroption="--srcdir=$${topdir}/libelf"; \
14959 libsrcdir="$$s/libelf"; \
14960 $(SHELL) $${libsrcdir}/configure \
14961 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14962 --target=${target_alias} $${srcdiroption} \
14963 --with-build-libsubdir=$(HOST_SUBDIR) \
14964 $(STAGEprofile_CONFIGURE_FLAGS) \
14965 --disable-shared
14966 @endif libelf-bootstrap
14968 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14969 maybe-configure-stagefeedback-libelf:
14970 @if libelf-bootstrap
14971 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14972 configure-stagefeedback-libelf:
14973 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14975 @r=`${PWD_COMMAND}`; export r; \
14976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14977 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14978 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14979 $(HOST_EXPORTS) \
14980 $(POSTSTAGE1_HOST_EXPORTS) \
14981 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14982 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14983 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14984 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14986 cd $(HOST_SUBDIR)/libelf || exit 1; \
14987 case $(srcdir) in \
14988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14989 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14991 esac; \
14992 srcdiroption="--srcdir=$${topdir}/libelf"; \
14993 libsrcdir="$$s/libelf"; \
14994 $(SHELL) $${libsrcdir}/configure \
14995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14996 --target=${target_alias} $${srcdiroption} \
14997 --with-build-libsubdir=$(HOST_SUBDIR) \
14998 $(STAGEfeedback_CONFIGURE_FLAGS) \
14999 --disable-shared
15000 @endif libelf-bootstrap
15006 .PHONY: all-libelf maybe-all-libelf
15007 maybe-all-libelf:
15008 @if gcc-bootstrap
15009 all-libelf: stage_current
15010 @endif gcc-bootstrap
15011 @if libelf
15012 TARGET-libelf=all
15013 maybe-all-libelf: all-libelf
15014 all-libelf: configure-libelf
15015 @r=`${PWD_COMMAND}`; export r; \
15016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15017 $(HOST_EXPORTS) \
15018 (cd $(HOST_SUBDIR)/libelf && \
15019 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15020 $(TARGET-libelf))
15021 @endif libelf
15025 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
15026 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15027 maybe-all-stage1-libelf:
15028 maybe-clean-stage1-libelf:
15029 @if libelf-bootstrap
15030 maybe-all-stage1-libelf: all-stage1-libelf
15031 all-stage1: all-stage1-libelf
15032 TARGET-stage1-libelf = $(TARGET-libelf)
15033 all-stage1-libelf: configure-stage1-libelf
15034 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15035 @r=`${PWD_COMMAND}`; export r; \
15036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15037 TFLAGS="$(STAGE1_TFLAGS)"; \
15038 $(HOST_EXPORTS) \
15039 cd $(HOST_SUBDIR)/libelf && \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15041 CFLAGS="$(STAGE1_CFLAGS)" \
15042 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15043 LIBCFLAGS="$(LIBCFLAGS)" \
15044 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15045 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15046 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15047 $(EXTRA_HOST_FLAGS) \
15048 TFLAGS="$(STAGE1_TFLAGS)" \
15049 $(TARGET-stage1-libelf)
15051 maybe-clean-stage1-libelf: clean-stage1-libelf
15052 clean-stage1: clean-stage1-libelf
15053 clean-stage1-libelf:
15054 @if [ $(current_stage) = stage1 ]; then \
15055 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15056 else \
15057 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15058 $(MAKE) stage1-start; \
15059 fi; \
15060 cd $(HOST_SUBDIR)/libelf && \
15061 $(MAKE) $(EXTRA_HOST_FLAGS) \
15062 clean
15063 @endif libelf-bootstrap
15066 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15067 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15068 maybe-all-stage2-libelf:
15069 maybe-clean-stage2-libelf:
15070 @if libelf-bootstrap
15071 maybe-all-stage2-libelf: all-stage2-libelf
15072 all-stage2: all-stage2-libelf
15073 TARGET-stage2-libelf = $(TARGET-libelf)
15074 all-stage2-libelf: configure-stage2-libelf
15075 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15076 @r=`${PWD_COMMAND}`; export r; \
15077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15078 TFLAGS="$(STAGE2_TFLAGS)"; \
15079 $(HOST_EXPORTS) \
15080 $(POSTSTAGE1_HOST_EXPORTS) \
15081 cd $(HOST_SUBDIR)/libelf && \
15082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15083 CFLAGS="$(STAGE2_CFLAGS)" \
15084 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15085 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15089 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15090 TFLAGS="$(STAGE2_TFLAGS)" \
15091 $(TARGET-stage2-libelf)
15093 maybe-clean-stage2-libelf: clean-stage2-libelf
15094 clean-stage2: clean-stage2-libelf
15095 clean-stage2-libelf:
15096 @if [ $(current_stage) = stage2 ]; then \
15097 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15098 else \
15099 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15100 $(MAKE) stage2-start; \
15101 fi; \
15102 cd $(HOST_SUBDIR)/libelf && \
15103 $(MAKE) $(EXTRA_HOST_FLAGS) \
15104 $(POSTSTAGE1_FLAGS_TO_PASS) \
15105 clean
15106 @endif libelf-bootstrap
15109 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15110 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15111 maybe-all-stage3-libelf:
15112 maybe-clean-stage3-libelf:
15113 @if libelf-bootstrap
15114 maybe-all-stage3-libelf: all-stage3-libelf
15115 all-stage3: all-stage3-libelf
15116 TARGET-stage3-libelf = $(TARGET-libelf)
15117 all-stage3-libelf: configure-stage3-libelf
15118 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15119 @r=`${PWD_COMMAND}`; export r; \
15120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15121 TFLAGS="$(STAGE3_TFLAGS)"; \
15122 $(HOST_EXPORTS) \
15123 $(POSTSTAGE1_HOST_EXPORTS) \
15124 cd $(HOST_SUBDIR)/libelf && \
15125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15126 CFLAGS="$(STAGE3_CFLAGS)" \
15127 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15128 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15132 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15133 TFLAGS="$(STAGE3_TFLAGS)" \
15134 $(TARGET-stage3-libelf)
15136 maybe-clean-stage3-libelf: clean-stage3-libelf
15137 clean-stage3: clean-stage3-libelf
15138 clean-stage3-libelf:
15139 @if [ $(current_stage) = stage3 ]; then \
15140 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15141 else \
15142 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15143 $(MAKE) stage3-start; \
15144 fi; \
15145 cd $(HOST_SUBDIR)/libelf && \
15146 $(MAKE) $(EXTRA_HOST_FLAGS) \
15147 $(POSTSTAGE1_FLAGS_TO_PASS) \
15148 clean
15149 @endif libelf-bootstrap
15152 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15153 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15154 maybe-all-stage4-libelf:
15155 maybe-clean-stage4-libelf:
15156 @if libelf-bootstrap
15157 maybe-all-stage4-libelf: all-stage4-libelf
15158 all-stage4: all-stage4-libelf
15159 TARGET-stage4-libelf = $(TARGET-libelf)
15160 all-stage4-libelf: configure-stage4-libelf
15161 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15162 @r=`${PWD_COMMAND}`; export r; \
15163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15164 TFLAGS="$(STAGE4_TFLAGS)"; \
15165 $(HOST_EXPORTS) \
15166 $(POSTSTAGE1_HOST_EXPORTS) \
15167 cd $(HOST_SUBDIR)/libelf && \
15168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15169 CFLAGS="$(STAGE4_CFLAGS)" \
15170 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15171 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15175 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15176 TFLAGS="$(STAGE4_TFLAGS)" \
15177 $(TARGET-stage4-libelf)
15179 maybe-clean-stage4-libelf: clean-stage4-libelf
15180 clean-stage4: clean-stage4-libelf
15181 clean-stage4-libelf:
15182 @if [ $(current_stage) = stage4 ]; then \
15183 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15184 else \
15185 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15186 $(MAKE) stage4-start; \
15187 fi; \
15188 cd $(HOST_SUBDIR)/libelf && \
15189 $(MAKE) $(EXTRA_HOST_FLAGS) \
15190 $(POSTSTAGE1_FLAGS_TO_PASS) \
15191 clean
15192 @endif libelf-bootstrap
15195 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15196 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15197 maybe-all-stageprofile-libelf:
15198 maybe-clean-stageprofile-libelf:
15199 @if libelf-bootstrap
15200 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15201 all-stageprofile: all-stageprofile-libelf
15202 TARGET-stageprofile-libelf = $(TARGET-libelf)
15203 all-stageprofile-libelf: configure-stageprofile-libelf
15204 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15205 @r=`${PWD_COMMAND}`; export r; \
15206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15207 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15208 $(HOST_EXPORTS) \
15209 $(POSTSTAGE1_HOST_EXPORTS) \
15210 cd $(HOST_SUBDIR)/libelf && \
15211 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15212 CFLAGS="$(STAGEprofile_CFLAGS)" \
15213 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15214 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15215 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15216 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15217 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15218 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15219 TFLAGS="$(STAGEprofile_TFLAGS)" \
15220 $(TARGET-stageprofile-libelf)
15222 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15223 clean-stageprofile: clean-stageprofile-libelf
15224 clean-stageprofile-libelf:
15225 @if [ $(current_stage) = stageprofile ]; then \
15226 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15227 else \
15228 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15229 $(MAKE) stageprofile-start; \
15230 fi; \
15231 cd $(HOST_SUBDIR)/libelf && \
15232 $(MAKE) $(EXTRA_HOST_FLAGS) \
15233 $(POSTSTAGE1_FLAGS_TO_PASS) \
15234 clean
15235 @endif libelf-bootstrap
15238 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15239 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15240 maybe-all-stagefeedback-libelf:
15241 maybe-clean-stagefeedback-libelf:
15242 @if libelf-bootstrap
15243 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15244 all-stagefeedback: all-stagefeedback-libelf
15245 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15246 all-stagefeedback-libelf: configure-stagefeedback-libelf
15247 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15248 @r=`${PWD_COMMAND}`; export r; \
15249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15250 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15251 $(HOST_EXPORTS) \
15252 $(POSTSTAGE1_HOST_EXPORTS) \
15253 cd $(HOST_SUBDIR)/libelf && \
15254 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15255 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15256 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15257 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15258 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15259 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15260 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15261 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15262 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15263 $(TARGET-stagefeedback-libelf)
15265 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15266 clean-stagefeedback: clean-stagefeedback-libelf
15267 clean-stagefeedback-libelf:
15268 @if [ $(current_stage) = stagefeedback ]; then \
15269 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15270 else \
15271 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15272 $(MAKE) stagefeedback-start; \
15273 fi; \
15274 cd $(HOST_SUBDIR)/libelf && \
15275 $(MAKE) $(EXTRA_HOST_FLAGS) \
15276 $(POSTSTAGE1_FLAGS_TO_PASS) \
15277 clean
15278 @endif libelf-bootstrap
15284 .PHONY: check-libelf maybe-check-libelf
15285 maybe-check-libelf:
15286 @if libelf
15287 maybe-check-libelf: check-libelf
15289 check-libelf:
15290 @: $(MAKE); $(unstage)
15291 @r=`${PWD_COMMAND}`; export r; \
15292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15293 $(HOST_EXPORTS) \
15294 (cd $(HOST_SUBDIR)/libelf && \
15295 $(MAKE) $(FLAGS_TO_PASS) check)
15297 @endif libelf
15299 .PHONY: install-libelf maybe-install-libelf
15300 maybe-install-libelf:
15301 @if libelf
15302 maybe-install-libelf: install-libelf
15304 install-libelf:
15306 @endif libelf
15308 .PHONY: install-strip-libelf maybe-install-strip-libelf
15309 maybe-install-strip-libelf:
15310 @if libelf
15311 maybe-install-strip-libelf: install-strip-libelf
15313 install-strip-libelf:
15315 @endif libelf
15317 # Other targets (info, dvi, pdf, etc.)
15319 .PHONY: maybe-info-libelf info-libelf
15320 maybe-info-libelf:
15321 @if libelf
15322 maybe-info-libelf: info-libelf
15324 info-libelf: \
15325 configure-libelf
15326 @[ -f ./libelf/Makefile ] || exit 0; \
15327 r=`${PWD_COMMAND}`; export r; \
15328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15329 $(HOST_EXPORTS) \
15330 for flag in $(EXTRA_HOST_FLAGS) ; do \
15331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15332 done; \
15333 echo "Doing info in libelf" ; \
15334 (cd $(HOST_SUBDIR)/libelf && \
15335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15337 "RANLIB=$${RANLIB}" \
15338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15339 info) \
15340 || exit 1
15342 @endif libelf
15344 .PHONY: maybe-dvi-libelf dvi-libelf
15345 maybe-dvi-libelf:
15346 @if libelf
15347 maybe-dvi-libelf: dvi-libelf
15349 dvi-libelf: \
15350 configure-libelf
15351 @[ -f ./libelf/Makefile ] || exit 0; \
15352 r=`${PWD_COMMAND}`; export r; \
15353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15354 $(HOST_EXPORTS) \
15355 for flag in $(EXTRA_HOST_FLAGS) ; do \
15356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15357 done; \
15358 echo "Doing dvi in libelf" ; \
15359 (cd $(HOST_SUBDIR)/libelf && \
15360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15362 "RANLIB=$${RANLIB}" \
15363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15364 dvi) \
15365 || exit 1
15367 @endif libelf
15369 .PHONY: maybe-pdf-libelf pdf-libelf
15370 maybe-pdf-libelf:
15371 @if libelf
15372 maybe-pdf-libelf: pdf-libelf
15374 pdf-libelf: \
15375 configure-libelf
15376 @[ -f ./libelf/Makefile ] || exit 0; \
15377 r=`${PWD_COMMAND}`; export r; \
15378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15379 $(HOST_EXPORTS) \
15380 for flag in $(EXTRA_HOST_FLAGS) ; do \
15381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15382 done; \
15383 echo "Doing pdf in libelf" ; \
15384 (cd $(HOST_SUBDIR)/libelf && \
15385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15387 "RANLIB=$${RANLIB}" \
15388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15389 pdf) \
15390 || exit 1
15392 @endif libelf
15394 .PHONY: maybe-html-libelf html-libelf
15395 maybe-html-libelf:
15396 @if libelf
15397 maybe-html-libelf: html-libelf
15399 html-libelf: \
15400 configure-libelf
15401 @[ -f ./libelf/Makefile ] || exit 0; \
15402 r=`${PWD_COMMAND}`; export r; \
15403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15404 $(HOST_EXPORTS) \
15405 for flag in $(EXTRA_HOST_FLAGS) ; do \
15406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15407 done; \
15408 echo "Doing html in libelf" ; \
15409 (cd $(HOST_SUBDIR)/libelf && \
15410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15412 "RANLIB=$${RANLIB}" \
15413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15414 html) \
15415 || exit 1
15417 @endif libelf
15419 .PHONY: maybe-TAGS-libelf TAGS-libelf
15420 maybe-TAGS-libelf:
15421 @if libelf
15422 maybe-TAGS-libelf: TAGS-libelf
15424 TAGS-libelf: \
15425 configure-libelf
15426 @[ -f ./libelf/Makefile ] || exit 0; \
15427 r=`${PWD_COMMAND}`; export r; \
15428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15429 $(HOST_EXPORTS) \
15430 for flag in $(EXTRA_HOST_FLAGS) ; do \
15431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15432 done; \
15433 echo "Doing TAGS in libelf" ; \
15434 (cd $(HOST_SUBDIR)/libelf && \
15435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15437 "RANLIB=$${RANLIB}" \
15438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15439 TAGS) \
15440 || exit 1
15442 @endif libelf
15444 .PHONY: maybe-install-info-libelf install-info-libelf
15445 maybe-install-info-libelf:
15446 @if libelf
15447 maybe-install-info-libelf: install-info-libelf
15449 install-info-libelf: \
15450 configure-libelf \
15451 info-libelf
15452 @[ -f ./libelf/Makefile ] || exit 0; \
15453 r=`${PWD_COMMAND}`; export r; \
15454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15455 $(HOST_EXPORTS) \
15456 for flag in $(EXTRA_HOST_FLAGS) ; do \
15457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15458 done; \
15459 echo "Doing install-info in libelf" ; \
15460 (cd $(HOST_SUBDIR)/libelf && \
15461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15463 "RANLIB=$${RANLIB}" \
15464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15465 install-info) \
15466 || exit 1
15468 @endif libelf
15470 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15471 maybe-install-pdf-libelf:
15472 @if libelf
15473 maybe-install-pdf-libelf: install-pdf-libelf
15475 install-pdf-libelf: \
15476 configure-libelf \
15477 pdf-libelf
15478 @[ -f ./libelf/Makefile ] || exit 0; \
15479 r=`${PWD_COMMAND}`; export r; \
15480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15481 $(HOST_EXPORTS) \
15482 for flag in $(EXTRA_HOST_FLAGS) ; do \
15483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15484 done; \
15485 echo "Doing install-pdf in libelf" ; \
15486 (cd $(HOST_SUBDIR)/libelf && \
15487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15489 "RANLIB=$${RANLIB}" \
15490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15491 install-pdf) \
15492 || exit 1
15494 @endif libelf
15496 .PHONY: maybe-install-html-libelf install-html-libelf
15497 maybe-install-html-libelf:
15498 @if libelf
15499 maybe-install-html-libelf: install-html-libelf
15501 install-html-libelf: \
15502 configure-libelf \
15503 html-libelf
15504 @[ -f ./libelf/Makefile ] || exit 0; \
15505 r=`${PWD_COMMAND}`; export r; \
15506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15507 $(HOST_EXPORTS) \
15508 for flag in $(EXTRA_HOST_FLAGS) ; do \
15509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15510 done; \
15511 echo "Doing install-html in libelf" ; \
15512 (cd $(HOST_SUBDIR)/libelf && \
15513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15515 "RANLIB=$${RANLIB}" \
15516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15517 install-html) \
15518 || exit 1
15520 @endif libelf
15522 .PHONY: maybe-installcheck-libelf installcheck-libelf
15523 maybe-installcheck-libelf:
15524 @if libelf
15525 maybe-installcheck-libelf: installcheck-libelf
15527 installcheck-libelf: \
15528 configure-libelf
15529 @[ -f ./libelf/Makefile ] || exit 0; \
15530 r=`${PWD_COMMAND}`; export r; \
15531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15532 $(HOST_EXPORTS) \
15533 for flag in $(EXTRA_HOST_FLAGS) ; do \
15534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15535 done; \
15536 echo "Doing installcheck in libelf" ; \
15537 (cd $(HOST_SUBDIR)/libelf && \
15538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15540 "RANLIB=$${RANLIB}" \
15541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15542 installcheck) \
15543 || exit 1
15545 @endif libelf
15547 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15548 maybe-mostlyclean-libelf:
15549 @if libelf
15550 maybe-mostlyclean-libelf: mostlyclean-libelf
15552 mostlyclean-libelf:
15553 @[ -f ./libelf/Makefile ] || exit 0; \
15554 r=`${PWD_COMMAND}`; export r; \
15555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15556 $(HOST_EXPORTS) \
15557 for flag in $(EXTRA_HOST_FLAGS) ; do \
15558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15559 done; \
15560 echo "Doing mostlyclean in libelf" ; \
15561 (cd $(HOST_SUBDIR)/libelf && \
15562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15564 "RANLIB=$${RANLIB}" \
15565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15566 mostlyclean) \
15567 || exit 1
15569 @endif libelf
15571 .PHONY: maybe-clean-libelf clean-libelf
15572 maybe-clean-libelf:
15573 @if libelf
15574 maybe-clean-libelf: clean-libelf
15576 clean-libelf:
15577 @[ -f ./libelf/Makefile ] || exit 0; \
15578 r=`${PWD_COMMAND}`; export r; \
15579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15580 $(HOST_EXPORTS) \
15581 for flag in $(EXTRA_HOST_FLAGS) ; do \
15582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15583 done; \
15584 echo "Doing clean in libelf" ; \
15585 (cd $(HOST_SUBDIR)/libelf && \
15586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15588 "RANLIB=$${RANLIB}" \
15589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15590 clean) \
15591 || exit 1
15593 @endif libelf
15595 .PHONY: maybe-distclean-libelf distclean-libelf
15596 maybe-distclean-libelf:
15597 @if libelf
15598 maybe-distclean-libelf: distclean-libelf
15600 distclean-libelf:
15601 @[ -f ./libelf/Makefile ] || exit 0; \
15602 r=`${PWD_COMMAND}`; export r; \
15603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15604 $(HOST_EXPORTS) \
15605 for flag in $(EXTRA_HOST_FLAGS) ; do \
15606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15607 done; \
15608 echo "Doing distclean in libelf" ; \
15609 (cd $(HOST_SUBDIR)/libelf && \
15610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15612 "RANLIB=$${RANLIB}" \
15613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15614 distclean) \
15615 || exit 1
15617 @endif libelf
15619 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15620 maybe-maintainer-clean-libelf:
15621 @if libelf
15622 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15624 maintainer-clean-libelf:
15625 @[ -f ./libelf/Makefile ] || exit 0; \
15626 r=`${PWD_COMMAND}`; export r; \
15627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15628 $(HOST_EXPORTS) \
15629 for flag in $(EXTRA_HOST_FLAGS) ; do \
15630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15631 done; \
15632 echo "Doing maintainer-clean in libelf" ; \
15633 (cd $(HOST_SUBDIR)/libelf && \
15634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15636 "RANLIB=$${RANLIB}" \
15637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15638 maintainer-clean) \
15639 || exit 1
15641 @endif libelf
15645 .PHONY: configure-gold maybe-configure-gold
15646 maybe-configure-gold:
15647 @if gcc-bootstrap
15648 configure-gold: stage_current
15649 @endif gcc-bootstrap
15650 @if gold
15651 maybe-configure-gold: configure-gold
15652 configure-gold:
15653 @r=`${PWD_COMMAND}`; export r; \
15654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15655 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15657 $(HOST_EXPORTS) \
15658 echo Configuring in $(HOST_SUBDIR)/gold; \
15659 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15660 case $(srcdir) in \
15661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15662 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15664 esac; \
15665 srcdiroption="--srcdir=$${topdir}/gold"; \
15666 libsrcdir="$$s/gold"; \
15667 $(SHELL) $${libsrcdir}/configure \
15668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15669 --target=${target_alias} $${srcdiroption} \
15670 || exit 1
15671 @endif gold
15675 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15676 maybe-configure-stage1-gold:
15677 @if gold-bootstrap
15678 maybe-configure-stage1-gold: configure-stage1-gold
15679 configure-stage1-gold:
15680 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15682 @r=`${PWD_COMMAND}`; export r; \
15683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15684 TFLAGS="$(STAGE1_TFLAGS)"; \
15685 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15686 $(HOST_EXPORTS) \
15687 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15688 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15689 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15690 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15692 cd $(HOST_SUBDIR)/gold || exit 1; \
15693 case $(srcdir) in \
15694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15695 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15697 esac; \
15698 srcdiroption="--srcdir=$${topdir}/gold"; \
15699 libsrcdir="$$s/gold"; \
15700 $(SHELL) $${libsrcdir}/configure \
15701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15702 --target=${target_alias} $${srcdiroption} \
15703 $(STAGE1_CONFIGURE_FLAGS)
15704 @endif gold-bootstrap
15706 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15707 maybe-configure-stage2-gold:
15708 @if gold-bootstrap
15709 maybe-configure-stage2-gold: configure-stage2-gold
15710 configure-stage2-gold:
15711 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15713 @r=`${PWD_COMMAND}`; export r; \
15714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15715 TFLAGS="$(STAGE2_TFLAGS)"; \
15716 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15717 $(HOST_EXPORTS) \
15718 $(POSTSTAGE1_HOST_EXPORTS) \
15719 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15720 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15721 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15722 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15724 cd $(HOST_SUBDIR)/gold || exit 1; \
15725 case $(srcdir) in \
15726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15727 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15729 esac; \
15730 srcdiroption="--srcdir=$${topdir}/gold"; \
15731 libsrcdir="$$s/gold"; \
15732 $(SHELL) $${libsrcdir}/configure \
15733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15734 --target=${target_alias} $${srcdiroption} \
15735 --with-build-libsubdir=$(HOST_SUBDIR) \
15736 $(STAGE2_CONFIGURE_FLAGS)
15737 @endif gold-bootstrap
15739 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15740 maybe-configure-stage3-gold:
15741 @if gold-bootstrap
15742 maybe-configure-stage3-gold: configure-stage3-gold
15743 configure-stage3-gold:
15744 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15745 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15746 @r=`${PWD_COMMAND}`; export r; \
15747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15748 TFLAGS="$(STAGE3_TFLAGS)"; \
15749 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15750 $(HOST_EXPORTS) \
15751 $(POSTSTAGE1_HOST_EXPORTS) \
15752 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15753 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15754 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15755 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15757 cd $(HOST_SUBDIR)/gold || exit 1; \
15758 case $(srcdir) in \
15759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15760 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15762 esac; \
15763 srcdiroption="--srcdir=$${topdir}/gold"; \
15764 libsrcdir="$$s/gold"; \
15765 $(SHELL) $${libsrcdir}/configure \
15766 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15767 --target=${target_alias} $${srcdiroption} \
15768 --with-build-libsubdir=$(HOST_SUBDIR) \
15769 $(STAGE3_CONFIGURE_FLAGS)
15770 @endif gold-bootstrap
15772 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15773 maybe-configure-stage4-gold:
15774 @if gold-bootstrap
15775 maybe-configure-stage4-gold: configure-stage4-gold
15776 configure-stage4-gold:
15777 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15778 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15779 @r=`${PWD_COMMAND}`; export r; \
15780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15781 TFLAGS="$(STAGE4_TFLAGS)"; \
15782 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15783 $(HOST_EXPORTS) \
15784 $(POSTSTAGE1_HOST_EXPORTS) \
15785 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15786 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15787 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15788 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15790 cd $(HOST_SUBDIR)/gold || exit 1; \
15791 case $(srcdir) in \
15792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15793 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15795 esac; \
15796 srcdiroption="--srcdir=$${topdir}/gold"; \
15797 libsrcdir="$$s/gold"; \
15798 $(SHELL) $${libsrcdir}/configure \
15799 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15800 --target=${target_alias} $${srcdiroption} \
15801 --with-build-libsubdir=$(HOST_SUBDIR) \
15802 $(STAGE4_CONFIGURE_FLAGS)
15803 @endif gold-bootstrap
15805 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15806 maybe-configure-stageprofile-gold:
15807 @if gold-bootstrap
15808 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15809 configure-stageprofile-gold:
15810 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15811 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15812 @r=`${PWD_COMMAND}`; export r; \
15813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15814 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15815 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15816 $(HOST_EXPORTS) \
15817 $(POSTSTAGE1_HOST_EXPORTS) \
15818 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15819 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15820 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15821 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15823 cd $(HOST_SUBDIR)/gold || exit 1; \
15824 case $(srcdir) in \
15825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15826 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15828 esac; \
15829 srcdiroption="--srcdir=$${topdir}/gold"; \
15830 libsrcdir="$$s/gold"; \
15831 $(SHELL) $${libsrcdir}/configure \
15832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15833 --target=${target_alias} $${srcdiroption} \
15834 --with-build-libsubdir=$(HOST_SUBDIR) \
15835 $(STAGEprofile_CONFIGURE_FLAGS)
15836 @endif gold-bootstrap
15838 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15839 maybe-configure-stagefeedback-gold:
15840 @if gold-bootstrap
15841 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15842 configure-stagefeedback-gold:
15843 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15844 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15845 @r=`${PWD_COMMAND}`; export r; \
15846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15847 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15848 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15849 $(HOST_EXPORTS) \
15850 $(POSTSTAGE1_HOST_EXPORTS) \
15851 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15852 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15853 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15854 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15856 cd $(HOST_SUBDIR)/gold || exit 1; \
15857 case $(srcdir) in \
15858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15859 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15861 esac; \
15862 srcdiroption="--srcdir=$${topdir}/gold"; \
15863 libsrcdir="$$s/gold"; \
15864 $(SHELL) $${libsrcdir}/configure \
15865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15866 --target=${target_alias} $${srcdiroption} \
15867 --with-build-libsubdir=$(HOST_SUBDIR) \
15868 $(STAGEfeedback_CONFIGURE_FLAGS)
15869 @endif gold-bootstrap
15875 .PHONY: all-gold maybe-all-gold
15876 maybe-all-gold:
15877 @if gcc-bootstrap
15878 all-gold: stage_current
15879 @endif gcc-bootstrap
15880 @if gold
15881 TARGET-gold=all
15882 maybe-all-gold: all-gold
15883 all-gold: configure-gold
15884 @r=`${PWD_COMMAND}`; export r; \
15885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15886 $(HOST_EXPORTS) \
15887 (cd $(HOST_SUBDIR)/gold && \
15888 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15889 $(TARGET-gold))
15890 @endif gold
15894 .PHONY: all-stage1-gold maybe-all-stage1-gold
15895 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15896 maybe-all-stage1-gold:
15897 maybe-clean-stage1-gold:
15898 @if gold-bootstrap
15899 maybe-all-stage1-gold: all-stage1-gold
15900 all-stage1: all-stage1-gold
15901 TARGET-stage1-gold = $(TARGET-gold)
15902 all-stage1-gold: configure-stage1-gold
15903 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15904 @r=`${PWD_COMMAND}`; export r; \
15905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15906 TFLAGS="$(STAGE1_TFLAGS)"; \
15907 $(HOST_EXPORTS) \
15908 cd $(HOST_SUBDIR)/gold && \
15909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15910 CFLAGS="$(STAGE1_CFLAGS)" \
15911 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15912 LIBCFLAGS="$(LIBCFLAGS)" \
15913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15916 $(EXTRA_HOST_FLAGS) \
15917 TFLAGS="$(STAGE1_TFLAGS)" \
15918 $(TARGET-stage1-gold)
15920 maybe-clean-stage1-gold: clean-stage1-gold
15921 clean-stage1: clean-stage1-gold
15922 clean-stage1-gold:
15923 @if [ $(current_stage) = stage1 ]; then \
15924 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15925 else \
15926 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15927 $(MAKE) stage1-start; \
15928 fi; \
15929 cd $(HOST_SUBDIR)/gold && \
15930 $(MAKE) $(EXTRA_HOST_FLAGS) \
15931 clean
15932 @endif gold-bootstrap
15935 .PHONY: all-stage2-gold maybe-all-stage2-gold
15936 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15937 maybe-all-stage2-gold:
15938 maybe-clean-stage2-gold:
15939 @if gold-bootstrap
15940 maybe-all-stage2-gold: all-stage2-gold
15941 all-stage2: all-stage2-gold
15942 TARGET-stage2-gold = $(TARGET-gold)
15943 all-stage2-gold: configure-stage2-gold
15944 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15945 @r=`${PWD_COMMAND}`; export r; \
15946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15947 TFLAGS="$(STAGE2_TFLAGS)"; \
15948 $(HOST_EXPORTS) \
15949 $(POSTSTAGE1_HOST_EXPORTS) \
15950 cd $(HOST_SUBDIR)/gold && \
15951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15952 CFLAGS="$(STAGE2_CFLAGS)" \
15953 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15954 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15955 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15956 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15957 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15958 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15959 TFLAGS="$(STAGE2_TFLAGS)" \
15960 $(TARGET-stage2-gold)
15962 maybe-clean-stage2-gold: clean-stage2-gold
15963 clean-stage2: clean-stage2-gold
15964 clean-stage2-gold:
15965 @if [ $(current_stage) = stage2 ]; then \
15966 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15967 else \
15968 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15969 $(MAKE) stage2-start; \
15970 fi; \
15971 cd $(HOST_SUBDIR)/gold && \
15972 $(MAKE) $(EXTRA_HOST_FLAGS) \
15973 $(POSTSTAGE1_FLAGS_TO_PASS) \
15974 clean
15975 @endif gold-bootstrap
15978 .PHONY: all-stage3-gold maybe-all-stage3-gold
15979 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15980 maybe-all-stage3-gold:
15981 maybe-clean-stage3-gold:
15982 @if gold-bootstrap
15983 maybe-all-stage3-gold: all-stage3-gold
15984 all-stage3: all-stage3-gold
15985 TARGET-stage3-gold = $(TARGET-gold)
15986 all-stage3-gold: configure-stage3-gold
15987 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15988 @r=`${PWD_COMMAND}`; export r; \
15989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15990 TFLAGS="$(STAGE3_TFLAGS)"; \
15991 $(HOST_EXPORTS) \
15992 $(POSTSTAGE1_HOST_EXPORTS) \
15993 cd $(HOST_SUBDIR)/gold && \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15995 CFLAGS="$(STAGE3_CFLAGS)" \
15996 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15997 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16002 TFLAGS="$(STAGE3_TFLAGS)" \
16003 $(TARGET-stage3-gold)
16005 maybe-clean-stage3-gold: clean-stage3-gold
16006 clean-stage3: clean-stage3-gold
16007 clean-stage3-gold:
16008 @if [ $(current_stage) = stage3 ]; then \
16009 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16010 else \
16011 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
16012 $(MAKE) stage3-start; \
16013 fi; \
16014 cd $(HOST_SUBDIR)/gold && \
16015 $(MAKE) $(EXTRA_HOST_FLAGS) \
16016 $(POSTSTAGE1_FLAGS_TO_PASS) \
16017 clean
16018 @endif gold-bootstrap
16021 .PHONY: all-stage4-gold maybe-all-stage4-gold
16022 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
16023 maybe-all-stage4-gold:
16024 maybe-clean-stage4-gold:
16025 @if gold-bootstrap
16026 maybe-all-stage4-gold: all-stage4-gold
16027 all-stage4: all-stage4-gold
16028 TARGET-stage4-gold = $(TARGET-gold)
16029 all-stage4-gold: configure-stage4-gold
16030 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16031 @r=`${PWD_COMMAND}`; export r; \
16032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16033 TFLAGS="$(STAGE4_TFLAGS)"; \
16034 $(HOST_EXPORTS) \
16035 $(POSTSTAGE1_HOST_EXPORTS) \
16036 cd $(HOST_SUBDIR)/gold && \
16037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16038 CFLAGS="$(STAGE4_CFLAGS)" \
16039 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16040 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16041 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16042 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16043 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16044 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16045 TFLAGS="$(STAGE4_TFLAGS)" \
16046 $(TARGET-stage4-gold)
16048 maybe-clean-stage4-gold: clean-stage4-gold
16049 clean-stage4: clean-stage4-gold
16050 clean-stage4-gold:
16051 @if [ $(current_stage) = stage4 ]; then \
16052 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16053 else \
16054 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16055 $(MAKE) stage4-start; \
16056 fi; \
16057 cd $(HOST_SUBDIR)/gold && \
16058 $(MAKE) $(EXTRA_HOST_FLAGS) \
16059 $(POSTSTAGE1_FLAGS_TO_PASS) \
16060 clean
16061 @endif gold-bootstrap
16064 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16065 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16066 maybe-all-stageprofile-gold:
16067 maybe-clean-stageprofile-gold:
16068 @if gold-bootstrap
16069 maybe-all-stageprofile-gold: all-stageprofile-gold
16070 all-stageprofile: all-stageprofile-gold
16071 TARGET-stageprofile-gold = $(TARGET-gold)
16072 all-stageprofile-gold: configure-stageprofile-gold
16073 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16074 @r=`${PWD_COMMAND}`; export r; \
16075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16076 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16077 $(HOST_EXPORTS) \
16078 $(POSTSTAGE1_HOST_EXPORTS) \
16079 cd $(HOST_SUBDIR)/gold && \
16080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16081 CFLAGS="$(STAGEprofile_CFLAGS)" \
16082 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16083 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16087 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16088 TFLAGS="$(STAGEprofile_TFLAGS)" \
16089 $(TARGET-stageprofile-gold)
16091 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16092 clean-stageprofile: clean-stageprofile-gold
16093 clean-stageprofile-gold:
16094 @if [ $(current_stage) = stageprofile ]; then \
16095 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16096 else \
16097 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16098 $(MAKE) stageprofile-start; \
16099 fi; \
16100 cd $(HOST_SUBDIR)/gold && \
16101 $(MAKE) $(EXTRA_HOST_FLAGS) \
16102 $(POSTSTAGE1_FLAGS_TO_PASS) \
16103 clean
16104 @endif gold-bootstrap
16107 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16108 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16109 maybe-all-stagefeedback-gold:
16110 maybe-clean-stagefeedback-gold:
16111 @if gold-bootstrap
16112 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16113 all-stagefeedback: all-stagefeedback-gold
16114 TARGET-stagefeedback-gold = $(TARGET-gold)
16115 all-stagefeedback-gold: configure-stagefeedback-gold
16116 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16117 @r=`${PWD_COMMAND}`; export r; \
16118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16119 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16120 $(HOST_EXPORTS) \
16121 $(POSTSTAGE1_HOST_EXPORTS) \
16122 cd $(HOST_SUBDIR)/gold && \
16123 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16124 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16125 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16126 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16127 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16128 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16129 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16130 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16131 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16132 $(TARGET-stagefeedback-gold)
16134 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16135 clean-stagefeedback: clean-stagefeedback-gold
16136 clean-stagefeedback-gold:
16137 @if [ $(current_stage) = stagefeedback ]; then \
16138 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16139 else \
16140 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16141 $(MAKE) stagefeedback-start; \
16142 fi; \
16143 cd $(HOST_SUBDIR)/gold && \
16144 $(MAKE) $(EXTRA_HOST_FLAGS) \
16145 $(POSTSTAGE1_FLAGS_TO_PASS) \
16146 clean
16147 @endif gold-bootstrap
16153 .PHONY: check-gold maybe-check-gold
16154 maybe-check-gold:
16155 @if gold
16156 maybe-check-gold: check-gold
16158 check-gold:
16159 @: $(MAKE); $(unstage)
16160 @r=`${PWD_COMMAND}`; export r; \
16161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16162 $(HOST_EXPORTS) \
16163 (cd $(HOST_SUBDIR)/gold && \
16164 $(MAKE) $(FLAGS_TO_PASS) check)
16166 @endif gold
16168 .PHONY: install-gold maybe-install-gold
16169 maybe-install-gold:
16170 @if gold
16171 maybe-install-gold: install-gold
16173 install-gold: installdirs
16174 @: $(MAKE); $(unstage)
16175 @r=`${PWD_COMMAND}`; export r; \
16176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16177 $(HOST_EXPORTS) \
16178 (cd $(HOST_SUBDIR)/gold && \
16179 $(MAKE) $(FLAGS_TO_PASS) install)
16181 @endif gold
16183 .PHONY: install-strip-gold maybe-install-strip-gold
16184 maybe-install-strip-gold:
16185 @if gold
16186 maybe-install-strip-gold: install-strip-gold
16188 install-strip-gold: installdirs
16189 @: $(MAKE); $(unstage)
16190 @r=`${PWD_COMMAND}`; export r; \
16191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16192 $(HOST_EXPORTS) \
16193 (cd $(HOST_SUBDIR)/gold && \
16194 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16196 @endif gold
16198 # Other targets (info, dvi, pdf, etc.)
16200 .PHONY: maybe-info-gold info-gold
16201 maybe-info-gold:
16202 @if gold
16203 maybe-info-gold: info-gold
16205 info-gold: \
16206 configure-gold
16207 @[ -f ./gold/Makefile ] || exit 0; \
16208 r=`${PWD_COMMAND}`; export r; \
16209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16210 $(HOST_EXPORTS) \
16211 for flag in $(EXTRA_HOST_FLAGS) ; do \
16212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16213 done; \
16214 echo "Doing info in gold" ; \
16215 (cd $(HOST_SUBDIR)/gold && \
16216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16218 "RANLIB=$${RANLIB}" \
16219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16220 info) \
16221 || exit 1
16223 @endif gold
16225 .PHONY: maybe-dvi-gold dvi-gold
16226 maybe-dvi-gold:
16227 @if gold
16228 maybe-dvi-gold: dvi-gold
16230 dvi-gold: \
16231 configure-gold
16232 @[ -f ./gold/Makefile ] || exit 0; \
16233 r=`${PWD_COMMAND}`; export r; \
16234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16235 $(HOST_EXPORTS) \
16236 for flag in $(EXTRA_HOST_FLAGS) ; do \
16237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16238 done; \
16239 echo "Doing dvi in gold" ; \
16240 (cd $(HOST_SUBDIR)/gold && \
16241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16243 "RANLIB=$${RANLIB}" \
16244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16245 dvi) \
16246 || exit 1
16248 @endif gold
16250 .PHONY: maybe-pdf-gold pdf-gold
16251 maybe-pdf-gold:
16252 @if gold
16253 maybe-pdf-gold: pdf-gold
16255 pdf-gold: \
16256 configure-gold
16257 @[ -f ./gold/Makefile ] || exit 0; \
16258 r=`${PWD_COMMAND}`; export r; \
16259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16260 $(HOST_EXPORTS) \
16261 for flag in $(EXTRA_HOST_FLAGS) ; do \
16262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16263 done; \
16264 echo "Doing pdf in gold" ; \
16265 (cd $(HOST_SUBDIR)/gold && \
16266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16268 "RANLIB=$${RANLIB}" \
16269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16270 pdf) \
16271 || exit 1
16273 @endif gold
16275 .PHONY: maybe-html-gold html-gold
16276 maybe-html-gold:
16277 @if gold
16278 maybe-html-gold: html-gold
16280 html-gold: \
16281 configure-gold
16282 @[ -f ./gold/Makefile ] || exit 0; \
16283 r=`${PWD_COMMAND}`; export r; \
16284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16285 $(HOST_EXPORTS) \
16286 for flag in $(EXTRA_HOST_FLAGS) ; do \
16287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16288 done; \
16289 echo "Doing html in gold" ; \
16290 (cd $(HOST_SUBDIR)/gold && \
16291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16293 "RANLIB=$${RANLIB}" \
16294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16295 html) \
16296 || exit 1
16298 @endif gold
16300 .PHONY: maybe-TAGS-gold TAGS-gold
16301 maybe-TAGS-gold:
16302 @if gold
16303 maybe-TAGS-gold: TAGS-gold
16305 TAGS-gold: \
16306 configure-gold
16307 @[ -f ./gold/Makefile ] || exit 0; \
16308 r=`${PWD_COMMAND}`; export r; \
16309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16310 $(HOST_EXPORTS) \
16311 for flag in $(EXTRA_HOST_FLAGS) ; do \
16312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16313 done; \
16314 echo "Doing TAGS in gold" ; \
16315 (cd $(HOST_SUBDIR)/gold && \
16316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16318 "RANLIB=$${RANLIB}" \
16319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16320 TAGS) \
16321 || exit 1
16323 @endif gold
16325 .PHONY: maybe-install-info-gold install-info-gold
16326 maybe-install-info-gold:
16327 @if gold
16328 maybe-install-info-gold: install-info-gold
16330 install-info-gold: \
16331 configure-gold \
16332 info-gold
16333 @[ -f ./gold/Makefile ] || exit 0; \
16334 r=`${PWD_COMMAND}`; export r; \
16335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16336 $(HOST_EXPORTS) \
16337 for flag in $(EXTRA_HOST_FLAGS) ; do \
16338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16339 done; \
16340 echo "Doing install-info in gold" ; \
16341 (cd $(HOST_SUBDIR)/gold && \
16342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16344 "RANLIB=$${RANLIB}" \
16345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16346 install-info) \
16347 || exit 1
16349 @endif gold
16351 .PHONY: maybe-install-pdf-gold install-pdf-gold
16352 maybe-install-pdf-gold:
16353 @if gold
16354 maybe-install-pdf-gold: install-pdf-gold
16356 install-pdf-gold: \
16357 configure-gold \
16358 pdf-gold
16359 @[ -f ./gold/Makefile ] || exit 0; \
16360 r=`${PWD_COMMAND}`; export r; \
16361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16362 $(HOST_EXPORTS) \
16363 for flag in $(EXTRA_HOST_FLAGS) ; do \
16364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16365 done; \
16366 echo "Doing install-pdf in gold" ; \
16367 (cd $(HOST_SUBDIR)/gold && \
16368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16370 "RANLIB=$${RANLIB}" \
16371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16372 install-pdf) \
16373 || exit 1
16375 @endif gold
16377 .PHONY: maybe-install-html-gold install-html-gold
16378 maybe-install-html-gold:
16379 @if gold
16380 maybe-install-html-gold: install-html-gold
16382 install-html-gold: \
16383 configure-gold \
16384 html-gold
16385 @[ -f ./gold/Makefile ] || exit 0; \
16386 r=`${PWD_COMMAND}`; export r; \
16387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16388 $(HOST_EXPORTS) \
16389 for flag in $(EXTRA_HOST_FLAGS) ; do \
16390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16391 done; \
16392 echo "Doing install-html in gold" ; \
16393 (cd $(HOST_SUBDIR)/gold && \
16394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16396 "RANLIB=$${RANLIB}" \
16397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16398 install-html) \
16399 || exit 1
16401 @endif gold
16403 .PHONY: maybe-installcheck-gold installcheck-gold
16404 maybe-installcheck-gold:
16405 @if gold
16406 maybe-installcheck-gold: installcheck-gold
16408 installcheck-gold: \
16409 configure-gold
16410 @[ -f ./gold/Makefile ] || exit 0; \
16411 r=`${PWD_COMMAND}`; export r; \
16412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16413 $(HOST_EXPORTS) \
16414 for flag in $(EXTRA_HOST_FLAGS) ; do \
16415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16416 done; \
16417 echo "Doing installcheck in gold" ; \
16418 (cd $(HOST_SUBDIR)/gold && \
16419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16421 "RANLIB=$${RANLIB}" \
16422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16423 installcheck) \
16424 || exit 1
16426 @endif gold
16428 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16429 maybe-mostlyclean-gold:
16430 @if gold
16431 maybe-mostlyclean-gold: mostlyclean-gold
16433 mostlyclean-gold:
16434 @[ -f ./gold/Makefile ] || exit 0; \
16435 r=`${PWD_COMMAND}`; export r; \
16436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16437 $(HOST_EXPORTS) \
16438 for flag in $(EXTRA_HOST_FLAGS) ; do \
16439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16440 done; \
16441 echo "Doing mostlyclean in gold" ; \
16442 (cd $(HOST_SUBDIR)/gold && \
16443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16445 "RANLIB=$${RANLIB}" \
16446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16447 mostlyclean) \
16448 || exit 1
16450 @endif gold
16452 .PHONY: maybe-clean-gold clean-gold
16453 maybe-clean-gold:
16454 @if gold
16455 maybe-clean-gold: clean-gold
16457 clean-gold:
16458 @[ -f ./gold/Makefile ] || exit 0; \
16459 r=`${PWD_COMMAND}`; export r; \
16460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16461 $(HOST_EXPORTS) \
16462 for flag in $(EXTRA_HOST_FLAGS) ; do \
16463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16464 done; \
16465 echo "Doing clean in gold" ; \
16466 (cd $(HOST_SUBDIR)/gold && \
16467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16469 "RANLIB=$${RANLIB}" \
16470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16471 clean) \
16472 || exit 1
16474 @endif gold
16476 .PHONY: maybe-distclean-gold distclean-gold
16477 maybe-distclean-gold:
16478 @if gold
16479 maybe-distclean-gold: distclean-gold
16481 distclean-gold:
16482 @[ -f ./gold/Makefile ] || exit 0; \
16483 r=`${PWD_COMMAND}`; export r; \
16484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16485 $(HOST_EXPORTS) \
16486 for flag in $(EXTRA_HOST_FLAGS) ; do \
16487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16488 done; \
16489 echo "Doing distclean in gold" ; \
16490 (cd $(HOST_SUBDIR)/gold && \
16491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16493 "RANLIB=$${RANLIB}" \
16494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16495 distclean) \
16496 || exit 1
16498 @endif gold
16500 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16501 maybe-maintainer-clean-gold:
16502 @if gold
16503 maybe-maintainer-clean-gold: maintainer-clean-gold
16505 maintainer-clean-gold:
16506 @[ -f ./gold/Makefile ] || exit 0; \
16507 r=`${PWD_COMMAND}`; export r; \
16508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16509 $(HOST_EXPORTS) \
16510 for flag in $(EXTRA_HOST_FLAGS) ; do \
16511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16512 done; \
16513 echo "Doing maintainer-clean in gold" ; \
16514 (cd $(HOST_SUBDIR)/gold && \
16515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16517 "RANLIB=$${RANLIB}" \
16518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16519 maintainer-clean) \
16520 || exit 1
16522 @endif gold
16526 .PHONY: configure-gprof maybe-configure-gprof
16527 maybe-configure-gprof:
16528 @if gcc-bootstrap
16529 configure-gprof: stage_current
16530 @endif gcc-bootstrap
16531 @if gprof
16532 maybe-configure-gprof: configure-gprof
16533 configure-gprof:
16534 @: $(MAKE); $(unstage)
16535 @r=`${PWD_COMMAND}`; export r; \
16536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16537 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16539 $(HOST_EXPORTS) \
16540 echo Configuring in $(HOST_SUBDIR)/gprof; \
16541 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16542 case $(srcdir) in \
16543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16544 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16546 esac; \
16547 srcdiroption="--srcdir=$${topdir}/gprof"; \
16548 libsrcdir="$$s/gprof"; \
16549 $(SHELL) $${libsrcdir}/configure \
16550 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16551 --target=${target_alias} $${srcdiroption} \
16552 || exit 1
16553 @endif gprof
16559 .PHONY: all-gprof maybe-all-gprof
16560 maybe-all-gprof:
16561 @if gcc-bootstrap
16562 all-gprof: stage_current
16563 @endif gcc-bootstrap
16564 @if gprof
16565 TARGET-gprof=all
16566 maybe-all-gprof: all-gprof
16567 all-gprof: configure-gprof
16568 @: $(MAKE); $(unstage)
16569 @r=`${PWD_COMMAND}`; export r; \
16570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16571 $(HOST_EXPORTS) \
16572 (cd $(HOST_SUBDIR)/gprof && \
16573 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16574 $(TARGET-gprof))
16575 @endif gprof
16580 .PHONY: check-gprof maybe-check-gprof
16581 maybe-check-gprof:
16582 @if gprof
16583 maybe-check-gprof: check-gprof
16585 check-gprof:
16586 @: $(MAKE); $(unstage)
16587 @r=`${PWD_COMMAND}`; export r; \
16588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16589 $(HOST_EXPORTS) \
16590 (cd $(HOST_SUBDIR)/gprof && \
16591 $(MAKE) $(FLAGS_TO_PASS) check)
16593 @endif gprof
16595 .PHONY: install-gprof maybe-install-gprof
16596 maybe-install-gprof:
16597 @if gprof
16598 maybe-install-gprof: install-gprof
16600 install-gprof: installdirs
16601 @: $(MAKE); $(unstage)
16602 @r=`${PWD_COMMAND}`; export r; \
16603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16604 $(HOST_EXPORTS) \
16605 (cd $(HOST_SUBDIR)/gprof && \
16606 $(MAKE) $(FLAGS_TO_PASS) install)
16608 @endif gprof
16610 .PHONY: install-strip-gprof maybe-install-strip-gprof
16611 maybe-install-strip-gprof:
16612 @if gprof
16613 maybe-install-strip-gprof: install-strip-gprof
16615 install-strip-gprof: installdirs
16616 @: $(MAKE); $(unstage)
16617 @r=`${PWD_COMMAND}`; export r; \
16618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16619 $(HOST_EXPORTS) \
16620 (cd $(HOST_SUBDIR)/gprof && \
16621 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16623 @endif gprof
16625 # Other targets (info, dvi, pdf, etc.)
16627 .PHONY: maybe-info-gprof info-gprof
16628 maybe-info-gprof:
16629 @if gprof
16630 maybe-info-gprof: info-gprof
16632 info-gprof: \
16633 configure-gprof
16634 @: $(MAKE); $(unstage)
16635 @[ -f ./gprof/Makefile ] || exit 0; \
16636 r=`${PWD_COMMAND}`; export r; \
16637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16638 $(HOST_EXPORTS) \
16639 for flag in $(EXTRA_HOST_FLAGS) ; do \
16640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16641 done; \
16642 echo "Doing info in gprof" ; \
16643 (cd $(HOST_SUBDIR)/gprof && \
16644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16646 "RANLIB=$${RANLIB}" \
16647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16648 info) \
16649 || exit 1
16651 @endif gprof
16653 .PHONY: maybe-dvi-gprof dvi-gprof
16654 maybe-dvi-gprof:
16655 @if gprof
16656 maybe-dvi-gprof: dvi-gprof
16658 dvi-gprof: \
16659 configure-gprof
16660 @: $(MAKE); $(unstage)
16661 @[ -f ./gprof/Makefile ] || exit 0; \
16662 r=`${PWD_COMMAND}`; export r; \
16663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16664 $(HOST_EXPORTS) \
16665 for flag in $(EXTRA_HOST_FLAGS) ; do \
16666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16667 done; \
16668 echo "Doing dvi in gprof" ; \
16669 (cd $(HOST_SUBDIR)/gprof && \
16670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16672 "RANLIB=$${RANLIB}" \
16673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16674 dvi) \
16675 || exit 1
16677 @endif gprof
16679 .PHONY: maybe-pdf-gprof pdf-gprof
16680 maybe-pdf-gprof:
16681 @if gprof
16682 maybe-pdf-gprof: pdf-gprof
16684 pdf-gprof: \
16685 configure-gprof
16686 @: $(MAKE); $(unstage)
16687 @[ -f ./gprof/Makefile ] || exit 0; \
16688 r=`${PWD_COMMAND}`; export r; \
16689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16690 $(HOST_EXPORTS) \
16691 for flag in $(EXTRA_HOST_FLAGS) ; do \
16692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16693 done; \
16694 echo "Doing pdf in gprof" ; \
16695 (cd $(HOST_SUBDIR)/gprof && \
16696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16698 "RANLIB=$${RANLIB}" \
16699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16700 pdf) \
16701 || exit 1
16703 @endif gprof
16705 .PHONY: maybe-html-gprof html-gprof
16706 maybe-html-gprof:
16707 @if gprof
16708 maybe-html-gprof: html-gprof
16710 html-gprof: \
16711 configure-gprof
16712 @: $(MAKE); $(unstage)
16713 @[ -f ./gprof/Makefile ] || exit 0; \
16714 r=`${PWD_COMMAND}`; export r; \
16715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16716 $(HOST_EXPORTS) \
16717 for flag in $(EXTRA_HOST_FLAGS) ; do \
16718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16719 done; \
16720 echo "Doing html in gprof" ; \
16721 (cd $(HOST_SUBDIR)/gprof && \
16722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16724 "RANLIB=$${RANLIB}" \
16725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16726 html) \
16727 || exit 1
16729 @endif gprof
16731 .PHONY: maybe-TAGS-gprof TAGS-gprof
16732 maybe-TAGS-gprof:
16733 @if gprof
16734 maybe-TAGS-gprof: TAGS-gprof
16736 TAGS-gprof: \
16737 configure-gprof
16738 @: $(MAKE); $(unstage)
16739 @[ -f ./gprof/Makefile ] || exit 0; \
16740 r=`${PWD_COMMAND}`; export r; \
16741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16742 $(HOST_EXPORTS) \
16743 for flag in $(EXTRA_HOST_FLAGS) ; do \
16744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16745 done; \
16746 echo "Doing TAGS in gprof" ; \
16747 (cd $(HOST_SUBDIR)/gprof && \
16748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16750 "RANLIB=$${RANLIB}" \
16751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16752 TAGS) \
16753 || exit 1
16755 @endif gprof
16757 .PHONY: maybe-install-info-gprof install-info-gprof
16758 maybe-install-info-gprof:
16759 @if gprof
16760 maybe-install-info-gprof: install-info-gprof
16762 install-info-gprof: \
16763 configure-gprof \
16764 info-gprof
16765 @: $(MAKE); $(unstage)
16766 @[ -f ./gprof/Makefile ] || exit 0; \
16767 r=`${PWD_COMMAND}`; export r; \
16768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16769 $(HOST_EXPORTS) \
16770 for flag in $(EXTRA_HOST_FLAGS) ; do \
16771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16772 done; \
16773 echo "Doing install-info in gprof" ; \
16774 (cd $(HOST_SUBDIR)/gprof && \
16775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16777 "RANLIB=$${RANLIB}" \
16778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16779 install-info) \
16780 || exit 1
16782 @endif gprof
16784 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16785 maybe-install-pdf-gprof:
16786 @if gprof
16787 maybe-install-pdf-gprof: install-pdf-gprof
16789 install-pdf-gprof: \
16790 configure-gprof \
16791 pdf-gprof
16792 @: $(MAKE); $(unstage)
16793 @[ -f ./gprof/Makefile ] || exit 0; \
16794 r=`${PWD_COMMAND}`; export r; \
16795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16796 $(HOST_EXPORTS) \
16797 for flag in $(EXTRA_HOST_FLAGS) ; do \
16798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16799 done; \
16800 echo "Doing install-pdf in gprof" ; \
16801 (cd $(HOST_SUBDIR)/gprof && \
16802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16804 "RANLIB=$${RANLIB}" \
16805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16806 install-pdf) \
16807 || exit 1
16809 @endif gprof
16811 .PHONY: maybe-install-html-gprof install-html-gprof
16812 maybe-install-html-gprof:
16813 @if gprof
16814 maybe-install-html-gprof: install-html-gprof
16816 install-html-gprof: \
16817 configure-gprof \
16818 html-gprof
16819 @: $(MAKE); $(unstage)
16820 @[ -f ./gprof/Makefile ] || exit 0; \
16821 r=`${PWD_COMMAND}`; export r; \
16822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16823 $(HOST_EXPORTS) \
16824 for flag in $(EXTRA_HOST_FLAGS) ; do \
16825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16826 done; \
16827 echo "Doing install-html in gprof" ; \
16828 (cd $(HOST_SUBDIR)/gprof && \
16829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16831 "RANLIB=$${RANLIB}" \
16832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16833 install-html) \
16834 || exit 1
16836 @endif gprof
16838 .PHONY: maybe-installcheck-gprof installcheck-gprof
16839 maybe-installcheck-gprof:
16840 @if gprof
16841 maybe-installcheck-gprof: installcheck-gprof
16843 installcheck-gprof: \
16844 configure-gprof
16845 @: $(MAKE); $(unstage)
16846 @[ -f ./gprof/Makefile ] || exit 0; \
16847 r=`${PWD_COMMAND}`; export r; \
16848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16849 $(HOST_EXPORTS) \
16850 for flag in $(EXTRA_HOST_FLAGS) ; do \
16851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16852 done; \
16853 echo "Doing installcheck in gprof" ; \
16854 (cd $(HOST_SUBDIR)/gprof && \
16855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16857 "RANLIB=$${RANLIB}" \
16858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16859 installcheck) \
16860 || exit 1
16862 @endif gprof
16864 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16865 maybe-mostlyclean-gprof:
16866 @if gprof
16867 maybe-mostlyclean-gprof: mostlyclean-gprof
16869 mostlyclean-gprof:
16870 @: $(MAKE); $(unstage)
16871 @[ -f ./gprof/Makefile ] || exit 0; \
16872 r=`${PWD_COMMAND}`; export r; \
16873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16874 $(HOST_EXPORTS) \
16875 for flag in $(EXTRA_HOST_FLAGS) ; do \
16876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16877 done; \
16878 echo "Doing mostlyclean in gprof" ; \
16879 (cd $(HOST_SUBDIR)/gprof && \
16880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16882 "RANLIB=$${RANLIB}" \
16883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16884 mostlyclean) \
16885 || exit 1
16887 @endif gprof
16889 .PHONY: maybe-clean-gprof clean-gprof
16890 maybe-clean-gprof:
16891 @if gprof
16892 maybe-clean-gprof: clean-gprof
16894 clean-gprof:
16895 @: $(MAKE); $(unstage)
16896 @[ -f ./gprof/Makefile ] || exit 0; \
16897 r=`${PWD_COMMAND}`; export r; \
16898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16899 $(HOST_EXPORTS) \
16900 for flag in $(EXTRA_HOST_FLAGS) ; do \
16901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16902 done; \
16903 echo "Doing clean in gprof" ; \
16904 (cd $(HOST_SUBDIR)/gprof && \
16905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16907 "RANLIB=$${RANLIB}" \
16908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16909 clean) \
16910 || exit 1
16912 @endif gprof
16914 .PHONY: maybe-distclean-gprof distclean-gprof
16915 maybe-distclean-gprof:
16916 @if gprof
16917 maybe-distclean-gprof: distclean-gprof
16919 distclean-gprof:
16920 @: $(MAKE); $(unstage)
16921 @[ -f ./gprof/Makefile ] || exit 0; \
16922 r=`${PWD_COMMAND}`; export r; \
16923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16924 $(HOST_EXPORTS) \
16925 for flag in $(EXTRA_HOST_FLAGS) ; do \
16926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16927 done; \
16928 echo "Doing distclean in gprof" ; \
16929 (cd $(HOST_SUBDIR)/gprof && \
16930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16932 "RANLIB=$${RANLIB}" \
16933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16934 distclean) \
16935 || exit 1
16937 @endif gprof
16939 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16940 maybe-maintainer-clean-gprof:
16941 @if gprof
16942 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16944 maintainer-clean-gprof:
16945 @: $(MAKE); $(unstage)
16946 @[ -f ./gprof/Makefile ] || exit 0; \
16947 r=`${PWD_COMMAND}`; export r; \
16948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16949 $(HOST_EXPORTS) \
16950 for flag in $(EXTRA_HOST_FLAGS) ; do \
16951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16952 done; \
16953 echo "Doing maintainer-clean in gprof" ; \
16954 (cd $(HOST_SUBDIR)/gprof && \
16955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16957 "RANLIB=$${RANLIB}" \
16958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16959 maintainer-clean) \
16960 || exit 1
16962 @endif gprof
16966 .PHONY: configure-intl maybe-configure-intl
16967 maybe-configure-intl:
16968 @if gcc-bootstrap
16969 configure-intl: stage_current
16970 @endif gcc-bootstrap
16971 @if intl
16972 maybe-configure-intl: configure-intl
16973 configure-intl:
16974 @r=`${PWD_COMMAND}`; export r; \
16975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16976 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16978 $(HOST_EXPORTS) \
16979 echo Configuring in $(HOST_SUBDIR)/intl; \
16980 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16981 case $(srcdir) in \
16982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16983 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16985 esac; \
16986 srcdiroption="--srcdir=$${topdir}/intl"; \
16987 libsrcdir="$$s/intl"; \
16988 $(SHELL) $${libsrcdir}/configure \
16989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16990 --target=${target_alias} $${srcdiroption} \
16991 || exit 1
16992 @endif intl
16996 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16997 maybe-configure-stage1-intl:
16998 @if intl-bootstrap
16999 maybe-configure-stage1-intl: configure-stage1-intl
17000 configure-stage1-intl:
17001 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17003 @r=`${PWD_COMMAND}`; export r; \
17004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17005 TFLAGS="$(STAGE1_TFLAGS)"; \
17006 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17007 $(HOST_EXPORTS) \
17008 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17009 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17010 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17011 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
17012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17013 cd $(HOST_SUBDIR)/intl || exit 1; \
17014 case $(srcdir) in \
17015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17016 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17018 esac; \
17019 srcdiroption="--srcdir=$${topdir}/intl"; \
17020 libsrcdir="$$s/intl"; \
17021 $(SHELL) $${libsrcdir}/configure \
17022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17023 --target=${target_alias} $${srcdiroption} \
17024 $(STAGE1_CONFIGURE_FLAGS)
17025 @endif intl-bootstrap
17027 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17028 maybe-configure-stage2-intl:
17029 @if intl-bootstrap
17030 maybe-configure-stage2-intl: configure-stage2-intl
17031 configure-stage2-intl:
17032 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17034 @r=`${PWD_COMMAND}`; export r; \
17035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17036 TFLAGS="$(STAGE2_TFLAGS)"; \
17037 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17038 $(HOST_EXPORTS) \
17039 $(POSTSTAGE1_HOST_EXPORTS) \
17040 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17041 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17042 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17043 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17045 cd $(HOST_SUBDIR)/intl || exit 1; \
17046 case $(srcdir) in \
17047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17048 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17050 esac; \
17051 srcdiroption="--srcdir=$${topdir}/intl"; \
17052 libsrcdir="$$s/intl"; \
17053 $(SHELL) $${libsrcdir}/configure \
17054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17055 --target=${target_alias} $${srcdiroption} \
17056 --with-build-libsubdir=$(HOST_SUBDIR) \
17057 $(STAGE2_CONFIGURE_FLAGS)
17058 @endif intl-bootstrap
17060 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17061 maybe-configure-stage3-intl:
17062 @if intl-bootstrap
17063 maybe-configure-stage3-intl: configure-stage3-intl
17064 configure-stage3-intl:
17065 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17066 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17067 @r=`${PWD_COMMAND}`; export r; \
17068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17069 TFLAGS="$(STAGE3_TFLAGS)"; \
17070 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17071 $(HOST_EXPORTS) \
17072 $(POSTSTAGE1_HOST_EXPORTS) \
17073 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17074 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17075 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17076 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17078 cd $(HOST_SUBDIR)/intl || exit 1; \
17079 case $(srcdir) in \
17080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17081 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17083 esac; \
17084 srcdiroption="--srcdir=$${topdir}/intl"; \
17085 libsrcdir="$$s/intl"; \
17086 $(SHELL) $${libsrcdir}/configure \
17087 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17088 --target=${target_alias} $${srcdiroption} \
17089 --with-build-libsubdir=$(HOST_SUBDIR) \
17090 $(STAGE3_CONFIGURE_FLAGS)
17091 @endif intl-bootstrap
17093 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17094 maybe-configure-stage4-intl:
17095 @if intl-bootstrap
17096 maybe-configure-stage4-intl: configure-stage4-intl
17097 configure-stage4-intl:
17098 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17100 @r=`${PWD_COMMAND}`; export r; \
17101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17102 TFLAGS="$(STAGE4_TFLAGS)"; \
17103 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17104 $(HOST_EXPORTS) \
17105 $(POSTSTAGE1_HOST_EXPORTS) \
17106 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17107 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17108 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17109 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17111 cd $(HOST_SUBDIR)/intl || exit 1; \
17112 case $(srcdir) in \
17113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17114 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17116 esac; \
17117 srcdiroption="--srcdir=$${topdir}/intl"; \
17118 libsrcdir="$$s/intl"; \
17119 $(SHELL) $${libsrcdir}/configure \
17120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17121 --target=${target_alias} $${srcdiroption} \
17122 --with-build-libsubdir=$(HOST_SUBDIR) \
17123 $(STAGE4_CONFIGURE_FLAGS)
17124 @endif intl-bootstrap
17126 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17127 maybe-configure-stageprofile-intl:
17128 @if intl-bootstrap
17129 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17130 configure-stageprofile-intl:
17131 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17132 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17133 @r=`${PWD_COMMAND}`; export r; \
17134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17135 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17136 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17137 $(HOST_EXPORTS) \
17138 $(POSTSTAGE1_HOST_EXPORTS) \
17139 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17140 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17141 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17142 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17144 cd $(HOST_SUBDIR)/intl || exit 1; \
17145 case $(srcdir) in \
17146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17147 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17149 esac; \
17150 srcdiroption="--srcdir=$${topdir}/intl"; \
17151 libsrcdir="$$s/intl"; \
17152 $(SHELL) $${libsrcdir}/configure \
17153 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17154 --target=${target_alias} $${srcdiroption} \
17155 --with-build-libsubdir=$(HOST_SUBDIR) \
17156 $(STAGEprofile_CONFIGURE_FLAGS)
17157 @endif intl-bootstrap
17159 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17160 maybe-configure-stagefeedback-intl:
17161 @if intl-bootstrap
17162 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17163 configure-stagefeedback-intl:
17164 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17166 @r=`${PWD_COMMAND}`; export r; \
17167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17168 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17169 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17170 $(HOST_EXPORTS) \
17171 $(POSTSTAGE1_HOST_EXPORTS) \
17172 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17173 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17174 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17175 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17177 cd $(HOST_SUBDIR)/intl || exit 1; \
17178 case $(srcdir) in \
17179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17180 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17182 esac; \
17183 srcdiroption="--srcdir=$${topdir}/intl"; \
17184 libsrcdir="$$s/intl"; \
17185 $(SHELL) $${libsrcdir}/configure \
17186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17187 --target=${target_alias} $${srcdiroption} \
17188 --with-build-libsubdir=$(HOST_SUBDIR) \
17189 $(STAGEfeedback_CONFIGURE_FLAGS)
17190 @endif intl-bootstrap
17196 .PHONY: all-intl maybe-all-intl
17197 maybe-all-intl:
17198 @if gcc-bootstrap
17199 all-intl: stage_current
17200 @endif gcc-bootstrap
17201 @if intl
17202 TARGET-intl=all
17203 maybe-all-intl: all-intl
17204 all-intl: configure-intl
17205 @r=`${PWD_COMMAND}`; export r; \
17206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17207 $(HOST_EXPORTS) \
17208 (cd $(HOST_SUBDIR)/intl && \
17209 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17210 $(TARGET-intl))
17211 @endif intl
17215 .PHONY: all-stage1-intl maybe-all-stage1-intl
17216 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17217 maybe-all-stage1-intl:
17218 maybe-clean-stage1-intl:
17219 @if intl-bootstrap
17220 maybe-all-stage1-intl: all-stage1-intl
17221 all-stage1: all-stage1-intl
17222 TARGET-stage1-intl = $(TARGET-intl)
17223 all-stage1-intl: configure-stage1-intl
17224 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17225 @r=`${PWD_COMMAND}`; export r; \
17226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17227 TFLAGS="$(STAGE1_TFLAGS)"; \
17228 $(HOST_EXPORTS) \
17229 cd $(HOST_SUBDIR)/intl && \
17230 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17231 CFLAGS="$(STAGE1_CFLAGS)" \
17232 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17233 LIBCFLAGS="$(LIBCFLAGS)" \
17234 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17235 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17236 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17237 $(EXTRA_HOST_FLAGS) \
17238 TFLAGS="$(STAGE1_TFLAGS)" \
17239 $(TARGET-stage1-intl)
17241 maybe-clean-stage1-intl: clean-stage1-intl
17242 clean-stage1: clean-stage1-intl
17243 clean-stage1-intl:
17244 @if [ $(current_stage) = stage1 ]; then \
17245 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17246 else \
17247 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17248 $(MAKE) stage1-start; \
17249 fi; \
17250 cd $(HOST_SUBDIR)/intl && \
17251 $(MAKE) $(EXTRA_HOST_FLAGS) \
17252 clean
17253 @endif intl-bootstrap
17256 .PHONY: all-stage2-intl maybe-all-stage2-intl
17257 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17258 maybe-all-stage2-intl:
17259 maybe-clean-stage2-intl:
17260 @if intl-bootstrap
17261 maybe-all-stage2-intl: all-stage2-intl
17262 all-stage2: all-stage2-intl
17263 TARGET-stage2-intl = $(TARGET-intl)
17264 all-stage2-intl: configure-stage2-intl
17265 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17266 @r=`${PWD_COMMAND}`; export r; \
17267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17268 TFLAGS="$(STAGE2_TFLAGS)"; \
17269 $(HOST_EXPORTS) \
17270 $(POSTSTAGE1_HOST_EXPORTS) \
17271 cd $(HOST_SUBDIR)/intl && \
17272 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17273 CFLAGS="$(STAGE2_CFLAGS)" \
17274 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17275 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17279 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17280 TFLAGS="$(STAGE2_TFLAGS)" \
17281 $(TARGET-stage2-intl)
17283 maybe-clean-stage2-intl: clean-stage2-intl
17284 clean-stage2: clean-stage2-intl
17285 clean-stage2-intl:
17286 @if [ $(current_stage) = stage2 ]; then \
17287 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17288 else \
17289 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17290 $(MAKE) stage2-start; \
17291 fi; \
17292 cd $(HOST_SUBDIR)/intl && \
17293 $(MAKE) $(EXTRA_HOST_FLAGS) \
17294 $(POSTSTAGE1_FLAGS_TO_PASS) \
17295 clean
17296 @endif intl-bootstrap
17299 .PHONY: all-stage3-intl maybe-all-stage3-intl
17300 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17301 maybe-all-stage3-intl:
17302 maybe-clean-stage3-intl:
17303 @if intl-bootstrap
17304 maybe-all-stage3-intl: all-stage3-intl
17305 all-stage3: all-stage3-intl
17306 TARGET-stage3-intl = $(TARGET-intl)
17307 all-stage3-intl: configure-stage3-intl
17308 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17309 @r=`${PWD_COMMAND}`; export r; \
17310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17311 TFLAGS="$(STAGE3_TFLAGS)"; \
17312 $(HOST_EXPORTS) \
17313 $(POSTSTAGE1_HOST_EXPORTS) \
17314 cd $(HOST_SUBDIR)/intl && \
17315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17316 CFLAGS="$(STAGE3_CFLAGS)" \
17317 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17318 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17319 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17320 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17321 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17322 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17323 TFLAGS="$(STAGE3_TFLAGS)" \
17324 $(TARGET-stage3-intl)
17326 maybe-clean-stage3-intl: clean-stage3-intl
17327 clean-stage3: clean-stage3-intl
17328 clean-stage3-intl:
17329 @if [ $(current_stage) = stage3 ]; then \
17330 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17331 else \
17332 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17333 $(MAKE) stage3-start; \
17334 fi; \
17335 cd $(HOST_SUBDIR)/intl && \
17336 $(MAKE) $(EXTRA_HOST_FLAGS) \
17337 $(POSTSTAGE1_FLAGS_TO_PASS) \
17338 clean
17339 @endif intl-bootstrap
17342 .PHONY: all-stage4-intl maybe-all-stage4-intl
17343 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17344 maybe-all-stage4-intl:
17345 maybe-clean-stage4-intl:
17346 @if intl-bootstrap
17347 maybe-all-stage4-intl: all-stage4-intl
17348 all-stage4: all-stage4-intl
17349 TARGET-stage4-intl = $(TARGET-intl)
17350 all-stage4-intl: configure-stage4-intl
17351 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17352 @r=`${PWD_COMMAND}`; export r; \
17353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17354 TFLAGS="$(STAGE4_TFLAGS)"; \
17355 $(HOST_EXPORTS) \
17356 $(POSTSTAGE1_HOST_EXPORTS) \
17357 cd $(HOST_SUBDIR)/intl && \
17358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17359 CFLAGS="$(STAGE4_CFLAGS)" \
17360 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17361 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17365 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17366 TFLAGS="$(STAGE4_TFLAGS)" \
17367 $(TARGET-stage4-intl)
17369 maybe-clean-stage4-intl: clean-stage4-intl
17370 clean-stage4: clean-stage4-intl
17371 clean-stage4-intl:
17372 @if [ $(current_stage) = stage4 ]; then \
17373 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17374 else \
17375 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17376 $(MAKE) stage4-start; \
17377 fi; \
17378 cd $(HOST_SUBDIR)/intl && \
17379 $(MAKE) $(EXTRA_HOST_FLAGS) \
17380 $(POSTSTAGE1_FLAGS_TO_PASS) \
17381 clean
17382 @endif intl-bootstrap
17385 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17386 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17387 maybe-all-stageprofile-intl:
17388 maybe-clean-stageprofile-intl:
17389 @if intl-bootstrap
17390 maybe-all-stageprofile-intl: all-stageprofile-intl
17391 all-stageprofile: all-stageprofile-intl
17392 TARGET-stageprofile-intl = $(TARGET-intl)
17393 all-stageprofile-intl: configure-stageprofile-intl
17394 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17395 @r=`${PWD_COMMAND}`; export r; \
17396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17397 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17398 $(HOST_EXPORTS) \
17399 $(POSTSTAGE1_HOST_EXPORTS) \
17400 cd $(HOST_SUBDIR)/intl && \
17401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17402 CFLAGS="$(STAGEprofile_CFLAGS)" \
17403 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17404 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17405 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17406 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17407 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17408 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17409 TFLAGS="$(STAGEprofile_TFLAGS)" \
17410 $(TARGET-stageprofile-intl)
17412 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17413 clean-stageprofile: clean-stageprofile-intl
17414 clean-stageprofile-intl:
17415 @if [ $(current_stage) = stageprofile ]; then \
17416 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17417 else \
17418 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17419 $(MAKE) stageprofile-start; \
17420 fi; \
17421 cd $(HOST_SUBDIR)/intl && \
17422 $(MAKE) $(EXTRA_HOST_FLAGS) \
17423 $(POSTSTAGE1_FLAGS_TO_PASS) \
17424 clean
17425 @endif intl-bootstrap
17428 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17429 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17430 maybe-all-stagefeedback-intl:
17431 maybe-clean-stagefeedback-intl:
17432 @if intl-bootstrap
17433 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17434 all-stagefeedback: all-stagefeedback-intl
17435 TARGET-stagefeedback-intl = $(TARGET-intl)
17436 all-stagefeedback-intl: configure-stagefeedback-intl
17437 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17438 @r=`${PWD_COMMAND}`; export r; \
17439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17440 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17441 $(HOST_EXPORTS) \
17442 $(POSTSTAGE1_HOST_EXPORTS) \
17443 cd $(HOST_SUBDIR)/intl && \
17444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17445 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17446 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17447 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17448 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17449 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17450 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17451 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17452 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17453 $(TARGET-stagefeedback-intl)
17455 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17456 clean-stagefeedback: clean-stagefeedback-intl
17457 clean-stagefeedback-intl:
17458 @if [ $(current_stage) = stagefeedback ]; then \
17459 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17460 else \
17461 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17462 $(MAKE) stagefeedback-start; \
17463 fi; \
17464 cd $(HOST_SUBDIR)/intl && \
17465 $(MAKE) $(EXTRA_HOST_FLAGS) \
17466 $(POSTSTAGE1_FLAGS_TO_PASS) \
17467 clean
17468 @endif intl-bootstrap
17474 .PHONY: check-intl maybe-check-intl
17475 maybe-check-intl:
17476 @if intl
17477 maybe-check-intl: check-intl
17479 check-intl:
17480 @: $(MAKE); $(unstage)
17481 @r=`${PWD_COMMAND}`; export r; \
17482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17483 $(HOST_EXPORTS) \
17484 (cd $(HOST_SUBDIR)/intl && \
17485 $(MAKE) $(FLAGS_TO_PASS) check)
17487 @endif intl
17489 .PHONY: install-intl maybe-install-intl
17490 maybe-install-intl:
17491 @if intl
17492 maybe-install-intl: install-intl
17494 install-intl: installdirs
17495 @: $(MAKE); $(unstage)
17496 @r=`${PWD_COMMAND}`; export r; \
17497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17498 $(HOST_EXPORTS) \
17499 (cd $(HOST_SUBDIR)/intl && \
17500 $(MAKE) $(FLAGS_TO_PASS) install)
17502 @endif intl
17504 .PHONY: install-strip-intl maybe-install-strip-intl
17505 maybe-install-strip-intl:
17506 @if intl
17507 maybe-install-strip-intl: install-strip-intl
17509 install-strip-intl: installdirs
17510 @: $(MAKE); $(unstage)
17511 @r=`${PWD_COMMAND}`; export r; \
17512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17513 $(HOST_EXPORTS) \
17514 (cd $(HOST_SUBDIR)/intl && \
17515 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17517 @endif intl
17519 # Other targets (info, dvi, pdf, etc.)
17521 .PHONY: maybe-info-intl info-intl
17522 maybe-info-intl:
17523 @if intl
17524 maybe-info-intl: info-intl
17526 info-intl: \
17527 configure-intl
17528 @[ -f ./intl/Makefile ] || exit 0; \
17529 r=`${PWD_COMMAND}`; export r; \
17530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17531 $(HOST_EXPORTS) \
17532 for flag in $(EXTRA_HOST_FLAGS) ; do \
17533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17534 done; \
17535 echo "Doing info in intl" ; \
17536 (cd $(HOST_SUBDIR)/intl && \
17537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17539 "RANLIB=$${RANLIB}" \
17540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17541 info) \
17542 || exit 1
17544 @endif intl
17546 .PHONY: maybe-dvi-intl dvi-intl
17547 maybe-dvi-intl:
17548 @if intl
17549 maybe-dvi-intl: dvi-intl
17551 dvi-intl: \
17552 configure-intl
17553 @[ -f ./intl/Makefile ] || exit 0; \
17554 r=`${PWD_COMMAND}`; export r; \
17555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17556 $(HOST_EXPORTS) \
17557 for flag in $(EXTRA_HOST_FLAGS) ; do \
17558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17559 done; \
17560 echo "Doing dvi in intl" ; \
17561 (cd $(HOST_SUBDIR)/intl && \
17562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17564 "RANLIB=$${RANLIB}" \
17565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17566 dvi) \
17567 || exit 1
17569 @endif intl
17571 .PHONY: maybe-pdf-intl pdf-intl
17572 maybe-pdf-intl:
17573 @if intl
17574 maybe-pdf-intl: pdf-intl
17576 pdf-intl: \
17577 configure-intl
17578 @[ -f ./intl/Makefile ] || exit 0; \
17579 r=`${PWD_COMMAND}`; export r; \
17580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17581 $(HOST_EXPORTS) \
17582 for flag in $(EXTRA_HOST_FLAGS) ; do \
17583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17584 done; \
17585 echo "Doing pdf in intl" ; \
17586 (cd $(HOST_SUBDIR)/intl && \
17587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17589 "RANLIB=$${RANLIB}" \
17590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17591 pdf) \
17592 || exit 1
17594 @endif intl
17596 .PHONY: maybe-html-intl html-intl
17597 maybe-html-intl:
17598 @if intl
17599 maybe-html-intl: html-intl
17601 html-intl: \
17602 configure-intl
17603 @[ -f ./intl/Makefile ] || exit 0; \
17604 r=`${PWD_COMMAND}`; export r; \
17605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17606 $(HOST_EXPORTS) \
17607 for flag in $(EXTRA_HOST_FLAGS) ; do \
17608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17609 done; \
17610 echo "Doing html in intl" ; \
17611 (cd $(HOST_SUBDIR)/intl && \
17612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17614 "RANLIB=$${RANLIB}" \
17615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17616 html) \
17617 || exit 1
17619 @endif intl
17621 .PHONY: maybe-TAGS-intl TAGS-intl
17622 maybe-TAGS-intl:
17623 @if intl
17624 maybe-TAGS-intl: TAGS-intl
17626 TAGS-intl: \
17627 configure-intl
17628 @[ -f ./intl/Makefile ] || exit 0; \
17629 r=`${PWD_COMMAND}`; export r; \
17630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17631 $(HOST_EXPORTS) \
17632 for flag in $(EXTRA_HOST_FLAGS) ; do \
17633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17634 done; \
17635 echo "Doing TAGS in intl" ; \
17636 (cd $(HOST_SUBDIR)/intl && \
17637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17639 "RANLIB=$${RANLIB}" \
17640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17641 TAGS) \
17642 || exit 1
17644 @endif intl
17646 .PHONY: maybe-install-info-intl install-info-intl
17647 maybe-install-info-intl:
17648 @if intl
17649 maybe-install-info-intl: install-info-intl
17651 install-info-intl: \
17652 configure-intl \
17653 info-intl
17654 @[ -f ./intl/Makefile ] || exit 0; \
17655 r=`${PWD_COMMAND}`; export r; \
17656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17657 $(HOST_EXPORTS) \
17658 for flag in $(EXTRA_HOST_FLAGS) ; do \
17659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17660 done; \
17661 echo "Doing install-info in intl" ; \
17662 (cd $(HOST_SUBDIR)/intl && \
17663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17665 "RANLIB=$${RANLIB}" \
17666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17667 install-info) \
17668 || exit 1
17670 @endif intl
17672 .PHONY: maybe-install-pdf-intl install-pdf-intl
17673 maybe-install-pdf-intl:
17674 @if intl
17675 maybe-install-pdf-intl: install-pdf-intl
17677 install-pdf-intl: \
17678 configure-intl \
17679 pdf-intl
17680 @[ -f ./intl/Makefile ] || exit 0; \
17681 r=`${PWD_COMMAND}`; export r; \
17682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17683 $(HOST_EXPORTS) \
17684 for flag in $(EXTRA_HOST_FLAGS) ; do \
17685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17686 done; \
17687 echo "Doing install-pdf in intl" ; \
17688 (cd $(HOST_SUBDIR)/intl && \
17689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17691 "RANLIB=$${RANLIB}" \
17692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17693 install-pdf) \
17694 || exit 1
17696 @endif intl
17698 .PHONY: maybe-install-html-intl install-html-intl
17699 maybe-install-html-intl:
17700 @if intl
17701 maybe-install-html-intl: install-html-intl
17703 install-html-intl: \
17704 configure-intl \
17705 html-intl
17706 @[ -f ./intl/Makefile ] || exit 0; \
17707 r=`${PWD_COMMAND}`; export r; \
17708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17709 $(HOST_EXPORTS) \
17710 for flag in $(EXTRA_HOST_FLAGS) ; do \
17711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17712 done; \
17713 echo "Doing install-html in intl" ; \
17714 (cd $(HOST_SUBDIR)/intl && \
17715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17717 "RANLIB=$${RANLIB}" \
17718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17719 install-html) \
17720 || exit 1
17722 @endif intl
17724 .PHONY: maybe-installcheck-intl installcheck-intl
17725 maybe-installcheck-intl:
17726 @if intl
17727 maybe-installcheck-intl: installcheck-intl
17729 installcheck-intl: \
17730 configure-intl
17731 @[ -f ./intl/Makefile ] || exit 0; \
17732 r=`${PWD_COMMAND}`; export r; \
17733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17734 $(HOST_EXPORTS) \
17735 for flag in $(EXTRA_HOST_FLAGS) ; do \
17736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17737 done; \
17738 echo "Doing installcheck in intl" ; \
17739 (cd $(HOST_SUBDIR)/intl && \
17740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17742 "RANLIB=$${RANLIB}" \
17743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17744 installcheck) \
17745 || exit 1
17747 @endif intl
17749 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17750 maybe-mostlyclean-intl:
17751 @if intl
17752 maybe-mostlyclean-intl: mostlyclean-intl
17754 mostlyclean-intl:
17755 @[ -f ./intl/Makefile ] || exit 0; \
17756 r=`${PWD_COMMAND}`; export r; \
17757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17758 $(HOST_EXPORTS) \
17759 for flag in $(EXTRA_HOST_FLAGS) ; do \
17760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17761 done; \
17762 echo "Doing mostlyclean in intl" ; \
17763 (cd $(HOST_SUBDIR)/intl && \
17764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17766 "RANLIB=$${RANLIB}" \
17767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17768 mostlyclean) \
17769 || exit 1
17771 @endif intl
17773 .PHONY: maybe-clean-intl clean-intl
17774 maybe-clean-intl:
17775 @if intl
17776 maybe-clean-intl: clean-intl
17778 clean-intl:
17779 @[ -f ./intl/Makefile ] || exit 0; \
17780 r=`${PWD_COMMAND}`; export r; \
17781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17782 $(HOST_EXPORTS) \
17783 for flag in $(EXTRA_HOST_FLAGS) ; do \
17784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17785 done; \
17786 echo "Doing clean in intl" ; \
17787 (cd $(HOST_SUBDIR)/intl && \
17788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17790 "RANLIB=$${RANLIB}" \
17791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17792 clean) \
17793 || exit 1
17795 @endif intl
17797 .PHONY: maybe-distclean-intl distclean-intl
17798 maybe-distclean-intl:
17799 @if intl
17800 maybe-distclean-intl: distclean-intl
17802 distclean-intl:
17803 @[ -f ./intl/Makefile ] || exit 0; \
17804 r=`${PWD_COMMAND}`; export r; \
17805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17806 $(HOST_EXPORTS) \
17807 for flag in $(EXTRA_HOST_FLAGS) ; do \
17808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17809 done; \
17810 echo "Doing distclean in intl" ; \
17811 (cd $(HOST_SUBDIR)/intl && \
17812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17814 "RANLIB=$${RANLIB}" \
17815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17816 distclean) \
17817 || exit 1
17819 @endif intl
17821 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17822 maybe-maintainer-clean-intl:
17823 @if intl
17824 maybe-maintainer-clean-intl: maintainer-clean-intl
17826 maintainer-clean-intl:
17827 @[ -f ./intl/Makefile ] || exit 0; \
17828 r=`${PWD_COMMAND}`; export r; \
17829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17830 $(HOST_EXPORTS) \
17831 for flag in $(EXTRA_HOST_FLAGS) ; do \
17832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17833 done; \
17834 echo "Doing maintainer-clean in intl" ; \
17835 (cd $(HOST_SUBDIR)/intl && \
17836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17838 "RANLIB=$${RANLIB}" \
17839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17840 maintainer-clean) \
17841 || exit 1
17843 @endif intl
17847 .PHONY: configure-tcl maybe-configure-tcl
17848 maybe-configure-tcl:
17849 @if gcc-bootstrap
17850 configure-tcl: stage_current
17851 @endif gcc-bootstrap
17852 @if tcl
17853 maybe-configure-tcl: configure-tcl
17854 configure-tcl:
17855 @: $(MAKE); $(unstage)
17856 @r=`${PWD_COMMAND}`; export r; \
17857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17858 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17860 $(HOST_EXPORTS) \
17861 echo Configuring in $(HOST_SUBDIR)/tcl; \
17862 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17863 case $(srcdir) in \
17864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17865 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17867 esac; \
17868 srcdiroption="--srcdir=$${topdir}/tcl"; \
17869 libsrcdir="$$s/tcl"; \
17870 $(SHELL) $${libsrcdir}/configure \
17871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17872 --target=${target_alias} $${srcdiroption} \
17873 || exit 1
17874 @endif tcl
17880 .PHONY: all-tcl maybe-all-tcl
17881 maybe-all-tcl:
17882 @if gcc-bootstrap
17883 all-tcl: stage_current
17884 @endif gcc-bootstrap
17885 @if tcl
17886 TARGET-tcl=all
17887 maybe-all-tcl: all-tcl
17888 all-tcl: configure-tcl
17889 @: $(MAKE); $(unstage)
17890 @r=`${PWD_COMMAND}`; export r; \
17891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17892 $(HOST_EXPORTS) \
17893 (cd $(HOST_SUBDIR)/tcl && \
17894 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17895 $(TARGET-tcl))
17896 @endif tcl
17901 .PHONY: check-tcl maybe-check-tcl
17902 maybe-check-tcl:
17903 @if tcl
17904 maybe-check-tcl: check-tcl
17906 check-tcl:
17907 @: $(MAKE); $(unstage)
17908 @r=`${PWD_COMMAND}`; export r; \
17909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17910 $(HOST_EXPORTS) \
17911 (cd $(HOST_SUBDIR)/tcl && \
17912 $(MAKE) $(FLAGS_TO_PASS) check)
17914 @endif tcl
17916 .PHONY: install-tcl maybe-install-tcl
17917 maybe-install-tcl:
17918 @if tcl
17919 maybe-install-tcl: install-tcl
17921 install-tcl: installdirs
17922 @: $(MAKE); $(unstage)
17923 @r=`${PWD_COMMAND}`; export r; \
17924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17925 $(HOST_EXPORTS) \
17926 (cd $(HOST_SUBDIR)/tcl && \
17927 $(MAKE) $(FLAGS_TO_PASS) install)
17929 @endif tcl
17931 .PHONY: install-strip-tcl maybe-install-strip-tcl
17932 maybe-install-strip-tcl:
17933 @if tcl
17934 maybe-install-strip-tcl: install-strip-tcl
17936 install-strip-tcl: installdirs
17937 @: $(MAKE); $(unstage)
17938 @r=`${PWD_COMMAND}`; export r; \
17939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17940 $(HOST_EXPORTS) \
17941 (cd $(HOST_SUBDIR)/tcl && \
17942 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17944 @endif tcl
17946 # Other targets (info, dvi, pdf, etc.)
17948 .PHONY: maybe-info-tcl info-tcl
17949 maybe-info-tcl:
17950 @if tcl
17951 maybe-info-tcl: info-tcl
17953 info-tcl: \
17954 configure-tcl
17955 @: $(MAKE); $(unstage)
17956 @[ -f ./tcl/Makefile ] || exit 0; \
17957 r=`${PWD_COMMAND}`; export r; \
17958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17959 $(HOST_EXPORTS) \
17960 for flag in $(EXTRA_HOST_FLAGS) ; do \
17961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17962 done; \
17963 echo "Doing info in tcl" ; \
17964 (cd $(HOST_SUBDIR)/tcl && \
17965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17967 "RANLIB=$${RANLIB}" \
17968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17969 info) \
17970 || exit 1
17972 @endif tcl
17974 .PHONY: maybe-dvi-tcl dvi-tcl
17975 maybe-dvi-tcl:
17976 @if tcl
17977 maybe-dvi-tcl: dvi-tcl
17979 dvi-tcl: \
17980 configure-tcl
17981 @: $(MAKE); $(unstage)
17982 @[ -f ./tcl/Makefile ] || exit 0; \
17983 r=`${PWD_COMMAND}`; export r; \
17984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17985 $(HOST_EXPORTS) \
17986 for flag in $(EXTRA_HOST_FLAGS) ; do \
17987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17988 done; \
17989 echo "Doing dvi in tcl" ; \
17990 (cd $(HOST_SUBDIR)/tcl && \
17991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17993 "RANLIB=$${RANLIB}" \
17994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17995 dvi) \
17996 || exit 1
17998 @endif tcl
18000 .PHONY: maybe-pdf-tcl pdf-tcl
18001 maybe-pdf-tcl:
18002 @if tcl
18003 maybe-pdf-tcl: pdf-tcl
18005 pdf-tcl: \
18006 configure-tcl
18007 @: $(MAKE); $(unstage)
18008 @[ -f ./tcl/Makefile ] || exit 0; \
18009 r=`${PWD_COMMAND}`; export r; \
18010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18011 $(HOST_EXPORTS) \
18012 for flag in $(EXTRA_HOST_FLAGS) ; do \
18013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18014 done; \
18015 echo "Doing pdf in tcl" ; \
18016 (cd $(HOST_SUBDIR)/tcl && \
18017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18019 "RANLIB=$${RANLIB}" \
18020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18021 pdf) \
18022 || exit 1
18024 @endif tcl
18026 .PHONY: maybe-html-tcl html-tcl
18027 maybe-html-tcl:
18028 @if tcl
18029 maybe-html-tcl: html-tcl
18031 html-tcl: \
18032 configure-tcl
18033 @: $(MAKE); $(unstage)
18034 @[ -f ./tcl/Makefile ] || exit 0; \
18035 r=`${PWD_COMMAND}`; export r; \
18036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18037 $(HOST_EXPORTS) \
18038 for flag in $(EXTRA_HOST_FLAGS) ; do \
18039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18040 done; \
18041 echo "Doing html in tcl" ; \
18042 (cd $(HOST_SUBDIR)/tcl && \
18043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18045 "RANLIB=$${RANLIB}" \
18046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18047 html) \
18048 || exit 1
18050 @endif tcl
18052 .PHONY: maybe-TAGS-tcl TAGS-tcl
18053 maybe-TAGS-tcl:
18054 @if tcl
18055 maybe-TAGS-tcl: TAGS-tcl
18057 TAGS-tcl: \
18058 configure-tcl
18059 @: $(MAKE); $(unstage)
18060 @[ -f ./tcl/Makefile ] || exit 0; \
18061 r=`${PWD_COMMAND}`; export r; \
18062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18063 $(HOST_EXPORTS) \
18064 for flag in $(EXTRA_HOST_FLAGS) ; do \
18065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18066 done; \
18067 echo "Doing TAGS in tcl" ; \
18068 (cd $(HOST_SUBDIR)/tcl && \
18069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18071 "RANLIB=$${RANLIB}" \
18072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18073 TAGS) \
18074 || exit 1
18076 @endif tcl
18078 .PHONY: maybe-install-info-tcl install-info-tcl
18079 maybe-install-info-tcl:
18080 @if tcl
18081 maybe-install-info-tcl: install-info-tcl
18083 install-info-tcl: \
18084 configure-tcl \
18085 info-tcl
18086 @: $(MAKE); $(unstage)
18087 @[ -f ./tcl/Makefile ] || exit 0; \
18088 r=`${PWD_COMMAND}`; export r; \
18089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18090 $(HOST_EXPORTS) \
18091 for flag in $(EXTRA_HOST_FLAGS) ; do \
18092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18093 done; \
18094 echo "Doing install-info in tcl" ; \
18095 (cd $(HOST_SUBDIR)/tcl && \
18096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18098 "RANLIB=$${RANLIB}" \
18099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18100 install-info) \
18101 || exit 1
18103 @endif tcl
18105 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18106 maybe-install-pdf-tcl:
18107 @if tcl
18108 maybe-install-pdf-tcl: install-pdf-tcl
18110 install-pdf-tcl: \
18111 configure-tcl \
18112 pdf-tcl
18113 @: $(MAKE); $(unstage)
18114 @[ -f ./tcl/Makefile ] || exit 0; \
18115 r=`${PWD_COMMAND}`; export r; \
18116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18117 $(HOST_EXPORTS) \
18118 for flag in $(EXTRA_HOST_FLAGS) ; do \
18119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18120 done; \
18121 echo "Doing install-pdf in tcl" ; \
18122 (cd $(HOST_SUBDIR)/tcl && \
18123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18125 "RANLIB=$${RANLIB}" \
18126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18127 install-pdf) \
18128 || exit 1
18130 @endif tcl
18132 .PHONY: maybe-install-html-tcl install-html-tcl
18133 maybe-install-html-tcl:
18134 @if tcl
18135 maybe-install-html-tcl: install-html-tcl
18137 install-html-tcl: \
18138 configure-tcl \
18139 html-tcl
18140 @: $(MAKE); $(unstage)
18141 @[ -f ./tcl/Makefile ] || exit 0; \
18142 r=`${PWD_COMMAND}`; export r; \
18143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18144 $(HOST_EXPORTS) \
18145 for flag in $(EXTRA_HOST_FLAGS) ; do \
18146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18147 done; \
18148 echo "Doing install-html in tcl" ; \
18149 (cd $(HOST_SUBDIR)/tcl && \
18150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18152 "RANLIB=$${RANLIB}" \
18153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18154 install-html) \
18155 || exit 1
18157 @endif tcl
18159 .PHONY: maybe-installcheck-tcl installcheck-tcl
18160 maybe-installcheck-tcl:
18161 @if tcl
18162 maybe-installcheck-tcl: installcheck-tcl
18164 installcheck-tcl: \
18165 configure-tcl
18166 @: $(MAKE); $(unstage)
18167 @[ -f ./tcl/Makefile ] || exit 0; \
18168 r=`${PWD_COMMAND}`; export r; \
18169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18170 $(HOST_EXPORTS) \
18171 for flag in $(EXTRA_HOST_FLAGS) ; do \
18172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18173 done; \
18174 echo "Doing installcheck in tcl" ; \
18175 (cd $(HOST_SUBDIR)/tcl && \
18176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18178 "RANLIB=$${RANLIB}" \
18179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18180 installcheck) \
18181 || exit 1
18183 @endif tcl
18185 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18186 maybe-mostlyclean-tcl:
18187 @if tcl
18188 maybe-mostlyclean-tcl: mostlyclean-tcl
18190 # tcl doesn't support mostlyclean.
18191 mostlyclean-tcl:
18193 @endif tcl
18195 .PHONY: maybe-clean-tcl clean-tcl
18196 maybe-clean-tcl:
18197 @if tcl
18198 maybe-clean-tcl: clean-tcl
18200 clean-tcl:
18201 @: $(MAKE); $(unstage)
18202 @[ -f ./tcl/Makefile ] || exit 0; \
18203 r=`${PWD_COMMAND}`; export r; \
18204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18205 $(HOST_EXPORTS) \
18206 for flag in $(EXTRA_HOST_FLAGS) ; do \
18207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18208 done; \
18209 echo "Doing clean in tcl" ; \
18210 (cd $(HOST_SUBDIR)/tcl && \
18211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18213 "RANLIB=$${RANLIB}" \
18214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18215 clean) \
18216 || exit 1
18218 @endif tcl
18220 .PHONY: maybe-distclean-tcl distclean-tcl
18221 maybe-distclean-tcl:
18222 @if tcl
18223 maybe-distclean-tcl: distclean-tcl
18225 distclean-tcl:
18226 @: $(MAKE); $(unstage)
18227 @[ -f ./tcl/Makefile ] || exit 0; \
18228 r=`${PWD_COMMAND}`; export r; \
18229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18230 $(HOST_EXPORTS) \
18231 for flag in $(EXTRA_HOST_FLAGS) ; do \
18232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18233 done; \
18234 echo "Doing distclean in tcl" ; \
18235 (cd $(HOST_SUBDIR)/tcl && \
18236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18238 "RANLIB=$${RANLIB}" \
18239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18240 distclean) \
18241 || exit 1
18243 @endif tcl
18245 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18246 maybe-maintainer-clean-tcl:
18247 @if tcl
18248 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18250 maintainer-clean-tcl:
18251 @: $(MAKE); $(unstage)
18252 @[ -f ./tcl/Makefile ] || exit 0; \
18253 r=`${PWD_COMMAND}`; export r; \
18254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18255 $(HOST_EXPORTS) \
18256 for flag in $(EXTRA_HOST_FLAGS) ; do \
18257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18258 done; \
18259 echo "Doing maintainer-clean in tcl" ; \
18260 (cd $(HOST_SUBDIR)/tcl && \
18261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18263 "RANLIB=$${RANLIB}" \
18264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18265 maintainer-clean) \
18266 || exit 1
18268 @endif tcl
18272 .PHONY: configure-itcl maybe-configure-itcl
18273 maybe-configure-itcl:
18274 @if gcc-bootstrap
18275 configure-itcl: stage_current
18276 @endif gcc-bootstrap
18277 @if itcl
18278 maybe-configure-itcl: configure-itcl
18279 configure-itcl:
18280 @: $(MAKE); $(unstage)
18281 @r=`${PWD_COMMAND}`; export r; \
18282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18283 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18284 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18285 $(HOST_EXPORTS) \
18286 echo Configuring in $(HOST_SUBDIR)/itcl; \
18287 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18288 case $(srcdir) in \
18289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18290 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18292 esac; \
18293 srcdiroption="--srcdir=$${topdir}/itcl"; \
18294 libsrcdir="$$s/itcl"; \
18295 $(SHELL) $${libsrcdir}/configure \
18296 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18297 --target=${target_alias} $${srcdiroption} \
18298 || exit 1
18299 @endif itcl
18305 .PHONY: all-itcl maybe-all-itcl
18306 maybe-all-itcl:
18307 @if gcc-bootstrap
18308 all-itcl: stage_current
18309 @endif gcc-bootstrap
18310 @if itcl
18311 TARGET-itcl=all
18312 maybe-all-itcl: all-itcl
18313 all-itcl: configure-itcl
18314 @: $(MAKE); $(unstage)
18315 @r=`${PWD_COMMAND}`; export r; \
18316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18317 $(HOST_EXPORTS) \
18318 (cd $(HOST_SUBDIR)/itcl && \
18319 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18320 $(TARGET-itcl))
18321 @endif itcl
18326 .PHONY: check-itcl maybe-check-itcl
18327 maybe-check-itcl:
18328 @if itcl
18329 maybe-check-itcl: check-itcl
18331 check-itcl:
18332 @: $(MAKE); $(unstage)
18333 @r=`${PWD_COMMAND}`; export r; \
18334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18335 $(HOST_EXPORTS) \
18336 (cd $(HOST_SUBDIR)/itcl && \
18337 $(MAKE) $(FLAGS_TO_PASS) check)
18339 @endif itcl
18341 .PHONY: install-itcl maybe-install-itcl
18342 maybe-install-itcl:
18343 @if itcl
18344 maybe-install-itcl: install-itcl
18346 install-itcl: installdirs
18347 @: $(MAKE); $(unstage)
18348 @r=`${PWD_COMMAND}`; export r; \
18349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18350 $(HOST_EXPORTS) \
18351 (cd $(HOST_SUBDIR)/itcl && \
18352 $(MAKE) $(FLAGS_TO_PASS) install)
18354 @endif itcl
18356 .PHONY: install-strip-itcl maybe-install-strip-itcl
18357 maybe-install-strip-itcl:
18358 @if itcl
18359 maybe-install-strip-itcl: install-strip-itcl
18361 install-strip-itcl: installdirs
18362 @: $(MAKE); $(unstage)
18363 @r=`${PWD_COMMAND}`; export r; \
18364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18365 $(HOST_EXPORTS) \
18366 (cd $(HOST_SUBDIR)/itcl && \
18367 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18369 @endif itcl
18371 # Other targets (info, dvi, pdf, etc.)
18373 .PHONY: maybe-info-itcl info-itcl
18374 maybe-info-itcl:
18375 @if itcl
18376 maybe-info-itcl: info-itcl
18378 info-itcl: \
18379 configure-itcl
18380 @: $(MAKE); $(unstage)
18381 @[ -f ./itcl/Makefile ] || exit 0; \
18382 r=`${PWD_COMMAND}`; export r; \
18383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18384 $(HOST_EXPORTS) \
18385 for flag in $(EXTRA_HOST_FLAGS) ; do \
18386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18387 done; \
18388 echo "Doing info in itcl" ; \
18389 (cd $(HOST_SUBDIR)/itcl && \
18390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18392 "RANLIB=$${RANLIB}" \
18393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18394 info) \
18395 || exit 1
18397 @endif itcl
18399 .PHONY: maybe-dvi-itcl dvi-itcl
18400 maybe-dvi-itcl:
18401 @if itcl
18402 maybe-dvi-itcl: dvi-itcl
18404 dvi-itcl: \
18405 configure-itcl
18406 @: $(MAKE); $(unstage)
18407 @[ -f ./itcl/Makefile ] || exit 0; \
18408 r=`${PWD_COMMAND}`; export r; \
18409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18410 $(HOST_EXPORTS) \
18411 for flag in $(EXTRA_HOST_FLAGS) ; do \
18412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18413 done; \
18414 echo "Doing dvi in itcl" ; \
18415 (cd $(HOST_SUBDIR)/itcl && \
18416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18418 "RANLIB=$${RANLIB}" \
18419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18420 dvi) \
18421 || exit 1
18423 @endif itcl
18425 .PHONY: maybe-pdf-itcl pdf-itcl
18426 maybe-pdf-itcl:
18427 @if itcl
18428 maybe-pdf-itcl: pdf-itcl
18430 pdf-itcl: \
18431 configure-itcl
18432 @: $(MAKE); $(unstage)
18433 @[ -f ./itcl/Makefile ] || exit 0; \
18434 r=`${PWD_COMMAND}`; export r; \
18435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18436 $(HOST_EXPORTS) \
18437 for flag in $(EXTRA_HOST_FLAGS) ; do \
18438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18439 done; \
18440 echo "Doing pdf in itcl" ; \
18441 (cd $(HOST_SUBDIR)/itcl && \
18442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18444 "RANLIB=$${RANLIB}" \
18445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18446 pdf) \
18447 || exit 1
18449 @endif itcl
18451 .PHONY: maybe-html-itcl html-itcl
18452 maybe-html-itcl:
18453 @if itcl
18454 maybe-html-itcl: html-itcl
18456 html-itcl: \
18457 configure-itcl
18458 @: $(MAKE); $(unstage)
18459 @[ -f ./itcl/Makefile ] || exit 0; \
18460 r=`${PWD_COMMAND}`; export r; \
18461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18462 $(HOST_EXPORTS) \
18463 for flag in $(EXTRA_HOST_FLAGS) ; do \
18464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18465 done; \
18466 echo "Doing html in itcl" ; \
18467 (cd $(HOST_SUBDIR)/itcl && \
18468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18470 "RANLIB=$${RANLIB}" \
18471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18472 html) \
18473 || exit 1
18475 @endif itcl
18477 .PHONY: maybe-TAGS-itcl TAGS-itcl
18478 maybe-TAGS-itcl:
18479 @if itcl
18480 maybe-TAGS-itcl: TAGS-itcl
18482 TAGS-itcl: \
18483 configure-itcl
18484 @: $(MAKE); $(unstage)
18485 @[ -f ./itcl/Makefile ] || exit 0; \
18486 r=`${PWD_COMMAND}`; export r; \
18487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18488 $(HOST_EXPORTS) \
18489 for flag in $(EXTRA_HOST_FLAGS) ; do \
18490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18491 done; \
18492 echo "Doing TAGS in itcl" ; \
18493 (cd $(HOST_SUBDIR)/itcl && \
18494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18496 "RANLIB=$${RANLIB}" \
18497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18498 TAGS) \
18499 || exit 1
18501 @endif itcl
18503 .PHONY: maybe-install-info-itcl install-info-itcl
18504 maybe-install-info-itcl:
18505 @if itcl
18506 maybe-install-info-itcl: install-info-itcl
18508 install-info-itcl: \
18509 configure-itcl \
18510 info-itcl
18511 @: $(MAKE); $(unstage)
18512 @[ -f ./itcl/Makefile ] || exit 0; \
18513 r=`${PWD_COMMAND}`; export r; \
18514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18515 $(HOST_EXPORTS) \
18516 for flag in $(EXTRA_HOST_FLAGS) ; do \
18517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18518 done; \
18519 echo "Doing install-info in itcl" ; \
18520 (cd $(HOST_SUBDIR)/itcl && \
18521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18523 "RANLIB=$${RANLIB}" \
18524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18525 install-info) \
18526 || exit 1
18528 @endif itcl
18530 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18531 maybe-install-pdf-itcl:
18532 @if itcl
18533 maybe-install-pdf-itcl: install-pdf-itcl
18535 install-pdf-itcl: \
18536 configure-itcl \
18537 pdf-itcl
18538 @: $(MAKE); $(unstage)
18539 @[ -f ./itcl/Makefile ] || exit 0; \
18540 r=`${PWD_COMMAND}`; export r; \
18541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18542 $(HOST_EXPORTS) \
18543 for flag in $(EXTRA_HOST_FLAGS) ; do \
18544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18545 done; \
18546 echo "Doing install-pdf in itcl" ; \
18547 (cd $(HOST_SUBDIR)/itcl && \
18548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18550 "RANLIB=$${RANLIB}" \
18551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18552 install-pdf) \
18553 || exit 1
18555 @endif itcl
18557 .PHONY: maybe-install-html-itcl install-html-itcl
18558 maybe-install-html-itcl:
18559 @if itcl
18560 maybe-install-html-itcl: install-html-itcl
18562 install-html-itcl: \
18563 configure-itcl \
18564 html-itcl
18565 @: $(MAKE); $(unstage)
18566 @[ -f ./itcl/Makefile ] || exit 0; \
18567 r=`${PWD_COMMAND}`; export r; \
18568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18569 $(HOST_EXPORTS) \
18570 for flag in $(EXTRA_HOST_FLAGS) ; do \
18571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18572 done; \
18573 echo "Doing install-html in itcl" ; \
18574 (cd $(HOST_SUBDIR)/itcl && \
18575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18577 "RANLIB=$${RANLIB}" \
18578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18579 install-html) \
18580 || exit 1
18582 @endif itcl
18584 .PHONY: maybe-installcheck-itcl installcheck-itcl
18585 maybe-installcheck-itcl:
18586 @if itcl
18587 maybe-installcheck-itcl: installcheck-itcl
18589 installcheck-itcl: \
18590 configure-itcl
18591 @: $(MAKE); $(unstage)
18592 @[ -f ./itcl/Makefile ] || exit 0; \
18593 r=`${PWD_COMMAND}`; export r; \
18594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18595 $(HOST_EXPORTS) \
18596 for flag in $(EXTRA_HOST_FLAGS) ; do \
18597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18598 done; \
18599 echo "Doing installcheck in itcl" ; \
18600 (cd $(HOST_SUBDIR)/itcl && \
18601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18603 "RANLIB=$${RANLIB}" \
18604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18605 installcheck) \
18606 || exit 1
18608 @endif itcl
18610 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18611 maybe-mostlyclean-itcl:
18612 @if itcl
18613 maybe-mostlyclean-itcl: mostlyclean-itcl
18615 mostlyclean-itcl:
18616 @: $(MAKE); $(unstage)
18617 @[ -f ./itcl/Makefile ] || exit 0; \
18618 r=`${PWD_COMMAND}`; export r; \
18619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18620 $(HOST_EXPORTS) \
18621 for flag in $(EXTRA_HOST_FLAGS) ; do \
18622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18623 done; \
18624 echo "Doing mostlyclean in itcl" ; \
18625 (cd $(HOST_SUBDIR)/itcl && \
18626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18628 "RANLIB=$${RANLIB}" \
18629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18630 mostlyclean) \
18631 || exit 1
18633 @endif itcl
18635 .PHONY: maybe-clean-itcl clean-itcl
18636 maybe-clean-itcl:
18637 @if itcl
18638 maybe-clean-itcl: clean-itcl
18640 clean-itcl:
18641 @: $(MAKE); $(unstage)
18642 @[ -f ./itcl/Makefile ] || exit 0; \
18643 r=`${PWD_COMMAND}`; export r; \
18644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18645 $(HOST_EXPORTS) \
18646 for flag in $(EXTRA_HOST_FLAGS) ; do \
18647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18648 done; \
18649 echo "Doing clean in itcl" ; \
18650 (cd $(HOST_SUBDIR)/itcl && \
18651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18653 "RANLIB=$${RANLIB}" \
18654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18655 clean) \
18656 || exit 1
18658 @endif itcl
18660 .PHONY: maybe-distclean-itcl distclean-itcl
18661 maybe-distclean-itcl:
18662 @if itcl
18663 maybe-distclean-itcl: distclean-itcl
18665 distclean-itcl:
18666 @: $(MAKE); $(unstage)
18667 @[ -f ./itcl/Makefile ] || exit 0; \
18668 r=`${PWD_COMMAND}`; export r; \
18669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18670 $(HOST_EXPORTS) \
18671 for flag in $(EXTRA_HOST_FLAGS) ; do \
18672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18673 done; \
18674 echo "Doing distclean in itcl" ; \
18675 (cd $(HOST_SUBDIR)/itcl && \
18676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18678 "RANLIB=$${RANLIB}" \
18679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18680 distclean) \
18681 || exit 1
18683 @endif itcl
18685 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18686 maybe-maintainer-clean-itcl:
18687 @if itcl
18688 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18690 maintainer-clean-itcl:
18691 @: $(MAKE); $(unstage)
18692 @[ -f ./itcl/Makefile ] || exit 0; \
18693 r=`${PWD_COMMAND}`; export r; \
18694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18695 $(HOST_EXPORTS) \
18696 for flag in $(EXTRA_HOST_FLAGS) ; do \
18697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18698 done; \
18699 echo "Doing maintainer-clean in itcl" ; \
18700 (cd $(HOST_SUBDIR)/itcl && \
18701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18703 "RANLIB=$${RANLIB}" \
18704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18705 maintainer-clean) \
18706 || exit 1
18708 @endif itcl
18712 .PHONY: configure-ld maybe-configure-ld
18713 maybe-configure-ld:
18714 @if gcc-bootstrap
18715 configure-ld: stage_current
18716 @endif gcc-bootstrap
18717 @if ld
18718 maybe-configure-ld: configure-ld
18719 configure-ld:
18720 @r=`${PWD_COMMAND}`; export r; \
18721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18722 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18724 $(HOST_EXPORTS) \
18725 echo Configuring in $(HOST_SUBDIR)/ld; \
18726 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18727 case $(srcdir) in \
18728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18729 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18731 esac; \
18732 srcdiroption="--srcdir=$${topdir}/ld"; \
18733 libsrcdir="$$s/ld"; \
18734 $(SHELL) $${libsrcdir}/configure \
18735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18736 --target=${target_alias} $${srcdiroption} \
18737 || exit 1
18738 @endif ld
18742 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18743 maybe-configure-stage1-ld:
18744 @if ld-bootstrap
18745 maybe-configure-stage1-ld: configure-stage1-ld
18746 configure-stage1-ld:
18747 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18749 @r=`${PWD_COMMAND}`; export r; \
18750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18751 TFLAGS="$(STAGE1_TFLAGS)"; \
18752 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18753 $(HOST_EXPORTS) \
18754 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18755 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18756 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18757 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18759 cd $(HOST_SUBDIR)/ld || exit 1; \
18760 case $(srcdir) in \
18761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18762 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18764 esac; \
18765 srcdiroption="--srcdir=$${topdir}/ld"; \
18766 libsrcdir="$$s/ld"; \
18767 $(SHELL) $${libsrcdir}/configure \
18768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18769 --target=${target_alias} $${srcdiroption} \
18770 $(STAGE1_CONFIGURE_FLAGS)
18771 @endif ld-bootstrap
18773 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18774 maybe-configure-stage2-ld:
18775 @if ld-bootstrap
18776 maybe-configure-stage2-ld: configure-stage2-ld
18777 configure-stage2-ld:
18778 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18780 @r=`${PWD_COMMAND}`; export r; \
18781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18782 TFLAGS="$(STAGE2_TFLAGS)"; \
18783 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18784 $(HOST_EXPORTS) \
18785 $(POSTSTAGE1_HOST_EXPORTS) \
18786 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18787 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18788 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18789 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18791 cd $(HOST_SUBDIR)/ld || exit 1; \
18792 case $(srcdir) in \
18793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18794 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18796 esac; \
18797 srcdiroption="--srcdir=$${topdir}/ld"; \
18798 libsrcdir="$$s/ld"; \
18799 $(SHELL) $${libsrcdir}/configure \
18800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18801 --target=${target_alias} $${srcdiroption} \
18802 --with-build-libsubdir=$(HOST_SUBDIR) \
18803 $(STAGE2_CONFIGURE_FLAGS)
18804 @endif ld-bootstrap
18806 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18807 maybe-configure-stage3-ld:
18808 @if ld-bootstrap
18809 maybe-configure-stage3-ld: configure-stage3-ld
18810 configure-stage3-ld:
18811 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18812 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18813 @r=`${PWD_COMMAND}`; export r; \
18814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18815 TFLAGS="$(STAGE3_TFLAGS)"; \
18816 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18817 $(HOST_EXPORTS) \
18818 $(POSTSTAGE1_HOST_EXPORTS) \
18819 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18820 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18821 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18822 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18824 cd $(HOST_SUBDIR)/ld || exit 1; \
18825 case $(srcdir) in \
18826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18827 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18829 esac; \
18830 srcdiroption="--srcdir=$${topdir}/ld"; \
18831 libsrcdir="$$s/ld"; \
18832 $(SHELL) $${libsrcdir}/configure \
18833 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18834 --target=${target_alias} $${srcdiroption} \
18835 --with-build-libsubdir=$(HOST_SUBDIR) \
18836 $(STAGE3_CONFIGURE_FLAGS)
18837 @endif ld-bootstrap
18839 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18840 maybe-configure-stage4-ld:
18841 @if ld-bootstrap
18842 maybe-configure-stage4-ld: configure-stage4-ld
18843 configure-stage4-ld:
18844 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18846 @r=`${PWD_COMMAND}`; export r; \
18847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18848 TFLAGS="$(STAGE4_TFLAGS)"; \
18849 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18850 $(HOST_EXPORTS) \
18851 $(POSTSTAGE1_HOST_EXPORTS) \
18852 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18853 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18854 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18855 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18857 cd $(HOST_SUBDIR)/ld || exit 1; \
18858 case $(srcdir) in \
18859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18860 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18862 esac; \
18863 srcdiroption="--srcdir=$${topdir}/ld"; \
18864 libsrcdir="$$s/ld"; \
18865 $(SHELL) $${libsrcdir}/configure \
18866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18867 --target=${target_alias} $${srcdiroption} \
18868 --with-build-libsubdir=$(HOST_SUBDIR) \
18869 $(STAGE4_CONFIGURE_FLAGS)
18870 @endif ld-bootstrap
18872 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18873 maybe-configure-stageprofile-ld:
18874 @if ld-bootstrap
18875 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18876 configure-stageprofile-ld:
18877 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18879 @r=`${PWD_COMMAND}`; export r; \
18880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18881 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18882 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18883 $(HOST_EXPORTS) \
18884 $(POSTSTAGE1_HOST_EXPORTS) \
18885 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18886 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18887 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18888 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18890 cd $(HOST_SUBDIR)/ld || exit 1; \
18891 case $(srcdir) in \
18892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18893 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18895 esac; \
18896 srcdiroption="--srcdir=$${topdir}/ld"; \
18897 libsrcdir="$$s/ld"; \
18898 $(SHELL) $${libsrcdir}/configure \
18899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18900 --target=${target_alias} $${srcdiroption} \
18901 --with-build-libsubdir=$(HOST_SUBDIR) \
18902 $(STAGEprofile_CONFIGURE_FLAGS)
18903 @endif ld-bootstrap
18905 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18906 maybe-configure-stagefeedback-ld:
18907 @if ld-bootstrap
18908 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18909 configure-stagefeedback-ld:
18910 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18912 @r=`${PWD_COMMAND}`; export r; \
18913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18914 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18915 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18916 $(HOST_EXPORTS) \
18917 $(POSTSTAGE1_HOST_EXPORTS) \
18918 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18919 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18920 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18921 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18923 cd $(HOST_SUBDIR)/ld || exit 1; \
18924 case $(srcdir) in \
18925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18926 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18928 esac; \
18929 srcdiroption="--srcdir=$${topdir}/ld"; \
18930 libsrcdir="$$s/ld"; \
18931 $(SHELL) $${libsrcdir}/configure \
18932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18933 --target=${target_alias} $${srcdiroption} \
18934 --with-build-libsubdir=$(HOST_SUBDIR) \
18935 $(STAGEfeedback_CONFIGURE_FLAGS)
18936 @endif ld-bootstrap
18942 .PHONY: all-ld maybe-all-ld
18943 maybe-all-ld:
18944 @if gcc-bootstrap
18945 all-ld: stage_current
18946 @endif gcc-bootstrap
18947 @if ld
18948 TARGET-ld=all
18949 maybe-all-ld: all-ld
18950 all-ld: configure-ld
18951 @r=`${PWD_COMMAND}`; export r; \
18952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18953 $(HOST_EXPORTS) \
18954 (cd $(HOST_SUBDIR)/ld && \
18955 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18956 $(TARGET-ld))
18957 @endif ld
18961 .PHONY: all-stage1-ld maybe-all-stage1-ld
18962 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18963 maybe-all-stage1-ld:
18964 maybe-clean-stage1-ld:
18965 @if ld-bootstrap
18966 maybe-all-stage1-ld: all-stage1-ld
18967 all-stage1: all-stage1-ld
18968 TARGET-stage1-ld = $(TARGET-ld)
18969 all-stage1-ld: configure-stage1-ld
18970 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18971 @r=`${PWD_COMMAND}`; export r; \
18972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973 TFLAGS="$(STAGE1_TFLAGS)"; \
18974 $(HOST_EXPORTS) \
18975 cd $(HOST_SUBDIR)/ld && \
18976 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18977 CFLAGS="$(STAGE1_CFLAGS)" \
18978 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18979 LIBCFLAGS="$(LIBCFLAGS)" \
18980 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18981 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18982 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18983 $(EXTRA_HOST_FLAGS) \
18984 TFLAGS="$(STAGE1_TFLAGS)" \
18985 $(TARGET-stage1-ld)
18987 maybe-clean-stage1-ld: clean-stage1-ld
18988 clean-stage1: clean-stage1-ld
18989 clean-stage1-ld:
18990 @if [ $(current_stage) = stage1 ]; then \
18991 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18992 else \
18993 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18994 $(MAKE) stage1-start; \
18995 fi; \
18996 cd $(HOST_SUBDIR)/ld && \
18997 $(MAKE) $(EXTRA_HOST_FLAGS) \
18998 clean
18999 @endif ld-bootstrap
19002 .PHONY: all-stage2-ld maybe-all-stage2-ld
19003 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
19004 maybe-all-stage2-ld:
19005 maybe-clean-stage2-ld:
19006 @if ld-bootstrap
19007 maybe-all-stage2-ld: all-stage2-ld
19008 all-stage2: all-stage2-ld
19009 TARGET-stage2-ld = $(TARGET-ld)
19010 all-stage2-ld: configure-stage2-ld
19011 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19012 @r=`${PWD_COMMAND}`; export r; \
19013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19014 TFLAGS="$(STAGE2_TFLAGS)"; \
19015 $(HOST_EXPORTS) \
19016 $(POSTSTAGE1_HOST_EXPORTS) \
19017 cd $(HOST_SUBDIR)/ld && \
19018 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19019 CFLAGS="$(STAGE2_CFLAGS)" \
19020 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19021 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19022 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19023 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19024 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19025 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19026 TFLAGS="$(STAGE2_TFLAGS)" \
19027 $(TARGET-stage2-ld)
19029 maybe-clean-stage2-ld: clean-stage2-ld
19030 clean-stage2: clean-stage2-ld
19031 clean-stage2-ld:
19032 @if [ $(current_stage) = stage2 ]; then \
19033 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19034 else \
19035 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19036 $(MAKE) stage2-start; \
19037 fi; \
19038 cd $(HOST_SUBDIR)/ld && \
19039 $(MAKE) $(EXTRA_HOST_FLAGS) \
19040 $(POSTSTAGE1_FLAGS_TO_PASS) \
19041 clean
19042 @endif ld-bootstrap
19045 .PHONY: all-stage3-ld maybe-all-stage3-ld
19046 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19047 maybe-all-stage3-ld:
19048 maybe-clean-stage3-ld:
19049 @if ld-bootstrap
19050 maybe-all-stage3-ld: all-stage3-ld
19051 all-stage3: all-stage3-ld
19052 TARGET-stage3-ld = $(TARGET-ld)
19053 all-stage3-ld: configure-stage3-ld
19054 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19055 @r=`${PWD_COMMAND}`; export r; \
19056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19057 TFLAGS="$(STAGE3_TFLAGS)"; \
19058 $(HOST_EXPORTS) \
19059 $(POSTSTAGE1_HOST_EXPORTS) \
19060 cd $(HOST_SUBDIR)/ld && \
19061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19062 CFLAGS="$(STAGE3_CFLAGS)" \
19063 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19064 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19068 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19069 TFLAGS="$(STAGE3_TFLAGS)" \
19070 $(TARGET-stage3-ld)
19072 maybe-clean-stage3-ld: clean-stage3-ld
19073 clean-stage3: clean-stage3-ld
19074 clean-stage3-ld:
19075 @if [ $(current_stage) = stage3 ]; then \
19076 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19077 else \
19078 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19079 $(MAKE) stage3-start; \
19080 fi; \
19081 cd $(HOST_SUBDIR)/ld && \
19082 $(MAKE) $(EXTRA_HOST_FLAGS) \
19083 $(POSTSTAGE1_FLAGS_TO_PASS) \
19084 clean
19085 @endif ld-bootstrap
19088 .PHONY: all-stage4-ld maybe-all-stage4-ld
19089 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19090 maybe-all-stage4-ld:
19091 maybe-clean-stage4-ld:
19092 @if ld-bootstrap
19093 maybe-all-stage4-ld: all-stage4-ld
19094 all-stage4: all-stage4-ld
19095 TARGET-stage4-ld = $(TARGET-ld)
19096 all-stage4-ld: configure-stage4-ld
19097 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19098 @r=`${PWD_COMMAND}`; export r; \
19099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19100 TFLAGS="$(STAGE4_TFLAGS)"; \
19101 $(HOST_EXPORTS) \
19102 $(POSTSTAGE1_HOST_EXPORTS) \
19103 cd $(HOST_SUBDIR)/ld && \
19104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19105 CFLAGS="$(STAGE4_CFLAGS)" \
19106 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19107 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19111 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19112 TFLAGS="$(STAGE4_TFLAGS)" \
19113 $(TARGET-stage4-ld)
19115 maybe-clean-stage4-ld: clean-stage4-ld
19116 clean-stage4: clean-stage4-ld
19117 clean-stage4-ld:
19118 @if [ $(current_stage) = stage4 ]; then \
19119 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19120 else \
19121 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19122 $(MAKE) stage4-start; \
19123 fi; \
19124 cd $(HOST_SUBDIR)/ld && \
19125 $(MAKE) $(EXTRA_HOST_FLAGS) \
19126 $(POSTSTAGE1_FLAGS_TO_PASS) \
19127 clean
19128 @endif ld-bootstrap
19131 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19132 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19133 maybe-all-stageprofile-ld:
19134 maybe-clean-stageprofile-ld:
19135 @if ld-bootstrap
19136 maybe-all-stageprofile-ld: all-stageprofile-ld
19137 all-stageprofile: all-stageprofile-ld
19138 TARGET-stageprofile-ld = $(TARGET-ld)
19139 all-stageprofile-ld: configure-stageprofile-ld
19140 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19141 @r=`${PWD_COMMAND}`; export r; \
19142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19143 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19144 $(HOST_EXPORTS) \
19145 $(POSTSTAGE1_HOST_EXPORTS) \
19146 cd $(HOST_SUBDIR)/ld && \
19147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19148 CFLAGS="$(STAGEprofile_CFLAGS)" \
19149 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19150 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19154 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19155 TFLAGS="$(STAGEprofile_TFLAGS)" \
19156 $(TARGET-stageprofile-ld)
19158 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19159 clean-stageprofile: clean-stageprofile-ld
19160 clean-stageprofile-ld:
19161 @if [ $(current_stage) = stageprofile ]; then \
19162 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19163 else \
19164 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19165 $(MAKE) stageprofile-start; \
19166 fi; \
19167 cd $(HOST_SUBDIR)/ld && \
19168 $(MAKE) $(EXTRA_HOST_FLAGS) \
19169 $(POSTSTAGE1_FLAGS_TO_PASS) \
19170 clean
19171 @endif ld-bootstrap
19174 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19175 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19176 maybe-all-stagefeedback-ld:
19177 maybe-clean-stagefeedback-ld:
19178 @if ld-bootstrap
19179 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19180 all-stagefeedback: all-stagefeedback-ld
19181 TARGET-stagefeedback-ld = $(TARGET-ld)
19182 all-stagefeedback-ld: configure-stagefeedback-ld
19183 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19184 @r=`${PWD_COMMAND}`; export r; \
19185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19186 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19187 $(HOST_EXPORTS) \
19188 $(POSTSTAGE1_HOST_EXPORTS) \
19189 cd $(HOST_SUBDIR)/ld && \
19190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19191 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19192 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19193 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19197 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19198 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19199 $(TARGET-stagefeedback-ld)
19201 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19202 clean-stagefeedback: clean-stagefeedback-ld
19203 clean-stagefeedback-ld:
19204 @if [ $(current_stage) = stagefeedback ]; then \
19205 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19206 else \
19207 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19208 $(MAKE) stagefeedback-start; \
19209 fi; \
19210 cd $(HOST_SUBDIR)/ld && \
19211 $(MAKE) $(EXTRA_HOST_FLAGS) \
19212 $(POSTSTAGE1_FLAGS_TO_PASS) \
19213 clean
19214 @endif ld-bootstrap
19220 .PHONY: check-ld maybe-check-ld
19221 maybe-check-ld:
19222 @if ld
19223 maybe-check-ld: check-ld
19225 check-ld:
19226 @: $(MAKE); $(unstage)
19227 @r=`${PWD_COMMAND}`; export r; \
19228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19229 $(HOST_EXPORTS) \
19230 (cd $(HOST_SUBDIR)/ld && \
19231 $(MAKE) $(FLAGS_TO_PASS) check)
19233 @endif ld
19235 .PHONY: install-ld maybe-install-ld
19236 maybe-install-ld:
19237 @if ld
19238 maybe-install-ld: install-ld
19240 install-ld: installdirs
19241 @: $(MAKE); $(unstage)
19242 @r=`${PWD_COMMAND}`; export r; \
19243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19244 $(HOST_EXPORTS) \
19245 (cd $(HOST_SUBDIR)/ld && \
19246 $(MAKE) $(FLAGS_TO_PASS) install)
19248 @endif ld
19250 .PHONY: install-strip-ld maybe-install-strip-ld
19251 maybe-install-strip-ld:
19252 @if ld
19253 maybe-install-strip-ld: install-strip-ld
19255 install-strip-ld: installdirs
19256 @: $(MAKE); $(unstage)
19257 @r=`${PWD_COMMAND}`; export r; \
19258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19259 $(HOST_EXPORTS) \
19260 (cd $(HOST_SUBDIR)/ld && \
19261 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19263 @endif ld
19265 # Other targets (info, dvi, pdf, etc.)
19267 .PHONY: maybe-info-ld info-ld
19268 maybe-info-ld:
19269 @if ld
19270 maybe-info-ld: info-ld
19272 info-ld: \
19273 configure-ld
19274 @[ -f ./ld/Makefile ] || exit 0; \
19275 r=`${PWD_COMMAND}`; export r; \
19276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19277 $(HOST_EXPORTS) \
19278 for flag in $(EXTRA_HOST_FLAGS) ; do \
19279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19280 done; \
19281 echo "Doing info in ld" ; \
19282 (cd $(HOST_SUBDIR)/ld && \
19283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19285 "RANLIB=$${RANLIB}" \
19286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19287 info) \
19288 || exit 1
19290 @endif ld
19292 .PHONY: maybe-dvi-ld dvi-ld
19293 maybe-dvi-ld:
19294 @if ld
19295 maybe-dvi-ld: dvi-ld
19297 dvi-ld: \
19298 configure-ld
19299 @[ -f ./ld/Makefile ] || exit 0; \
19300 r=`${PWD_COMMAND}`; export r; \
19301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19302 $(HOST_EXPORTS) \
19303 for flag in $(EXTRA_HOST_FLAGS) ; do \
19304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19305 done; \
19306 echo "Doing dvi in ld" ; \
19307 (cd $(HOST_SUBDIR)/ld && \
19308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19310 "RANLIB=$${RANLIB}" \
19311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19312 dvi) \
19313 || exit 1
19315 @endif ld
19317 .PHONY: maybe-pdf-ld pdf-ld
19318 maybe-pdf-ld:
19319 @if ld
19320 maybe-pdf-ld: pdf-ld
19322 pdf-ld: \
19323 configure-ld
19324 @[ -f ./ld/Makefile ] || exit 0; \
19325 r=`${PWD_COMMAND}`; export r; \
19326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19327 $(HOST_EXPORTS) \
19328 for flag in $(EXTRA_HOST_FLAGS) ; do \
19329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19330 done; \
19331 echo "Doing pdf in ld" ; \
19332 (cd $(HOST_SUBDIR)/ld && \
19333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19335 "RANLIB=$${RANLIB}" \
19336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19337 pdf) \
19338 || exit 1
19340 @endif ld
19342 .PHONY: maybe-html-ld html-ld
19343 maybe-html-ld:
19344 @if ld
19345 maybe-html-ld: html-ld
19347 html-ld: \
19348 configure-ld
19349 @[ -f ./ld/Makefile ] || exit 0; \
19350 r=`${PWD_COMMAND}`; export r; \
19351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19352 $(HOST_EXPORTS) \
19353 for flag in $(EXTRA_HOST_FLAGS) ; do \
19354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19355 done; \
19356 echo "Doing html in ld" ; \
19357 (cd $(HOST_SUBDIR)/ld && \
19358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19360 "RANLIB=$${RANLIB}" \
19361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19362 html) \
19363 || exit 1
19365 @endif ld
19367 .PHONY: maybe-TAGS-ld TAGS-ld
19368 maybe-TAGS-ld:
19369 @if ld
19370 maybe-TAGS-ld: TAGS-ld
19372 TAGS-ld: \
19373 configure-ld
19374 @[ -f ./ld/Makefile ] || exit 0; \
19375 r=`${PWD_COMMAND}`; export r; \
19376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19377 $(HOST_EXPORTS) \
19378 for flag in $(EXTRA_HOST_FLAGS) ; do \
19379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19380 done; \
19381 echo "Doing TAGS in ld" ; \
19382 (cd $(HOST_SUBDIR)/ld && \
19383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19385 "RANLIB=$${RANLIB}" \
19386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19387 TAGS) \
19388 || exit 1
19390 @endif ld
19392 .PHONY: maybe-install-info-ld install-info-ld
19393 maybe-install-info-ld:
19394 @if ld
19395 maybe-install-info-ld: install-info-ld
19397 install-info-ld: \
19398 configure-ld \
19399 info-ld
19400 @[ -f ./ld/Makefile ] || exit 0; \
19401 r=`${PWD_COMMAND}`; export r; \
19402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19403 $(HOST_EXPORTS) \
19404 for flag in $(EXTRA_HOST_FLAGS) ; do \
19405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19406 done; \
19407 echo "Doing install-info in ld" ; \
19408 (cd $(HOST_SUBDIR)/ld && \
19409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19411 "RANLIB=$${RANLIB}" \
19412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19413 install-info) \
19414 || exit 1
19416 @endif ld
19418 .PHONY: maybe-install-pdf-ld install-pdf-ld
19419 maybe-install-pdf-ld:
19420 @if ld
19421 maybe-install-pdf-ld: install-pdf-ld
19423 install-pdf-ld: \
19424 configure-ld \
19425 pdf-ld
19426 @[ -f ./ld/Makefile ] || exit 0; \
19427 r=`${PWD_COMMAND}`; export r; \
19428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19429 $(HOST_EXPORTS) \
19430 for flag in $(EXTRA_HOST_FLAGS) ; do \
19431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19432 done; \
19433 echo "Doing install-pdf in ld" ; \
19434 (cd $(HOST_SUBDIR)/ld && \
19435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19437 "RANLIB=$${RANLIB}" \
19438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19439 install-pdf) \
19440 || exit 1
19442 @endif ld
19444 .PHONY: maybe-install-html-ld install-html-ld
19445 maybe-install-html-ld:
19446 @if ld
19447 maybe-install-html-ld: install-html-ld
19449 install-html-ld: \
19450 configure-ld \
19451 html-ld
19452 @[ -f ./ld/Makefile ] || exit 0; \
19453 r=`${PWD_COMMAND}`; export r; \
19454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19455 $(HOST_EXPORTS) \
19456 for flag in $(EXTRA_HOST_FLAGS) ; do \
19457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19458 done; \
19459 echo "Doing install-html in ld" ; \
19460 (cd $(HOST_SUBDIR)/ld && \
19461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19463 "RANLIB=$${RANLIB}" \
19464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19465 install-html) \
19466 || exit 1
19468 @endif ld
19470 .PHONY: maybe-installcheck-ld installcheck-ld
19471 maybe-installcheck-ld:
19472 @if ld
19473 maybe-installcheck-ld: installcheck-ld
19475 installcheck-ld: \
19476 configure-ld
19477 @[ -f ./ld/Makefile ] || exit 0; \
19478 r=`${PWD_COMMAND}`; export r; \
19479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19480 $(HOST_EXPORTS) \
19481 for flag in $(EXTRA_HOST_FLAGS) ; do \
19482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19483 done; \
19484 echo "Doing installcheck in ld" ; \
19485 (cd $(HOST_SUBDIR)/ld && \
19486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19488 "RANLIB=$${RANLIB}" \
19489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19490 installcheck) \
19491 || exit 1
19493 @endif ld
19495 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19496 maybe-mostlyclean-ld:
19497 @if ld
19498 maybe-mostlyclean-ld: mostlyclean-ld
19500 mostlyclean-ld:
19501 @[ -f ./ld/Makefile ] || exit 0; \
19502 r=`${PWD_COMMAND}`; export r; \
19503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19504 $(HOST_EXPORTS) \
19505 for flag in $(EXTRA_HOST_FLAGS) ; do \
19506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19507 done; \
19508 echo "Doing mostlyclean in ld" ; \
19509 (cd $(HOST_SUBDIR)/ld && \
19510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19512 "RANLIB=$${RANLIB}" \
19513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19514 mostlyclean) \
19515 || exit 1
19517 @endif ld
19519 .PHONY: maybe-clean-ld clean-ld
19520 maybe-clean-ld:
19521 @if ld
19522 maybe-clean-ld: clean-ld
19524 clean-ld:
19525 @[ -f ./ld/Makefile ] || exit 0; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528 $(HOST_EXPORTS) \
19529 for flag in $(EXTRA_HOST_FLAGS) ; do \
19530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19531 done; \
19532 echo "Doing clean in ld" ; \
19533 (cd $(HOST_SUBDIR)/ld && \
19534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19536 "RANLIB=$${RANLIB}" \
19537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19538 clean) \
19539 || exit 1
19541 @endif ld
19543 .PHONY: maybe-distclean-ld distclean-ld
19544 maybe-distclean-ld:
19545 @if ld
19546 maybe-distclean-ld: distclean-ld
19548 distclean-ld:
19549 @[ -f ./ld/Makefile ] || exit 0; \
19550 r=`${PWD_COMMAND}`; export r; \
19551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19552 $(HOST_EXPORTS) \
19553 for flag in $(EXTRA_HOST_FLAGS) ; do \
19554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19555 done; \
19556 echo "Doing distclean in ld" ; \
19557 (cd $(HOST_SUBDIR)/ld && \
19558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19560 "RANLIB=$${RANLIB}" \
19561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19562 distclean) \
19563 || exit 1
19565 @endif ld
19567 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19568 maybe-maintainer-clean-ld:
19569 @if ld
19570 maybe-maintainer-clean-ld: maintainer-clean-ld
19572 maintainer-clean-ld:
19573 @[ -f ./ld/Makefile ] || exit 0; \
19574 r=`${PWD_COMMAND}`; export r; \
19575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19576 $(HOST_EXPORTS) \
19577 for flag in $(EXTRA_HOST_FLAGS) ; do \
19578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19579 done; \
19580 echo "Doing maintainer-clean in ld" ; \
19581 (cd $(HOST_SUBDIR)/ld && \
19582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19584 "RANLIB=$${RANLIB}" \
19585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19586 maintainer-clean) \
19587 || exit 1
19589 @endif ld
19593 .PHONY: configure-libcpp maybe-configure-libcpp
19594 maybe-configure-libcpp:
19595 @if gcc-bootstrap
19596 configure-libcpp: stage_current
19597 @endif gcc-bootstrap
19598 @if libcpp
19599 maybe-configure-libcpp: configure-libcpp
19600 configure-libcpp:
19601 @r=`${PWD_COMMAND}`; export r; \
19602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19603 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19605 $(HOST_EXPORTS) \
19606 echo Configuring in $(HOST_SUBDIR)/libcpp; \
19607 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
19608 case $(srcdir) in \
19609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19610 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19612 esac; \
19613 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19614 libsrcdir="$$s/libcpp"; \
19615 $(SHELL) $${libsrcdir}/configure \
19616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19617 --target=${target_alias} $${srcdiroption} \
19618 || exit 1
19619 @endif libcpp
19623 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
19624 maybe-configure-stage1-libcpp:
19625 @if libcpp-bootstrap
19626 maybe-configure-stage1-libcpp: configure-stage1-libcpp
19627 configure-stage1-libcpp:
19628 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19629 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19630 @r=`${PWD_COMMAND}`; export r; \
19631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19632 TFLAGS="$(STAGE1_TFLAGS)"; \
19633 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19634 $(HOST_EXPORTS) \
19635 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19636 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19637 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19638 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
19639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19640 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19641 case $(srcdir) in \
19642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19643 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19645 esac; \
19646 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19647 libsrcdir="$$s/libcpp"; \
19648 $(SHELL) $${libsrcdir}/configure \
19649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19650 --target=${target_alias} $${srcdiroption} \
19651 $(STAGE1_CONFIGURE_FLAGS)
19652 @endif libcpp-bootstrap
19654 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
19655 maybe-configure-stage2-libcpp:
19656 @if libcpp-bootstrap
19657 maybe-configure-stage2-libcpp: configure-stage2-libcpp
19658 configure-stage2-libcpp:
19659 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19660 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19661 @r=`${PWD_COMMAND}`; export r; \
19662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19663 TFLAGS="$(STAGE2_TFLAGS)"; \
19664 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19665 $(HOST_EXPORTS) \
19666 $(POSTSTAGE1_HOST_EXPORTS) \
19667 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19668 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19669 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19670 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
19671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19672 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19673 case $(srcdir) in \
19674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19675 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19677 esac; \
19678 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19679 libsrcdir="$$s/libcpp"; \
19680 $(SHELL) $${libsrcdir}/configure \
19681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19682 --target=${target_alias} $${srcdiroption} \
19683 --with-build-libsubdir=$(HOST_SUBDIR) \
19684 $(STAGE2_CONFIGURE_FLAGS)
19685 @endif libcpp-bootstrap
19687 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
19688 maybe-configure-stage3-libcpp:
19689 @if libcpp-bootstrap
19690 maybe-configure-stage3-libcpp: configure-stage3-libcpp
19691 configure-stage3-libcpp:
19692 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19693 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19694 @r=`${PWD_COMMAND}`; export r; \
19695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19696 TFLAGS="$(STAGE3_TFLAGS)"; \
19697 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19698 $(HOST_EXPORTS) \
19699 $(POSTSTAGE1_HOST_EXPORTS) \
19700 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19701 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19702 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19703 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
19704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19705 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19706 case $(srcdir) in \
19707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19708 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19710 esac; \
19711 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19712 libsrcdir="$$s/libcpp"; \
19713 $(SHELL) $${libsrcdir}/configure \
19714 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19715 --target=${target_alias} $${srcdiroption} \
19716 --with-build-libsubdir=$(HOST_SUBDIR) \
19717 $(STAGE3_CONFIGURE_FLAGS)
19718 @endif libcpp-bootstrap
19720 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
19721 maybe-configure-stage4-libcpp:
19722 @if libcpp-bootstrap
19723 maybe-configure-stage4-libcpp: configure-stage4-libcpp
19724 configure-stage4-libcpp:
19725 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19727 @r=`${PWD_COMMAND}`; export r; \
19728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19729 TFLAGS="$(STAGE4_TFLAGS)"; \
19730 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19731 $(HOST_EXPORTS) \
19732 $(POSTSTAGE1_HOST_EXPORTS) \
19733 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19734 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19735 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19736 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
19737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19738 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19739 case $(srcdir) in \
19740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19741 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19743 esac; \
19744 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19745 libsrcdir="$$s/libcpp"; \
19746 $(SHELL) $${libsrcdir}/configure \
19747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19748 --target=${target_alias} $${srcdiroption} \
19749 --with-build-libsubdir=$(HOST_SUBDIR) \
19750 $(STAGE4_CONFIGURE_FLAGS)
19751 @endif libcpp-bootstrap
19753 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
19754 maybe-configure-stageprofile-libcpp:
19755 @if libcpp-bootstrap
19756 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
19757 configure-stageprofile-libcpp:
19758 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19759 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19760 @r=`${PWD_COMMAND}`; export r; \
19761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19762 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19763 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19764 $(HOST_EXPORTS) \
19765 $(POSTSTAGE1_HOST_EXPORTS) \
19766 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19767 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19768 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19769 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
19770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19771 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19772 case $(srcdir) in \
19773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19774 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19776 esac; \
19777 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19778 libsrcdir="$$s/libcpp"; \
19779 $(SHELL) $${libsrcdir}/configure \
19780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19781 --target=${target_alias} $${srcdiroption} \
19782 --with-build-libsubdir=$(HOST_SUBDIR) \
19783 $(STAGEprofile_CONFIGURE_FLAGS)
19784 @endif libcpp-bootstrap
19786 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
19787 maybe-configure-stagefeedback-libcpp:
19788 @if libcpp-bootstrap
19789 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
19790 configure-stagefeedback-libcpp:
19791 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19792 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
19793 @r=`${PWD_COMMAND}`; export r; \
19794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19795 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19796 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
19797 $(HOST_EXPORTS) \
19798 $(POSTSTAGE1_HOST_EXPORTS) \
19799 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19800 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19801 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19802 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
19803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
19804 cd $(HOST_SUBDIR)/libcpp || exit 1; \
19805 case $(srcdir) in \
19806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19807 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
19808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19809 esac; \
19810 srcdiroption="--srcdir=$${topdir}/libcpp"; \
19811 libsrcdir="$$s/libcpp"; \
19812 $(SHELL) $${libsrcdir}/configure \
19813 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19814 --target=${target_alias} $${srcdiroption} \
19815 --with-build-libsubdir=$(HOST_SUBDIR) \
19816 $(STAGEfeedback_CONFIGURE_FLAGS)
19817 @endif libcpp-bootstrap
19823 .PHONY: all-libcpp maybe-all-libcpp
19824 maybe-all-libcpp:
19825 @if gcc-bootstrap
19826 all-libcpp: stage_current
19827 @endif gcc-bootstrap
19828 @if libcpp
19829 TARGET-libcpp=all
19830 maybe-all-libcpp: all-libcpp
19831 all-libcpp: configure-libcpp
19832 @r=`${PWD_COMMAND}`; export r; \
19833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19834 $(HOST_EXPORTS) \
19835 (cd $(HOST_SUBDIR)/libcpp && \
19836 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19837 $(TARGET-libcpp))
19838 @endif libcpp
19842 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
19843 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
19844 maybe-all-stage1-libcpp:
19845 maybe-clean-stage1-libcpp:
19846 @if libcpp-bootstrap
19847 maybe-all-stage1-libcpp: all-stage1-libcpp
19848 all-stage1: all-stage1-libcpp
19849 TARGET-stage1-libcpp = $(TARGET-libcpp)
19850 all-stage1-libcpp: configure-stage1-libcpp
19851 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19852 @r=`${PWD_COMMAND}`; export r; \
19853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19854 TFLAGS="$(STAGE1_TFLAGS)"; \
19855 $(HOST_EXPORTS) \
19856 cd $(HOST_SUBDIR)/libcpp && \
19857 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19858 CFLAGS="$(STAGE1_CFLAGS)" \
19859 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19860 LIBCFLAGS="$(LIBCFLAGS)" \
19861 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19862 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19863 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19864 $(EXTRA_HOST_FLAGS) \
19865 TFLAGS="$(STAGE1_TFLAGS)" \
19866 $(TARGET-stage1-libcpp)
19868 maybe-clean-stage1-libcpp: clean-stage1-libcpp
19869 clean-stage1: clean-stage1-libcpp
19870 clean-stage1-libcpp:
19871 @if [ $(current_stage) = stage1 ]; then \
19872 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19873 else \
19874 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
19875 $(MAKE) stage1-start; \
19876 fi; \
19877 cd $(HOST_SUBDIR)/libcpp && \
19878 $(MAKE) $(EXTRA_HOST_FLAGS) \
19879 clean
19880 @endif libcpp-bootstrap
19883 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
19884 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
19885 maybe-all-stage2-libcpp:
19886 maybe-clean-stage2-libcpp:
19887 @if libcpp-bootstrap
19888 maybe-all-stage2-libcpp: all-stage2-libcpp
19889 all-stage2: all-stage2-libcpp
19890 TARGET-stage2-libcpp = $(TARGET-libcpp)
19891 all-stage2-libcpp: configure-stage2-libcpp
19892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19893 @r=`${PWD_COMMAND}`; export r; \
19894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19895 TFLAGS="$(STAGE2_TFLAGS)"; \
19896 $(HOST_EXPORTS) \
19897 $(POSTSTAGE1_HOST_EXPORTS) \
19898 cd $(HOST_SUBDIR)/libcpp && \
19899 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19900 CFLAGS="$(STAGE2_CFLAGS)" \
19901 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19902 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19903 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19904 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19905 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19906 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19907 TFLAGS="$(STAGE2_TFLAGS)" \
19908 $(TARGET-stage2-libcpp)
19910 maybe-clean-stage2-libcpp: clean-stage2-libcpp
19911 clean-stage2: clean-stage2-libcpp
19912 clean-stage2-libcpp:
19913 @if [ $(current_stage) = stage2 ]; then \
19914 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19915 else \
19916 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
19917 $(MAKE) stage2-start; \
19918 fi; \
19919 cd $(HOST_SUBDIR)/libcpp && \
19920 $(MAKE) $(EXTRA_HOST_FLAGS) \
19921 $(POSTSTAGE1_FLAGS_TO_PASS) \
19922 clean
19923 @endif libcpp-bootstrap
19926 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
19927 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
19928 maybe-all-stage3-libcpp:
19929 maybe-clean-stage3-libcpp:
19930 @if libcpp-bootstrap
19931 maybe-all-stage3-libcpp: all-stage3-libcpp
19932 all-stage3: all-stage3-libcpp
19933 TARGET-stage3-libcpp = $(TARGET-libcpp)
19934 all-stage3-libcpp: configure-stage3-libcpp
19935 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19936 @r=`${PWD_COMMAND}`; export r; \
19937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19938 TFLAGS="$(STAGE3_TFLAGS)"; \
19939 $(HOST_EXPORTS) \
19940 $(POSTSTAGE1_HOST_EXPORTS) \
19941 cd $(HOST_SUBDIR)/libcpp && \
19942 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19943 CFLAGS="$(STAGE3_CFLAGS)" \
19944 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19945 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19946 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19947 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19948 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19949 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19950 TFLAGS="$(STAGE3_TFLAGS)" \
19951 $(TARGET-stage3-libcpp)
19953 maybe-clean-stage3-libcpp: clean-stage3-libcpp
19954 clean-stage3: clean-stage3-libcpp
19955 clean-stage3-libcpp:
19956 @if [ $(current_stage) = stage3 ]; then \
19957 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
19958 else \
19959 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
19960 $(MAKE) stage3-start; \
19961 fi; \
19962 cd $(HOST_SUBDIR)/libcpp && \
19963 $(MAKE) $(EXTRA_HOST_FLAGS) \
19964 $(POSTSTAGE1_FLAGS_TO_PASS) \
19965 clean
19966 @endif libcpp-bootstrap
19969 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
19970 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
19971 maybe-all-stage4-libcpp:
19972 maybe-clean-stage4-libcpp:
19973 @if libcpp-bootstrap
19974 maybe-all-stage4-libcpp: all-stage4-libcpp
19975 all-stage4: all-stage4-libcpp
19976 TARGET-stage4-libcpp = $(TARGET-libcpp)
19977 all-stage4-libcpp: configure-stage4-libcpp
19978 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19979 @r=`${PWD_COMMAND}`; export r; \
19980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19981 TFLAGS="$(STAGE4_TFLAGS)"; \
19982 $(HOST_EXPORTS) \
19983 $(POSTSTAGE1_HOST_EXPORTS) \
19984 cd $(HOST_SUBDIR)/libcpp && \
19985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19986 CFLAGS="$(STAGE4_CFLAGS)" \
19987 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19988 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19992 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19993 TFLAGS="$(STAGE4_TFLAGS)" \
19994 $(TARGET-stage4-libcpp)
19996 maybe-clean-stage4-libcpp: clean-stage4-libcpp
19997 clean-stage4: clean-stage4-libcpp
19998 clean-stage4-libcpp:
19999 @if [ $(current_stage) = stage4 ]; then \
20000 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20001 else \
20002 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20003 $(MAKE) stage4-start; \
20004 fi; \
20005 cd $(HOST_SUBDIR)/libcpp && \
20006 $(MAKE) $(EXTRA_HOST_FLAGS) \
20007 $(POSTSTAGE1_FLAGS_TO_PASS) \
20008 clean
20009 @endif libcpp-bootstrap
20012 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20013 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20014 maybe-all-stageprofile-libcpp:
20015 maybe-clean-stageprofile-libcpp:
20016 @if libcpp-bootstrap
20017 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20018 all-stageprofile: all-stageprofile-libcpp
20019 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20020 all-stageprofile-libcpp: configure-stageprofile-libcpp
20021 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20022 @r=`${PWD_COMMAND}`; export r; \
20023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20024 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20025 $(HOST_EXPORTS) \
20026 $(POSTSTAGE1_HOST_EXPORTS) \
20027 cd $(HOST_SUBDIR)/libcpp && \
20028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20029 CFLAGS="$(STAGEprofile_CFLAGS)" \
20030 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20031 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20035 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20036 TFLAGS="$(STAGEprofile_TFLAGS)" \
20037 $(TARGET-stageprofile-libcpp)
20039 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20040 clean-stageprofile: clean-stageprofile-libcpp
20041 clean-stageprofile-libcpp:
20042 @if [ $(current_stage) = stageprofile ]; then \
20043 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20044 else \
20045 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20046 $(MAKE) stageprofile-start; \
20047 fi; \
20048 cd $(HOST_SUBDIR)/libcpp && \
20049 $(MAKE) $(EXTRA_HOST_FLAGS) \
20050 $(POSTSTAGE1_FLAGS_TO_PASS) \
20051 clean
20052 @endif libcpp-bootstrap
20055 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20056 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20057 maybe-all-stagefeedback-libcpp:
20058 maybe-clean-stagefeedback-libcpp:
20059 @if libcpp-bootstrap
20060 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20061 all-stagefeedback: all-stagefeedback-libcpp
20062 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20063 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20064 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20065 @r=`${PWD_COMMAND}`; export r; \
20066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20067 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20068 $(HOST_EXPORTS) \
20069 $(POSTSTAGE1_HOST_EXPORTS) \
20070 cd $(HOST_SUBDIR)/libcpp && \
20071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20072 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20073 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20074 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20078 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20079 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20080 $(TARGET-stagefeedback-libcpp)
20082 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20083 clean-stagefeedback: clean-stagefeedback-libcpp
20084 clean-stagefeedback-libcpp:
20085 @if [ $(current_stage) = stagefeedback ]; then \
20086 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20087 else \
20088 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20089 $(MAKE) stagefeedback-start; \
20090 fi; \
20091 cd $(HOST_SUBDIR)/libcpp && \
20092 $(MAKE) $(EXTRA_HOST_FLAGS) \
20093 $(POSTSTAGE1_FLAGS_TO_PASS) \
20094 clean
20095 @endif libcpp-bootstrap
20101 .PHONY: check-libcpp maybe-check-libcpp
20102 maybe-check-libcpp:
20103 @if libcpp
20104 maybe-check-libcpp: check-libcpp
20106 check-libcpp:
20107 @: $(MAKE); $(unstage)
20108 @r=`${PWD_COMMAND}`; export r; \
20109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20110 $(HOST_EXPORTS) \
20111 (cd $(HOST_SUBDIR)/libcpp && \
20112 $(MAKE) $(FLAGS_TO_PASS) check)
20114 @endif libcpp
20116 .PHONY: install-libcpp maybe-install-libcpp
20117 maybe-install-libcpp:
20118 @if libcpp
20119 maybe-install-libcpp: install-libcpp
20121 install-libcpp: installdirs
20122 @: $(MAKE); $(unstage)
20123 @r=`${PWD_COMMAND}`; export r; \
20124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20125 $(HOST_EXPORTS) \
20126 (cd $(HOST_SUBDIR)/libcpp && \
20127 $(MAKE) $(FLAGS_TO_PASS) install)
20129 @endif libcpp
20131 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20132 maybe-install-strip-libcpp:
20133 @if libcpp
20134 maybe-install-strip-libcpp: install-strip-libcpp
20136 install-strip-libcpp: installdirs
20137 @: $(MAKE); $(unstage)
20138 @r=`${PWD_COMMAND}`; export r; \
20139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20140 $(HOST_EXPORTS) \
20141 (cd $(HOST_SUBDIR)/libcpp && \
20142 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20144 @endif libcpp
20146 # Other targets (info, dvi, pdf, etc.)
20148 .PHONY: maybe-info-libcpp info-libcpp
20149 maybe-info-libcpp:
20150 @if libcpp
20151 maybe-info-libcpp: info-libcpp
20153 info-libcpp: \
20154 configure-libcpp
20155 @[ -f ./libcpp/Makefile ] || exit 0; \
20156 r=`${PWD_COMMAND}`; export r; \
20157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20158 $(HOST_EXPORTS) \
20159 for flag in $(EXTRA_HOST_FLAGS) ; do \
20160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20161 done; \
20162 echo "Doing info in libcpp" ; \
20163 (cd $(HOST_SUBDIR)/libcpp && \
20164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20166 "RANLIB=$${RANLIB}" \
20167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20168 info) \
20169 || exit 1
20171 @endif libcpp
20173 .PHONY: maybe-dvi-libcpp dvi-libcpp
20174 maybe-dvi-libcpp:
20175 @if libcpp
20176 maybe-dvi-libcpp: dvi-libcpp
20178 dvi-libcpp: \
20179 configure-libcpp
20180 @[ -f ./libcpp/Makefile ] || exit 0; \
20181 r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20183 $(HOST_EXPORTS) \
20184 for flag in $(EXTRA_HOST_FLAGS) ; do \
20185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20186 done; \
20187 echo "Doing dvi in libcpp" ; \
20188 (cd $(HOST_SUBDIR)/libcpp && \
20189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20191 "RANLIB=$${RANLIB}" \
20192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20193 dvi) \
20194 || exit 1
20196 @endif libcpp
20198 .PHONY: maybe-pdf-libcpp pdf-libcpp
20199 maybe-pdf-libcpp:
20200 @if libcpp
20201 maybe-pdf-libcpp: pdf-libcpp
20203 pdf-libcpp: \
20204 configure-libcpp
20205 @[ -f ./libcpp/Makefile ] || exit 0; \
20206 r=`${PWD_COMMAND}`; export r; \
20207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20208 $(HOST_EXPORTS) \
20209 for flag in $(EXTRA_HOST_FLAGS) ; do \
20210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20211 done; \
20212 echo "Doing pdf in libcpp" ; \
20213 (cd $(HOST_SUBDIR)/libcpp && \
20214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20216 "RANLIB=$${RANLIB}" \
20217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20218 pdf) \
20219 || exit 1
20221 @endif libcpp
20223 .PHONY: maybe-html-libcpp html-libcpp
20224 maybe-html-libcpp:
20225 @if libcpp
20226 maybe-html-libcpp: html-libcpp
20228 html-libcpp: \
20229 configure-libcpp
20230 @[ -f ./libcpp/Makefile ] || exit 0; \
20231 r=`${PWD_COMMAND}`; export r; \
20232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20233 $(HOST_EXPORTS) \
20234 for flag in $(EXTRA_HOST_FLAGS) ; do \
20235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20236 done; \
20237 echo "Doing html in libcpp" ; \
20238 (cd $(HOST_SUBDIR)/libcpp && \
20239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20241 "RANLIB=$${RANLIB}" \
20242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20243 html) \
20244 || exit 1
20246 @endif libcpp
20248 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20249 maybe-TAGS-libcpp:
20250 @if libcpp
20251 maybe-TAGS-libcpp: TAGS-libcpp
20253 TAGS-libcpp: \
20254 configure-libcpp
20255 @[ -f ./libcpp/Makefile ] || exit 0; \
20256 r=`${PWD_COMMAND}`; export r; \
20257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20258 $(HOST_EXPORTS) \
20259 for flag in $(EXTRA_HOST_FLAGS) ; do \
20260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20261 done; \
20262 echo "Doing TAGS in libcpp" ; \
20263 (cd $(HOST_SUBDIR)/libcpp && \
20264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20266 "RANLIB=$${RANLIB}" \
20267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20268 TAGS) \
20269 || exit 1
20271 @endif libcpp
20273 .PHONY: maybe-install-info-libcpp install-info-libcpp
20274 maybe-install-info-libcpp:
20275 @if libcpp
20276 maybe-install-info-libcpp: install-info-libcpp
20278 install-info-libcpp: \
20279 configure-libcpp \
20280 info-libcpp
20281 @[ -f ./libcpp/Makefile ] || exit 0; \
20282 r=`${PWD_COMMAND}`; export r; \
20283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20284 $(HOST_EXPORTS) \
20285 for flag in $(EXTRA_HOST_FLAGS) ; do \
20286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20287 done; \
20288 echo "Doing install-info in libcpp" ; \
20289 (cd $(HOST_SUBDIR)/libcpp && \
20290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20292 "RANLIB=$${RANLIB}" \
20293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20294 install-info) \
20295 || exit 1
20297 @endif libcpp
20299 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20300 maybe-install-pdf-libcpp:
20301 @if libcpp
20302 maybe-install-pdf-libcpp: install-pdf-libcpp
20304 install-pdf-libcpp: \
20305 configure-libcpp \
20306 pdf-libcpp
20307 @[ -f ./libcpp/Makefile ] || exit 0; \
20308 r=`${PWD_COMMAND}`; export r; \
20309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20310 $(HOST_EXPORTS) \
20311 for flag in $(EXTRA_HOST_FLAGS) ; do \
20312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20313 done; \
20314 echo "Doing install-pdf in libcpp" ; \
20315 (cd $(HOST_SUBDIR)/libcpp && \
20316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20318 "RANLIB=$${RANLIB}" \
20319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20320 install-pdf) \
20321 || exit 1
20323 @endif libcpp
20325 .PHONY: maybe-install-html-libcpp install-html-libcpp
20326 maybe-install-html-libcpp:
20327 @if libcpp
20328 maybe-install-html-libcpp: install-html-libcpp
20330 install-html-libcpp: \
20331 configure-libcpp \
20332 html-libcpp
20333 @[ -f ./libcpp/Makefile ] || exit 0; \
20334 r=`${PWD_COMMAND}`; export r; \
20335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20336 $(HOST_EXPORTS) \
20337 for flag in $(EXTRA_HOST_FLAGS) ; do \
20338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20339 done; \
20340 echo "Doing install-html in libcpp" ; \
20341 (cd $(HOST_SUBDIR)/libcpp && \
20342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20344 "RANLIB=$${RANLIB}" \
20345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20346 install-html) \
20347 || exit 1
20349 @endif libcpp
20351 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20352 maybe-installcheck-libcpp:
20353 @if libcpp
20354 maybe-installcheck-libcpp: installcheck-libcpp
20356 installcheck-libcpp: \
20357 configure-libcpp
20358 @[ -f ./libcpp/Makefile ] || exit 0; \
20359 r=`${PWD_COMMAND}`; export r; \
20360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20361 $(HOST_EXPORTS) \
20362 for flag in $(EXTRA_HOST_FLAGS) ; do \
20363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20364 done; \
20365 echo "Doing installcheck in libcpp" ; \
20366 (cd $(HOST_SUBDIR)/libcpp && \
20367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20369 "RANLIB=$${RANLIB}" \
20370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20371 installcheck) \
20372 || exit 1
20374 @endif libcpp
20376 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20377 maybe-mostlyclean-libcpp:
20378 @if libcpp
20379 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20381 mostlyclean-libcpp:
20382 @[ -f ./libcpp/Makefile ] || exit 0; \
20383 r=`${PWD_COMMAND}`; export r; \
20384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20385 $(HOST_EXPORTS) \
20386 for flag in $(EXTRA_HOST_FLAGS) ; do \
20387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20388 done; \
20389 echo "Doing mostlyclean in libcpp" ; \
20390 (cd $(HOST_SUBDIR)/libcpp && \
20391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20393 "RANLIB=$${RANLIB}" \
20394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20395 mostlyclean) \
20396 || exit 1
20398 @endif libcpp
20400 .PHONY: maybe-clean-libcpp clean-libcpp
20401 maybe-clean-libcpp:
20402 @if libcpp
20403 maybe-clean-libcpp: clean-libcpp
20405 clean-libcpp:
20406 @[ -f ./libcpp/Makefile ] || exit 0; \
20407 r=`${PWD_COMMAND}`; export r; \
20408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20409 $(HOST_EXPORTS) \
20410 for flag in $(EXTRA_HOST_FLAGS) ; do \
20411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20412 done; \
20413 echo "Doing clean in libcpp" ; \
20414 (cd $(HOST_SUBDIR)/libcpp && \
20415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20417 "RANLIB=$${RANLIB}" \
20418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20419 clean) \
20420 || exit 1
20422 @endif libcpp
20424 .PHONY: maybe-distclean-libcpp distclean-libcpp
20425 maybe-distclean-libcpp:
20426 @if libcpp
20427 maybe-distclean-libcpp: distclean-libcpp
20429 distclean-libcpp:
20430 @[ -f ./libcpp/Makefile ] || exit 0; \
20431 r=`${PWD_COMMAND}`; export r; \
20432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20433 $(HOST_EXPORTS) \
20434 for flag in $(EXTRA_HOST_FLAGS) ; do \
20435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20436 done; \
20437 echo "Doing distclean in libcpp" ; \
20438 (cd $(HOST_SUBDIR)/libcpp && \
20439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20441 "RANLIB=$${RANLIB}" \
20442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20443 distclean) \
20444 || exit 1
20446 @endif libcpp
20448 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20449 maybe-maintainer-clean-libcpp:
20450 @if libcpp
20451 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20453 maintainer-clean-libcpp:
20454 @[ -f ./libcpp/Makefile ] || exit 0; \
20455 r=`${PWD_COMMAND}`; export r; \
20456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20457 $(HOST_EXPORTS) \
20458 for flag in $(EXTRA_HOST_FLAGS) ; do \
20459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20460 done; \
20461 echo "Doing maintainer-clean in libcpp" ; \
20462 (cd $(HOST_SUBDIR)/libcpp && \
20463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20465 "RANLIB=$${RANLIB}" \
20466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20467 maintainer-clean) \
20468 || exit 1
20470 @endif libcpp
20474 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20475 maybe-configure-libdecnumber:
20476 @if gcc-bootstrap
20477 configure-libdecnumber: stage_current
20478 @endif gcc-bootstrap
20479 @if libdecnumber
20480 maybe-configure-libdecnumber: configure-libdecnumber
20481 configure-libdecnumber:
20482 @r=`${PWD_COMMAND}`; export r; \
20483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20484 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20486 $(HOST_EXPORTS) \
20487 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20488 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20489 case $(srcdir) in \
20490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20491 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20493 esac; \
20494 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20495 libsrcdir="$$s/libdecnumber"; \
20496 $(SHELL) $${libsrcdir}/configure \
20497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20498 --target=${target_alias} $${srcdiroption} \
20499 || exit 1
20500 @endif libdecnumber
20504 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20505 maybe-configure-stage1-libdecnumber:
20506 @if libdecnumber-bootstrap
20507 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20508 configure-stage1-libdecnumber:
20509 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20510 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20511 @r=`${PWD_COMMAND}`; export r; \
20512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20513 TFLAGS="$(STAGE1_TFLAGS)"; \
20514 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20515 $(HOST_EXPORTS) \
20516 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20517 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20518 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20519 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20521 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20522 case $(srcdir) in \
20523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20524 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20526 esac; \
20527 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20528 libsrcdir="$$s/libdecnumber"; \
20529 $(SHELL) $${libsrcdir}/configure \
20530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20531 --target=${target_alias} $${srcdiroption} \
20532 $(STAGE1_CONFIGURE_FLAGS)
20533 @endif libdecnumber-bootstrap
20535 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20536 maybe-configure-stage2-libdecnumber:
20537 @if libdecnumber-bootstrap
20538 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20539 configure-stage2-libdecnumber:
20540 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20541 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20542 @r=`${PWD_COMMAND}`; export r; \
20543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20544 TFLAGS="$(STAGE2_TFLAGS)"; \
20545 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20546 $(HOST_EXPORTS) \
20547 $(POSTSTAGE1_HOST_EXPORTS) \
20548 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20549 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20550 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20551 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20553 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20554 case $(srcdir) in \
20555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20556 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20558 esac; \
20559 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20560 libsrcdir="$$s/libdecnumber"; \
20561 $(SHELL) $${libsrcdir}/configure \
20562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20563 --target=${target_alias} $${srcdiroption} \
20564 --with-build-libsubdir=$(HOST_SUBDIR) \
20565 $(STAGE2_CONFIGURE_FLAGS)
20566 @endif libdecnumber-bootstrap
20568 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20569 maybe-configure-stage3-libdecnumber:
20570 @if libdecnumber-bootstrap
20571 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20572 configure-stage3-libdecnumber:
20573 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20574 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20575 @r=`${PWD_COMMAND}`; export r; \
20576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20577 TFLAGS="$(STAGE3_TFLAGS)"; \
20578 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20579 $(HOST_EXPORTS) \
20580 $(POSTSTAGE1_HOST_EXPORTS) \
20581 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20582 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20583 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20584 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20586 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20587 case $(srcdir) in \
20588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20589 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20591 esac; \
20592 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20593 libsrcdir="$$s/libdecnumber"; \
20594 $(SHELL) $${libsrcdir}/configure \
20595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20596 --target=${target_alias} $${srcdiroption} \
20597 --with-build-libsubdir=$(HOST_SUBDIR) \
20598 $(STAGE3_CONFIGURE_FLAGS)
20599 @endif libdecnumber-bootstrap
20601 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20602 maybe-configure-stage4-libdecnumber:
20603 @if libdecnumber-bootstrap
20604 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20605 configure-stage4-libdecnumber:
20606 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20608 @r=`${PWD_COMMAND}`; export r; \
20609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20610 TFLAGS="$(STAGE4_TFLAGS)"; \
20611 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20612 $(HOST_EXPORTS) \
20613 $(POSTSTAGE1_HOST_EXPORTS) \
20614 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20615 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20616 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20617 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20619 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20620 case $(srcdir) in \
20621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20622 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20624 esac; \
20625 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20626 libsrcdir="$$s/libdecnumber"; \
20627 $(SHELL) $${libsrcdir}/configure \
20628 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20629 --target=${target_alias} $${srcdiroption} \
20630 --with-build-libsubdir=$(HOST_SUBDIR) \
20631 $(STAGE4_CONFIGURE_FLAGS)
20632 @endif libdecnumber-bootstrap
20634 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20635 maybe-configure-stageprofile-libdecnumber:
20636 @if libdecnumber-bootstrap
20637 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20638 configure-stageprofile-libdecnumber:
20639 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20641 @r=`${PWD_COMMAND}`; export r; \
20642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20643 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20644 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20645 $(HOST_EXPORTS) \
20646 $(POSTSTAGE1_HOST_EXPORTS) \
20647 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20648 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20649 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20650 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20652 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20653 case $(srcdir) in \
20654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20655 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20657 esac; \
20658 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20659 libsrcdir="$$s/libdecnumber"; \
20660 $(SHELL) $${libsrcdir}/configure \
20661 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20662 --target=${target_alias} $${srcdiroption} \
20663 --with-build-libsubdir=$(HOST_SUBDIR) \
20664 $(STAGEprofile_CONFIGURE_FLAGS)
20665 @endif libdecnumber-bootstrap
20667 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20668 maybe-configure-stagefeedback-libdecnumber:
20669 @if libdecnumber-bootstrap
20670 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20671 configure-stagefeedback-libdecnumber:
20672 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20673 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20674 @r=`${PWD_COMMAND}`; export r; \
20675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20676 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20677 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20678 $(HOST_EXPORTS) \
20679 $(POSTSTAGE1_HOST_EXPORTS) \
20680 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20681 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20682 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20683 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20685 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20686 case $(srcdir) in \
20687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20688 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20690 esac; \
20691 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20692 libsrcdir="$$s/libdecnumber"; \
20693 $(SHELL) $${libsrcdir}/configure \
20694 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20695 --target=${target_alias} $${srcdiroption} \
20696 --with-build-libsubdir=$(HOST_SUBDIR) \
20697 $(STAGEfeedback_CONFIGURE_FLAGS)
20698 @endif libdecnumber-bootstrap
20704 .PHONY: all-libdecnumber maybe-all-libdecnumber
20705 maybe-all-libdecnumber:
20706 @if gcc-bootstrap
20707 all-libdecnumber: stage_current
20708 @endif gcc-bootstrap
20709 @if libdecnumber
20710 TARGET-libdecnumber=all
20711 maybe-all-libdecnumber: all-libdecnumber
20712 all-libdecnumber: configure-libdecnumber
20713 @r=`${PWD_COMMAND}`; export r; \
20714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20715 $(HOST_EXPORTS) \
20716 (cd $(HOST_SUBDIR)/libdecnumber && \
20717 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20718 $(TARGET-libdecnumber))
20719 @endif libdecnumber
20723 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20724 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20725 maybe-all-stage1-libdecnumber:
20726 maybe-clean-stage1-libdecnumber:
20727 @if libdecnumber-bootstrap
20728 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20729 all-stage1: all-stage1-libdecnumber
20730 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20731 all-stage1-libdecnumber: configure-stage1-libdecnumber
20732 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20733 @r=`${PWD_COMMAND}`; export r; \
20734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735 TFLAGS="$(STAGE1_TFLAGS)"; \
20736 $(HOST_EXPORTS) \
20737 cd $(HOST_SUBDIR)/libdecnumber && \
20738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20739 CFLAGS="$(STAGE1_CFLAGS)" \
20740 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20741 LIBCFLAGS="$(LIBCFLAGS)" \
20742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20745 $(EXTRA_HOST_FLAGS) \
20746 TFLAGS="$(STAGE1_TFLAGS)" \
20747 $(TARGET-stage1-libdecnumber)
20749 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
20750 clean-stage1: clean-stage1-libdecnumber
20751 clean-stage1-libdecnumber:
20752 @if [ $(current_stage) = stage1 ]; then \
20753 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20754 else \
20755 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
20756 $(MAKE) stage1-start; \
20757 fi; \
20758 cd $(HOST_SUBDIR)/libdecnumber && \
20759 $(MAKE) $(EXTRA_HOST_FLAGS) \
20760 clean
20761 @endif libdecnumber-bootstrap
20764 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
20765 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
20766 maybe-all-stage2-libdecnumber:
20767 maybe-clean-stage2-libdecnumber:
20768 @if libdecnumber-bootstrap
20769 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
20770 all-stage2: all-stage2-libdecnumber
20771 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
20772 all-stage2-libdecnumber: configure-stage2-libdecnumber
20773 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20774 @r=`${PWD_COMMAND}`; export r; \
20775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20776 TFLAGS="$(STAGE2_TFLAGS)"; \
20777 $(HOST_EXPORTS) \
20778 $(POSTSTAGE1_HOST_EXPORTS) \
20779 cd $(HOST_SUBDIR)/libdecnumber && \
20780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20781 CFLAGS="$(STAGE2_CFLAGS)" \
20782 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20783 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20788 TFLAGS="$(STAGE2_TFLAGS)" \
20789 $(TARGET-stage2-libdecnumber)
20791 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
20792 clean-stage2: clean-stage2-libdecnumber
20793 clean-stage2-libdecnumber:
20794 @if [ $(current_stage) = stage2 ]; then \
20795 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20796 else \
20797 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
20798 $(MAKE) stage2-start; \
20799 fi; \
20800 cd $(HOST_SUBDIR)/libdecnumber && \
20801 $(MAKE) $(EXTRA_HOST_FLAGS) \
20802 $(POSTSTAGE1_FLAGS_TO_PASS) \
20803 clean
20804 @endif libdecnumber-bootstrap
20807 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
20808 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
20809 maybe-all-stage3-libdecnumber:
20810 maybe-clean-stage3-libdecnumber:
20811 @if libdecnumber-bootstrap
20812 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
20813 all-stage3: all-stage3-libdecnumber
20814 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
20815 all-stage3-libdecnumber: configure-stage3-libdecnumber
20816 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20817 @r=`${PWD_COMMAND}`; export r; \
20818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20819 TFLAGS="$(STAGE3_TFLAGS)"; \
20820 $(HOST_EXPORTS) \
20821 $(POSTSTAGE1_HOST_EXPORTS) \
20822 cd $(HOST_SUBDIR)/libdecnumber && \
20823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20824 CFLAGS="$(STAGE3_CFLAGS)" \
20825 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20826 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20830 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20831 TFLAGS="$(STAGE3_TFLAGS)" \
20832 $(TARGET-stage3-libdecnumber)
20834 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
20835 clean-stage3: clean-stage3-libdecnumber
20836 clean-stage3-libdecnumber:
20837 @if [ $(current_stage) = stage3 ]; then \
20838 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20839 else \
20840 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
20841 $(MAKE) stage3-start; \
20842 fi; \
20843 cd $(HOST_SUBDIR)/libdecnumber && \
20844 $(MAKE) $(EXTRA_HOST_FLAGS) \
20845 $(POSTSTAGE1_FLAGS_TO_PASS) \
20846 clean
20847 @endif libdecnumber-bootstrap
20850 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
20851 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
20852 maybe-all-stage4-libdecnumber:
20853 maybe-clean-stage4-libdecnumber:
20854 @if libdecnumber-bootstrap
20855 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
20856 all-stage4: all-stage4-libdecnumber
20857 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
20858 all-stage4-libdecnumber: configure-stage4-libdecnumber
20859 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20860 @r=`${PWD_COMMAND}`; export r; \
20861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20862 TFLAGS="$(STAGE4_TFLAGS)"; \
20863 $(HOST_EXPORTS) \
20864 $(POSTSTAGE1_HOST_EXPORTS) \
20865 cd $(HOST_SUBDIR)/libdecnumber && \
20866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20867 CFLAGS="$(STAGE4_CFLAGS)" \
20868 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20869 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20873 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20874 TFLAGS="$(STAGE4_TFLAGS)" \
20875 $(TARGET-stage4-libdecnumber)
20877 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
20878 clean-stage4: clean-stage4-libdecnumber
20879 clean-stage4-libdecnumber:
20880 @if [ $(current_stage) = stage4 ]; then \
20881 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20882 else \
20883 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
20884 $(MAKE) stage4-start; \
20885 fi; \
20886 cd $(HOST_SUBDIR)/libdecnumber && \
20887 $(MAKE) $(EXTRA_HOST_FLAGS) \
20888 $(POSTSTAGE1_FLAGS_TO_PASS) \
20889 clean
20890 @endif libdecnumber-bootstrap
20893 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
20894 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
20895 maybe-all-stageprofile-libdecnumber:
20896 maybe-clean-stageprofile-libdecnumber:
20897 @if libdecnumber-bootstrap
20898 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
20899 all-stageprofile: all-stageprofile-libdecnumber
20900 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
20901 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20903 @r=`${PWD_COMMAND}`; export r; \
20904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20905 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20906 $(HOST_EXPORTS) \
20907 $(POSTSTAGE1_HOST_EXPORTS) \
20908 cd $(HOST_SUBDIR)/libdecnumber && \
20909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20910 CFLAGS="$(STAGEprofile_CFLAGS)" \
20911 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20912 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20916 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20917 TFLAGS="$(STAGEprofile_TFLAGS)" \
20918 $(TARGET-stageprofile-libdecnumber)
20920 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
20921 clean-stageprofile: clean-stageprofile-libdecnumber
20922 clean-stageprofile-libdecnumber:
20923 @if [ $(current_stage) = stageprofile ]; then \
20924 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20925 else \
20926 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
20927 $(MAKE) stageprofile-start; \
20928 fi; \
20929 cd $(HOST_SUBDIR)/libdecnumber && \
20930 $(MAKE) $(EXTRA_HOST_FLAGS) \
20931 $(POSTSTAGE1_FLAGS_TO_PASS) \
20932 clean
20933 @endif libdecnumber-bootstrap
20936 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
20937 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
20938 maybe-all-stagefeedback-libdecnumber:
20939 maybe-clean-stagefeedback-libdecnumber:
20940 @if libdecnumber-bootstrap
20941 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
20942 all-stagefeedback: all-stagefeedback-libdecnumber
20943 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
20944 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20945 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20946 @r=`${PWD_COMMAND}`; export r; \
20947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20948 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20949 $(HOST_EXPORTS) \
20950 $(POSTSTAGE1_HOST_EXPORTS) \
20951 cd $(HOST_SUBDIR)/libdecnumber && \
20952 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20953 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20954 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20955 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20959 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20960 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20961 $(TARGET-stagefeedback-libdecnumber)
20963 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
20964 clean-stagefeedback: clean-stagefeedback-libdecnumber
20965 clean-stagefeedback-libdecnumber:
20966 @if [ $(current_stage) = stagefeedback ]; then \
20967 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
20968 else \
20969 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
20970 $(MAKE) stagefeedback-start; \
20971 fi; \
20972 cd $(HOST_SUBDIR)/libdecnumber && \
20973 $(MAKE) $(EXTRA_HOST_FLAGS) \
20974 $(POSTSTAGE1_FLAGS_TO_PASS) \
20975 clean
20976 @endif libdecnumber-bootstrap
20982 .PHONY: check-libdecnumber maybe-check-libdecnumber
20983 maybe-check-libdecnumber:
20984 @if libdecnumber
20985 maybe-check-libdecnumber: check-libdecnumber
20987 check-libdecnumber:
20988 @: $(MAKE); $(unstage)
20989 @r=`${PWD_COMMAND}`; export r; \
20990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20991 $(HOST_EXPORTS) \
20992 (cd $(HOST_SUBDIR)/libdecnumber && \
20993 $(MAKE) $(FLAGS_TO_PASS) check)
20995 @endif libdecnumber
20997 .PHONY: install-libdecnumber maybe-install-libdecnumber
20998 maybe-install-libdecnumber:
20999 @if libdecnumber
21000 maybe-install-libdecnumber: install-libdecnumber
21002 install-libdecnumber: installdirs
21003 @: $(MAKE); $(unstage)
21004 @r=`${PWD_COMMAND}`; export r; \
21005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21006 $(HOST_EXPORTS) \
21007 (cd $(HOST_SUBDIR)/libdecnumber && \
21008 $(MAKE) $(FLAGS_TO_PASS) install)
21010 @endif libdecnumber
21012 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21013 maybe-install-strip-libdecnumber:
21014 @if libdecnumber
21015 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21017 install-strip-libdecnumber: installdirs
21018 @: $(MAKE); $(unstage)
21019 @r=`${PWD_COMMAND}`; export r; \
21020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21021 $(HOST_EXPORTS) \
21022 (cd $(HOST_SUBDIR)/libdecnumber && \
21023 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21025 @endif libdecnumber
21027 # Other targets (info, dvi, pdf, etc.)
21029 .PHONY: maybe-info-libdecnumber info-libdecnumber
21030 maybe-info-libdecnumber:
21031 @if libdecnumber
21032 maybe-info-libdecnumber: info-libdecnumber
21034 info-libdecnumber: \
21035 configure-libdecnumber
21036 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21037 r=`${PWD_COMMAND}`; export r; \
21038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21039 $(HOST_EXPORTS) \
21040 for flag in $(EXTRA_HOST_FLAGS) ; do \
21041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21042 done; \
21043 echo "Doing info in libdecnumber" ; \
21044 (cd $(HOST_SUBDIR)/libdecnumber && \
21045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21047 "RANLIB=$${RANLIB}" \
21048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21049 info) \
21050 || exit 1
21052 @endif libdecnumber
21054 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21055 maybe-dvi-libdecnumber:
21056 @if libdecnumber
21057 maybe-dvi-libdecnumber: dvi-libdecnumber
21059 dvi-libdecnumber: \
21060 configure-libdecnumber
21061 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21062 r=`${PWD_COMMAND}`; export r; \
21063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21064 $(HOST_EXPORTS) \
21065 for flag in $(EXTRA_HOST_FLAGS) ; do \
21066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21067 done; \
21068 echo "Doing dvi in libdecnumber" ; \
21069 (cd $(HOST_SUBDIR)/libdecnumber && \
21070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21072 "RANLIB=$${RANLIB}" \
21073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21074 dvi) \
21075 || exit 1
21077 @endif libdecnumber
21079 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21080 maybe-pdf-libdecnumber:
21081 @if libdecnumber
21082 maybe-pdf-libdecnumber: pdf-libdecnumber
21084 pdf-libdecnumber: \
21085 configure-libdecnumber
21086 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21087 r=`${PWD_COMMAND}`; export r; \
21088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21089 $(HOST_EXPORTS) \
21090 for flag in $(EXTRA_HOST_FLAGS) ; do \
21091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21092 done; \
21093 echo "Doing pdf in libdecnumber" ; \
21094 (cd $(HOST_SUBDIR)/libdecnumber && \
21095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21097 "RANLIB=$${RANLIB}" \
21098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21099 pdf) \
21100 || exit 1
21102 @endif libdecnumber
21104 .PHONY: maybe-html-libdecnumber html-libdecnumber
21105 maybe-html-libdecnumber:
21106 @if libdecnumber
21107 maybe-html-libdecnumber: html-libdecnumber
21109 html-libdecnumber: \
21110 configure-libdecnumber
21111 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21112 r=`${PWD_COMMAND}`; export r; \
21113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21114 $(HOST_EXPORTS) \
21115 for flag in $(EXTRA_HOST_FLAGS) ; do \
21116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21117 done; \
21118 echo "Doing html in libdecnumber" ; \
21119 (cd $(HOST_SUBDIR)/libdecnumber && \
21120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21122 "RANLIB=$${RANLIB}" \
21123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21124 html) \
21125 || exit 1
21127 @endif libdecnumber
21129 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21130 maybe-TAGS-libdecnumber:
21131 @if libdecnumber
21132 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21134 TAGS-libdecnumber: \
21135 configure-libdecnumber
21136 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21137 r=`${PWD_COMMAND}`; export r; \
21138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21139 $(HOST_EXPORTS) \
21140 for flag in $(EXTRA_HOST_FLAGS) ; do \
21141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21142 done; \
21143 echo "Doing TAGS in libdecnumber" ; \
21144 (cd $(HOST_SUBDIR)/libdecnumber && \
21145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21147 "RANLIB=$${RANLIB}" \
21148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21149 TAGS) \
21150 || exit 1
21152 @endif libdecnumber
21154 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21155 maybe-install-info-libdecnumber:
21156 @if libdecnumber
21157 maybe-install-info-libdecnumber: install-info-libdecnumber
21159 install-info-libdecnumber: \
21160 configure-libdecnumber \
21161 info-libdecnumber
21162 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21163 r=`${PWD_COMMAND}`; export r; \
21164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21165 $(HOST_EXPORTS) \
21166 for flag in $(EXTRA_HOST_FLAGS) ; do \
21167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21168 done; \
21169 echo "Doing install-info in libdecnumber" ; \
21170 (cd $(HOST_SUBDIR)/libdecnumber && \
21171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21173 "RANLIB=$${RANLIB}" \
21174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21175 install-info) \
21176 || exit 1
21178 @endif libdecnumber
21180 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21181 maybe-install-pdf-libdecnumber:
21182 @if libdecnumber
21183 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21185 install-pdf-libdecnumber: \
21186 configure-libdecnumber \
21187 pdf-libdecnumber
21188 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21189 r=`${PWD_COMMAND}`; export r; \
21190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21191 $(HOST_EXPORTS) \
21192 for flag in $(EXTRA_HOST_FLAGS) ; do \
21193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21194 done; \
21195 echo "Doing install-pdf in libdecnumber" ; \
21196 (cd $(HOST_SUBDIR)/libdecnumber && \
21197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21199 "RANLIB=$${RANLIB}" \
21200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21201 install-pdf) \
21202 || exit 1
21204 @endif libdecnumber
21206 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21207 maybe-install-html-libdecnumber:
21208 @if libdecnumber
21209 maybe-install-html-libdecnumber: install-html-libdecnumber
21211 install-html-libdecnumber: \
21212 configure-libdecnumber \
21213 html-libdecnumber
21214 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21215 r=`${PWD_COMMAND}`; export r; \
21216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21217 $(HOST_EXPORTS) \
21218 for flag in $(EXTRA_HOST_FLAGS) ; do \
21219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21220 done; \
21221 echo "Doing install-html in libdecnumber" ; \
21222 (cd $(HOST_SUBDIR)/libdecnumber && \
21223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21225 "RANLIB=$${RANLIB}" \
21226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21227 install-html) \
21228 || exit 1
21230 @endif libdecnumber
21232 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21233 maybe-installcheck-libdecnumber:
21234 @if libdecnumber
21235 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21237 installcheck-libdecnumber: \
21238 configure-libdecnumber
21239 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21240 r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21242 $(HOST_EXPORTS) \
21243 for flag in $(EXTRA_HOST_FLAGS) ; do \
21244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21245 done; \
21246 echo "Doing installcheck in libdecnumber" ; \
21247 (cd $(HOST_SUBDIR)/libdecnumber && \
21248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21250 "RANLIB=$${RANLIB}" \
21251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21252 installcheck) \
21253 || exit 1
21255 @endif libdecnumber
21257 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21258 maybe-mostlyclean-libdecnumber:
21259 @if libdecnumber
21260 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21262 mostlyclean-libdecnumber:
21263 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21264 r=`${PWD_COMMAND}`; export r; \
21265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21266 $(HOST_EXPORTS) \
21267 for flag in $(EXTRA_HOST_FLAGS) ; do \
21268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21269 done; \
21270 echo "Doing mostlyclean in libdecnumber" ; \
21271 (cd $(HOST_SUBDIR)/libdecnumber && \
21272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21274 "RANLIB=$${RANLIB}" \
21275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21276 mostlyclean) \
21277 || exit 1
21279 @endif libdecnumber
21281 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21282 maybe-clean-libdecnumber:
21283 @if libdecnumber
21284 maybe-clean-libdecnumber: clean-libdecnumber
21286 clean-libdecnumber:
21287 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21288 r=`${PWD_COMMAND}`; export r; \
21289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21290 $(HOST_EXPORTS) \
21291 for flag in $(EXTRA_HOST_FLAGS) ; do \
21292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21293 done; \
21294 echo "Doing clean in libdecnumber" ; \
21295 (cd $(HOST_SUBDIR)/libdecnumber && \
21296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21298 "RANLIB=$${RANLIB}" \
21299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21300 clean) \
21301 || exit 1
21303 @endif libdecnumber
21305 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21306 maybe-distclean-libdecnumber:
21307 @if libdecnumber
21308 maybe-distclean-libdecnumber: distclean-libdecnumber
21310 distclean-libdecnumber:
21311 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21312 r=`${PWD_COMMAND}`; export r; \
21313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21314 $(HOST_EXPORTS) \
21315 for flag in $(EXTRA_HOST_FLAGS) ; do \
21316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21317 done; \
21318 echo "Doing distclean in libdecnumber" ; \
21319 (cd $(HOST_SUBDIR)/libdecnumber && \
21320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21322 "RANLIB=$${RANLIB}" \
21323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21324 distclean) \
21325 || exit 1
21327 @endif libdecnumber
21329 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21330 maybe-maintainer-clean-libdecnumber:
21331 @if libdecnumber
21332 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21334 maintainer-clean-libdecnumber:
21335 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21336 r=`${PWD_COMMAND}`; export r; \
21337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21338 $(HOST_EXPORTS) \
21339 for flag in $(EXTRA_HOST_FLAGS) ; do \
21340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21341 done; \
21342 echo "Doing maintainer-clean in libdecnumber" ; \
21343 (cd $(HOST_SUBDIR)/libdecnumber && \
21344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21346 "RANLIB=$${RANLIB}" \
21347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21348 maintainer-clean) \
21349 || exit 1
21351 @endif libdecnumber
21355 .PHONY: configure-libgui maybe-configure-libgui
21356 maybe-configure-libgui:
21357 @if gcc-bootstrap
21358 configure-libgui: stage_current
21359 @endif gcc-bootstrap
21360 @if libgui
21361 maybe-configure-libgui: configure-libgui
21362 configure-libgui:
21363 @: $(MAKE); $(unstage)
21364 @r=`${PWD_COMMAND}`; export r; \
21365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21366 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21368 $(HOST_EXPORTS) \
21369 echo Configuring in $(HOST_SUBDIR)/libgui; \
21370 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21371 case $(srcdir) in \
21372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21373 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21375 esac; \
21376 srcdiroption="--srcdir=$${topdir}/libgui"; \
21377 libsrcdir="$$s/libgui"; \
21378 $(SHELL) $${libsrcdir}/configure \
21379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21380 --target=${target_alias} $${srcdiroption} \
21381 || exit 1
21382 @endif libgui
21388 .PHONY: all-libgui maybe-all-libgui
21389 maybe-all-libgui:
21390 @if gcc-bootstrap
21391 all-libgui: stage_current
21392 @endif gcc-bootstrap
21393 @if libgui
21394 TARGET-libgui=all
21395 maybe-all-libgui: all-libgui
21396 all-libgui: configure-libgui
21397 @: $(MAKE); $(unstage)
21398 @r=`${PWD_COMMAND}`; export r; \
21399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21400 $(HOST_EXPORTS) \
21401 (cd $(HOST_SUBDIR)/libgui && \
21402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21403 $(TARGET-libgui))
21404 @endif libgui
21409 .PHONY: check-libgui maybe-check-libgui
21410 maybe-check-libgui:
21411 @if libgui
21412 maybe-check-libgui: check-libgui
21414 check-libgui:
21415 @: $(MAKE); $(unstage)
21416 @r=`${PWD_COMMAND}`; export r; \
21417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21418 $(HOST_EXPORTS) \
21419 (cd $(HOST_SUBDIR)/libgui && \
21420 $(MAKE) $(FLAGS_TO_PASS) check)
21422 @endif libgui
21424 .PHONY: install-libgui maybe-install-libgui
21425 maybe-install-libgui:
21426 @if libgui
21427 maybe-install-libgui: install-libgui
21429 install-libgui: installdirs
21430 @: $(MAKE); $(unstage)
21431 @r=`${PWD_COMMAND}`; export r; \
21432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21433 $(HOST_EXPORTS) \
21434 (cd $(HOST_SUBDIR)/libgui && \
21435 $(MAKE) $(FLAGS_TO_PASS) install)
21437 @endif libgui
21439 .PHONY: install-strip-libgui maybe-install-strip-libgui
21440 maybe-install-strip-libgui:
21441 @if libgui
21442 maybe-install-strip-libgui: install-strip-libgui
21444 install-strip-libgui: installdirs
21445 @: $(MAKE); $(unstage)
21446 @r=`${PWD_COMMAND}`; export r; \
21447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21448 $(HOST_EXPORTS) \
21449 (cd $(HOST_SUBDIR)/libgui && \
21450 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21452 @endif libgui
21454 # Other targets (info, dvi, pdf, etc.)
21456 .PHONY: maybe-info-libgui info-libgui
21457 maybe-info-libgui:
21458 @if libgui
21459 maybe-info-libgui: info-libgui
21461 info-libgui: \
21462 configure-libgui
21463 @: $(MAKE); $(unstage)
21464 @[ -f ./libgui/Makefile ] || exit 0; \
21465 r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21467 $(HOST_EXPORTS) \
21468 for flag in $(EXTRA_HOST_FLAGS) ; do \
21469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21470 done; \
21471 echo "Doing info in libgui" ; \
21472 (cd $(HOST_SUBDIR)/libgui && \
21473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21475 "RANLIB=$${RANLIB}" \
21476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21477 info) \
21478 || exit 1
21480 @endif libgui
21482 .PHONY: maybe-dvi-libgui dvi-libgui
21483 maybe-dvi-libgui:
21484 @if libgui
21485 maybe-dvi-libgui: dvi-libgui
21487 dvi-libgui: \
21488 configure-libgui
21489 @: $(MAKE); $(unstage)
21490 @[ -f ./libgui/Makefile ] || exit 0; \
21491 r=`${PWD_COMMAND}`; export r; \
21492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21493 $(HOST_EXPORTS) \
21494 for flag in $(EXTRA_HOST_FLAGS) ; do \
21495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21496 done; \
21497 echo "Doing dvi in libgui" ; \
21498 (cd $(HOST_SUBDIR)/libgui && \
21499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21501 "RANLIB=$${RANLIB}" \
21502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21503 dvi) \
21504 || exit 1
21506 @endif libgui
21508 .PHONY: maybe-pdf-libgui pdf-libgui
21509 maybe-pdf-libgui:
21510 @if libgui
21511 maybe-pdf-libgui: pdf-libgui
21513 pdf-libgui: \
21514 configure-libgui
21515 @: $(MAKE); $(unstage)
21516 @[ -f ./libgui/Makefile ] || exit 0; \
21517 r=`${PWD_COMMAND}`; export r; \
21518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21519 $(HOST_EXPORTS) \
21520 for flag in $(EXTRA_HOST_FLAGS) ; do \
21521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21522 done; \
21523 echo "Doing pdf in libgui" ; \
21524 (cd $(HOST_SUBDIR)/libgui && \
21525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21527 "RANLIB=$${RANLIB}" \
21528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21529 pdf) \
21530 || exit 1
21532 @endif libgui
21534 .PHONY: maybe-html-libgui html-libgui
21535 maybe-html-libgui:
21536 @if libgui
21537 maybe-html-libgui: html-libgui
21539 html-libgui: \
21540 configure-libgui
21541 @: $(MAKE); $(unstage)
21542 @[ -f ./libgui/Makefile ] || exit 0; \
21543 r=`${PWD_COMMAND}`; export r; \
21544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21545 $(HOST_EXPORTS) \
21546 for flag in $(EXTRA_HOST_FLAGS) ; do \
21547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21548 done; \
21549 echo "Doing html in libgui" ; \
21550 (cd $(HOST_SUBDIR)/libgui && \
21551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21553 "RANLIB=$${RANLIB}" \
21554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21555 html) \
21556 || exit 1
21558 @endif libgui
21560 .PHONY: maybe-TAGS-libgui TAGS-libgui
21561 maybe-TAGS-libgui:
21562 @if libgui
21563 maybe-TAGS-libgui: TAGS-libgui
21565 TAGS-libgui: \
21566 configure-libgui
21567 @: $(MAKE); $(unstage)
21568 @[ -f ./libgui/Makefile ] || exit 0; \
21569 r=`${PWD_COMMAND}`; export r; \
21570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21571 $(HOST_EXPORTS) \
21572 for flag in $(EXTRA_HOST_FLAGS) ; do \
21573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21574 done; \
21575 echo "Doing TAGS in libgui" ; \
21576 (cd $(HOST_SUBDIR)/libgui && \
21577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21579 "RANLIB=$${RANLIB}" \
21580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21581 TAGS) \
21582 || exit 1
21584 @endif libgui
21586 .PHONY: maybe-install-info-libgui install-info-libgui
21587 maybe-install-info-libgui:
21588 @if libgui
21589 maybe-install-info-libgui: install-info-libgui
21591 install-info-libgui: \
21592 configure-libgui \
21593 info-libgui
21594 @: $(MAKE); $(unstage)
21595 @[ -f ./libgui/Makefile ] || exit 0; \
21596 r=`${PWD_COMMAND}`; export r; \
21597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21598 $(HOST_EXPORTS) \
21599 for flag in $(EXTRA_HOST_FLAGS) ; do \
21600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21601 done; \
21602 echo "Doing install-info in libgui" ; \
21603 (cd $(HOST_SUBDIR)/libgui && \
21604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21606 "RANLIB=$${RANLIB}" \
21607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21608 install-info) \
21609 || exit 1
21611 @endif libgui
21613 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
21614 maybe-install-pdf-libgui:
21615 @if libgui
21616 maybe-install-pdf-libgui: install-pdf-libgui
21618 install-pdf-libgui: \
21619 configure-libgui \
21620 pdf-libgui
21621 @: $(MAKE); $(unstage)
21622 @[ -f ./libgui/Makefile ] || exit 0; \
21623 r=`${PWD_COMMAND}`; export r; \
21624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21625 $(HOST_EXPORTS) \
21626 for flag in $(EXTRA_HOST_FLAGS) ; do \
21627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21628 done; \
21629 echo "Doing install-pdf in libgui" ; \
21630 (cd $(HOST_SUBDIR)/libgui && \
21631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21633 "RANLIB=$${RANLIB}" \
21634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21635 install-pdf) \
21636 || exit 1
21638 @endif libgui
21640 .PHONY: maybe-install-html-libgui install-html-libgui
21641 maybe-install-html-libgui:
21642 @if libgui
21643 maybe-install-html-libgui: install-html-libgui
21645 install-html-libgui: \
21646 configure-libgui \
21647 html-libgui
21648 @: $(MAKE); $(unstage)
21649 @[ -f ./libgui/Makefile ] || exit 0; \
21650 r=`${PWD_COMMAND}`; export r; \
21651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21652 $(HOST_EXPORTS) \
21653 for flag in $(EXTRA_HOST_FLAGS) ; do \
21654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21655 done; \
21656 echo "Doing install-html in libgui" ; \
21657 (cd $(HOST_SUBDIR)/libgui && \
21658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21660 "RANLIB=$${RANLIB}" \
21661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21662 install-html) \
21663 || exit 1
21665 @endif libgui
21667 .PHONY: maybe-installcheck-libgui installcheck-libgui
21668 maybe-installcheck-libgui:
21669 @if libgui
21670 maybe-installcheck-libgui: installcheck-libgui
21672 installcheck-libgui: \
21673 configure-libgui
21674 @: $(MAKE); $(unstage)
21675 @[ -f ./libgui/Makefile ] || exit 0; \
21676 r=`${PWD_COMMAND}`; export r; \
21677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21678 $(HOST_EXPORTS) \
21679 for flag in $(EXTRA_HOST_FLAGS) ; do \
21680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21681 done; \
21682 echo "Doing installcheck in libgui" ; \
21683 (cd $(HOST_SUBDIR)/libgui && \
21684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21686 "RANLIB=$${RANLIB}" \
21687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21688 installcheck) \
21689 || exit 1
21691 @endif libgui
21693 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21694 maybe-mostlyclean-libgui:
21695 @if libgui
21696 maybe-mostlyclean-libgui: mostlyclean-libgui
21698 mostlyclean-libgui:
21699 @: $(MAKE); $(unstage)
21700 @[ -f ./libgui/Makefile ] || exit 0; \
21701 r=`${PWD_COMMAND}`; export r; \
21702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21703 $(HOST_EXPORTS) \
21704 for flag in $(EXTRA_HOST_FLAGS) ; do \
21705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21706 done; \
21707 echo "Doing mostlyclean in libgui" ; \
21708 (cd $(HOST_SUBDIR)/libgui && \
21709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21711 "RANLIB=$${RANLIB}" \
21712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21713 mostlyclean) \
21714 || exit 1
21716 @endif libgui
21718 .PHONY: maybe-clean-libgui clean-libgui
21719 maybe-clean-libgui:
21720 @if libgui
21721 maybe-clean-libgui: clean-libgui
21723 clean-libgui:
21724 @: $(MAKE); $(unstage)
21725 @[ -f ./libgui/Makefile ] || exit 0; \
21726 r=`${PWD_COMMAND}`; export r; \
21727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21728 $(HOST_EXPORTS) \
21729 for flag in $(EXTRA_HOST_FLAGS) ; do \
21730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21731 done; \
21732 echo "Doing clean in libgui" ; \
21733 (cd $(HOST_SUBDIR)/libgui && \
21734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21736 "RANLIB=$${RANLIB}" \
21737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21738 clean) \
21739 || exit 1
21741 @endif libgui
21743 .PHONY: maybe-distclean-libgui distclean-libgui
21744 maybe-distclean-libgui:
21745 @if libgui
21746 maybe-distclean-libgui: distclean-libgui
21748 distclean-libgui:
21749 @: $(MAKE); $(unstage)
21750 @[ -f ./libgui/Makefile ] || exit 0; \
21751 r=`${PWD_COMMAND}`; export r; \
21752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21753 $(HOST_EXPORTS) \
21754 for flag in $(EXTRA_HOST_FLAGS) ; do \
21755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21756 done; \
21757 echo "Doing distclean in libgui" ; \
21758 (cd $(HOST_SUBDIR)/libgui && \
21759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21761 "RANLIB=$${RANLIB}" \
21762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21763 distclean) \
21764 || exit 1
21766 @endif libgui
21768 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21769 maybe-maintainer-clean-libgui:
21770 @if libgui
21771 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21773 maintainer-clean-libgui:
21774 @: $(MAKE); $(unstage)
21775 @[ -f ./libgui/Makefile ] || exit 0; \
21776 r=`${PWD_COMMAND}`; export r; \
21777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21778 $(HOST_EXPORTS) \
21779 for flag in $(EXTRA_HOST_FLAGS) ; do \
21780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21781 done; \
21782 echo "Doing maintainer-clean in libgui" ; \
21783 (cd $(HOST_SUBDIR)/libgui && \
21784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21786 "RANLIB=$${RANLIB}" \
21787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21788 maintainer-clean) \
21789 || exit 1
21791 @endif libgui
21795 .PHONY: configure-libiberty maybe-configure-libiberty
21796 maybe-configure-libiberty:
21797 @if gcc-bootstrap
21798 configure-libiberty: stage_current
21799 @endif gcc-bootstrap
21800 @if libiberty
21801 maybe-configure-libiberty: configure-libiberty
21802 configure-libiberty:
21803 @r=`${PWD_COMMAND}`; export r; \
21804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21805 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21807 $(HOST_EXPORTS) \
21808 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21809 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21810 case $(srcdir) in \
21811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21812 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21814 esac; \
21815 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21816 libsrcdir="$$s/libiberty"; \
21817 $(SHELL) $${libsrcdir}/configure \
21818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21819 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
21820 || exit 1
21821 @endif libiberty
21825 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21826 maybe-configure-stage1-libiberty:
21827 @if libiberty-bootstrap
21828 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21829 configure-stage1-libiberty:
21830 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21832 @r=`${PWD_COMMAND}`; export r; \
21833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21834 TFLAGS="$(STAGE1_TFLAGS)"; \
21835 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21836 $(HOST_EXPORTS) \
21837 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21838 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21839 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21840 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21842 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21843 case $(srcdir) in \
21844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21845 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21847 esac; \
21848 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21849 libsrcdir="$$s/libiberty"; \
21850 $(SHELL) $${libsrcdir}/configure \
21851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21852 --target=${target_alias} $${srcdiroption} \
21853 $(STAGE1_CONFIGURE_FLAGS) \
21854 @extra_host_libiberty_configure_flags@
21855 @endif libiberty-bootstrap
21857 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21858 maybe-configure-stage2-libiberty:
21859 @if libiberty-bootstrap
21860 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21861 configure-stage2-libiberty:
21862 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21864 @r=`${PWD_COMMAND}`; export r; \
21865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21866 TFLAGS="$(STAGE2_TFLAGS)"; \
21867 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21868 $(HOST_EXPORTS) \
21869 $(POSTSTAGE1_HOST_EXPORTS) \
21870 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21871 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21872 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21873 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21875 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21876 case $(srcdir) in \
21877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21878 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21880 esac; \
21881 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21882 libsrcdir="$$s/libiberty"; \
21883 $(SHELL) $${libsrcdir}/configure \
21884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21885 --target=${target_alias} $${srcdiroption} \
21886 --with-build-libsubdir=$(HOST_SUBDIR) \
21887 $(STAGE2_CONFIGURE_FLAGS) \
21888 @extra_host_libiberty_configure_flags@
21889 @endif libiberty-bootstrap
21891 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
21892 maybe-configure-stage3-libiberty:
21893 @if libiberty-bootstrap
21894 maybe-configure-stage3-libiberty: configure-stage3-libiberty
21895 configure-stage3-libiberty:
21896 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21898 @r=`${PWD_COMMAND}`; export r; \
21899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21900 TFLAGS="$(STAGE3_TFLAGS)"; \
21901 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21902 $(HOST_EXPORTS) \
21903 $(POSTSTAGE1_HOST_EXPORTS) \
21904 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21905 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21906 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21907 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
21908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21909 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21910 case $(srcdir) in \
21911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21912 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21914 esac; \
21915 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21916 libsrcdir="$$s/libiberty"; \
21917 $(SHELL) $${libsrcdir}/configure \
21918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21919 --target=${target_alias} $${srcdiroption} \
21920 --with-build-libsubdir=$(HOST_SUBDIR) \
21921 $(STAGE3_CONFIGURE_FLAGS) \
21922 @extra_host_libiberty_configure_flags@
21923 @endif libiberty-bootstrap
21925 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
21926 maybe-configure-stage4-libiberty:
21927 @if libiberty-bootstrap
21928 maybe-configure-stage4-libiberty: configure-stage4-libiberty
21929 configure-stage4-libiberty:
21930 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21932 @r=`${PWD_COMMAND}`; export r; \
21933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21934 TFLAGS="$(STAGE4_TFLAGS)"; \
21935 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21936 $(HOST_EXPORTS) \
21937 $(POSTSTAGE1_HOST_EXPORTS) \
21938 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21939 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21940 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21941 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
21942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21943 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21944 case $(srcdir) in \
21945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21946 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21948 esac; \
21949 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21950 libsrcdir="$$s/libiberty"; \
21951 $(SHELL) $${libsrcdir}/configure \
21952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21953 --target=${target_alias} $${srcdiroption} \
21954 --with-build-libsubdir=$(HOST_SUBDIR) \
21955 $(STAGE4_CONFIGURE_FLAGS) \
21956 @extra_host_libiberty_configure_flags@
21957 @endif libiberty-bootstrap
21959 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
21960 maybe-configure-stageprofile-libiberty:
21961 @if libiberty-bootstrap
21962 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
21963 configure-stageprofile-libiberty:
21964 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21966 @r=`${PWD_COMMAND}`; export r; \
21967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21968 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21969 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21970 $(HOST_EXPORTS) \
21971 $(POSTSTAGE1_HOST_EXPORTS) \
21972 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21973 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21974 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21975 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
21976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21977 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21978 case $(srcdir) in \
21979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21980 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21982 esac; \
21983 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21984 libsrcdir="$$s/libiberty"; \
21985 $(SHELL) $${libsrcdir}/configure \
21986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21987 --target=${target_alias} $${srcdiroption} \
21988 --with-build-libsubdir=$(HOST_SUBDIR) \
21989 $(STAGEprofile_CONFIGURE_FLAGS) \
21990 @extra_host_libiberty_configure_flags@
21991 @endif libiberty-bootstrap
21993 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
21994 maybe-configure-stagefeedback-libiberty:
21995 @if libiberty-bootstrap
21996 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
21997 configure-stagefeedback-libiberty:
21998 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22000 @r=`${PWD_COMMAND}`; export r; \
22001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22002 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22003 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22004 $(HOST_EXPORTS) \
22005 $(POSTSTAGE1_HOST_EXPORTS) \
22006 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22007 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22008 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22009 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22011 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22012 case $(srcdir) in \
22013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22014 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22016 esac; \
22017 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22018 libsrcdir="$$s/libiberty"; \
22019 $(SHELL) $${libsrcdir}/configure \
22020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22021 --target=${target_alias} $${srcdiroption} \
22022 --with-build-libsubdir=$(HOST_SUBDIR) \
22023 $(STAGEfeedback_CONFIGURE_FLAGS) \
22024 @extra_host_libiberty_configure_flags@
22025 @endif libiberty-bootstrap
22031 .PHONY: all-libiberty maybe-all-libiberty
22032 maybe-all-libiberty:
22033 @if gcc-bootstrap
22034 all-libiberty: stage_current
22035 @endif gcc-bootstrap
22036 @if libiberty
22037 TARGET-libiberty=all
22038 maybe-all-libiberty: all-libiberty
22039 all-libiberty: configure-libiberty
22040 @r=`${PWD_COMMAND}`; export r; \
22041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22042 $(HOST_EXPORTS) \
22043 (cd $(HOST_SUBDIR)/libiberty && \
22044 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22045 $(TARGET-libiberty))
22046 @endif libiberty
22050 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22051 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22052 maybe-all-stage1-libiberty:
22053 maybe-clean-stage1-libiberty:
22054 @if libiberty-bootstrap
22055 maybe-all-stage1-libiberty: all-stage1-libiberty
22056 all-stage1: all-stage1-libiberty
22057 TARGET-stage1-libiberty = $(TARGET-libiberty)
22058 all-stage1-libiberty: configure-stage1-libiberty
22059 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22060 @r=`${PWD_COMMAND}`; export r; \
22061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22062 TFLAGS="$(STAGE1_TFLAGS)"; \
22063 $(HOST_EXPORTS) \
22064 cd $(HOST_SUBDIR)/libiberty && \
22065 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22066 CFLAGS="$(STAGE1_CFLAGS)" \
22067 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22068 LIBCFLAGS="$(LIBCFLAGS)" \
22069 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22070 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22071 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22072 $(EXTRA_HOST_FLAGS) \
22073 TFLAGS="$(STAGE1_TFLAGS)" \
22074 $(TARGET-stage1-libiberty)
22076 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22077 clean-stage1: clean-stage1-libiberty
22078 clean-stage1-libiberty:
22079 @if [ $(current_stage) = stage1 ]; then \
22080 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22081 else \
22082 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22083 $(MAKE) stage1-start; \
22084 fi; \
22085 cd $(HOST_SUBDIR)/libiberty && \
22086 $(MAKE) $(EXTRA_HOST_FLAGS) \
22087 clean
22088 @endif libiberty-bootstrap
22091 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22092 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22093 maybe-all-stage2-libiberty:
22094 maybe-clean-stage2-libiberty:
22095 @if libiberty-bootstrap
22096 maybe-all-stage2-libiberty: all-stage2-libiberty
22097 all-stage2: all-stage2-libiberty
22098 TARGET-stage2-libiberty = $(TARGET-libiberty)
22099 all-stage2-libiberty: configure-stage2-libiberty
22100 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22101 @r=`${PWD_COMMAND}`; export r; \
22102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22103 TFLAGS="$(STAGE2_TFLAGS)"; \
22104 $(HOST_EXPORTS) \
22105 $(POSTSTAGE1_HOST_EXPORTS) \
22106 cd $(HOST_SUBDIR)/libiberty && \
22107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22108 CFLAGS="$(STAGE2_CFLAGS)" \
22109 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22110 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22111 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22112 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22113 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22114 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22115 TFLAGS="$(STAGE2_TFLAGS)" \
22116 $(TARGET-stage2-libiberty)
22118 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22119 clean-stage2: clean-stage2-libiberty
22120 clean-stage2-libiberty:
22121 @if [ $(current_stage) = stage2 ]; then \
22122 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22123 else \
22124 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22125 $(MAKE) stage2-start; \
22126 fi; \
22127 cd $(HOST_SUBDIR)/libiberty && \
22128 $(MAKE) $(EXTRA_HOST_FLAGS) \
22129 $(POSTSTAGE1_FLAGS_TO_PASS) \
22130 clean
22131 @endif libiberty-bootstrap
22134 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22135 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22136 maybe-all-stage3-libiberty:
22137 maybe-clean-stage3-libiberty:
22138 @if libiberty-bootstrap
22139 maybe-all-stage3-libiberty: all-stage3-libiberty
22140 all-stage3: all-stage3-libiberty
22141 TARGET-stage3-libiberty = $(TARGET-libiberty)
22142 all-stage3-libiberty: configure-stage3-libiberty
22143 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22144 @r=`${PWD_COMMAND}`; export r; \
22145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22146 TFLAGS="$(STAGE3_TFLAGS)"; \
22147 $(HOST_EXPORTS) \
22148 $(POSTSTAGE1_HOST_EXPORTS) \
22149 cd $(HOST_SUBDIR)/libiberty && \
22150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22151 CFLAGS="$(STAGE3_CFLAGS)" \
22152 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22153 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22158 TFLAGS="$(STAGE3_TFLAGS)" \
22159 $(TARGET-stage3-libiberty)
22161 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22162 clean-stage3: clean-stage3-libiberty
22163 clean-stage3-libiberty:
22164 @if [ $(current_stage) = stage3 ]; then \
22165 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22166 else \
22167 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22168 $(MAKE) stage3-start; \
22169 fi; \
22170 cd $(HOST_SUBDIR)/libiberty && \
22171 $(MAKE) $(EXTRA_HOST_FLAGS) \
22172 $(POSTSTAGE1_FLAGS_TO_PASS) \
22173 clean
22174 @endif libiberty-bootstrap
22177 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22178 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22179 maybe-all-stage4-libiberty:
22180 maybe-clean-stage4-libiberty:
22181 @if libiberty-bootstrap
22182 maybe-all-stage4-libiberty: all-stage4-libiberty
22183 all-stage4: all-stage4-libiberty
22184 TARGET-stage4-libiberty = $(TARGET-libiberty)
22185 all-stage4-libiberty: configure-stage4-libiberty
22186 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22187 @r=`${PWD_COMMAND}`; export r; \
22188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22189 TFLAGS="$(STAGE4_TFLAGS)"; \
22190 $(HOST_EXPORTS) \
22191 $(POSTSTAGE1_HOST_EXPORTS) \
22192 cd $(HOST_SUBDIR)/libiberty && \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22194 CFLAGS="$(STAGE4_CFLAGS)" \
22195 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22196 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22201 TFLAGS="$(STAGE4_TFLAGS)" \
22202 $(TARGET-stage4-libiberty)
22204 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22205 clean-stage4: clean-stage4-libiberty
22206 clean-stage4-libiberty:
22207 @if [ $(current_stage) = stage4 ]; then \
22208 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22209 else \
22210 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22211 $(MAKE) stage4-start; \
22212 fi; \
22213 cd $(HOST_SUBDIR)/libiberty && \
22214 $(MAKE) $(EXTRA_HOST_FLAGS) \
22215 $(POSTSTAGE1_FLAGS_TO_PASS) \
22216 clean
22217 @endif libiberty-bootstrap
22220 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22221 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22222 maybe-all-stageprofile-libiberty:
22223 maybe-clean-stageprofile-libiberty:
22224 @if libiberty-bootstrap
22225 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22226 all-stageprofile: all-stageprofile-libiberty
22227 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22228 all-stageprofile-libiberty: configure-stageprofile-libiberty
22229 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22230 @r=`${PWD_COMMAND}`; export r; \
22231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22232 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22233 $(HOST_EXPORTS) \
22234 $(POSTSTAGE1_HOST_EXPORTS) \
22235 cd $(HOST_SUBDIR)/libiberty && \
22236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22237 CFLAGS="$(STAGEprofile_CFLAGS)" \
22238 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22239 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22243 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22244 TFLAGS="$(STAGEprofile_TFLAGS)" \
22245 $(TARGET-stageprofile-libiberty)
22247 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22248 clean-stageprofile: clean-stageprofile-libiberty
22249 clean-stageprofile-libiberty:
22250 @if [ $(current_stage) = stageprofile ]; then \
22251 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22252 else \
22253 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22254 $(MAKE) stageprofile-start; \
22255 fi; \
22256 cd $(HOST_SUBDIR)/libiberty && \
22257 $(MAKE) $(EXTRA_HOST_FLAGS) \
22258 $(POSTSTAGE1_FLAGS_TO_PASS) \
22259 clean
22260 @endif libiberty-bootstrap
22263 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22264 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22265 maybe-all-stagefeedback-libiberty:
22266 maybe-clean-stagefeedback-libiberty:
22267 @if libiberty-bootstrap
22268 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22269 all-stagefeedback: all-stagefeedback-libiberty
22270 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22271 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22272 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22273 @r=`${PWD_COMMAND}`; export r; \
22274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22275 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22276 $(HOST_EXPORTS) \
22277 $(POSTSTAGE1_HOST_EXPORTS) \
22278 cd $(HOST_SUBDIR)/libiberty && \
22279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22280 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22281 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22282 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22286 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22287 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22288 $(TARGET-stagefeedback-libiberty)
22290 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22291 clean-stagefeedback: clean-stagefeedback-libiberty
22292 clean-stagefeedback-libiberty:
22293 @if [ $(current_stage) = stagefeedback ]; then \
22294 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22295 else \
22296 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22297 $(MAKE) stagefeedback-start; \
22298 fi; \
22299 cd $(HOST_SUBDIR)/libiberty && \
22300 $(MAKE) $(EXTRA_HOST_FLAGS) \
22301 $(POSTSTAGE1_FLAGS_TO_PASS) \
22302 clean
22303 @endif libiberty-bootstrap
22309 .PHONY: check-libiberty maybe-check-libiberty
22310 maybe-check-libiberty:
22311 @if libiberty
22312 maybe-check-libiberty: check-libiberty
22314 check-libiberty:
22315 @: $(MAKE); $(unstage)
22316 @r=`${PWD_COMMAND}`; export r; \
22317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22318 $(HOST_EXPORTS) \
22319 (cd $(HOST_SUBDIR)/libiberty && \
22320 $(MAKE) $(FLAGS_TO_PASS) check)
22322 @endif libiberty
22324 .PHONY: install-libiberty maybe-install-libiberty
22325 maybe-install-libiberty:
22326 @if libiberty
22327 maybe-install-libiberty: install-libiberty
22329 install-libiberty: installdirs
22330 @: $(MAKE); $(unstage)
22331 @r=`${PWD_COMMAND}`; export r; \
22332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22333 $(HOST_EXPORTS) \
22334 (cd $(HOST_SUBDIR)/libiberty && \
22335 $(MAKE) $(FLAGS_TO_PASS) install)
22337 @endif libiberty
22339 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22340 maybe-install-strip-libiberty:
22341 @if libiberty
22342 maybe-install-strip-libiberty: install-strip-libiberty
22344 install-strip-libiberty: installdirs
22345 @: $(MAKE); $(unstage)
22346 @r=`${PWD_COMMAND}`; export r; \
22347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22348 $(HOST_EXPORTS) \
22349 (cd $(HOST_SUBDIR)/libiberty && \
22350 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22352 @endif libiberty
22354 # Other targets (info, dvi, pdf, etc.)
22356 .PHONY: maybe-info-libiberty info-libiberty
22357 maybe-info-libiberty:
22358 @if libiberty
22359 maybe-info-libiberty: info-libiberty
22361 info-libiberty: \
22362 configure-libiberty
22363 @[ -f ./libiberty/Makefile ] || exit 0; \
22364 r=`${PWD_COMMAND}`; export r; \
22365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22366 $(HOST_EXPORTS) \
22367 for flag in $(EXTRA_HOST_FLAGS) ; do \
22368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22369 done; \
22370 echo "Doing info in libiberty" ; \
22371 (cd $(HOST_SUBDIR)/libiberty && \
22372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22374 "RANLIB=$${RANLIB}" \
22375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22376 info) \
22377 || exit 1
22379 @endif libiberty
22381 .PHONY: maybe-dvi-libiberty dvi-libiberty
22382 maybe-dvi-libiberty:
22383 @if libiberty
22384 maybe-dvi-libiberty: dvi-libiberty
22386 dvi-libiberty: \
22387 configure-libiberty
22388 @[ -f ./libiberty/Makefile ] || exit 0; \
22389 r=`${PWD_COMMAND}`; export r; \
22390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22391 $(HOST_EXPORTS) \
22392 for flag in $(EXTRA_HOST_FLAGS) ; do \
22393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22394 done; \
22395 echo "Doing dvi in libiberty" ; \
22396 (cd $(HOST_SUBDIR)/libiberty && \
22397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22399 "RANLIB=$${RANLIB}" \
22400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22401 dvi) \
22402 || exit 1
22404 @endif libiberty
22406 .PHONY: maybe-pdf-libiberty pdf-libiberty
22407 maybe-pdf-libiberty:
22408 @if libiberty
22409 maybe-pdf-libiberty: pdf-libiberty
22411 pdf-libiberty: \
22412 configure-libiberty
22413 @[ -f ./libiberty/Makefile ] || exit 0; \
22414 r=`${PWD_COMMAND}`; export r; \
22415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22416 $(HOST_EXPORTS) \
22417 for flag in $(EXTRA_HOST_FLAGS) ; do \
22418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22419 done; \
22420 echo "Doing pdf in libiberty" ; \
22421 (cd $(HOST_SUBDIR)/libiberty && \
22422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22424 "RANLIB=$${RANLIB}" \
22425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22426 pdf) \
22427 || exit 1
22429 @endif libiberty
22431 .PHONY: maybe-html-libiberty html-libiberty
22432 maybe-html-libiberty:
22433 @if libiberty
22434 maybe-html-libiberty: html-libiberty
22436 html-libiberty: \
22437 configure-libiberty
22438 @[ -f ./libiberty/Makefile ] || exit 0; \
22439 r=`${PWD_COMMAND}`; export r; \
22440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22441 $(HOST_EXPORTS) \
22442 for flag in $(EXTRA_HOST_FLAGS) ; do \
22443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22444 done; \
22445 echo "Doing html in libiberty" ; \
22446 (cd $(HOST_SUBDIR)/libiberty && \
22447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22449 "RANLIB=$${RANLIB}" \
22450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22451 html) \
22452 || exit 1
22454 @endif libiberty
22456 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22457 maybe-TAGS-libiberty:
22458 @if libiberty
22459 maybe-TAGS-libiberty: TAGS-libiberty
22461 TAGS-libiberty: \
22462 configure-libiberty
22463 @[ -f ./libiberty/Makefile ] || exit 0; \
22464 r=`${PWD_COMMAND}`; export r; \
22465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22466 $(HOST_EXPORTS) \
22467 for flag in $(EXTRA_HOST_FLAGS) ; do \
22468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22469 done; \
22470 echo "Doing TAGS in libiberty" ; \
22471 (cd $(HOST_SUBDIR)/libiberty && \
22472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22474 "RANLIB=$${RANLIB}" \
22475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22476 TAGS) \
22477 || exit 1
22479 @endif libiberty
22481 .PHONY: maybe-install-info-libiberty install-info-libiberty
22482 maybe-install-info-libiberty:
22483 @if libiberty
22484 maybe-install-info-libiberty: install-info-libiberty
22486 install-info-libiberty: \
22487 configure-libiberty \
22488 info-libiberty
22489 @[ -f ./libiberty/Makefile ] || exit 0; \
22490 r=`${PWD_COMMAND}`; export r; \
22491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22492 $(HOST_EXPORTS) \
22493 for flag in $(EXTRA_HOST_FLAGS) ; do \
22494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22495 done; \
22496 echo "Doing install-info in libiberty" ; \
22497 (cd $(HOST_SUBDIR)/libiberty && \
22498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22500 "RANLIB=$${RANLIB}" \
22501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22502 install-info) \
22503 || exit 1
22505 @endif libiberty
22507 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
22508 maybe-install-pdf-libiberty:
22509 @if libiberty
22510 maybe-install-pdf-libiberty: install-pdf-libiberty
22512 install-pdf-libiberty: \
22513 configure-libiberty \
22514 pdf-libiberty
22515 @[ -f ./libiberty/Makefile ] || exit 0; \
22516 r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 $(HOST_EXPORTS) \
22519 for flag in $(EXTRA_HOST_FLAGS) ; do \
22520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22521 done; \
22522 echo "Doing install-pdf in libiberty" ; \
22523 (cd $(HOST_SUBDIR)/libiberty && \
22524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22526 "RANLIB=$${RANLIB}" \
22527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22528 install-pdf) \
22529 || exit 1
22531 @endif libiberty
22533 .PHONY: maybe-install-html-libiberty install-html-libiberty
22534 maybe-install-html-libiberty:
22535 @if libiberty
22536 maybe-install-html-libiberty: install-html-libiberty
22538 install-html-libiberty: \
22539 configure-libiberty \
22540 html-libiberty
22541 @[ -f ./libiberty/Makefile ] || exit 0; \
22542 r=`${PWD_COMMAND}`; export r; \
22543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22544 $(HOST_EXPORTS) \
22545 for flag in $(EXTRA_HOST_FLAGS) ; do \
22546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22547 done; \
22548 echo "Doing install-html in libiberty" ; \
22549 (cd $(HOST_SUBDIR)/libiberty && \
22550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22552 "RANLIB=$${RANLIB}" \
22553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22554 install-html) \
22555 || exit 1
22557 @endif libiberty
22559 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22560 maybe-installcheck-libiberty:
22561 @if libiberty
22562 maybe-installcheck-libiberty: installcheck-libiberty
22564 installcheck-libiberty: \
22565 configure-libiberty
22566 @[ -f ./libiberty/Makefile ] || exit 0; \
22567 r=`${PWD_COMMAND}`; export r; \
22568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22569 $(HOST_EXPORTS) \
22570 for flag in $(EXTRA_HOST_FLAGS) ; do \
22571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22572 done; \
22573 echo "Doing installcheck in libiberty" ; \
22574 (cd $(HOST_SUBDIR)/libiberty && \
22575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22577 "RANLIB=$${RANLIB}" \
22578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22579 installcheck) \
22580 || exit 1
22582 @endif libiberty
22584 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22585 maybe-mostlyclean-libiberty:
22586 @if libiberty
22587 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22589 mostlyclean-libiberty:
22590 @[ -f ./libiberty/Makefile ] || exit 0; \
22591 r=`${PWD_COMMAND}`; export r; \
22592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22593 $(HOST_EXPORTS) \
22594 for flag in $(EXTRA_HOST_FLAGS) ; do \
22595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22596 done; \
22597 echo "Doing mostlyclean in libiberty" ; \
22598 (cd $(HOST_SUBDIR)/libiberty && \
22599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22601 "RANLIB=$${RANLIB}" \
22602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22603 mostlyclean) \
22604 || exit 1
22606 @endif libiberty
22608 .PHONY: maybe-clean-libiberty clean-libiberty
22609 maybe-clean-libiberty:
22610 @if libiberty
22611 maybe-clean-libiberty: clean-libiberty
22613 clean-libiberty:
22614 @[ -f ./libiberty/Makefile ] || exit 0; \
22615 r=`${PWD_COMMAND}`; export r; \
22616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22617 $(HOST_EXPORTS) \
22618 for flag in $(EXTRA_HOST_FLAGS) ; do \
22619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22620 done; \
22621 echo "Doing clean in libiberty" ; \
22622 (cd $(HOST_SUBDIR)/libiberty && \
22623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22625 "RANLIB=$${RANLIB}" \
22626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22627 clean) \
22628 || exit 1
22630 @endif libiberty
22632 .PHONY: maybe-distclean-libiberty distclean-libiberty
22633 maybe-distclean-libiberty:
22634 @if libiberty
22635 maybe-distclean-libiberty: distclean-libiberty
22637 distclean-libiberty:
22638 @[ -f ./libiberty/Makefile ] || exit 0; \
22639 r=`${PWD_COMMAND}`; export r; \
22640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22641 $(HOST_EXPORTS) \
22642 for flag in $(EXTRA_HOST_FLAGS) ; do \
22643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22644 done; \
22645 echo "Doing distclean in libiberty" ; \
22646 (cd $(HOST_SUBDIR)/libiberty && \
22647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22649 "RANLIB=$${RANLIB}" \
22650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22651 distclean) \
22652 || exit 1
22654 @endif libiberty
22656 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22657 maybe-maintainer-clean-libiberty:
22658 @if libiberty
22659 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22661 maintainer-clean-libiberty:
22662 @[ -f ./libiberty/Makefile ] || exit 0; \
22663 r=`${PWD_COMMAND}`; export r; \
22664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22665 $(HOST_EXPORTS) \
22666 for flag in $(EXTRA_HOST_FLAGS) ; do \
22667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22668 done; \
22669 echo "Doing maintainer-clean in libiberty" ; \
22670 (cd $(HOST_SUBDIR)/libiberty && \
22671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22673 "RANLIB=$${RANLIB}" \
22674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22675 maintainer-clean) \
22676 || exit 1
22678 @endif libiberty
22682 .PHONY: configure-libiconv maybe-configure-libiconv
22683 maybe-configure-libiconv:
22684 @if gcc-bootstrap
22685 configure-libiconv: stage_current
22686 @endif gcc-bootstrap
22687 @if libiconv
22688 maybe-configure-libiconv: configure-libiconv
22689 configure-libiconv:
22690 @: $(MAKE); $(unstage)
22691 @r=`${PWD_COMMAND}`; export r; \
22692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22693 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
22694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
22695 $(HOST_EXPORTS) \
22696 echo Configuring in $(HOST_SUBDIR)/libiconv; \
22697 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
22698 case $(srcdir) in \
22699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22700 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
22701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22702 esac; \
22703 srcdiroption="--srcdir=$${topdir}/libiconv"; \
22704 libsrcdir="$$s/libiconv"; \
22705 $(SHELL) $${libsrcdir}/configure \
22706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22707 --target=${target_alias} $${srcdiroption} --disable-shared \
22708 || exit 1
22709 @endif libiconv
22715 .PHONY: all-libiconv maybe-all-libiconv
22716 maybe-all-libiconv:
22717 @if gcc-bootstrap
22718 all-libiconv: stage_current
22719 @endif gcc-bootstrap
22720 @if libiconv
22721 TARGET-libiconv=all
22722 maybe-all-libiconv: all-libiconv
22723 all-libiconv: configure-libiconv
22724 @: $(MAKE); $(unstage)
22725 @r=`${PWD_COMMAND}`; export r; \
22726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22727 $(HOST_EXPORTS) \
22728 (cd $(HOST_SUBDIR)/libiconv && \
22729 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22730 $(TARGET-libiconv))
22731 @endif libiconv
22736 .PHONY: check-libiconv maybe-check-libiconv
22737 maybe-check-libiconv:
22738 @if libiconv
22739 maybe-check-libiconv: check-libiconv
22741 check-libiconv:
22742 @: $(MAKE); $(unstage)
22743 @r=`${PWD_COMMAND}`; export r; \
22744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22745 $(HOST_EXPORTS) \
22746 (cd $(HOST_SUBDIR)/libiconv && \
22747 $(MAKE) $(FLAGS_TO_PASS) check)
22749 @endif libiconv
22751 .PHONY: install-libiconv maybe-install-libiconv
22752 maybe-install-libiconv:
22753 @if libiconv
22754 maybe-install-libiconv: install-libiconv
22756 install-libiconv:
22758 @endif libiconv
22760 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
22761 maybe-install-strip-libiconv:
22762 @if libiconv
22763 maybe-install-strip-libiconv: install-strip-libiconv
22765 install-strip-libiconv:
22767 @endif libiconv
22769 # Other targets (info, dvi, pdf, etc.)
22771 .PHONY: maybe-info-libiconv info-libiconv
22772 maybe-info-libiconv:
22773 @if libiconv
22774 maybe-info-libiconv: info-libiconv
22776 info-libiconv: \
22777 configure-libiconv
22778 @: $(MAKE); $(unstage)
22779 @[ -f ./libiconv/Makefile ] || exit 0; \
22780 r=`${PWD_COMMAND}`; export r; \
22781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22782 $(HOST_EXPORTS) \
22783 for flag in $(EXTRA_HOST_FLAGS) ; do \
22784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22785 done; \
22786 echo "Doing info in libiconv" ; \
22787 (cd $(HOST_SUBDIR)/libiconv && \
22788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22790 "RANLIB=$${RANLIB}" \
22791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22792 info) \
22793 || exit 1
22795 @endif libiconv
22797 .PHONY: maybe-dvi-libiconv dvi-libiconv
22798 maybe-dvi-libiconv:
22799 @if libiconv
22800 maybe-dvi-libiconv: dvi-libiconv
22802 dvi-libiconv: \
22803 configure-libiconv
22804 @: $(MAKE); $(unstage)
22805 @[ -f ./libiconv/Makefile ] || exit 0; \
22806 r=`${PWD_COMMAND}`; export r; \
22807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22808 $(HOST_EXPORTS) \
22809 for flag in $(EXTRA_HOST_FLAGS) ; do \
22810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22811 done; \
22812 echo "Doing dvi in libiconv" ; \
22813 (cd $(HOST_SUBDIR)/libiconv && \
22814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22816 "RANLIB=$${RANLIB}" \
22817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22818 dvi) \
22819 || exit 1
22821 @endif libiconv
22823 .PHONY: maybe-pdf-libiconv pdf-libiconv
22824 maybe-pdf-libiconv:
22825 @if libiconv
22826 maybe-pdf-libiconv: pdf-libiconv
22828 pdf-libiconv: \
22829 configure-libiconv
22830 @: $(MAKE); $(unstage)
22831 @[ -f ./libiconv/Makefile ] || exit 0; \
22832 r=`${PWD_COMMAND}`; export r; \
22833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22834 $(HOST_EXPORTS) \
22835 for flag in $(EXTRA_HOST_FLAGS) ; do \
22836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22837 done; \
22838 echo "Doing pdf in libiconv" ; \
22839 (cd $(HOST_SUBDIR)/libiconv && \
22840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22842 "RANLIB=$${RANLIB}" \
22843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22844 pdf) \
22845 || exit 1
22847 @endif libiconv
22849 .PHONY: maybe-html-libiconv html-libiconv
22850 maybe-html-libiconv:
22851 @if libiconv
22852 maybe-html-libiconv: html-libiconv
22854 html-libiconv: \
22855 configure-libiconv
22856 @: $(MAKE); $(unstage)
22857 @[ -f ./libiconv/Makefile ] || exit 0; \
22858 r=`${PWD_COMMAND}`; export r; \
22859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22860 $(HOST_EXPORTS) \
22861 for flag in $(EXTRA_HOST_FLAGS) ; do \
22862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22863 done; \
22864 echo "Doing html in libiconv" ; \
22865 (cd $(HOST_SUBDIR)/libiconv && \
22866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22868 "RANLIB=$${RANLIB}" \
22869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22870 html) \
22871 || exit 1
22873 @endif libiconv
22875 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
22876 maybe-TAGS-libiconv:
22877 @if libiconv
22878 maybe-TAGS-libiconv: TAGS-libiconv
22880 TAGS-libiconv: \
22881 configure-libiconv
22882 @: $(MAKE); $(unstage)
22883 @[ -f ./libiconv/Makefile ] || exit 0; \
22884 r=`${PWD_COMMAND}`; export r; \
22885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22886 $(HOST_EXPORTS) \
22887 for flag in $(EXTRA_HOST_FLAGS) ; do \
22888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22889 done; \
22890 echo "Doing TAGS in libiconv" ; \
22891 (cd $(HOST_SUBDIR)/libiconv && \
22892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22894 "RANLIB=$${RANLIB}" \
22895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22896 TAGS) \
22897 || exit 1
22899 @endif libiconv
22901 .PHONY: maybe-install-info-libiconv install-info-libiconv
22902 maybe-install-info-libiconv:
22903 @if libiconv
22904 maybe-install-info-libiconv: install-info-libiconv
22906 # libiconv doesn't support install-info.
22907 install-info-libiconv:
22909 @endif libiconv
22911 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
22912 maybe-install-pdf-libiconv:
22913 @if libiconv
22914 maybe-install-pdf-libiconv: install-pdf-libiconv
22916 # libiconv doesn't support install-pdf.
22917 install-pdf-libiconv:
22919 @endif libiconv
22921 .PHONY: maybe-install-html-libiconv install-html-libiconv
22922 maybe-install-html-libiconv:
22923 @if libiconv
22924 maybe-install-html-libiconv: install-html-libiconv
22926 # libiconv doesn't support install-html.
22927 install-html-libiconv:
22929 @endif libiconv
22931 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
22932 maybe-installcheck-libiconv:
22933 @if libiconv
22934 maybe-installcheck-libiconv: installcheck-libiconv
22936 installcheck-libiconv: \
22937 configure-libiconv
22938 @: $(MAKE); $(unstage)
22939 @[ -f ./libiconv/Makefile ] || exit 0; \
22940 r=`${PWD_COMMAND}`; export r; \
22941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22942 $(HOST_EXPORTS) \
22943 for flag in $(EXTRA_HOST_FLAGS) ; do \
22944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22945 done; \
22946 echo "Doing installcheck in libiconv" ; \
22947 (cd $(HOST_SUBDIR)/libiconv && \
22948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22950 "RANLIB=$${RANLIB}" \
22951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22952 installcheck) \
22953 || exit 1
22955 @endif libiconv
22957 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
22958 maybe-mostlyclean-libiconv:
22959 @if libiconv
22960 maybe-mostlyclean-libiconv: mostlyclean-libiconv
22962 mostlyclean-libiconv:
22963 @: $(MAKE); $(unstage)
22964 @[ -f ./libiconv/Makefile ] || exit 0; \
22965 r=`${PWD_COMMAND}`; export r; \
22966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22967 $(HOST_EXPORTS) \
22968 for flag in $(EXTRA_HOST_FLAGS) ; do \
22969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22970 done; \
22971 echo "Doing mostlyclean in libiconv" ; \
22972 (cd $(HOST_SUBDIR)/libiconv && \
22973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22975 "RANLIB=$${RANLIB}" \
22976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22977 mostlyclean) \
22978 || exit 1
22980 @endif libiconv
22982 .PHONY: maybe-clean-libiconv clean-libiconv
22983 maybe-clean-libiconv:
22984 @if libiconv
22985 maybe-clean-libiconv: clean-libiconv
22987 clean-libiconv:
22988 @: $(MAKE); $(unstage)
22989 @[ -f ./libiconv/Makefile ] || exit 0; \
22990 r=`${PWD_COMMAND}`; export r; \
22991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22992 $(HOST_EXPORTS) \
22993 for flag in $(EXTRA_HOST_FLAGS) ; do \
22994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22995 done; \
22996 echo "Doing clean in libiconv" ; \
22997 (cd $(HOST_SUBDIR)/libiconv && \
22998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23000 "RANLIB=$${RANLIB}" \
23001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23002 clean) \
23003 || exit 1
23005 @endif libiconv
23007 .PHONY: maybe-distclean-libiconv distclean-libiconv
23008 maybe-distclean-libiconv:
23009 @if libiconv
23010 maybe-distclean-libiconv: distclean-libiconv
23012 distclean-libiconv:
23013 @: $(MAKE); $(unstage)
23014 @[ -f ./libiconv/Makefile ] || exit 0; \
23015 r=`${PWD_COMMAND}`; export r; \
23016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23017 $(HOST_EXPORTS) \
23018 for flag in $(EXTRA_HOST_FLAGS) ; do \
23019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23020 done; \
23021 echo "Doing distclean in libiconv" ; \
23022 (cd $(HOST_SUBDIR)/libiconv && \
23023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23025 "RANLIB=$${RANLIB}" \
23026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23027 distclean) \
23028 || exit 1
23030 @endif libiconv
23032 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23033 maybe-maintainer-clean-libiconv:
23034 @if libiconv
23035 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23037 maintainer-clean-libiconv:
23038 @: $(MAKE); $(unstage)
23039 @[ -f ./libiconv/Makefile ] || exit 0; \
23040 r=`${PWD_COMMAND}`; export r; \
23041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23042 $(HOST_EXPORTS) \
23043 for flag in $(EXTRA_HOST_FLAGS) ; do \
23044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23045 done; \
23046 echo "Doing maintainer-clean in libiconv" ; \
23047 (cd $(HOST_SUBDIR)/libiconv && \
23048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23050 "RANLIB=$${RANLIB}" \
23051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23052 maintainer-clean) \
23053 || exit 1
23055 @endif libiconv
23059 .PHONY: configure-m4 maybe-configure-m4
23060 maybe-configure-m4:
23061 @if gcc-bootstrap
23062 configure-m4: stage_current
23063 @endif gcc-bootstrap
23064 @if m4
23065 maybe-configure-m4: configure-m4
23066 configure-m4:
23067 @: $(MAKE); $(unstage)
23068 @r=`${PWD_COMMAND}`; export r; \
23069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23070 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23072 $(HOST_EXPORTS) \
23073 echo Configuring in $(HOST_SUBDIR)/m4; \
23074 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23075 case $(srcdir) in \
23076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23077 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23079 esac; \
23080 srcdiroption="--srcdir=$${topdir}/m4"; \
23081 libsrcdir="$$s/m4"; \
23082 $(SHELL) $${libsrcdir}/configure \
23083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23084 --target=${target_alias} $${srcdiroption} \
23085 || exit 1
23086 @endif m4
23092 .PHONY: all-m4 maybe-all-m4
23093 maybe-all-m4:
23094 @if gcc-bootstrap
23095 all-m4: stage_current
23096 @endif gcc-bootstrap
23097 @if m4
23098 TARGET-m4=all
23099 maybe-all-m4: all-m4
23100 all-m4: configure-m4
23101 @: $(MAKE); $(unstage)
23102 @r=`${PWD_COMMAND}`; export r; \
23103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23104 $(HOST_EXPORTS) \
23105 (cd $(HOST_SUBDIR)/m4 && \
23106 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23107 $(TARGET-m4))
23108 @endif m4
23113 .PHONY: check-m4 maybe-check-m4
23114 maybe-check-m4:
23115 @if m4
23116 maybe-check-m4: check-m4
23118 check-m4:
23119 @: $(MAKE); $(unstage)
23120 @r=`${PWD_COMMAND}`; export r; \
23121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23122 $(HOST_EXPORTS) \
23123 (cd $(HOST_SUBDIR)/m4 && \
23124 $(MAKE) $(FLAGS_TO_PASS) check)
23126 @endif m4
23128 .PHONY: install-m4 maybe-install-m4
23129 maybe-install-m4:
23130 @if m4
23131 maybe-install-m4: install-m4
23133 install-m4: installdirs
23134 @: $(MAKE); $(unstage)
23135 @r=`${PWD_COMMAND}`; export r; \
23136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23137 $(HOST_EXPORTS) \
23138 (cd $(HOST_SUBDIR)/m4 && \
23139 $(MAKE) $(FLAGS_TO_PASS) install)
23141 @endif m4
23143 .PHONY: install-strip-m4 maybe-install-strip-m4
23144 maybe-install-strip-m4:
23145 @if m4
23146 maybe-install-strip-m4: install-strip-m4
23148 install-strip-m4: installdirs
23149 @: $(MAKE); $(unstage)
23150 @r=`${PWD_COMMAND}`; export r; \
23151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23152 $(HOST_EXPORTS) \
23153 (cd $(HOST_SUBDIR)/m4 && \
23154 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23156 @endif m4
23158 # Other targets (info, dvi, pdf, etc.)
23160 .PHONY: maybe-info-m4 info-m4
23161 maybe-info-m4:
23162 @if m4
23163 maybe-info-m4: info-m4
23165 info-m4: \
23166 configure-m4
23167 @: $(MAKE); $(unstage)
23168 @[ -f ./m4/Makefile ] || exit 0; \
23169 r=`${PWD_COMMAND}`; export r; \
23170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23171 $(HOST_EXPORTS) \
23172 for flag in $(EXTRA_HOST_FLAGS) ; do \
23173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23174 done; \
23175 echo "Doing info in m4" ; \
23176 (cd $(HOST_SUBDIR)/m4 && \
23177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23179 "RANLIB=$${RANLIB}" \
23180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23181 info) \
23182 || exit 1
23184 @endif m4
23186 .PHONY: maybe-dvi-m4 dvi-m4
23187 maybe-dvi-m4:
23188 @if m4
23189 maybe-dvi-m4: dvi-m4
23191 dvi-m4: \
23192 configure-m4
23193 @: $(MAKE); $(unstage)
23194 @[ -f ./m4/Makefile ] || exit 0; \
23195 r=`${PWD_COMMAND}`; export r; \
23196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23197 $(HOST_EXPORTS) \
23198 for flag in $(EXTRA_HOST_FLAGS) ; do \
23199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23200 done; \
23201 echo "Doing dvi in m4" ; \
23202 (cd $(HOST_SUBDIR)/m4 && \
23203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23205 "RANLIB=$${RANLIB}" \
23206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23207 dvi) \
23208 || exit 1
23210 @endif m4
23212 .PHONY: maybe-pdf-m4 pdf-m4
23213 maybe-pdf-m4:
23214 @if m4
23215 maybe-pdf-m4: pdf-m4
23217 pdf-m4: \
23218 configure-m4
23219 @: $(MAKE); $(unstage)
23220 @[ -f ./m4/Makefile ] || exit 0; \
23221 r=`${PWD_COMMAND}`; export r; \
23222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23223 $(HOST_EXPORTS) \
23224 for flag in $(EXTRA_HOST_FLAGS) ; do \
23225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23226 done; \
23227 echo "Doing pdf in m4" ; \
23228 (cd $(HOST_SUBDIR)/m4 && \
23229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23231 "RANLIB=$${RANLIB}" \
23232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23233 pdf) \
23234 || exit 1
23236 @endif m4
23238 .PHONY: maybe-html-m4 html-m4
23239 maybe-html-m4:
23240 @if m4
23241 maybe-html-m4: html-m4
23243 html-m4: \
23244 configure-m4
23245 @: $(MAKE); $(unstage)
23246 @[ -f ./m4/Makefile ] || exit 0; \
23247 r=`${PWD_COMMAND}`; export r; \
23248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23249 $(HOST_EXPORTS) \
23250 for flag in $(EXTRA_HOST_FLAGS) ; do \
23251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23252 done; \
23253 echo "Doing html in m4" ; \
23254 (cd $(HOST_SUBDIR)/m4 && \
23255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23257 "RANLIB=$${RANLIB}" \
23258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23259 html) \
23260 || exit 1
23262 @endif m4
23264 .PHONY: maybe-TAGS-m4 TAGS-m4
23265 maybe-TAGS-m4:
23266 @if m4
23267 maybe-TAGS-m4: TAGS-m4
23269 TAGS-m4: \
23270 configure-m4
23271 @: $(MAKE); $(unstage)
23272 @[ -f ./m4/Makefile ] || exit 0; \
23273 r=`${PWD_COMMAND}`; export r; \
23274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23275 $(HOST_EXPORTS) \
23276 for flag in $(EXTRA_HOST_FLAGS) ; do \
23277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23278 done; \
23279 echo "Doing TAGS in m4" ; \
23280 (cd $(HOST_SUBDIR)/m4 && \
23281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23283 "RANLIB=$${RANLIB}" \
23284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23285 TAGS) \
23286 || exit 1
23288 @endif m4
23290 .PHONY: maybe-install-info-m4 install-info-m4
23291 maybe-install-info-m4:
23292 @if m4
23293 maybe-install-info-m4: install-info-m4
23295 install-info-m4: \
23296 configure-m4 \
23297 info-m4
23298 @: $(MAKE); $(unstage)
23299 @[ -f ./m4/Makefile ] || exit 0; \
23300 r=`${PWD_COMMAND}`; export r; \
23301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23302 $(HOST_EXPORTS) \
23303 for flag in $(EXTRA_HOST_FLAGS) ; do \
23304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23305 done; \
23306 echo "Doing install-info in m4" ; \
23307 (cd $(HOST_SUBDIR)/m4 && \
23308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23310 "RANLIB=$${RANLIB}" \
23311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23312 install-info) \
23313 || exit 1
23315 @endif m4
23317 .PHONY: maybe-install-pdf-m4 install-pdf-m4
23318 maybe-install-pdf-m4:
23319 @if m4
23320 maybe-install-pdf-m4: install-pdf-m4
23322 install-pdf-m4: \
23323 configure-m4 \
23324 pdf-m4
23325 @: $(MAKE); $(unstage)
23326 @[ -f ./m4/Makefile ] || exit 0; \
23327 r=`${PWD_COMMAND}`; export r; \
23328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23329 $(HOST_EXPORTS) \
23330 for flag in $(EXTRA_HOST_FLAGS) ; do \
23331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23332 done; \
23333 echo "Doing install-pdf in m4" ; \
23334 (cd $(HOST_SUBDIR)/m4 && \
23335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23337 "RANLIB=$${RANLIB}" \
23338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23339 install-pdf) \
23340 || exit 1
23342 @endif m4
23344 .PHONY: maybe-install-html-m4 install-html-m4
23345 maybe-install-html-m4:
23346 @if m4
23347 maybe-install-html-m4: install-html-m4
23349 install-html-m4: \
23350 configure-m4 \
23351 html-m4
23352 @: $(MAKE); $(unstage)
23353 @[ -f ./m4/Makefile ] || exit 0; \
23354 r=`${PWD_COMMAND}`; export r; \
23355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23356 $(HOST_EXPORTS) \
23357 for flag in $(EXTRA_HOST_FLAGS) ; do \
23358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23359 done; \
23360 echo "Doing install-html in m4" ; \
23361 (cd $(HOST_SUBDIR)/m4 && \
23362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23364 "RANLIB=$${RANLIB}" \
23365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23366 install-html) \
23367 || exit 1
23369 @endif m4
23371 .PHONY: maybe-installcheck-m4 installcheck-m4
23372 maybe-installcheck-m4:
23373 @if m4
23374 maybe-installcheck-m4: installcheck-m4
23376 installcheck-m4: \
23377 configure-m4
23378 @: $(MAKE); $(unstage)
23379 @[ -f ./m4/Makefile ] || exit 0; \
23380 r=`${PWD_COMMAND}`; export r; \
23381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23382 $(HOST_EXPORTS) \
23383 for flag in $(EXTRA_HOST_FLAGS) ; do \
23384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23385 done; \
23386 echo "Doing installcheck in m4" ; \
23387 (cd $(HOST_SUBDIR)/m4 && \
23388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23390 "RANLIB=$${RANLIB}" \
23391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23392 installcheck) \
23393 || exit 1
23395 @endif m4
23397 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23398 maybe-mostlyclean-m4:
23399 @if m4
23400 maybe-mostlyclean-m4: mostlyclean-m4
23402 mostlyclean-m4:
23403 @: $(MAKE); $(unstage)
23404 @[ -f ./m4/Makefile ] || exit 0; \
23405 r=`${PWD_COMMAND}`; export r; \
23406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23407 $(HOST_EXPORTS) \
23408 for flag in $(EXTRA_HOST_FLAGS) ; do \
23409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23410 done; \
23411 echo "Doing mostlyclean in m4" ; \
23412 (cd $(HOST_SUBDIR)/m4 && \
23413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23415 "RANLIB=$${RANLIB}" \
23416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23417 mostlyclean) \
23418 || exit 1
23420 @endif m4
23422 .PHONY: maybe-clean-m4 clean-m4
23423 maybe-clean-m4:
23424 @if m4
23425 maybe-clean-m4: clean-m4
23427 clean-m4:
23428 @: $(MAKE); $(unstage)
23429 @[ -f ./m4/Makefile ] || exit 0; \
23430 r=`${PWD_COMMAND}`; export r; \
23431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23432 $(HOST_EXPORTS) \
23433 for flag in $(EXTRA_HOST_FLAGS) ; do \
23434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23435 done; \
23436 echo "Doing clean in m4" ; \
23437 (cd $(HOST_SUBDIR)/m4 && \
23438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23440 "RANLIB=$${RANLIB}" \
23441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23442 clean) \
23443 || exit 1
23445 @endif m4
23447 .PHONY: maybe-distclean-m4 distclean-m4
23448 maybe-distclean-m4:
23449 @if m4
23450 maybe-distclean-m4: distclean-m4
23452 distclean-m4:
23453 @: $(MAKE); $(unstage)
23454 @[ -f ./m4/Makefile ] || exit 0; \
23455 r=`${PWD_COMMAND}`; export r; \
23456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23457 $(HOST_EXPORTS) \
23458 for flag in $(EXTRA_HOST_FLAGS) ; do \
23459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23460 done; \
23461 echo "Doing distclean in m4" ; \
23462 (cd $(HOST_SUBDIR)/m4 && \
23463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23465 "RANLIB=$${RANLIB}" \
23466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23467 distclean) \
23468 || exit 1
23470 @endif m4
23472 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23473 maybe-maintainer-clean-m4:
23474 @if m4
23475 maybe-maintainer-clean-m4: maintainer-clean-m4
23477 maintainer-clean-m4:
23478 @: $(MAKE); $(unstage)
23479 @[ -f ./m4/Makefile ] || exit 0; \
23480 r=`${PWD_COMMAND}`; export r; \
23481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23482 $(HOST_EXPORTS) \
23483 for flag in $(EXTRA_HOST_FLAGS) ; do \
23484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23485 done; \
23486 echo "Doing maintainer-clean in m4" ; \
23487 (cd $(HOST_SUBDIR)/m4 && \
23488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23490 "RANLIB=$${RANLIB}" \
23491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23492 maintainer-clean) \
23493 || exit 1
23495 @endif m4
23499 .PHONY: configure-readline maybe-configure-readline
23500 maybe-configure-readline:
23501 @if gcc-bootstrap
23502 configure-readline: stage_current
23503 @endif gcc-bootstrap
23504 @if readline
23505 maybe-configure-readline: configure-readline
23506 configure-readline:
23507 @: $(MAKE); $(unstage)
23508 @r=`${PWD_COMMAND}`; export r; \
23509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23510 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
23511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
23512 $(HOST_EXPORTS) \
23513 echo Configuring in $(HOST_SUBDIR)/readline; \
23514 cd "$(HOST_SUBDIR)/readline" || exit 1; \
23515 case $(srcdir) in \
23516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23517 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
23518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23519 esac; \
23520 srcdiroption="--srcdir=$${topdir}/readline"; \
23521 libsrcdir="$$s/readline"; \
23522 $(SHELL) $${libsrcdir}/configure \
23523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23524 --target=${target_alias} $${srcdiroption} \
23525 || exit 1
23526 @endif readline
23532 .PHONY: all-readline maybe-all-readline
23533 maybe-all-readline:
23534 @if gcc-bootstrap
23535 all-readline: stage_current
23536 @endif gcc-bootstrap
23537 @if readline
23538 TARGET-readline=all
23539 maybe-all-readline: all-readline
23540 all-readline: configure-readline
23541 @: $(MAKE); $(unstage)
23542 @r=`${PWD_COMMAND}`; export r; \
23543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23544 $(HOST_EXPORTS) \
23545 (cd $(HOST_SUBDIR)/readline && \
23546 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23547 $(TARGET-readline))
23548 @endif readline
23553 .PHONY: check-readline maybe-check-readline
23554 maybe-check-readline:
23555 @if readline
23556 maybe-check-readline: check-readline
23558 check-readline:
23559 @: $(MAKE); $(unstage)
23560 @r=`${PWD_COMMAND}`; export r; \
23561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23562 $(HOST_EXPORTS) \
23563 (cd $(HOST_SUBDIR)/readline && \
23564 $(MAKE) $(FLAGS_TO_PASS) check)
23566 @endif readline
23568 .PHONY: install-readline maybe-install-readline
23569 maybe-install-readline:
23570 @if readline
23571 maybe-install-readline: install-readline
23573 install-readline: installdirs
23574 @: $(MAKE); $(unstage)
23575 @r=`${PWD_COMMAND}`; export r; \
23576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23577 $(HOST_EXPORTS) \
23578 (cd $(HOST_SUBDIR)/readline && \
23579 $(MAKE) $(FLAGS_TO_PASS) install)
23581 @endif readline
23583 .PHONY: install-strip-readline maybe-install-strip-readline
23584 maybe-install-strip-readline:
23585 @if readline
23586 maybe-install-strip-readline: install-strip-readline
23588 install-strip-readline: installdirs
23589 @: $(MAKE); $(unstage)
23590 @r=`${PWD_COMMAND}`; export r; \
23591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23592 $(HOST_EXPORTS) \
23593 (cd $(HOST_SUBDIR)/readline && \
23594 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23596 @endif readline
23598 # Other targets (info, dvi, pdf, etc.)
23600 .PHONY: maybe-info-readline info-readline
23601 maybe-info-readline:
23602 @if readline
23603 maybe-info-readline: info-readline
23605 info-readline: \
23606 configure-readline
23607 @: $(MAKE); $(unstage)
23608 @[ -f ./readline/Makefile ] || exit 0; \
23609 r=`${PWD_COMMAND}`; export r; \
23610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23611 $(HOST_EXPORTS) \
23612 for flag in $(EXTRA_HOST_FLAGS) ; do \
23613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23614 done; \
23615 echo "Doing info in readline" ; \
23616 (cd $(HOST_SUBDIR)/readline && \
23617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23619 "RANLIB=$${RANLIB}" \
23620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23621 info) \
23622 || exit 1
23624 @endif readline
23626 .PHONY: maybe-dvi-readline dvi-readline
23627 maybe-dvi-readline:
23628 @if readline
23629 maybe-dvi-readline: dvi-readline
23631 dvi-readline: \
23632 configure-readline
23633 @: $(MAKE); $(unstage)
23634 @[ -f ./readline/Makefile ] || exit 0; \
23635 r=`${PWD_COMMAND}`; export r; \
23636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23637 $(HOST_EXPORTS) \
23638 for flag in $(EXTRA_HOST_FLAGS) ; do \
23639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23640 done; \
23641 echo "Doing dvi in readline" ; \
23642 (cd $(HOST_SUBDIR)/readline && \
23643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23645 "RANLIB=$${RANLIB}" \
23646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23647 dvi) \
23648 || exit 1
23650 @endif readline
23652 .PHONY: maybe-pdf-readline pdf-readline
23653 maybe-pdf-readline:
23654 @if readline
23655 maybe-pdf-readline: pdf-readline
23657 pdf-readline: \
23658 configure-readline
23659 @: $(MAKE); $(unstage)
23660 @[ -f ./readline/Makefile ] || exit 0; \
23661 r=`${PWD_COMMAND}`; export r; \
23662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23663 $(HOST_EXPORTS) \
23664 for flag in $(EXTRA_HOST_FLAGS) ; do \
23665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23666 done; \
23667 echo "Doing pdf in readline" ; \
23668 (cd $(HOST_SUBDIR)/readline && \
23669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23671 "RANLIB=$${RANLIB}" \
23672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23673 pdf) \
23674 || exit 1
23676 @endif readline
23678 .PHONY: maybe-html-readline html-readline
23679 maybe-html-readline:
23680 @if readline
23681 maybe-html-readline: html-readline
23683 html-readline: \
23684 configure-readline
23685 @: $(MAKE); $(unstage)
23686 @[ -f ./readline/Makefile ] || exit 0; \
23687 r=`${PWD_COMMAND}`; export r; \
23688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23689 $(HOST_EXPORTS) \
23690 for flag in $(EXTRA_HOST_FLAGS) ; do \
23691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23692 done; \
23693 echo "Doing html in readline" ; \
23694 (cd $(HOST_SUBDIR)/readline && \
23695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23697 "RANLIB=$${RANLIB}" \
23698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23699 html) \
23700 || exit 1
23702 @endif readline
23704 .PHONY: maybe-TAGS-readline TAGS-readline
23705 maybe-TAGS-readline:
23706 @if readline
23707 maybe-TAGS-readline: TAGS-readline
23709 TAGS-readline: \
23710 configure-readline
23711 @: $(MAKE); $(unstage)
23712 @[ -f ./readline/Makefile ] || exit 0; \
23713 r=`${PWD_COMMAND}`; export r; \
23714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23715 $(HOST_EXPORTS) \
23716 for flag in $(EXTRA_HOST_FLAGS) ; do \
23717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23718 done; \
23719 echo "Doing TAGS in readline" ; \
23720 (cd $(HOST_SUBDIR)/readline && \
23721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23723 "RANLIB=$${RANLIB}" \
23724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23725 TAGS) \
23726 || exit 1
23728 @endif readline
23730 .PHONY: maybe-install-info-readline install-info-readline
23731 maybe-install-info-readline:
23732 @if readline
23733 maybe-install-info-readline: install-info-readline
23735 install-info-readline: \
23736 configure-readline \
23737 info-readline
23738 @: $(MAKE); $(unstage)
23739 @[ -f ./readline/Makefile ] || exit 0; \
23740 r=`${PWD_COMMAND}`; export r; \
23741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23742 $(HOST_EXPORTS) \
23743 for flag in $(EXTRA_HOST_FLAGS) ; do \
23744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23745 done; \
23746 echo "Doing install-info in readline" ; \
23747 (cd $(HOST_SUBDIR)/readline && \
23748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23750 "RANLIB=$${RANLIB}" \
23751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23752 install-info) \
23753 || exit 1
23755 @endif readline
23757 .PHONY: maybe-install-pdf-readline install-pdf-readline
23758 maybe-install-pdf-readline:
23759 @if readline
23760 maybe-install-pdf-readline: install-pdf-readline
23762 install-pdf-readline: \
23763 configure-readline \
23764 pdf-readline
23765 @: $(MAKE); $(unstage)
23766 @[ -f ./readline/Makefile ] || exit 0; \
23767 r=`${PWD_COMMAND}`; export r; \
23768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23769 $(HOST_EXPORTS) \
23770 for flag in $(EXTRA_HOST_FLAGS) ; do \
23771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23772 done; \
23773 echo "Doing install-pdf in readline" ; \
23774 (cd $(HOST_SUBDIR)/readline && \
23775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23777 "RANLIB=$${RANLIB}" \
23778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23779 install-pdf) \
23780 || exit 1
23782 @endif readline
23784 .PHONY: maybe-install-html-readline install-html-readline
23785 maybe-install-html-readline:
23786 @if readline
23787 maybe-install-html-readline: install-html-readline
23789 install-html-readline: \
23790 configure-readline \
23791 html-readline
23792 @: $(MAKE); $(unstage)
23793 @[ -f ./readline/Makefile ] || exit 0; \
23794 r=`${PWD_COMMAND}`; export r; \
23795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23796 $(HOST_EXPORTS) \
23797 for flag in $(EXTRA_HOST_FLAGS) ; do \
23798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23799 done; \
23800 echo "Doing install-html in readline" ; \
23801 (cd $(HOST_SUBDIR)/readline && \
23802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23804 "RANLIB=$${RANLIB}" \
23805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23806 install-html) \
23807 || exit 1
23809 @endif readline
23811 .PHONY: maybe-installcheck-readline installcheck-readline
23812 maybe-installcheck-readline:
23813 @if readline
23814 maybe-installcheck-readline: installcheck-readline
23816 installcheck-readline: \
23817 configure-readline
23818 @: $(MAKE); $(unstage)
23819 @[ -f ./readline/Makefile ] || exit 0; \
23820 r=`${PWD_COMMAND}`; export r; \
23821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23822 $(HOST_EXPORTS) \
23823 for flag in $(EXTRA_HOST_FLAGS) ; do \
23824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23825 done; \
23826 echo "Doing installcheck in readline" ; \
23827 (cd $(HOST_SUBDIR)/readline && \
23828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23830 "RANLIB=$${RANLIB}" \
23831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23832 installcheck) \
23833 || exit 1
23835 @endif readline
23837 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
23838 maybe-mostlyclean-readline:
23839 @if readline
23840 maybe-mostlyclean-readline: mostlyclean-readline
23842 mostlyclean-readline:
23843 @: $(MAKE); $(unstage)
23844 @[ -f ./readline/Makefile ] || exit 0; \
23845 r=`${PWD_COMMAND}`; export r; \
23846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23847 $(HOST_EXPORTS) \
23848 for flag in $(EXTRA_HOST_FLAGS) ; do \
23849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23850 done; \
23851 echo "Doing mostlyclean in readline" ; \
23852 (cd $(HOST_SUBDIR)/readline && \
23853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23855 "RANLIB=$${RANLIB}" \
23856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23857 mostlyclean) \
23858 || exit 1
23860 @endif readline
23862 .PHONY: maybe-clean-readline clean-readline
23863 maybe-clean-readline:
23864 @if readline
23865 maybe-clean-readline: clean-readline
23867 clean-readline:
23868 @: $(MAKE); $(unstage)
23869 @[ -f ./readline/Makefile ] || exit 0; \
23870 r=`${PWD_COMMAND}`; export r; \
23871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23872 $(HOST_EXPORTS) \
23873 for flag in $(EXTRA_HOST_FLAGS) ; do \
23874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23875 done; \
23876 echo "Doing clean in readline" ; \
23877 (cd $(HOST_SUBDIR)/readline && \
23878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23880 "RANLIB=$${RANLIB}" \
23881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23882 clean) \
23883 || exit 1
23885 @endif readline
23887 .PHONY: maybe-distclean-readline distclean-readline
23888 maybe-distclean-readline:
23889 @if readline
23890 maybe-distclean-readline: distclean-readline
23892 distclean-readline:
23893 @: $(MAKE); $(unstage)
23894 @[ -f ./readline/Makefile ] || exit 0; \
23895 r=`${PWD_COMMAND}`; export r; \
23896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23897 $(HOST_EXPORTS) \
23898 for flag in $(EXTRA_HOST_FLAGS) ; do \
23899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23900 done; \
23901 echo "Doing distclean in readline" ; \
23902 (cd $(HOST_SUBDIR)/readline && \
23903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23905 "RANLIB=$${RANLIB}" \
23906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23907 distclean) \
23908 || exit 1
23910 @endif readline
23912 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
23913 maybe-maintainer-clean-readline:
23914 @if readline
23915 maybe-maintainer-clean-readline: maintainer-clean-readline
23917 maintainer-clean-readline:
23918 @: $(MAKE); $(unstage)
23919 @[ -f ./readline/Makefile ] || exit 0; \
23920 r=`${PWD_COMMAND}`; export r; \
23921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23922 $(HOST_EXPORTS) \
23923 for flag in $(EXTRA_HOST_FLAGS) ; do \
23924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23925 done; \
23926 echo "Doing maintainer-clean in readline" ; \
23927 (cd $(HOST_SUBDIR)/readline && \
23928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23930 "RANLIB=$${RANLIB}" \
23931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23932 maintainer-clean) \
23933 || exit 1
23935 @endif readline
23939 .PHONY: configure-sid maybe-configure-sid
23940 maybe-configure-sid:
23941 @if gcc-bootstrap
23942 configure-sid: stage_current
23943 @endif gcc-bootstrap
23944 @if sid
23945 maybe-configure-sid: configure-sid
23946 configure-sid:
23947 @: $(MAKE); $(unstage)
23948 @r=`${PWD_COMMAND}`; export r; \
23949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23950 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23952 $(HOST_EXPORTS) \
23953 echo Configuring in $(HOST_SUBDIR)/sid; \
23954 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23955 case $(srcdir) in \
23956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23957 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23959 esac; \
23960 srcdiroption="--srcdir=$${topdir}/sid"; \
23961 libsrcdir="$$s/sid"; \
23962 $(SHELL) $${libsrcdir}/configure \
23963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23964 --target=${target_alias} $${srcdiroption} \
23965 || exit 1
23966 @endif sid
23972 .PHONY: all-sid maybe-all-sid
23973 maybe-all-sid:
23974 @if gcc-bootstrap
23975 all-sid: stage_current
23976 @endif gcc-bootstrap
23977 @if sid
23978 TARGET-sid=all
23979 maybe-all-sid: all-sid
23980 all-sid: configure-sid
23981 @: $(MAKE); $(unstage)
23982 @r=`${PWD_COMMAND}`; export r; \
23983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23984 $(HOST_EXPORTS) \
23985 (cd $(HOST_SUBDIR)/sid && \
23986 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23987 $(TARGET-sid))
23988 @endif sid
23993 .PHONY: check-sid maybe-check-sid
23994 maybe-check-sid:
23995 @if sid
23996 maybe-check-sid: check-sid
23998 check-sid:
23999 @: $(MAKE); $(unstage)
24000 @r=`${PWD_COMMAND}`; export r; \
24001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24002 $(HOST_EXPORTS) \
24003 (cd $(HOST_SUBDIR)/sid && \
24004 $(MAKE) $(FLAGS_TO_PASS) check)
24006 @endif sid
24008 .PHONY: install-sid maybe-install-sid
24009 maybe-install-sid:
24010 @if sid
24011 maybe-install-sid: install-sid
24013 install-sid: installdirs
24014 @: $(MAKE); $(unstage)
24015 @r=`${PWD_COMMAND}`; export r; \
24016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24017 $(HOST_EXPORTS) \
24018 (cd $(HOST_SUBDIR)/sid && \
24019 $(MAKE) $(FLAGS_TO_PASS) install)
24021 @endif sid
24023 .PHONY: install-strip-sid maybe-install-strip-sid
24024 maybe-install-strip-sid:
24025 @if sid
24026 maybe-install-strip-sid: install-strip-sid
24028 install-strip-sid: installdirs
24029 @: $(MAKE); $(unstage)
24030 @r=`${PWD_COMMAND}`; export r; \
24031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24032 $(HOST_EXPORTS) \
24033 (cd $(HOST_SUBDIR)/sid && \
24034 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24036 @endif sid
24038 # Other targets (info, dvi, pdf, etc.)
24040 .PHONY: maybe-info-sid info-sid
24041 maybe-info-sid:
24042 @if sid
24043 maybe-info-sid: info-sid
24045 info-sid: \
24046 configure-sid
24047 @: $(MAKE); $(unstage)
24048 @[ -f ./sid/Makefile ] || exit 0; \
24049 r=`${PWD_COMMAND}`; export r; \
24050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24051 $(HOST_EXPORTS) \
24052 for flag in $(EXTRA_HOST_FLAGS) ; do \
24053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24054 done; \
24055 echo "Doing info in sid" ; \
24056 (cd $(HOST_SUBDIR)/sid && \
24057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24059 "RANLIB=$${RANLIB}" \
24060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24061 info) \
24062 || exit 1
24064 @endif sid
24066 .PHONY: maybe-dvi-sid dvi-sid
24067 maybe-dvi-sid:
24068 @if sid
24069 maybe-dvi-sid: dvi-sid
24071 dvi-sid: \
24072 configure-sid
24073 @: $(MAKE); $(unstage)
24074 @[ -f ./sid/Makefile ] || exit 0; \
24075 r=`${PWD_COMMAND}`; export r; \
24076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24077 $(HOST_EXPORTS) \
24078 for flag in $(EXTRA_HOST_FLAGS) ; do \
24079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24080 done; \
24081 echo "Doing dvi in sid" ; \
24082 (cd $(HOST_SUBDIR)/sid && \
24083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24085 "RANLIB=$${RANLIB}" \
24086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24087 dvi) \
24088 || exit 1
24090 @endif sid
24092 .PHONY: maybe-pdf-sid pdf-sid
24093 maybe-pdf-sid:
24094 @if sid
24095 maybe-pdf-sid: pdf-sid
24097 pdf-sid: \
24098 configure-sid
24099 @: $(MAKE); $(unstage)
24100 @[ -f ./sid/Makefile ] || exit 0; \
24101 r=`${PWD_COMMAND}`; export r; \
24102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24103 $(HOST_EXPORTS) \
24104 for flag in $(EXTRA_HOST_FLAGS) ; do \
24105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24106 done; \
24107 echo "Doing pdf in sid" ; \
24108 (cd $(HOST_SUBDIR)/sid && \
24109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24111 "RANLIB=$${RANLIB}" \
24112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24113 pdf) \
24114 || exit 1
24116 @endif sid
24118 .PHONY: maybe-html-sid html-sid
24119 maybe-html-sid:
24120 @if sid
24121 maybe-html-sid: html-sid
24123 html-sid: \
24124 configure-sid
24125 @: $(MAKE); $(unstage)
24126 @[ -f ./sid/Makefile ] || exit 0; \
24127 r=`${PWD_COMMAND}`; export r; \
24128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24129 $(HOST_EXPORTS) \
24130 for flag in $(EXTRA_HOST_FLAGS) ; do \
24131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24132 done; \
24133 echo "Doing html in sid" ; \
24134 (cd $(HOST_SUBDIR)/sid && \
24135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24137 "RANLIB=$${RANLIB}" \
24138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24139 html) \
24140 || exit 1
24142 @endif sid
24144 .PHONY: maybe-TAGS-sid TAGS-sid
24145 maybe-TAGS-sid:
24146 @if sid
24147 maybe-TAGS-sid: TAGS-sid
24149 TAGS-sid: \
24150 configure-sid
24151 @: $(MAKE); $(unstage)
24152 @[ -f ./sid/Makefile ] || exit 0; \
24153 r=`${PWD_COMMAND}`; export r; \
24154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24155 $(HOST_EXPORTS) \
24156 for flag in $(EXTRA_HOST_FLAGS) ; do \
24157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24158 done; \
24159 echo "Doing TAGS in sid" ; \
24160 (cd $(HOST_SUBDIR)/sid && \
24161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24163 "RANLIB=$${RANLIB}" \
24164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24165 TAGS) \
24166 || exit 1
24168 @endif sid
24170 .PHONY: maybe-install-info-sid install-info-sid
24171 maybe-install-info-sid:
24172 @if sid
24173 maybe-install-info-sid: install-info-sid
24175 install-info-sid: \
24176 configure-sid \
24177 info-sid
24178 @: $(MAKE); $(unstage)
24179 @[ -f ./sid/Makefile ] || exit 0; \
24180 r=`${PWD_COMMAND}`; export r; \
24181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24182 $(HOST_EXPORTS) \
24183 for flag in $(EXTRA_HOST_FLAGS) ; do \
24184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24185 done; \
24186 echo "Doing install-info in sid" ; \
24187 (cd $(HOST_SUBDIR)/sid && \
24188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24190 "RANLIB=$${RANLIB}" \
24191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24192 install-info) \
24193 || exit 1
24195 @endif sid
24197 .PHONY: maybe-install-pdf-sid install-pdf-sid
24198 maybe-install-pdf-sid:
24199 @if sid
24200 maybe-install-pdf-sid: install-pdf-sid
24202 install-pdf-sid: \
24203 configure-sid \
24204 pdf-sid
24205 @: $(MAKE); $(unstage)
24206 @[ -f ./sid/Makefile ] || exit 0; \
24207 r=`${PWD_COMMAND}`; export r; \
24208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24209 $(HOST_EXPORTS) \
24210 for flag in $(EXTRA_HOST_FLAGS) ; do \
24211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24212 done; \
24213 echo "Doing install-pdf in sid" ; \
24214 (cd $(HOST_SUBDIR)/sid && \
24215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24217 "RANLIB=$${RANLIB}" \
24218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24219 install-pdf) \
24220 || exit 1
24222 @endif sid
24224 .PHONY: maybe-install-html-sid install-html-sid
24225 maybe-install-html-sid:
24226 @if sid
24227 maybe-install-html-sid: install-html-sid
24229 install-html-sid: \
24230 configure-sid \
24231 html-sid
24232 @: $(MAKE); $(unstage)
24233 @[ -f ./sid/Makefile ] || exit 0; \
24234 r=`${PWD_COMMAND}`; export r; \
24235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24236 $(HOST_EXPORTS) \
24237 for flag in $(EXTRA_HOST_FLAGS) ; do \
24238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24239 done; \
24240 echo "Doing install-html in sid" ; \
24241 (cd $(HOST_SUBDIR)/sid && \
24242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24244 "RANLIB=$${RANLIB}" \
24245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24246 install-html) \
24247 || exit 1
24249 @endif sid
24251 .PHONY: maybe-installcheck-sid installcheck-sid
24252 maybe-installcheck-sid:
24253 @if sid
24254 maybe-installcheck-sid: installcheck-sid
24256 installcheck-sid: \
24257 configure-sid
24258 @: $(MAKE); $(unstage)
24259 @[ -f ./sid/Makefile ] || exit 0; \
24260 r=`${PWD_COMMAND}`; export r; \
24261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24262 $(HOST_EXPORTS) \
24263 for flag in $(EXTRA_HOST_FLAGS) ; do \
24264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24265 done; \
24266 echo "Doing installcheck in sid" ; \
24267 (cd $(HOST_SUBDIR)/sid && \
24268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24270 "RANLIB=$${RANLIB}" \
24271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24272 installcheck) \
24273 || exit 1
24275 @endif sid
24277 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
24278 maybe-mostlyclean-sid:
24279 @if sid
24280 maybe-mostlyclean-sid: mostlyclean-sid
24282 mostlyclean-sid:
24283 @: $(MAKE); $(unstage)
24284 @[ -f ./sid/Makefile ] || exit 0; \
24285 r=`${PWD_COMMAND}`; export r; \
24286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24287 $(HOST_EXPORTS) \
24288 for flag in $(EXTRA_HOST_FLAGS) ; do \
24289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24290 done; \
24291 echo "Doing mostlyclean in sid" ; \
24292 (cd $(HOST_SUBDIR)/sid && \
24293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24295 "RANLIB=$${RANLIB}" \
24296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24297 mostlyclean) \
24298 || exit 1
24300 @endif sid
24302 .PHONY: maybe-clean-sid clean-sid
24303 maybe-clean-sid:
24304 @if sid
24305 maybe-clean-sid: clean-sid
24307 clean-sid:
24308 @: $(MAKE); $(unstage)
24309 @[ -f ./sid/Makefile ] || exit 0; \
24310 r=`${PWD_COMMAND}`; export r; \
24311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24312 $(HOST_EXPORTS) \
24313 for flag in $(EXTRA_HOST_FLAGS) ; do \
24314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24315 done; \
24316 echo "Doing clean in sid" ; \
24317 (cd $(HOST_SUBDIR)/sid && \
24318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24320 "RANLIB=$${RANLIB}" \
24321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24322 clean) \
24323 || exit 1
24325 @endif sid
24327 .PHONY: maybe-distclean-sid distclean-sid
24328 maybe-distclean-sid:
24329 @if sid
24330 maybe-distclean-sid: distclean-sid
24332 distclean-sid:
24333 @: $(MAKE); $(unstage)
24334 @[ -f ./sid/Makefile ] || exit 0; \
24335 r=`${PWD_COMMAND}`; export r; \
24336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24337 $(HOST_EXPORTS) \
24338 for flag in $(EXTRA_HOST_FLAGS) ; do \
24339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24340 done; \
24341 echo "Doing distclean in sid" ; \
24342 (cd $(HOST_SUBDIR)/sid && \
24343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24345 "RANLIB=$${RANLIB}" \
24346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24347 distclean) \
24348 || exit 1
24350 @endif sid
24352 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
24353 maybe-maintainer-clean-sid:
24354 @if sid
24355 maybe-maintainer-clean-sid: maintainer-clean-sid
24357 maintainer-clean-sid:
24358 @: $(MAKE); $(unstage)
24359 @[ -f ./sid/Makefile ] || exit 0; \
24360 r=`${PWD_COMMAND}`; export r; \
24361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24362 $(HOST_EXPORTS) \
24363 for flag in $(EXTRA_HOST_FLAGS) ; do \
24364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24365 done; \
24366 echo "Doing maintainer-clean in sid" ; \
24367 (cd $(HOST_SUBDIR)/sid && \
24368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24370 "RANLIB=$${RANLIB}" \
24371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24372 maintainer-clean) \
24373 || exit 1
24375 @endif sid
24379 .PHONY: configure-sim maybe-configure-sim
24380 maybe-configure-sim:
24381 @if gcc-bootstrap
24382 configure-sim: stage_current
24383 @endif gcc-bootstrap
24384 @if sim
24385 maybe-configure-sim: configure-sim
24386 configure-sim:
24387 @: $(MAKE); $(unstage)
24388 @r=`${PWD_COMMAND}`; export r; \
24389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24390 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
24391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
24392 $(HOST_EXPORTS) \
24393 echo Configuring in $(HOST_SUBDIR)/sim; \
24394 cd "$(HOST_SUBDIR)/sim" || exit 1; \
24395 case $(srcdir) in \
24396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24397 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
24398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24399 esac; \
24400 srcdiroption="--srcdir=$${topdir}/sim"; \
24401 libsrcdir="$$s/sim"; \
24402 $(SHELL) $${libsrcdir}/configure \
24403 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24404 --target=${target_alias} $${srcdiroption} \
24405 || exit 1
24406 @endif sim
24412 .PHONY: all-sim maybe-all-sim
24413 maybe-all-sim:
24414 @if gcc-bootstrap
24415 all-sim: stage_current
24416 @endif gcc-bootstrap
24417 @if sim
24418 TARGET-sim=all
24419 maybe-all-sim: all-sim
24420 all-sim: configure-sim
24421 @: $(MAKE); $(unstage)
24422 @r=`${PWD_COMMAND}`; export r; \
24423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24424 $(HOST_EXPORTS) \
24425 (cd $(HOST_SUBDIR)/sim && \
24426 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24427 $(TARGET-sim))
24428 @endif sim
24433 .PHONY: check-sim maybe-check-sim
24434 maybe-check-sim:
24435 @if sim
24436 maybe-check-sim: check-sim
24438 check-sim:
24439 @: $(MAKE); $(unstage)
24440 @r=`${PWD_COMMAND}`; export r; \
24441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24442 $(HOST_EXPORTS) \
24443 (cd $(HOST_SUBDIR)/sim && \
24444 $(MAKE) $(FLAGS_TO_PASS) check)
24446 @endif sim
24448 .PHONY: install-sim maybe-install-sim
24449 maybe-install-sim:
24450 @if sim
24451 maybe-install-sim: install-sim
24453 install-sim: installdirs
24454 @: $(MAKE); $(unstage)
24455 @r=`${PWD_COMMAND}`; export r; \
24456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24457 $(HOST_EXPORTS) \
24458 (cd $(HOST_SUBDIR)/sim && \
24459 $(MAKE) $(FLAGS_TO_PASS) install)
24461 @endif sim
24463 .PHONY: install-strip-sim maybe-install-strip-sim
24464 maybe-install-strip-sim:
24465 @if sim
24466 maybe-install-strip-sim: install-strip-sim
24468 install-strip-sim: installdirs
24469 @: $(MAKE); $(unstage)
24470 @r=`${PWD_COMMAND}`; export r; \
24471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24472 $(HOST_EXPORTS) \
24473 (cd $(HOST_SUBDIR)/sim && \
24474 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24476 @endif sim
24478 # Other targets (info, dvi, pdf, etc.)
24480 .PHONY: maybe-info-sim info-sim
24481 maybe-info-sim:
24482 @if sim
24483 maybe-info-sim: info-sim
24485 info-sim: \
24486 configure-sim
24487 @: $(MAKE); $(unstage)
24488 @[ -f ./sim/Makefile ] || exit 0; \
24489 r=`${PWD_COMMAND}`; export r; \
24490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24491 $(HOST_EXPORTS) \
24492 for flag in $(EXTRA_HOST_FLAGS) ; do \
24493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24494 done; \
24495 echo "Doing info in sim" ; \
24496 (cd $(HOST_SUBDIR)/sim && \
24497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24499 "RANLIB=$${RANLIB}" \
24500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24501 info) \
24502 || exit 1
24504 @endif sim
24506 .PHONY: maybe-dvi-sim dvi-sim
24507 maybe-dvi-sim:
24508 @if sim
24509 maybe-dvi-sim: dvi-sim
24511 dvi-sim: \
24512 configure-sim
24513 @: $(MAKE); $(unstage)
24514 @[ -f ./sim/Makefile ] || exit 0; \
24515 r=`${PWD_COMMAND}`; export r; \
24516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24517 $(HOST_EXPORTS) \
24518 for flag in $(EXTRA_HOST_FLAGS) ; do \
24519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24520 done; \
24521 echo "Doing dvi in sim" ; \
24522 (cd $(HOST_SUBDIR)/sim && \
24523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24525 "RANLIB=$${RANLIB}" \
24526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24527 dvi) \
24528 || exit 1
24530 @endif sim
24532 .PHONY: maybe-pdf-sim pdf-sim
24533 maybe-pdf-sim:
24534 @if sim
24535 maybe-pdf-sim: pdf-sim
24537 pdf-sim: \
24538 configure-sim
24539 @: $(MAKE); $(unstage)
24540 @[ -f ./sim/Makefile ] || exit 0; \
24541 r=`${PWD_COMMAND}`; export r; \
24542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24543 $(HOST_EXPORTS) \
24544 for flag in $(EXTRA_HOST_FLAGS) ; do \
24545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24546 done; \
24547 echo "Doing pdf in sim" ; \
24548 (cd $(HOST_SUBDIR)/sim && \
24549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24551 "RANLIB=$${RANLIB}" \
24552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24553 pdf) \
24554 || exit 1
24556 @endif sim
24558 .PHONY: maybe-html-sim html-sim
24559 maybe-html-sim:
24560 @if sim
24561 maybe-html-sim: html-sim
24563 html-sim: \
24564 configure-sim
24565 @: $(MAKE); $(unstage)
24566 @[ -f ./sim/Makefile ] || exit 0; \
24567 r=`${PWD_COMMAND}`; export r; \
24568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24569 $(HOST_EXPORTS) \
24570 for flag in $(EXTRA_HOST_FLAGS) ; do \
24571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24572 done; \
24573 echo "Doing html in sim" ; \
24574 (cd $(HOST_SUBDIR)/sim && \
24575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24577 "RANLIB=$${RANLIB}" \
24578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24579 html) \
24580 || exit 1
24582 @endif sim
24584 .PHONY: maybe-TAGS-sim TAGS-sim
24585 maybe-TAGS-sim:
24586 @if sim
24587 maybe-TAGS-sim: TAGS-sim
24589 TAGS-sim: \
24590 configure-sim
24591 @: $(MAKE); $(unstage)
24592 @[ -f ./sim/Makefile ] || exit 0; \
24593 r=`${PWD_COMMAND}`; export r; \
24594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24595 $(HOST_EXPORTS) \
24596 for flag in $(EXTRA_HOST_FLAGS) ; do \
24597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24598 done; \
24599 echo "Doing TAGS in sim" ; \
24600 (cd $(HOST_SUBDIR)/sim && \
24601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24603 "RANLIB=$${RANLIB}" \
24604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24605 TAGS) \
24606 || exit 1
24608 @endif sim
24610 .PHONY: maybe-install-info-sim install-info-sim
24611 maybe-install-info-sim:
24612 @if sim
24613 maybe-install-info-sim: install-info-sim
24615 install-info-sim: \
24616 configure-sim \
24617 info-sim
24618 @: $(MAKE); $(unstage)
24619 @[ -f ./sim/Makefile ] || exit 0; \
24620 r=`${PWD_COMMAND}`; export r; \
24621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24622 $(HOST_EXPORTS) \
24623 for flag in $(EXTRA_HOST_FLAGS) ; do \
24624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24625 done; \
24626 echo "Doing install-info in sim" ; \
24627 (cd $(HOST_SUBDIR)/sim && \
24628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24630 "RANLIB=$${RANLIB}" \
24631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24632 install-info) \
24633 || exit 1
24635 @endif sim
24637 .PHONY: maybe-install-pdf-sim install-pdf-sim
24638 maybe-install-pdf-sim:
24639 @if sim
24640 maybe-install-pdf-sim: install-pdf-sim
24642 install-pdf-sim: \
24643 configure-sim \
24644 pdf-sim
24645 @: $(MAKE); $(unstage)
24646 @[ -f ./sim/Makefile ] || exit 0; \
24647 r=`${PWD_COMMAND}`; export r; \
24648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24649 $(HOST_EXPORTS) \
24650 for flag in $(EXTRA_HOST_FLAGS) ; do \
24651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24652 done; \
24653 echo "Doing install-pdf in sim" ; \
24654 (cd $(HOST_SUBDIR)/sim && \
24655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24657 "RANLIB=$${RANLIB}" \
24658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24659 install-pdf) \
24660 || exit 1
24662 @endif sim
24664 .PHONY: maybe-install-html-sim install-html-sim
24665 maybe-install-html-sim:
24666 @if sim
24667 maybe-install-html-sim: install-html-sim
24669 install-html-sim: \
24670 configure-sim \
24671 html-sim
24672 @: $(MAKE); $(unstage)
24673 @[ -f ./sim/Makefile ] || exit 0; \
24674 r=`${PWD_COMMAND}`; export r; \
24675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24676 $(HOST_EXPORTS) \
24677 for flag in $(EXTRA_HOST_FLAGS) ; do \
24678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24679 done; \
24680 echo "Doing install-html in sim" ; \
24681 (cd $(HOST_SUBDIR)/sim && \
24682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24684 "RANLIB=$${RANLIB}" \
24685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24686 install-html) \
24687 || exit 1
24689 @endif sim
24691 .PHONY: maybe-installcheck-sim installcheck-sim
24692 maybe-installcheck-sim:
24693 @if sim
24694 maybe-installcheck-sim: installcheck-sim
24696 installcheck-sim: \
24697 configure-sim
24698 @: $(MAKE); $(unstage)
24699 @[ -f ./sim/Makefile ] || exit 0; \
24700 r=`${PWD_COMMAND}`; export r; \
24701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24702 $(HOST_EXPORTS) \
24703 for flag in $(EXTRA_HOST_FLAGS) ; do \
24704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24705 done; \
24706 echo "Doing installcheck in sim" ; \
24707 (cd $(HOST_SUBDIR)/sim && \
24708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24710 "RANLIB=$${RANLIB}" \
24711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24712 installcheck) \
24713 || exit 1
24715 @endif sim
24717 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24718 maybe-mostlyclean-sim:
24719 @if sim
24720 maybe-mostlyclean-sim: mostlyclean-sim
24722 mostlyclean-sim:
24723 @: $(MAKE); $(unstage)
24724 @[ -f ./sim/Makefile ] || exit 0; \
24725 r=`${PWD_COMMAND}`; export r; \
24726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24727 $(HOST_EXPORTS) \
24728 for flag in $(EXTRA_HOST_FLAGS) ; do \
24729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24730 done; \
24731 echo "Doing mostlyclean in sim" ; \
24732 (cd $(HOST_SUBDIR)/sim && \
24733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24735 "RANLIB=$${RANLIB}" \
24736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24737 mostlyclean) \
24738 || exit 1
24740 @endif sim
24742 .PHONY: maybe-clean-sim clean-sim
24743 maybe-clean-sim:
24744 @if sim
24745 maybe-clean-sim: clean-sim
24747 clean-sim:
24748 @: $(MAKE); $(unstage)
24749 @[ -f ./sim/Makefile ] || exit 0; \
24750 r=`${PWD_COMMAND}`; export r; \
24751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24752 $(HOST_EXPORTS) \
24753 for flag in $(EXTRA_HOST_FLAGS) ; do \
24754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24755 done; \
24756 echo "Doing clean in sim" ; \
24757 (cd $(HOST_SUBDIR)/sim && \
24758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24760 "RANLIB=$${RANLIB}" \
24761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24762 clean) \
24763 || exit 1
24765 @endif sim
24767 .PHONY: maybe-distclean-sim distclean-sim
24768 maybe-distclean-sim:
24769 @if sim
24770 maybe-distclean-sim: distclean-sim
24772 distclean-sim:
24773 @: $(MAKE); $(unstage)
24774 @[ -f ./sim/Makefile ] || exit 0; \
24775 r=`${PWD_COMMAND}`; export r; \
24776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24777 $(HOST_EXPORTS) \
24778 for flag in $(EXTRA_HOST_FLAGS) ; do \
24779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24780 done; \
24781 echo "Doing distclean in sim" ; \
24782 (cd $(HOST_SUBDIR)/sim && \
24783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24785 "RANLIB=$${RANLIB}" \
24786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24787 distclean) \
24788 || exit 1
24790 @endif sim
24792 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24793 maybe-maintainer-clean-sim:
24794 @if sim
24795 maybe-maintainer-clean-sim: maintainer-clean-sim
24797 maintainer-clean-sim:
24798 @: $(MAKE); $(unstage)
24799 @[ -f ./sim/Makefile ] || exit 0; \
24800 r=`${PWD_COMMAND}`; export r; \
24801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24802 $(HOST_EXPORTS) \
24803 for flag in $(EXTRA_HOST_FLAGS) ; do \
24804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24805 done; \
24806 echo "Doing maintainer-clean in sim" ; \
24807 (cd $(HOST_SUBDIR)/sim && \
24808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24810 "RANLIB=$${RANLIB}" \
24811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24812 maintainer-clean) \
24813 || exit 1
24815 @endif sim
24819 .PHONY: configure-texinfo maybe-configure-texinfo
24820 maybe-configure-texinfo:
24821 @if gcc-bootstrap
24822 configure-texinfo: stage_current
24823 @endif gcc-bootstrap
24824 @if texinfo
24825 maybe-configure-texinfo: configure-texinfo
24826 configure-texinfo:
24827 @: $(MAKE); $(unstage)
24828 @r=`${PWD_COMMAND}`; export r; \
24829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24830 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24832 $(HOST_EXPORTS) \
24833 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24834 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24835 case $(srcdir) in \
24836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24837 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24839 esac; \
24840 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24841 libsrcdir="$$s/texinfo"; \
24842 $(SHELL) $${libsrcdir}/configure \
24843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24844 --target=${target_alias} $${srcdiroption} \
24845 || exit 1
24846 @endif texinfo
24852 .PHONY: all-texinfo maybe-all-texinfo
24853 maybe-all-texinfo:
24854 @if gcc-bootstrap
24855 all-texinfo: stage_current
24856 @endif gcc-bootstrap
24857 @if texinfo
24858 TARGET-texinfo=all
24859 maybe-all-texinfo: all-texinfo
24860 all-texinfo: configure-texinfo
24861 @: $(MAKE); $(unstage)
24862 @r=`${PWD_COMMAND}`; export r; \
24863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24864 $(HOST_EXPORTS) \
24865 (cd $(HOST_SUBDIR)/texinfo && \
24866 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24867 $(TARGET-texinfo))
24868 @endif texinfo
24873 .PHONY: check-texinfo maybe-check-texinfo
24874 maybe-check-texinfo:
24875 @if texinfo
24876 maybe-check-texinfo: check-texinfo
24878 check-texinfo:
24879 @: $(MAKE); $(unstage)
24880 @r=`${PWD_COMMAND}`; export r; \
24881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24882 $(HOST_EXPORTS) \
24883 (cd $(HOST_SUBDIR)/texinfo && \
24884 $(MAKE) $(FLAGS_TO_PASS) check)
24886 @endif texinfo
24888 .PHONY: install-texinfo maybe-install-texinfo
24889 maybe-install-texinfo:
24890 @if texinfo
24891 maybe-install-texinfo: install-texinfo
24893 install-texinfo:
24895 @endif texinfo
24897 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
24898 maybe-install-strip-texinfo:
24899 @if texinfo
24900 maybe-install-strip-texinfo: install-strip-texinfo
24902 install-strip-texinfo:
24904 @endif texinfo
24906 # Other targets (info, dvi, pdf, etc.)
24908 .PHONY: maybe-info-texinfo info-texinfo
24909 maybe-info-texinfo:
24910 @if texinfo
24911 maybe-info-texinfo: info-texinfo
24913 info-texinfo: \
24914 configure-texinfo
24915 @: $(MAKE); $(unstage)
24916 @[ -f ./texinfo/Makefile ] || exit 0; \
24917 r=`${PWD_COMMAND}`; export r; \
24918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24919 $(HOST_EXPORTS) \
24920 for flag in $(EXTRA_HOST_FLAGS) ; do \
24921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24922 done; \
24923 echo "Doing info in texinfo" ; \
24924 (cd $(HOST_SUBDIR)/texinfo && \
24925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24927 "RANLIB=$${RANLIB}" \
24928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24929 info) \
24930 || exit 1
24932 @endif texinfo
24934 .PHONY: maybe-dvi-texinfo dvi-texinfo
24935 maybe-dvi-texinfo:
24936 @if texinfo
24937 maybe-dvi-texinfo: dvi-texinfo
24939 dvi-texinfo: \
24940 configure-texinfo
24941 @: $(MAKE); $(unstage)
24942 @[ -f ./texinfo/Makefile ] || exit 0; \
24943 r=`${PWD_COMMAND}`; export r; \
24944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24945 $(HOST_EXPORTS) \
24946 for flag in $(EXTRA_HOST_FLAGS) ; do \
24947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24948 done; \
24949 echo "Doing dvi in texinfo" ; \
24950 (cd $(HOST_SUBDIR)/texinfo && \
24951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24953 "RANLIB=$${RANLIB}" \
24954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24955 dvi) \
24956 || exit 1
24958 @endif texinfo
24960 .PHONY: maybe-pdf-texinfo pdf-texinfo
24961 maybe-pdf-texinfo:
24962 @if texinfo
24963 maybe-pdf-texinfo: pdf-texinfo
24965 pdf-texinfo: \
24966 configure-texinfo
24967 @: $(MAKE); $(unstage)
24968 @[ -f ./texinfo/Makefile ] || exit 0; \
24969 r=`${PWD_COMMAND}`; export r; \
24970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24971 $(HOST_EXPORTS) \
24972 for flag in $(EXTRA_HOST_FLAGS) ; do \
24973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24974 done; \
24975 echo "Doing pdf in texinfo" ; \
24976 (cd $(HOST_SUBDIR)/texinfo && \
24977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24979 "RANLIB=$${RANLIB}" \
24980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24981 pdf) \
24982 || exit 1
24984 @endif texinfo
24986 .PHONY: maybe-html-texinfo html-texinfo
24987 maybe-html-texinfo:
24988 @if texinfo
24989 maybe-html-texinfo: html-texinfo
24991 html-texinfo: \
24992 configure-texinfo
24993 @: $(MAKE); $(unstage)
24994 @[ -f ./texinfo/Makefile ] || exit 0; \
24995 r=`${PWD_COMMAND}`; export r; \
24996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24997 $(HOST_EXPORTS) \
24998 for flag in $(EXTRA_HOST_FLAGS) ; do \
24999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25000 done; \
25001 echo "Doing html in texinfo" ; \
25002 (cd $(HOST_SUBDIR)/texinfo && \
25003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25005 "RANLIB=$${RANLIB}" \
25006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25007 html) \
25008 || exit 1
25010 @endif texinfo
25012 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25013 maybe-TAGS-texinfo:
25014 @if texinfo
25015 maybe-TAGS-texinfo: TAGS-texinfo
25017 TAGS-texinfo: \
25018 configure-texinfo
25019 @: $(MAKE); $(unstage)
25020 @[ -f ./texinfo/Makefile ] || exit 0; \
25021 r=`${PWD_COMMAND}`; export r; \
25022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25023 $(HOST_EXPORTS) \
25024 for flag in $(EXTRA_HOST_FLAGS) ; do \
25025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25026 done; \
25027 echo "Doing TAGS in texinfo" ; \
25028 (cd $(HOST_SUBDIR)/texinfo && \
25029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25031 "RANLIB=$${RANLIB}" \
25032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25033 TAGS) \
25034 || exit 1
25036 @endif texinfo
25038 .PHONY: maybe-install-info-texinfo install-info-texinfo
25039 maybe-install-info-texinfo:
25040 @if texinfo
25041 maybe-install-info-texinfo: install-info-texinfo
25043 install-info-texinfo: \
25044 configure-texinfo \
25045 info-texinfo
25046 @: $(MAKE); $(unstage)
25047 @[ -f ./texinfo/Makefile ] || exit 0; \
25048 r=`${PWD_COMMAND}`; export r; \
25049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25050 $(HOST_EXPORTS) \
25051 for flag in $(EXTRA_HOST_FLAGS) ; do \
25052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25053 done; \
25054 echo "Doing install-info in texinfo" ; \
25055 (cd $(HOST_SUBDIR)/texinfo && \
25056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25058 "RANLIB=$${RANLIB}" \
25059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25060 install-info) \
25061 || exit 1
25063 @endif texinfo
25065 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25066 maybe-install-pdf-texinfo:
25067 @if texinfo
25068 maybe-install-pdf-texinfo: install-pdf-texinfo
25070 install-pdf-texinfo: \
25071 configure-texinfo \
25072 pdf-texinfo
25073 @: $(MAKE); $(unstage)
25074 @[ -f ./texinfo/Makefile ] || exit 0; \
25075 r=`${PWD_COMMAND}`; export r; \
25076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25077 $(HOST_EXPORTS) \
25078 for flag in $(EXTRA_HOST_FLAGS) ; do \
25079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25080 done; \
25081 echo "Doing install-pdf in texinfo" ; \
25082 (cd $(HOST_SUBDIR)/texinfo && \
25083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25085 "RANLIB=$${RANLIB}" \
25086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25087 install-pdf) \
25088 || exit 1
25090 @endif texinfo
25092 .PHONY: maybe-install-html-texinfo install-html-texinfo
25093 maybe-install-html-texinfo:
25094 @if texinfo
25095 maybe-install-html-texinfo: install-html-texinfo
25097 install-html-texinfo: \
25098 configure-texinfo \
25099 html-texinfo
25100 @: $(MAKE); $(unstage)
25101 @[ -f ./texinfo/Makefile ] || exit 0; \
25102 r=`${PWD_COMMAND}`; export r; \
25103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25104 $(HOST_EXPORTS) \
25105 for flag in $(EXTRA_HOST_FLAGS) ; do \
25106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25107 done; \
25108 echo "Doing install-html in texinfo" ; \
25109 (cd $(HOST_SUBDIR)/texinfo && \
25110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25112 "RANLIB=$${RANLIB}" \
25113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25114 install-html) \
25115 || exit 1
25117 @endif texinfo
25119 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25120 maybe-installcheck-texinfo:
25121 @if texinfo
25122 maybe-installcheck-texinfo: installcheck-texinfo
25124 installcheck-texinfo: \
25125 configure-texinfo
25126 @: $(MAKE); $(unstage)
25127 @[ -f ./texinfo/Makefile ] || exit 0; \
25128 r=`${PWD_COMMAND}`; export r; \
25129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25130 $(HOST_EXPORTS) \
25131 for flag in $(EXTRA_HOST_FLAGS) ; do \
25132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25133 done; \
25134 echo "Doing installcheck in texinfo" ; \
25135 (cd $(HOST_SUBDIR)/texinfo && \
25136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25138 "RANLIB=$${RANLIB}" \
25139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25140 installcheck) \
25141 || exit 1
25143 @endif texinfo
25145 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25146 maybe-mostlyclean-texinfo:
25147 @if texinfo
25148 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25150 mostlyclean-texinfo:
25151 @: $(MAKE); $(unstage)
25152 @[ -f ./texinfo/Makefile ] || exit 0; \
25153 r=`${PWD_COMMAND}`; export r; \
25154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25155 $(HOST_EXPORTS) \
25156 for flag in $(EXTRA_HOST_FLAGS) ; do \
25157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25158 done; \
25159 echo "Doing mostlyclean in texinfo" ; \
25160 (cd $(HOST_SUBDIR)/texinfo && \
25161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25163 "RANLIB=$${RANLIB}" \
25164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25165 mostlyclean) \
25166 || exit 1
25168 @endif texinfo
25170 .PHONY: maybe-clean-texinfo clean-texinfo
25171 maybe-clean-texinfo:
25172 @if texinfo
25173 maybe-clean-texinfo: clean-texinfo
25175 clean-texinfo:
25176 @: $(MAKE); $(unstage)
25177 @[ -f ./texinfo/Makefile ] || exit 0; \
25178 r=`${PWD_COMMAND}`; export r; \
25179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25180 $(HOST_EXPORTS) \
25181 for flag in $(EXTRA_HOST_FLAGS) ; do \
25182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25183 done; \
25184 echo "Doing clean in texinfo" ; \
25185 (cd $(HOST_SUBDIR)/texinfo && \
25186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25188 "RANLIB=$${RANLIB}" \
25189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25190 clean) \
25191 || exit 1
25193 @endif texinfo
25195 .PHONY: maybe-distclean-texinfo distclean-texinfo
25196 maybe-distclean-texinfo:
25197 @if texinfo
25198 maybe-distclean-texinfo: distclean-texinfo
25200 distclean-texinfo:
25201 @: $(MAKE); $(unstage)
25202 @[ -f ./texinfo/Makefile ] || exit 0; \
25203 r=`${PWD_COMMAND}`; export r; \
25204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25205 $(HOST_EXPORTS) \
25206 for flag in $(EXTRA_HOST_FLAGS) ; do \
25207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25208 done; \
25209 echo "Doing distclean in texinfo" ; \
25210 (cd $(HOST_SUBDIR)/texinfo && \
25211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25213 "RANLIB=$${RANLIB}" \
25214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25215 distclean) \
25216 || exit 1
25218 @endif texinfo
25220 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25221 maybe-maintainer-clean-texinfo:
25222 @if texinfo
25223 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25225 maintainer-clean-texinfo:
25226 @: $(MAKE); $(unstage)
25227 @[ -f ./texinfo/Makefile ] || exit 0; \
25228 r=`${PWD_COMMAND}`; export r; \
25229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25230 $(HOST_EXPORTS) \
25231 for flag in $(EXTRA_HOST_FLAGS) ; do \
25232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25233 done; \
25234 echo "Doing maintainer-clean in texinfo" ; \
25235 (cd $(HOST_SUBDIR)/texinfo && \
25236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25238 "RANLIB=$${RANLIB}" \
25239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25240 maintainer-clean) \
25241 || exit 1
25243 @endif texinfo
25247 .PHONY: configure-zlib maybe-configure-zlib
25248 maybe-configure-zlib:
25249 @if gcc-bootstrap
25250 configure-zlib: stage_current
25251 @endif gcc-bootstrap
25252 @if zlib
25253 maybe-configure-zlib: configure-zlib
25254 configure-zlib:
25255 @r=`${PWD_COMMAND}`; export r; \
25256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25257 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25259 $(HOST_EXPORTS) \
25260 echo Configuring in $(HOST_SUBDIR)/zlib; \
25261 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25262 case $(srcdir) in \
25263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25264 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25266 esac; \
25267 srcdiroption="--srcdir=$${topdir}/zlib"; \
25268 libsrcdir="$$s/zlib"; \
25269 $(SHELL) $${libsrcdir}/configure \
25270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25271 --target=${target_alias} $${srcdiroption} \
25272 || exit 1
25273 @endif zlib
25277 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25278 maybe-configure-stage1-zlib:
25279 @if zlib-bootstrap
25280 maybe-configure-stage1-zlib: configure-stage1-zlib
25281 configure-stage1-zlib:
25282 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25283 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25284 @r=`${PWD_COMMAND}`; export r; \
25285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25286 TFLAGS="$(STAGE1_TFLAGS)"; \
25287 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25288 $(HOST_EXPORTS) \
25289 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25290 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25291 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25292 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25294 cd $(HOST_SUBDIR)/zlib || exit 1; \
25295 case $(srcdir) in \
25296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25297 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25299 esac; \
25300 srcdiroption="--srcdir=$${topdir}/zlib"; \
25301 libsrcdir="$$s/zlib"; \
25302 $(SHELL) $${libsrcdir}/configure \
25303 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25304 --target=${target_alias} $${srcdiroption} \
25305 $(STAGE1_CONFIGURE_FLAGS)
25306 @endif zlib-bootstrap
25308 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25309 maybe-configure-stage2-zlib:
25310 @if zlib-bootstrap
25311 maybe-configure-stage2-zlib: configure-stage2-zlib
25312 configure-stage2-zlib:
25313 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25314 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25315 @r=`${PWD_COMMAND}`; export r; \
25316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25317 TFLAGS="$(STAGE2_TFLAGS)"; \
25318 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25319 $(HOST_EXPORTS) \
25320 $(POSTSTAGE1_HOST_EXPORTS) \
25321 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25322 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25323 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25324 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25326 cd $(HOST_SUBDIR)/zlib || exit 1; \
25327 case $(srcdir) in \
25328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25329 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25331 esac; \
25332 srcdiroption="--srcdir=$${topdir}/zlib"; \
25333 libsrcdir="$$s/zlib"; \
25334 $(SHELL) $${libsrcdir}/configure \
25335 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25336 --target=${target_alias} $${srcdiroption} \
25337 --with-build-libsubdir=$(HOST_SUBDIR) \
25338 $(STAGE2_CONFIGURE_FLAGS)
25339 @endif zlib-bootstrap
25341 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25342 maybe-configure-stage3-zlib:
25343 @if zlib-bootstrap
25344 maybe-configure-stage3-zlib: configure-stage3-zlib
25345 configure-stage3-zlib:
25346 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25347 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25348 @r=`${PWD_COMMAND}`; export r; \
25349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25350 TFLAGS="$(STAGE3_TFLAGS)"; \
25351 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25352 $(HOST_EXPORTS) \
25353 $(POSTSTAGE1_HOST_EXPORTS) \
25354 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25355 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25356 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25357 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25359 cd $(HOST_SUBDIR)/zlib || exit 1; \
25360 case $(srcdir) in \
25361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25362 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25364 esac; \
25365 srcdiroption="--srcdir=$${topdir}/zlib"; \
25366 libsrcdir="$$s/zlib"; \
25367 $(SHELL) $${libsrcdir}/configure \
25368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25369 --target=${target_alias} $${srcdiroption} \
25370 --with-build-libsubdir=$(HOST_SUBDIR) \
25371 $(STAGE3_CONFIGURE_FLAGS)
25372 @endif zlib-bootstrap
25374 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25375 maybe-configure-stage4-zlib:
25376 @if zlib-bootstrap
25377 maybe-configure-stage4-zlib: configure-stage4-zlib
25378 configure-stage4-zlib:
25379 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25380 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25381 @r=`${PWD_COMMAND}`; export r; \
25382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25383 TFLAGS="$(STAGE4_TFLAGS)"; \
25384 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25385 $(HOST_EXPORTS) \
25386 $(POSTSTAGE1_HOST_EXPORTS) \
25387 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25388 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25389 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25390 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25392 cd $(HOST_SUBDIR)/zlib || exit 1; \
25393 case $(srcdir) in \
25394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25395 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25397 esac; \
25398 srcdiroption="--srcdir=$${topdir}/zlib"; \
25399 libsrcdir="$$s/zlib"; \
25400 $(SHELL) $${libsrcdir}/configure \
25401 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25402 --target=${target_alias} $${srcdiroption} \
25403 --with-build-libsubdir=$(HOST_SUBDIR) \
25404 $(STAGE4_CONFIGURE_FLAGS)
25405 @endif zlib-bootstrap
25407 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25408 maybe-configure-stageprofile-zlib:
25409 @if zlib-bootstrap
25410 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25411 configure-stageprofile-zlib:
25412 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25414 @r=`${PWD_COMMAND}`; export r; \
25415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25416 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25417 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25418 $(HOST_EXPORTS) \
25419 $(POSTSTAGE1_HOST_EXPORTS) \
25420 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25421 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25422 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25423 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25425 cd $(HOST_SUBDIR)/zlib || exit 1; \
25426 case $(srcdir) in \
25427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25428 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25430 esac; \
25431 srcdiroption="--srcdir=$${topdir}/zlib"; \
25432 libsrcdir="$$s/zlib"; \
25433 $(SHELL) $${libsrcdir}/configure \
25434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25435 --target=${target_alias} $${srcdiroption} \
25436 --with-build-libsubdir=$(HOST_SUBDIR) \
25437 $(STAGEprofile_CONFIGURE_FLAGS)
25438 @endif zlib-bootstrap
25440 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25441 maybe-configure-stagefeedback-zlib:
25442 @if zlib-bootstrap
25443 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25444 configure-stagefeedback-zlib:
25445 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25446 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25447 @r=`${PWD_COMMAND}`; export r; \
25448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25449 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25450 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25451 $(HOST_EXPORTS) \
25452 $(POSTSTAGE1_HOST_EXPORTS) \
25453 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25454 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25455 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25456 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25458 cd $(HOST_SUBDIR)/zlib || exit 1; \
25459 case $(srcdir) in \
25460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25461 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25463 esac; \
25464 srcdiroption="--srcdir=$${topdir}/zlib"; \
25465 libsrcdir="$$s/zlib"; \
25466 $(SHELL) $${libsrcdir}/configure \
25467 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25468 --target=${target_alias} $${srcdiroption} \
25469 --with-build-libsubdir=$(HOST_SUBDIR) \
25470 $(STAGEfeedback_CONFIGURE_FLAGS)
25471 @endif zlib-bootstrap
25477 .PHONY: all-zlib maybe-all-zlib
25478 maybe-all-zlib:
25479 @if gcc-bootstrap
25480 all-zlib: stage_current
25481 @endif gcc-bootstrap
25482 @if zlib
25483 TARGET-zlib=all
25484 maybe-all-zlib: all-zlib
25485 all-zlib: configure-zlib
25486 @r=`${PWD_COMMAND}`; export r; \
25487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25488 $(HOST_EXPORTS) \
25489 (cd $(HOST_SUBDIR)/zlib && \
25490 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25491 $(TARGET-zlib))
25492 @endif zlib
25496 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25497 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25498 maybe-all-stage1-zlib:
25499 maybe-clean-stage1-zlib:
25500 @if zlib-bootstrap
25501 maybe-all-stage1-zlib: all-stage1-zlib
25502 all-stage1: all-stage1-zlib
25503 TARGET-stage1-zlib = $(TARGET-zlib)
25504 all-stage1-zlib: configure-stage1-zlib
25505 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25506 @r=`${PWD_COMMAND}`; export r; \
25507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25508 TFLAGS="$(STAGE1_TFLAGS)"; \
25509 $(HOST_EXPORTS) \
25510 cd $(HOST_SUBDIR)/zlib && \
25511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25512 CFLAGS="$(STAGE1_CFLAGS)" \
25513 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25514 LIBCFLAGS="$(LIBCFLAGS)" \
25515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25518 $(EXTRA_HOST_FLAGS) \
25519 TFLAGS="$(STAGE1_TFLAGS)" \
25520 $(TARGET-stage1-zlib)
25522 maybe-clean-stage1-zlib: clean-stage1-zlib
25523 clean-stage1: clean-stage1-zlib
25524 clean-stage1-zlib:
25525 @if [ $(current_stage) = stage1 ]; then \
25526 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25527 else \
25528 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
25529 $(MAKE) stage1-start; \
25530 fi; \
25531 cd $(HOST_SUBDIR)/zlib && \
25532 $(MAKE) $(EXTRA_HOST_FLAGS) \
25533 clean
25534 @endif zlib-bootstrap
25537 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25538 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25539 maybe-all-stage2-zlib:
25540 maybe-clean-stage2-zlib:
25541 @if zlib-bootstrap
25542 maybe-all-stage2-zlib: all-stage2-zlib
25543 all-stage2: all-stage2-zlib
25544 TARGET-stage2-zlib = $(TARGET-zlib)
25545 all-stage2-zlib: configure-stage2-zlib
25546 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25547 @r=`${PWD_COMMAND}`; export r; \
25548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25549 TFLAGS="$(STAGE2_TFLAGS)"; \
25550 $(HOST_EXPORTS) \
25551 $(POSTSTAGE1_HOST_EXPORTS) \
25552 cd $(HOST_SUBDIR)/zlib && \
25553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25554 CFLAGS="$(STAGE2_CFLAGS)" \
25555 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25556 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25557 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25558 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25559 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25560 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25561 TFLAGS="$(STAGE2_TFLAGS)" \
25562 $(TARGET-stage2-zlib)
25564 maybe-clean-stage2-zlib: clean-stage2-zlib
25565 clean-stage2: clean-stage2-zlib
25566 clean-stage2-zlib:
25567 @if [ $(current_stage) = stage2 ]; then \
25568 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25569 else \
25570 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
25571 $(MAKE) stage2-start; \
25572 fi; \
25573 cd $(HOST_SUBDIR)/zlib && \
25574 $(MAKE) $(EXTRA_HOST_FLAGS) \
25575 $(POSTSTAGE1_FLAGS_TO_PASS) \
25576 clean
25577 @endif zlib-bootstrap
25580 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25581 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25582 maybe-all-stage3-zlib:
25583 maybe-clean-stage3-zlib:
25584 @if zlib-bootstrap
25585 maybe-all-stage3-zlib: all-stage3-zlib
25586 all-stage3: all-stage3-zlib
25587 TARGET-stage3-zlib = $(TARGET-zlib)
25588 all-stage3-zlib: configure-stage3-zlib
25589 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25590 @r=`${PWD_COMMAND}`; export r; \
25591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25592 TFLAGS="$(STAGE3_TFLAGS)"; \
25593 $(HOST_EXPORTS) \
25594 $(POSTSTAGE1_HOST_EXPORTS) \
25595 cd $(HOST_SUBDIR)/zlib && \
25596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25597 CFLAGS="$(STAGE3_CFLAGS)" \
25598 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25599 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25604 TFLAGS="$(STAGE3_TFLAGS)" \
25605 $(TARGET-stage3-zlib)
25607 maybe-clean-stage3-zlib: clean-stage3-zlib
25608 clean-stage3: clean-stage3-zlib
25609 clean-stage3-zlib:
25610 @if [ $(current_stage) = stage3 ]; then \
25611 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25612 else \
25613 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
25614 $(MAKE) stage3-start; \
25615 fi; \
25616 cd $(HOST_SUBDIR)/zlib && \
25617 $(MAKE) $(EXTRA_HOST_FLAGS) \
25618 $(POSTSTAGE1_FLAGS_TO_PASS) \
25619 clean
25620 @endif zlib-bootstrap
25623 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25624 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25625 maybe-all-stage4-zlib:
25626 maybe-clean-stage4-zlib:
25627 @if zlib-bootstrap
25628 maybe-all-stage4-zlib: all-stage4-zlib
25629 all-stage4: all-stage4-zlib
25630 TARGET-stage4-zlib = $(TARGET-zlib)
25631 all-stage4-zlib: configure-stage4-zlib
25632 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25633 @r=`${PWD_COMMAND}`; export r; \
25634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25635 TFLAGS="$(STAGE4_TFLAGS)"; \
25636 $(HOST_EXPORTS) \
25637 $(POSTSTAGE1_HOST_EXPORTS) \
25638 cd $(HOST_SUBDIR)/zlib && \
25639 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25640 CFLAGS="$(STAGE4_CFLAGS)" \
25641 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25642 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25643 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25644 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25645 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25646 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25647 TFLAGS="$(STAGE4_TFLAGS)" \
25648 $(TARGET-stage4-zlib)
25650 maybe-clean-stage4-zlib: clean-stage4-zlib
25651 clean-stage4: clean-stage4-zlib
25652 clean-stage4-zlib:
25653 @if [ $(current_stage) = stage4 ]; then \
25654 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25655 else \
25656 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
25657 $(MAKE) stage4-start; \
25658 fi; \
25659 cd $(HOST_SUBDIR)/zlib && \
25660 $(MAKE) $(EXTRA_HOST_FLAGS) \
25661 $(POSTSTAGE1_FLAGS_TO_PASS) \
25662 clean
25663 @endif zlib-bootstrap
25666 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25667 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25668 maybe-all-stageprofile-zlib:
25669 maybe-clean-stageprofile-zlib:
25670 @if zlib-bootstrap
25671 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25672 all-stageprofile: all-stageprofile-zlib
25673 TARGET-stageprofile-zlib = $(TARGET-zlib)
25674 all-stageprofile-zlib: configure-stageprofile-zlib
25675 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25676 @r=`${PWD_COMMAND}`; export r; \
25677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25678 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25679 $(HOST_EXPORTS) \
25680 $(POSTSTAGE1_HOST_EXPORTS) \
25681 cd $(HOST_SUBDIR)/zlib && \
25682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25683 CFLAGS="$(STAGEprofile_CFLAGS)" \
25684 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25685 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25686 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25689 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25690 TFLAGS="$(STAGEprofile_TFLAGS)" \
25691 $(TARGET-stageprofile-zlib)
25693 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25694 clean-stageprofile: clean-stageprofile-zlib
25695 clean-stageprofile-zlib:
25696 @if [ $(current_stage) = stageprofile ]; then \
25697 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25698 else \
25699 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
25700 $(MAKE) stageprofile-start; \
25701 fi; \
25702 cd $(HOST_SUBDIR)/zlib && \
25703 $(MAKE) $(EXTRA_HOST_FLAGS) \
25704 $(POSTSTAGE1_FLAGS_TO_PASS) \
25705 clean
25706 @endif zlib-bootstrap
25709 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25710 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25711 maybe-all-stagefeedback-zlib:
25712 maybe-clean-stagefeedback-zlib:
25713 @if zlib-bootstrap
25714 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25715 all-stagefeedback: all-stagefeedback-zlib
25716 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25717 all-stagefeedback-zlib: configure-stagefeedback-zlib
25718 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25719 @r=`${PWD_COMMAND}`; export r; \
25720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25721 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25722 $(HOST_EXPORTS) \
25723 $(POSTSTAGE1_HOST_EXPORTS) \
25724 cd $(HOST_SUBDIR)/zlib && \
25725 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25726 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25727 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25728 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25729 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25730 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25731 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25732 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25733 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25734 $(TARGET-stagefeedback-zlib)
25736 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25737 clean-stagefeedback: clean-stagefeedback-zlib
25738 clean-stagefeedback-zlib:
25739 @if [ $(current_stage) = stagefeedback ]; then \
25740 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
25741 else \
25742 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
25743 $(MAKE) stagefeedback-start; \
25744 fi; \
25745 cd $(HOST_SUBDIR)/zlib && \
25746 $(MAKE) $(EXTRA_HOST_FLAGS) \
25747 $(POSTSTAGE1_FLAGS_TO_PASS) \
25748 clean
25749 @endif zlib-bootstrap
25755 .PHONY: check-zlib maybe-check-zlib
25756 maybe-check-zlib:
25757 @if zlib
25758 maybe-check-zlib: check-zlib
25760 check-zlib:
25762 @endif zlib
25764 .PHONY: install-zlib maybe-install-zlib
25765 maybe-install-zlib:
25766 @if zlib
25767 maybe-install-zlib: install-zlib
25769 install-zlib:
25771 @endif zlib
25773 .PHONY: install-strip-zlib maybe-install-strip-zlib
25774 maybe-install-strip-zlib:
25775 @if zlib
25776 maybe-install-strip-zlib: install-strip-zlib
25778 install-strip-zlib:
25780 @endif zlib
25782 # Other targets (info, dvi, pdf, etc.)
25784 .PHONY: maybe-info-zlib info-zlib
25785 maybe-info-zlib:
25786 @if zlib
25787 maybe-info-zlib: info-zlib
25789 info-zlib: \
25790 configure-zlib
25791 @[ -f ./zlib/Makefile ] || exit 0; \
25792 r=`${PWD_COMMAND}`; export r; \
25793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25794 $(HOST_EXPORTS) \
25795 for flag in $(EXTRA_HOST_FLAGS) ; do \
25796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25797 done; \
25798 echo "Doing info in zlib" ; \
25799 (cd $(HOST_SUBDIR)/zlib && \
25800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25802 "RANLIB=$${RANLIB}" \
25803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25804 info) \
25805 || exit 1
25807 @endif zlib
25809 .PHONY: maybe-dvi-zlib dvi-zlib
25810 maybe-dvi-zlib:
25811 @if zlib
25812 maybe-dvi-zlib: dvi-zlib
25814 dvi-zlib: \
25815 configure-zlib
25816 @[ -f ./zlib/Makefile ] || exit 0; \
25817 r=`${PWD_COMMAND}`; export r; \
25818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25819 $(HOST_EXPORTS) \
25820 for flag in $(EXTRA_HOST_FLAGS) ; do \
25821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25822 done; \
25823 echo "Doing dvi in zlib" ; \
25824 (cd $(HOST_SUBDIR)/zlib && \
25825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25827 "RANLIB=$${RANLIB}" \
25828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25829 dvi) \
25830 || exit 1
25832 @endif zlib
25834 .PHONY: maybe-pdf-zlib pdf-zlib
25835 maybe-pdf-zlib:
25836 @if zlib
25837 maybe-pdf-zlib: pdf-zlib
25839 pdf-zlib: \
25840 configure-zlib
25841 @[ -f ./zlib/Makefile ] || exit 0; \
25842 r=`${PWD_COMMAND}`; export r; \
25843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25844 $(HOST_EXPORTS) \
25845 for flag in $(EXTRA_HOST_FLAGS) ; do \
25846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25847 done; \
25848 echo "Doing pdf in zlib" ; \
25849 (cd $(HOST_SUBDIR)/zlib && \
25850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25852 "RANLIB=$${RANLIB}" \
25853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25854 pdf) \
25855 || exit 1
25857 @endif zlib
25859 .PHONY: maybe-html-zlib html-zlib
25860 maybe-html-zlib:
25861 @if zlib
25862 maybe-html-zlib: html-zlib
25864 html-zlib: \
25865 configure-zlib
25866 @[ -f ./zlib/Makefile ] || exit 0; \
25867 r=`${PWD_COMMAND}`; export r; \
25868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25869 $(HOST_EXPORTS) \
25870 for flag in $(EXTRA_HOST_FLAGS) ; do \
25871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25872 done; \
25873 echo "Doing html in zlib" ; \
25874 (cd $(HOST_SUBDIR)/zlib && \
25875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25877 "RANLIB=$${RANLIB}" \
25878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25879 html) \
25880 || exit 1
25882 @endif zlib
25884 .PHONY: maybe-TAGS-zlib TAGS-zlib
25885 maybe-TAGS-zlib:
25886 @if zlib
25887 maybe-TAGS-zlib: TAGS-zlib
25889 TAGS-zlib: \
25890 configure-zlib
25891 @[ -f ./zlib/Makefile ] || exit 0; \
25892 r=`${PWD_COMMAND}`; export r; \
25893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25894 $(HOST_EXPORTS) \
25895 for flag in $(EXTRA_HOST_FLAGS) ; do \
25896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25897 done; \
25898 echo "Doing TAGS in zlib" ; \
25899 (cd $(HOST_SUBDIR)/zlib && \
25900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25902 "RANLIB=$${RANLIB}" \
25903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25904 TAGS) \
25905 || exit 1
25907 @endif zlib
25909 .PHONY: maybe-install-info-zlib install-info-zlib
25910 maybe-install-info-zlib:
25911 @if zlib
25912 maybe-install-info-zlib: install-info-zlib
25914 install-info-zlib: \
25915 configure-zlib \
25916 info-zlib
25917 @[ -f ./zlib/Makefile ] || exit 0; \
25918 r=`${PWD_COMMAND}`; export r; \
25919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25920 $(HOST_EXPORTS) \
25921 for flag in $(EXTRA_HOST_FLAGS) ; do \
25922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25923 done; \
25924 echo "Doing install-info in zlib" ; \
25925 (cd $(HOST_SUBDIR)/zlib && \
25926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25928 "RANLIB=$${RANLIB}" \
25929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25930 install-info) \
25931 || exit 1
25933 @endif zlib
25935 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
25936 maybe-install-pdf-zlib:
25937 @if zlib
25938 maybe-install-pdf-zlib: install-pdf-zlib
25940 install-pdf-zlib: \
25941 configure-zlib \
25942 pdf-zlib
25943 @[ -f ./zlib/Makefile ] || exit 0; \
25944 r=`${PWD_COMMAND}`; export r; \
25945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25946 $(HOST_EXPORTS) \
25947 for flag in $(EXTRA_HOST_FLAGS) ; do \
25948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25949 done; \
25950 echo "Doing install-pdf in zlib" ; \
25951 (cd $(HOST_SUBDIR)/zlib && \
25952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25954 "RANLIB=$${RANLIB}" \
25955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25956 install-pdf) \
25957 || exit 1
25959 @endif zlib
25961 .PHONY: maybe-install-html-zlib install-html-zlib
25962 maybe-install-html-zlib:
25963 @if zlib
25964 maybe-install-html-zlib: install-html-zlib
25966 install-html-zlib: \
25967 configure-zlib \
25968 html-zlib
25969 @[ -f ./zlib/Makefile ] || exit 0; \
25970 r=`${PWD_COMMAND}`; export r; \
25971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25972 $(HOST_EXPORTS) \
25973 for flag in $(EXTRA_HOST_FLAGS) ; do \
25974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25975 done; \
25976 echo "Doing install-html in zlib" ; \
25977 (cd $(HOST_SUBDIR)/zlib && \
25978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25980 "RANLIB=$${RANLIB}" \
25981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25982 install-html) \
25983 || exit 1
25985 @endif zlib
25987 .PHONY: maybe-installcheck-zlib installcheck-zlib
25988 maybe-installcheck-zlib:
25989 @if zlib
25990 maybe-installcheck-zlib: installcheck-zlib
25992 installcheck-zlib: \
25993 configure-zlib
25994 @[ -f ./zlib/Makefile ] || exit 0; \
25995 r=`${PWD_COMMAND}`; export r; \
25996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25997 $(HOST_EXPORTS) \
25998 for flag in $(EXTRA_HOST_FLAGS) ; do \
25999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26000 done; \
26001 echo "Doing installcheck in zlib" ; \
26002 (cd $(HOST_SUBDIR)/zlib && \
26003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26005 "RANLIB=$${RANLIB}" \
26006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26007 installcheck) \
26008 || exit 1
26010 @endif zlib
26012 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26013 maybe-mostlyclean-zlib:
26014 @if zlib
26015 maybe-mostlyclean-zlib: mostlyclean-zlib
26017 mostlyclean-zlib:
26018 @[ -f ./zlib/Makefile ] || exit 0; \
26019 r=`${PWD_COMMAND}`; export r; \
26020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26021 $(HOST_EXPORTS) \
26022 for flag in $(EXTRA_HOST_FLAGS) ; do \
26023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26024 done; \
26025 echo "Doing mostlyclean in zlib" ; \
26026 (cd $(HOST_SUBDIR)/zlib && \
26027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26029 "RANLIB=$${RANLIB}" \
26030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26031 mostlyclean) \
26032 || exit 1
26034 @endif zlib
26036 .PHONY: maybe-clean-zlib clean-zlib
26037 maybe-clean-zlib:
26038 @if zlib
26039 maybe-clean-zlib: clean-zlib
26041 clean-zlib:
26042 @[ -f ./zlib/Makefile ] || exit 0; \
26043 r=`${PWD_COMMAND}`; export r; \
26044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26045 $(HOST_EXPORTS) \
26046 for flag in $(EXTRA_HOST_FLAGS) ; do \
26047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26048 done; \
26049 echo "Doing clean in zlib" ; \
26050 (cd $(HOST_SUBDIR)/zlib && \
26051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26053 "RANLIB=$${RANLIB}" \
26054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26055 clean) \
26056 || exit 1
26058 @endif zlib
26060 .PHONY: maybe-distclean-zlib distclean-zlib
26061 maybe-distclean-zlib:
26062 @if zlib
26063 maybe-distclean-zlib: distclean-zlib
26065 distclean-zlib:
26066 @[ -f ./zlib/Makefile ] || exit 0; \
26067 r=`${PWD_COMMAND}`; export r; \
26068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26069 $(HOST_EXPORTS) \
26070 for flag in $(EXTRA_HOST_FLAGS) ; do \
26071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26072 done; \
26073 echo "Doing distclean in zlib" ; \
26074 (cd $(HOST_SUBDIR)/zlib && \
26075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26077 "RANLIB=$${RANLIB}" \
26078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26079 distclean) \
26080 || exit 1
26082 @endif zlib
26084 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26085 maybe-maintainer-clean-zlib:
26086 @if zlib
26087 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26089 maintainer-clean-zlib:
26090 @[ -f ./zlib/Makefile ] || exit 0; \
26091 r=`${PWD_COMMAND}`; export r; \
26092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26093 $(HOST_EXPORTS) \
26094 for flag in $(EXTRA_HOST_FLAGS) ; do \
26095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26096 done; \
26097 echo "Doing maintainer-clean in zlib" ; \
26098 (cd $(HOST_SUBDIR)/zlib && \
26099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26101 "RANLIB=$${RANLIB}" \
26102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26103 maintainer-clean) \
26104 || exit 1
26106 @endif zlib
26110 .PHONY: configure-gdb maybe-configure-gdb
26111 maybe-configure-gdb:
26112 @if gcc-bootstrap
26113 configure-gdb: stage_current
26114 @endif gcc-bootstrap
26115 @if gdb
26116 maybe-configure-gdb: configure-gdb
26117 configure-gdb:
26118 @: $(MAKE); $(unstage)
26119 @r=`${PWD_COMMAND}`; export r; \
26120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26121 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26123 $(HOST_EXPORTS) \
26124 echo Configuring in $(HOST_SUBDIR)/gdb; \
26125 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26126 case $(srcdir) in \
26127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26128 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26130 esac; \
26131 srcdiroption="--srcdir=$${topdir}/gdb"; \
26132 libsrcdir="$$s/gdb"; \
26133 $(SHELL) $${libsrcdir}/configure \
26134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26135 --target=${target_alias} $${srcdiroption} \
26136 || exit 1
26137 @endif gdb
26143 .PHONY: all-gdb maybe-all-gdb
26144 maybe-all-gdb:
26145 @if gcc-bootstrap
26146 all-gdb: stage_current
26147 @endif gcc-bootstrap
26148 @if gdb
26149 TARGET-gdb=all
26150 maybe-all-gdb: all-gdb
26151 all-gdb: configure-gdb
26152 @: $(MAKE); $(unstage)
26153 @r=`${PWD_COMMAND}`; export r; \
26154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26155 $(HOST_EXPORTS) \
26156 (cd $(HOST_SUBDIR)/gdb && \
26157 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26158 $(TARGET-gdb))
26159 @endif gdb
26164 .PHONY: check-gdb maybe-check-gdb
26165 maybe-check-gdb:
26166 @if gdb
26167 maybe-check-gdb: check-gdb
26169 check-gdb:
26170 @: $(MAKE); $(unstage)
26171 @r=`${PWD_COMMAND}`; export r; \
26172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26173 $(HOST_EXPORTS) \
26174 (cd $(HOST_SUBDIR)/gdb && \
26175 $(MAKE) $(FLAGS_TO_PASS) check)
26177 @endif gdb
26179 .PHONY: install-gdb maybe-install-gdb
26180 maybe-install-gdb:
26181 @if gdb
26182 maybe-install-gdb: install-gdb
26184 install-gdb: installdirs
26185 @: $(MAKE); $(unstage)
26186 @r=`${PWD_COMMAND}`; export r; \
26187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26188 $(HOST_EXPORTS) \
26189 (cd $(HOST_SUBDIR)/gdb && \
26190 $(MAKE) $(FLAGS_TO_PASS) install)
26192 @endif gdb
26194 .PHONY: install-strip-gdb maybe-install-strip-gdb
26195 maybe-install-strip-gdb:
26196 @if gdb
26197 maybe-install-strip-gdb: install-strip-gdb
26199 install-strip-gdb: installdirs
26200 @: $(MAKE); $(unstage)
26201 @r=`${PWD_COMMAND}`; export r; \
26202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26203 $(HOST_EXPORTS) \
26204 (cd $(HOST_SUBDIR)/gdb && \
26205 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26207 @endif gdb
26209 # Other targets (info, dvi, pdf, etc.)
26211 .PHONY: maybe-info-gdb info-gdb
26212 maybe-info-gdb:
26213 @if gdb
26214 maybe-info-gdb: info-gdb
26216 info-gdb: \
26217 configure-gdb
26218 @: $(MAKE); $(unstage)
26219 @[ -f ./gdb/Makefile ] || exit 0; \
26220 r=`${PWD_COMMAND}`; export r; \
26221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26222 $(HOST_EXPORTS) \
26223 for flag in $(EXTRA_HOST_FLAGS) ; do \
26224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26225 done; \
26226 echo "Doing info in gdb" ; \
26227 (cd $(HOST_SUBDIR)/gdb && \
26228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26230 "RANLIB=$${RANLIB}" \
26231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26232 info) \
26233 || exit 1
26235 @endif gdb
26237 .PHONY: maybe-dvi-gdb dvi-gdb
26238 maybe-dvi-gdb:
26239 @if gdb
26240 maybe-dvi-gdb: dvi-gdb
26242 dvi-gdb: \
26243 configure-gdb
26244 @: $(MAKE); $(unstage)
26245 @[ -f ./gdb/Makefile ] || exit 0; \
26246 r=`${PWD_COMMAND}`; export r; \
26247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26248 $(HOST_EXPORTS) \
26249 for flag in $(EXTRA_HOST_FLAGS) ; do \
26250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26251 done; \
26252 echo "Doing dvi in gdb" ; \
26253 (cd $(HOST_SUBDIR)/gdb && \
26254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26256 "RANLIB=$${RANLIB}" \
26257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26258 dvi) \
26259 || exit 1
26261 @endif gdb
26263 .PHONY: maybe-pdf-gdb pdf-gdb
26264 maybe-pdf-gdb:
26265 @if gdb
26266 maybe-pdf-gdb: pdf-gdb
26268 pdf-gdb: \
26269 configure-gdb
26270 @: $(MAKE); $(unstage)
26271 @[ -f ./gdb/Makefile ] || exit 0; \
26272 r=`${PWD_COMMAND}`; export r; \
26273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26274 $(HOST_EXPORTS) \
26275 for flag in $(EXTRA_HOST_FLAGS) ; do \
26276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26277 done; \
26278 echo "Doing pdf in gdb" ; \
26279 (cd $(HOST_SUBDIR)/gdb && \
26280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26282 "RANLIB=$${RANLIB}" \
26283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26284 pdf) \
26285 || exit 1
26287 @endif gdb
26289 .PHONY: maybe-html-gdb html-gdb
26290 maybe-html-gdb:
26291 @if gdb
26292 maybe-html-gdb: html-gdb
26294 html-gdb: \
26295 configure-gdb
26296 @: $(MAKE); $(unstage)
26297 @[ -f ./gdb/Makefile ] || exit 0; \
26298 r=`${PWD_COMMAND}`; export r; \
26299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26300 $(HOST_EXPORTS) \
26301 for flag in $(EXTRA_HOST_FLAGS) ; do \
26302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26303 done; \
26304 echo "Doing html in gdb" ; \
26305 (cd $(HOST_SUBDIR)/gdb && \
26306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26308 "RANLIB=$${RANLIB}" \
26309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26310 html) \
26311 || exit 1
26313 @endif gdb
26315 .PHONY: maybe-TAGS-gdb TAGS-gdb
26316 maybe-TAGS-gdb:
26317 @if gdb
26318 maybe-TAGS-gdb: TAGS-gdb
26320 TAGS-gdb: \
26321 configure-gdb
26322 @: $(MAKE); $(unstage)
26323 @[ -f ./gdb/Makefile ] || exit 0; \
26324 r=`${PWD_COMMAND}`; export r; \
26325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26326 $(HOST_EXPORTS) \
26327 for flag in $(EXTRA_HOST_FLAGS) ; do \
26328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26329 done; \
26330 echo "Doing TAGS in gdb" ; \
26331 (cd $(HOST_SUBDIR)/gdb && \
26332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26334 "RANLIB=$${RANLIB}" \
26335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26336 TAGS) \
26337 || exit 1
26339 @endif gdb
26341 .PHONY: maybe-install-info-gdb install-info-gdb
26342 maybe-install-info-gdb:
26343 @if gdb
26344 maybe-install-info-gdb: install-info-gdb
26346 install-info-gdb: \
26347 configure-gdb \
26348 info-gdb
26349 @: $(MAKE); $(unstage)
26350 @[ -f ./gdb/Makefile ] || exit 0; \
26351 r=`${PWD_COMMAND}`; export r; \
26352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26353 $(HOST_EXPORTS) \
26354 for flag in $(EXTRA_HOST_FLAGS) ; do \
26355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26356 done; \
26357 echo "Doing install-info in gdb" ; \
26358 (cd $(HOST_SUBDIR)/gdb && \
26359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26361 "RANLIB=$${RANLIB}" \
26362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26363 install-info) \
26364 || exit 1
26366 @endif gdb
26368 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
26369 maybe-install-pdf-gdb:
26370 @if gdb
26371 maybe-install-pdf-gdb: install-pdf-gdb
26373 install-pdf-gdb: \
26374 configure-gdb \
26375 pdf-gdb
26376 @: $(MAKE); $(unstage)
26377 @[ -f ./gdb/Makefile ] || exit 0; \
26378 r=`${PWD_COMMAND}`; export r; \
26379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26380 $(HOST_EXPORTS) \
26381 for flag in $(EXTRA_HOST_FLAGS) ; do \
26382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26383 done; \
26384 echo "Doing install-pdf in gdb" ; \
26385 (cd $(HOST_SUBDIR)/gdb && \
26386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26388 "RANLIB=$${RANLIB}" \
26389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26390 install-pdf) \
26391 || exit 1
26393 @endif gdb
26395 .PHONY: maybe-install-html-gdb install-html-gdb
26396 maybe-install-html-gdb:
26397 @if gdb
26398 maybe-install-html-gdb: install-html-gdb
26400 install-html-gdb: \
26401 configure-gdb \
26402 html-gdb
26403 @: $(MAKE); $(unstage)
26404 @[ -f ./gdb/Makefile ] || exit 0; \
26405 r=`${PWD_COMMAND}`; export r; \
26406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26407 $(HOST_EXPORTS) \
26408 for flag in $(EXTRA_HOST_FLAGS) ; do \
26409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26410 done; \
26411 echo "Doing install-html in gdb" ; \
26412 (cd $(HOST_SUBDIR)/gdb && \
26413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26415 "RANLIB=$${RANLIB}" \
26416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26417 install-html) \
26418 || exit 1
26420 @endif gdb
26422 .PHONY: maybe-installcheck-gdb installcheck-gdb
26423 maybe-installcheck-gdb:
26424 @if gdb
26425 maybe-installcheck-gdb: installcheck-gdb
26427 installcheck-gdb: \
26428 configure-gdb
26429 @: $(MAKE); $(unstage)
26430 @[ -f ./gdb/Makefile ] || exit 0; \
26431 r=`${PWD_COMMAND}`; export r; \
26432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26433 $(HOST_EXPORTS) \
26434 for flag in $(EXTRA_HOST_FLAGS) ; do \
26435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26436 done; \
26437 echo "Doing installcheck in gdb" ; \
26438 (cd $(HOST_SUBDIR)/gdb && \
26439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26441 "RANLIB=$${RANLIB}" \
26442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26443 installcheck) \
26444 || exit 1
26446 @endif gdb
26448 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26449 maybe-mostlyclean-gdb:
26450 @if gdb
26451 maybe-mostlyclean-gdb: mostlyclean-gdb
26453 mostlyclean-gdb:
26454 @: $(MAKE); $(unstage)
26455 @[ -f ./gdb/Makefile ] || exit 0; \
26456 r=`${PWD_COMMAND}`; export r; \
26457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26458 $(HOST_EXPORTS) \
26459 for flag in $(EXTRA_HOST_FLAGS) ; do \
26460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26461 done; \
26462 echo "Doing mostlyclean in gdb" ; \
26463 (cd $(HOST_SUBDIR)/gdb && \
26464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26466 "RANLIB=$${RANLIB}" \
26467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26468 mostlyclean) \
26469 || exit 1
26471 @endif gdb
26473 .PHONY: maybe-clean-gdb clean-gdb
26474 maybe-clean-gdb:
26475 @if gdb
26476 maybe-clean-gdb: clean-gdb
26478 clean-gdb:
26479 @: $(MAKE); $(unstage)
26480 @[ -f ./gdb/Makefile ] || exit 0; \
26481 r=`${PWD_COMMAND}`; export r; \
26482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26483 $(HOST_EXPORTS) \
26484 for flag in $(EXTRA_HOST_FLAGS) ; do \
26485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26486 done; \
26487 echo "Doing clean in gdb" ; \
26488 (cd $(HOST_SUBDIR)/gdb && \
26489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26491 "RANLIB=$${RANLIB}" \
26492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26493 clean) \
26494 || exit 1
26496 @endif gdb
26498 .PHONY: maybe-distclean-gdb distclean-gdb
26499 maybe-distclean-gdb:
26500 @if gdb
26501 maybe-distclean-gdb: distclean-gdb
26503 distclean-gdb:
26504 @: $(MAKE); $(unstage)
26505 @[ -f ./gdb/Makefile ] || exit 0; \
26506 r=`${PWD_COMMAND}`; export r; \
26507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26508 $(HOST_EXPORTS) \
26509 for flag in $(EXTRA_HOST_FLAGS) ; do \
26510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26511 done; \
26512 echo "Doing distclean in gdb" ; \
26513 (cd $(HOST_SUBDIR)/gdb && \
26514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26516 "RANLIB=$${RANLIB}" \
26517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26518 distclean) \
26519 || exit 1
26521 @endif gdb
26523 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26524 maybe-maintainer-clean-gdb:
26525 @if gdb
26526 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26528 maintainer-clean-gdb:
26529 @: $(MAKE); $(unstage)
26530 @[ -f ./gdb/Makefile ] || exit 0; \
26531 r=`${PWD_COMMAND}`; export r; \
26532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26533 $(HOST_EXPORTS) \
26534 for flag in $(EXTRA_HOST_FLAGS) ; do \
26535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26536 done; \
26537 echo "Doing maintainer-clean in gdb" ; \
26538 (cd $(HOST_SUBDIR)/gdb && \
26539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26541 "RANLIB=$${RANLIB}" \
26542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26543 maintainer-clean) \
26544 || exit 1
26546 @endif gdb
26550 .PHONY: configure-expect maybe-configure-expect
26551 maybe-configure-expect:
26552 @if gcc-bootstrap
26553 configure-expect: stage_current
26554 @endif gcc-bootstrap
26555 @if expect
26556 maybe-configure-expect: configure-expect
26557 configure-expect:
26558 @: $(MAKE); $(unstage)
26559 @r=`${PWD_COMMAND}`; export r; \
26560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26561 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26563 $(HOST_EXPORTS) \
26564 echo Configuring in $(HOST_SUBDIR)/expect; \
26565 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26566 case $(srcdir) in \
26567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26568 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26570 esac; \
26571 srcdiroption="--srcdir=$${topdir}/expect"; \
26572 libsrcdir="$$s/expect"; \
26573 $(SHELL) $${libsrcdir}/configure \
26574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26575 --target=${target_alias} $${srcdiroption} \
26576 || exit 1
26577 @endif expect
26583 .PHONY: all-expect maybe-all-expect
26584 maybe-all-expect:
26585 @if gcc-bootstrap
26586 all-expect: stage_current
26587 @endif gcc-bootstrap
26588 @if expect
26589 TARGET-expect=all
26590 maybe-all-expect: all-expect
26591 all-expect: configure-expect
26592 @: $(MAKE); $(unstage)
26593 @r=`${PWD_COMMAND}`; export r; \
26594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26595 $(HOST_EXPORTS) \
26596 (cd $(HOST_SUBDIR)/expect && \
26597 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26598 $(TARGET-expect))
26599 @endif expect
26604 .PHONY: check-expect maybe-check-expect
26605 maybe-check-expect:
26606 @if expect
26607 maybe-check-expect: check-expect
26609 check-expect:
26610 @: $(MAKE); $(unstage)
26611 @r=`${PWD_COMMAND}`; export r; \
26612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26613 $(HOST_EXPORTS) \
26614 (cd $(HOST_SUBDIR)/expect && \
26615 $(MAKE) $(FLAGS_TO_PASS) check)
26617 @endif expect
26619 .PHONY: install-expect maybe-install-expect
26620 maybe-install-expect:
26621 @if expect
26622 maybe-install-expect: install-expect
26624 install-expect: installdirs
26625 @: $(MAKE); $(unstage)
26626 @r=`${PWD_COMMAND}`; export r; \
26627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26628 $(HOST_EXPORTS) \
26629 (cd $(HOST_SUBDIR)/expect && \
26630 $(MAKE) $(FLAGS_TO_PASS) install)
26632 @endif expect
26634 .PHONY: install-strip-expect maybe-install-strip-expect
26635 maybe-install-strip-expect:
26636 @if expect
26637 maybe-install-strip-expect: install-strip-expect
26639 install-strip-expect: installdirs
26640 @: $(MAKE); $(unstage)
26641 @r=`${PWD_COMMAND}`; export r; \
26642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26643 $(HOST_EXPORTS) \
26644 (cd $(HOST_SUBDIR)/expect && \
26645 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26647 @endif expect
26649 # Other targets (info, dvi, pdf, etc.)
26651 .PHONY: maybe-info-expect info-expect
26652 maybe-info-expect:
26653 @if expect
26654 maybe-info-expect: info-expect
26656 info-expect: \
26657 configure-expect
26658 @: $(MAKE); $(unstage)
26659 @[ -f ./expect/Makefile ] || exit 0; \
26660 r=`${PWD_COMMAND}`; export r; \
26661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26662 $(HOST_EXPORTS) \
26663 for flag in $(EXTRA_HOST_FLAGS) ; do \
26664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26665 done; \
26666 echo "Doing info in expect" ; \
26667 (cd $(HOST_SUBDIR)/expect && \
26668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26670 "RANLIB=$${RANLIB}" \
26671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26672 info) \
26673 || exit 1
26675 @endif expect
26677 .PHONY: maybe-dvi-expect dvi-expect
26678 maybe-dvi-expect:
26679 @if expect
26680 maybe-dvi-expect: dvi-expect
26682 dvi-expect: \
26683 configure-expect
26684 @: $(MAKE); $(unstage)
26685 @[ -f ./expect/Makefile ] || exit 0; \
26686 r=`${PWD_COMMAND}`; export r; \
26687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26688 $(HOST_EXPORTS) \
26689 for flag in $(EXTRA_HOST_FLAGS) ; do \
26690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26691 done; \
26692 echo "Doing dvi in expect" ; \
26693 (cd $(HOST_SUBDIR)/expect && \
26694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26696 "RANLIB=$${RANLIB}" \
26697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26698 dvi) \
26699 || exit 1
26701 @endif expect
26703 .PHONY: maybe-pdf-expect pdf-expect
26704 maybe-pdf-expect:
26705 @if expect
26706 maybe-pdf-expect: pdf-expect
26708 pdf-expect: \
26709 configure-expect
26710 @: $(MAKE); $(unstage)
26711 @[ -f ./expect/Makefile ] || exit 0; \
26712 r=`${PWD_COMMAND}`; export r; \
26713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26714 $(HOST_EXPORTS) \
26715 for flag in $(EXTRA_HOST_FLAGS) ; do \
26716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26717 done; \
26718 echo "Doing pdf in expect" ; \
26719 (cd $(HOST_SUBDIR)/expect && \
26720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26722 "RANLIB=$${RANLIB}" \
26723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26724 pdf) \
26725 || exit 1
26727 @endif expect
26729 .PHONY: maybe-html-expect html-expect
26730 maybe-html-expect:
26731 @if expect
26732 maybe-html-expect: html-expect
26734 html-expect: \
26735 configure-expect
26736 @: $(MAKE); $(unstage)
26737 @[ -f ./expect/Makefile ] || exit 0; \
26738 r=`${PWD_COMMAND}`; export r; \
26739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26740 $(HOST_EXPORTS) \
26741 for flag in $(EXTRA_HOST_FLAGS) ; do \
26742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26743 done; \
26744 echo "Doing html in expect" ; \
26745 (cd $(HOST_SUBDIR)/expect && \
26746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26748 "RANLIB=$${RANLIB}" \
26749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26750 html) \
26751 || exit 1
26753 @endif expect
26755 .PHONY: maybe-TAGS-expect TAGS-expect
26756 maybe-TAGS-expect:
26757 @if expect
26758 maybe-TAGS-expect: TAGS-expect
26760 TAGS-expect: \
26761 configure-expect
26762 @: $(MAKE); $(unstage)
26763 @[ -f ./expect/Makefile ] || exit 0; \
26764 r=`${PWD_COMMAND}`; export r; \
26765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26766 $(HOST_EXPORTS) \
26767 for flag in $(EXTRA_HOST_FLAGS) ; do \
26768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26769 done; \
26770 echo "Doing TAGS in expect" ; \
26771 (cd $(HOST_SUBDIR)/expect && \
26772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26774 "RANLIB=$${RANLIB}" \
26775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26776 TAGS) \
26777 || exit 1
26779 @endif expect
26781 .PHONY: maybe-install-info-expect install-info-expect
26782 maybe-install-info-expect:
26783 @if expect
26784 maybe-install-info-expect: install-info-expect
26786 install-info-expect: \
26787 configure-expect \
26788 info-expect
26789 @: $(MAKE); $(unstage)
26790 @[ -f ./expect/Makefile ] || exit 0; \
26791 r=`${PWD_COMMAND}`; export r; \
26792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26793 $(HOST_EXPORTS) \
26794 for flag in $(EXTRA_HOST_FLAGS) ; do \
26795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26796 done; \
26797 echo "Doing install-info in expect" ; \
26798 (cd $(HOST_SUBDIR)/expect && \
26799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26801 "RANLIB=$${RANLIB}" \
26802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26803 install-info) \
26804 || exit 1
26806 @endif expect
26808 .PHONY: maybe-install-pdf-expect install-pdf-expect
26809 maybe-install-pdf-expect:
26810 @if expect
26811 maybe-install-pdf-expect: install-pdf-expect
26813 install-pdf-expect: \
26814 configure-expect \
26815 pdf-expect
26816 @: $(MAKE); $(unstage)
26817 @[ -f ./expect/Makefile ] || exit 0; \
26818 r=`${PWD_COMMAND}`; export r; \
26819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26820 $(HOST_EXPORTS) \
26821 for flag in $(EXTRA_HOST_FLAGS) ; do \
26822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26823 done; \
26824 echo "Doing install-pdf in expect" ; \
26825 (cd $(HOST_SUBDIR)/expect && \
26826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26828 "RANLIB=$${RANLIB}" \
26829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26830 install-pdf) \
26831 || exit 1
26833 @endif expect
26835 .PHONY: maybe-install-html-expect install-html-expect
26836 maybe-install-html-expect:
26837 @if expect
26838 maybe-install-html-expect: install-html-expect
26840 install-html-expect: \
26841 configure-expect \
26842 html-expect
26843 @: $(MAKE); $(unstage)
26844 @[ -f ./expect/Makefile ] || exit 0; \
26845 r=`${PWD_COMMAND}`; export r; \
26846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26847 $(HOST_EXPORTS) \
26848 for flag in $(EXTRA_HOST_FLAGS) ; do \
26849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26850 done; \
26851 echo "Doing install-html in expect" ; \
26852 (cd $(HOST_SUBDIR)/expect && \
26853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26855 "RANLIB=$${RANLIB}" \
26856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26857 install-html) \
26858 || exit 1
26860 @endif expect
26862 .PHONY: maybe-installcheck-expect installcheck-expect
26863 maybe-installcheck-expect:
26864 @if expect
26865 maybe-installcheck-expect: installcheck-expect
26867 installcheck-expect: \
26868 configure-expect
26869 @: $(MAKE); $(unstage)
26870 @[ -f ./expect/Makefile ] || exit 0; \
26871 r=`${PWD_COMMAND}`; export r; \
26872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26873 $(HOST_EXPORTS) \
26874 for flag in $(EXTRA_HOST_FLAGS) ; do \
26875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26876 done; \
26877 echo "Doing installcheck in expect" ; \
26878 (cd $(HOST_SUBDIR)/expect && \
26879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26881 "RANLIB=$${RANLIB}" \
26882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26883 installcheck) \
26884 || exit 1
26886 @endif expect
26888 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26889 maybe-mostlyclean-expect:
26890 @if expect
26891 maybe-mostlyclean-expect: mostlyclean-expect
26893 mostlyclean-expect:
26894 @: $(MAKE); $(unstage)
26895 @[ -f ./expect/Makefile ] || exit 0; \
26896 r=`${PWD_COMMAND}`; export r; \
26897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26898 $(HOST_EXPORTS) \
26899 for flag in $(EXTRA_HOST_FLAGS) ; do \
26900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26901 done; \
26902 echo "Doing mostlyclean in expect" ; \
26903 (cd $(HOST_SUBDIR)/expect && \
26904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26906 "RANLIB=$${RANLIB}" \
26907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26908 mostlyclean) \
26909 || exit 1
26911 @endif expect
26913 .PHONY: maybe-clean-expect clean-expect
26914 maybe-clean-expect:
26915 @if expect
26916 maybe-clean-expect: clean-expect
26918 clean-expect:
26919 @: $(MAKE); $(unstage)
26920 @[ -f ./expect/Makefile ] || exit 0; \
26921 r=`${PWD_COMMAND}`; export r; \
26922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26923 $(HOST_EXPORTS) \
26924 for flag in $(EXTRA_HOST_FLAGS) ; do \
26925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26926 done; \
26927 echo "Doing clean in expect" ; \
26928 (cd $(HOST_SUBDIR)/expect && \
26929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26931 "RANLIB=$${RANLIB}" \
26932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26933 clean) \
26934 || exit 1
26936 @endif expect
26938 .PHONY: maybe-distclean-expect distclean-expect
26939 maybe-distclean-expect:
26940 @if expect
26941 maybe-distclean-expect: distclean-expect
26943 distclean-expect:
26944 @: $(MAKE); $(unstage)
26945 @[ -f ./expect/Makefile ] || exit 0; \
26946 r=`${PWD_COMMAND}`; export r; \
26947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26948 $(HOST_EXPORTS) \
26949 for flag in $(EXTRA_HOST_FLAGS) ; do \
26950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26951 done; \
26952 echo "Doing distclean in expect" ; \
26953 (cd $(HOST_SUBDIR)/expect && \
26954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26956 "RANLIB=$${RANLIB}" \
26957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26958 distclean) \
26959 || exit 1
26961 @endif expect
26963 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26964 maybe-maintainer-clean-expect:
26965 @if expect
26966 maybe-maintainer-clean-expect: maintainer-clean-expect
26968 maintainer-clean-expect:
26969 @: $(MAKE); $(unstage)
26970 @[ -f ./expect/Makefile ] || exit 0; \
26971 r=`${PWD_COMMAND}`; export r; \
26972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26973 $(HOST_EXPORTS) \
26974 for flag in $(EXTRA_HOST_FLAGS) ; do \
26975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26976 done; \
26977 echo "Doing maintainer-clean in expect" ; \
26978 (cd $(HOST_SUBDIR)/expect && \
26979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26981 "RANLIB=$${RANLIB}" \
26982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26983 maintainer-clean) \
26984 || exit 1
26986 @endif expect
26990 .PHONY: configure-guile maybe-configure-guile
26991 maybe-configure-guile:
26992 @if gcc-bootstrap
26993 configure-guile: stage_current
26994 @endif gcc-bootstrap
26995 @if guile
26996 maybe-configure-guile: configure-guile
26997 configure-guile:
26998 @: $(MAKE); $(unstage)
26999 @r=`${PWD_COMMAND}`; export r; \
27000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27001 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27003 $(HOST_EXPORTS) \
27004 echo Configuring in $(HOST_SUBDIR)/guile; \
27005 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27006 case $(srcdir) in \
27007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27008 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27010 esac; \
27011 srcdiroption="--srcdir=$${topdir}/guile"; \
27012 libsrcdir="$$s/guile"; \
27013 $(SHELL) $${libsrcdir}/configure \
27014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27015 --target=${target_alias} $${srcdiroption} \
27016 || exit 1
27017 @endif guile
27023 .PHONY: all-guile maybe-all-guile
27024 maybe-all-guile:
27025 @if gcc-bootstrap
27026 all-guile: stage_current
27027 @endif gcc-bootstrap
27028 @if guile
27029 TARGET-guile=all
27030 maybe-all-guile: all-guile
27031 all-guile: configure-guile
27032 @: $(MAKE); $(unstage)
27033 @r=`${PWD_COMMAND}`; export r; \
27034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27035 $(HOST_EXPORTS) \
27036 (cd $(HOST_SUBDIR)/guile && \
27037 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27038 $(TARGET-guile))
27039 @endif guile
27044 .PHONY: check-guile maybe-check-guile
27045 maybe-check-guile:
27046 @if guile
27047 maybe-check-guile: check-guile
27049 check-guile:
27050 @: $(MAKE); $(unstage)
27051 @r=`${PWD_COMMAND}`; export r; \
27052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27053 $(HOST_EXPORTS) \
27054 (cd $(HOST_SUBDIR)/guile && \
27055 $(MAKE) $(FLAGS_TO_PASS) check)
27057 @endif guile
27059 .PHONY: install-guile maybe-install-guile
27060 maybe-install-guile:
27061 @if guile
27062 maybe-install-guile: install-guile
27064 install-guile: installdirs
27065 @: $(MAKE); $(unstage)
27066 @r=`${PWD_COMMAND}`; export r; \
27067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27068 $(HOST_EXPORTS) \
27069 (cd $(HOST_SUBDIR)/guile && \
27070 $(MAKE) $(FLAGS_TO_PASS) install)
27072 @endif guile
27074 .PHONY: install-strip-guile maybe-install-strip-guile
27075 maybe-install-strip-guile:
27076 @if guile
27077 maybe-install-strip-guile: install-strip-guile
27079 install-strip-guile: installdirs
27080 @: $(MAKE); $(unstage)
27081 @r=`${PWD_COMMAND}`; export r; \
27082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27083 $(HOST_EXPORTS) \
27084 (cd $(HOST_SUBDIR)/guile && \
27085 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27087 @endif guile
27089 # Other targets (info, dvi, pdf, etc.)
27091 .PHONY: maybe-info-guile info-guile
27092 maybe-info-guile:
27093 @if guile
27094 maybe-info-guile: info-guile
27096 info-guile: \
27097 configure-guile
27098 @: $(MAKE); $(unstage)
27099 @[ -f ./guile/Makefile ] || exit 0; \
27100 r=`${PWD_COMMAND}`; export r; \
27101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27102 $(HOST_EXPORTS) \
27103 for flag in $(EXTRA_HOST_FLAGS) ; do \
27104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27105 done; \
27106 echo "Doing info in guile" ; \
27107 (cd $(HOST_SUBDIR)/guile && \
27108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27110 "RANLIB=$${RANLIB}" \
27111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27112 info) \
27113 || exit 1
27115 @endif guile
27117 .PHONY: maybe-dvi-guile dvi-guile
27118 maybe-dvi-guile:
27119 @if guile
27120 maybe-dvi-guile: dvi-guile
27122 dvi-guile: \
27123 configure-guile
27124 @: $(MAKE); $(unstage)
27125 @[ -f ./guile/Makefile ] || exit 0; \
27126 r=`${PWD_COMMAND}`; export r; \
27127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27128 $(HOST_EXPORTS) \
27129 for flag in $(EXTRA_HOST_FLAGS) ; do \
27130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27131 done; \
27132 echo "Doing dvi in guile" ; \
27133 (cd $(HOST_SUBDIR)/guile && \
27134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27136 "RANLIB=$${RANLIB}" \
27137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27138 dvi) \
27139 || exit 1
27141 @endif guile
27143 .PHONY: maybe-pdf-guile pdf-guile
27144 maybe-pdf-guile:
27145 @if guile
27146 maybe-pdf-guile: pdf-guile
27148 pdf-guile: \
27149 configure-guile
27150 @: $(MAKE); $(unstage)
27151 @[ -f ./guile/Makefile ] || exit 0; \
27152 r=`${PWD_COMMAND}`; export r; \
27153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27154 $(HOST_EXPORTS) \
27155 for flag in $(EXTRA_HOST_FLAGS) ; do \
27156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27157 done; \
27158 echo "Doing pdf in guile" ; \
27159 (cd $(HOST_SUBDIR)/guile && \
27160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27162 "RANLIB=$${RANLIB}" \
27163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27164 pdf) \
27165 || exit 1
27167 @endif guile
27169 .PHONY: maybe-html-guile html-guile
27170 maybe-html-guile:
27171 @if guile
27172 maybe-html-guile: html-guile
27174 html-guile: \
27175 configure-guile
27176 @: $(MAKE); $(unstage)
27177 @[ -f ./guile/Makefile ] || exit 0; \
27178 r=`${PWD_COMMAND}`; export r; \
27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27180 $(HOST_EXPORTS) \
27181 for flag in $(EXTRA_HOST_FLAGS) ; do \
27182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27183 done; \
27184 echo "Doing html in guile" ; \
27185 (cd $(HOST_SUBDIR)/guile && \
27186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27188 "RANLIB=$${RANLIB}" \
27189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27190 html) \
27191 || exit 1
27193 @endif guile
27195 .PHONY: maybe-TAGS-guile TAGS-guile
27196 maybe-TAGS-guile:
27197 @if guile
27198 maybe-TAGS-guile: TAGS-guile
27200 TAGS-guile: \
27201 configure-guile
27202 @: $(MAKE); $(unstage)
27203 @[ -f ./guile/Makefile ] || exit 0; \
27204 r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27206 $(HOST_EXPORTS) \
27207 for flag in $(EXTRA_HOST_FLAGS) ; do \
27208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27209 done; \
27210 echo "Doing TAGS in guile" ; \
27211 (cd $(HOST_SUBDIR)/guile && \
27212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27214 "RANLIB=$${RANLIB}" \
27215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27216 TAGS) \
27217 || exit 1
27219 @endif guile
27221 .PHONY: maybe-install-info-guile install-info-guile
27222 maybe-install-info-guile:
27223 @if guile
27224 maybe-install-info-guile: install-info-guile
27226 install-info-guile: \
27227 configure-guile \
27228 info-guile
27229 @: $(MAKE); $(unstage)
27230 @[ -f ./guile/Makefile ] || exit 0; \
27231 r=`${PWD_COMMAND}`; export r; \
27232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27233 $(HOST_EXPORTS) \
27234 for flag in $(EXTRA_HOST_FLAGS) ; do \
27235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27236 done; \
27237 echo "Doing install-info in guile" ; \
27238 (cd $(HOST_SUBDIR)/guile && \
27239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27241 "RANLIB=$${RANLIB}" \
27242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27243 install-info) \
27244 || exit 1
27246 @endif guile
27248 .PHONY: maybe-install-pdf-guile install-pdf-guile
27249 maybe-install-pdf-guile:
27250 @if guile
27251 maybe-install-pdf-guile: install-pdf-guile
27253 install-pdf-guile: \
27254 configure-guile \
27255 pdf-guile
27256 @: $(MAKE); $(unstage)
27257 @[ -f ./guile/Makefile ] || exit 0; \
27258 r=`${PWD_COMMAND}`; export r; \
27259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27260 $(HOST_EXPORTS) \
27261 for flag in $(EXTRA_HOST_FLAGS) ; do \
27262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27263 done; \
27264 echo "Doing install-pdf in guile" ; \
27265 (cd $(HOST_SUBDIR)/guile && \
27266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27268 "RANLIB=$${RANLIB}" \
27269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27270 install-pdf) \
27271 || exit 1
27273 @endif guile
27275 .PHONY: maybe-install-html-guile install-html-guile
27276 maybe-install-html-guile:
27277 @if guile
27278 maybe-install-html-guile: install-html-guile
27280 install-html-guile: \
27281 configure-guile \
27282 html-guile
27283 @: $(MAKE); $(unstage)
27284 @[ -f ./guile/Makefile ] || exit 0; \
27285 r=`${PWD_COMMAND}`; export r; \
27286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27287 $(HOST_EXPORTS) \
27288 for flag in $(EXTRA_HOST_FLAGS) ; do \
27289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27290 done; \
27291 echo "Doing install-html in guile" ; \
27292 (cd $(HOST_SUBDIR)/guile && \
27293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27295 "RANLIB=$${RANLIB}" \
27296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27297 install-html) \
27298 || exit 1
27300 @endif guile
27302 .PHONY: maybe-installcheck-guile installcheck-guile
27303 maybe-installcheck-guile:
27304 @if guile
27305 maybe-installcheck-guile: installcheck-guile
27307 installcheck-guile: \
27308 configure-guile
27309 @: $(MAKE); $(unstage)
27310 @[ -f ./guile/Makefile ] || exit 0; \
27311 r=`${PWD_COMMAND}`; export r; \
27312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27313 $(HOST_EXPORTS) \
27314 for flag in $(EXTRA_HOST_FLAGS) ; do \
27315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27316 done; \
27317 echo "Doing installcheck in guile" ; \
27318 (cd $(HOST_SUBDIR)/guile && \
27319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27321 "RANLIB=$${RANLIB}" \
27322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27323 installcheck) \
27324 || exit 1
27326 @endif guile
27328 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27329 maybe-mostlyclean-guile:
27330 @if guile
27331 maybe-mostlyclean-guile: mostlyclean-guile
27333 mostlyclean-guile:
27334 @: $(MAKE); $(unstage)
27335 @[ -f ./guile/Makefile ] || exit 0; \
27336 r=`${PWD_COMMAND}`; export r; \
27337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27338 $(HOST_EXPORTS) \
27339 for flag in $(EXTRA_HOST_FLAGS) ; do \
27340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27341 done; \
27342 echo "Doing mostlyclean in guile" ; \
27343 (cd $(HOST_SUBDIR)/guile && \
27344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27346 "RANLIB=$${RANLIB}" \
27347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27348 mostlyclean) \
27349 || exit 1
27351 @endif guile
27353 .PHONY: maybe-clean-guile clean-guile
27354 maybe-clean-guile:
27355 @if guile
27356 maybe-clean-guile: clean-guile
27358 clean-guile:
27359 @: $(MAKE); $(unstage)
27360 @[ -f ./guile/Makefile ] || exit 0; \
27361 r=`${PWD_COMMAND}`; export r; \
27362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27363 $(HOST_EXPORTS) \
27364 for flag in $(EXTRA_HOST_FLAGS) ; do \
27365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27366 done; \
27367 echo "Doing clean in guile" ; \
27368 (cd $(HOST_SUBDIR)/guile && \
27369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27371 "RANLIB=$${RANLIB}" \
27372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27373 clean) \
27374 || exit 1
27376 @endif guile
27378 .PHONY: maybe-distclean-guile distclean-guile
27379 maybe-distclean-guile:
27380 @if guile
27381 maybe-distclean-guile: distclean-guile
27383 distclean-guile:
27384 @: $(MAKE); $(unstage)
27385 @[ -f ./guile/Makefile ] || exit 0; \
27386 r=`${PWD_COMMAND}`; export r; \
27387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27388 $(HOST_EXPORTS) \
27389 for flag in $(EXTRA_HOST_FLAGS) ; do \
27390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27391 done; \
27392 echo "Doing distclean in guile" ; \
27393 (cd $(HOST_SUBDIR)/guile && \
27394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27396 "RANLIB=$${RANLIB}" \
27397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27398 distclean) \
27399 || exit 1
27401 @endif guile
27403 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27404 maybe-maintainer-clean-guile:
27405 @if guile
27406 maybe-maintainer-clean-guile: maintainer-clean-guile
27408 maintainer-clean-guile:
27409 @: $(MAKE); $(unstage)
27410 @[ -f ./guile/Makefile ] || exit 0; \
27411 r=`${PWD_COMMAND}`; export r; \
27412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27413 $(HOST_EXPORTS) \
27414 for flag in $(EXTRA_HOST_FLAGS) ; do \
27415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27416 done; \
27417 echo "Doing maintainer-clean in guile" ; \
27418 (cd $(HOST_SUBDIR)/guile && \
27419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27421 "RANLIB=$${RANLIB}" \
27422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27423 maintainer-clean) \
27424 || exit 1
27426 @endif guile
27430 .PHONY: configure-tk maybe-configure-tk
27431 maybe-configure-tk:
27432 @if gcc-bootstrap
27433 configure-tk: stage_current
27434 @endif gcc-bootstrap
27435 @if tk
27436 maybe-configure-tk: configure-tk
27437 configure-tk:
27438 @: $(MAKE); $(unstage)
27439 @r=`${PWD_COMMAND}`; export r; \
27440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27441 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27443 $(HOST_EXPORTS) \
27444 echo Configuring in $(HOST_SUBDIR)/tk; \
27445 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27446 case $(srcdir) in \
27447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27448 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27450 esac; \
27451 srcdiroption="--srcdir=$${topdir}/tk"; \
27452 libsrcdir="$$s/tk"; \
27453 $(SHELL) $${libsrcdir}/configure \
27454 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27455 --target=${target_alias} $${srcdiroption} \
27456 || exit 1
27457 @endif tk
27463 .PHONY: all-tk maybe-all-tk
27464 maybe-all-tk:
27465 @if gcc-bootstrap
27466 all-tk: stage_current
27467 @endif gcc-bootstrap
27468 @if tk
27469 TARGET-tk=all
27470 maybe-all-tk: all-tk
27471 all-tk: configure-tk
27472 @: $(MAKE); $(unstage)
27473 @r=`${PWD_COMMAND}`; export r; \
27474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27475 $(HOST_EXPORTS) \
27476 (cd $(HOST_SUBDIR)/tk && \
27477 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27478 $(TARGET-tk))
27479 @endif tk
27484 .PHONY: check-tk maybe-check-tk
27485 maybe-check-tk:
27486 @if tk
27487 maybe-check-tk: check-tk
27489 check-tk:
27490 @: $(MAKE); $(unstage)
27491 @r=`${PWD_COMMAND}`; export r; \
27492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27493 $(HOST_EXPORTS) \
27494 (cd $(HOST_SUBDIR)/tk && \
27495 $(MAKE) $(FLAGS_TO_PASS) check)
27497 @endif tk
27499 .PHONY: install-tk maybe-install-tk
27500 maybe-install-tk:
27501 @if tk
27502 maybe-install-tk: install-tk
27504 install-tk: installdirs
27505 @: $(MAKE); $(unstage)
27506 @r=`${PWD_COMMAND}`; export r; \
27507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27508 $(HOST_EXPORTS) \
27509 (cd $(HOST_SUBDIR)/tk && \
27510 $(MAKE) $(FLAGS_TO_PASS) install)
27512 @endif tk
27514 .PHONY: install-strip-tk maybe-install-strip-tk
27515 maybe-install-strip-tk:
27516 @if tk
27517 maybe-install-strip-tk: install-strip-tk
27519 install-strip-tk: installdirs
27520 @: $(MAKE); $(unstage)
27521 @r=`${PWD_COMMAND}`; export r; \
27522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27523 $(HOST_EXPORTS) \
27524 (cd $(HOST_SUBDIR)/tk && \
27525 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27527 @endif tk
27529 # Other targets (info, dvi, pdf, etc.)
27531 .PHONY: maybe-info-tk info-tk
27532 maybe-info-tk:
27533 @if tk
27534 maybe-info-tk: info-tk
27536 info-tk: \
27537 configure-tk
27538 @: $(MAKE); $(unstage)
27539 @[ -f ./tk/Makefile ] || exit 0; \
27540 r=`${PWD_COMMAND}`; export r; \
27541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27542 $(HOST_EXPORTS) \
27543 for flag in $(EXTRA_HOST_FLAGS) ; do \
27544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27545 done; \
27546 echo "Doing info in tk" ; \
27547 (cd $(HOST_SUBDIR)/tk && \
27548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27550 "RANLIB=$${RANLIB}" \
27551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27552 info) \
27553 || exit 1
27555 @endif tk
27557 .PHONY: maybe-dvi-tk dvi-tk
27558 maybe-dvi-tk:
27559 @if tk
27560 maybe-dvi-tk: dvi-tk
27562 dvi-tk: \
27563 configure-tk
27564 @: $(MAKE); $(unstage)
27565 @[ -f ./tk/Makefile ] || exit 0; \
27566 r=`${PWD_COMMAND}`; export r; \
27567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27568 $(HOST_EXPORTS) \
27569 for flag in $(EXTRA_HOST_FLAGS) ; do \
27570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27571 done; \
27572 echo "Doing dvi in tk" ; \
27573 (cd $(HOST_SUBDIR)/tk && \
27574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27576 "RANLIB=$${RANLIB}" \
27577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27578 dvi) \
27579 || exit 1
27581 @endif tk
27583 .PHONY: maybe-pdf-tk pdf-tk
27584 maybe-pdf-tk:
27585 @if tk
27586 maybe-pdf-tk: pdf-tk
27588 pdf-tk: \
27589 configure-tk
27590 @: $(MAKE); $(unstage)
27591 @[ -f ./tk/Makefile ] || exit 0; \
27592 r=`${PWD_COMMAND}`; export r; \
27593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27594 $(HOST_EXPORTS) \
27595 for flag in $(EXTRA_HOST_FLAGS) ; do \
27596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27597 done; \
27598 echo "Doing pdf in tk" ; \
27599 (cd $(HOST_SUBDIR)/tk && \
27600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27602 "RANLIB=$${RANLIB}" \
27603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27604 pdf) \
27605 || exit 1
27607 @endif tk
27609 .PHONY: maybe-html-tk html-tk
27610 maybe-html-tk:
27611 @if tk
27612 maybe-html-tk: html-tk
27614 html-tk: \
27615 configure-tk
27616 @: $(MAKE); $(unstage)
27617 @[ -f ./tk/Makefile ] || exit 0; \
27618 r=`${PWD_COMMAND}`; export r; \
27619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27620 $(HOST_EXPORTS) \
27621 for flag in $(EXTRA_HOST_FLAGS) ; do \
27622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27623 done; \
27624 echo "Doing html in tk" ; \
27625 (cd $(HOST_SUBDIR)/tk && \
27626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27628 "RANLIB=$${RANLIB}" \
27629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27630 html) \
27631 || exit 1
27633 @endif tk
27635 .PHONY: maybe-TAGS-tk TAGS-tk
27636 maybe-TAGS-tk:
27637 @if tk
27638 maybe-TAGS-tk: TAGS-tk
27640 TAGS-tk: \
27641 configure-tk
27642 @: $(MAKE); $(unstage)
27643 @[ -f ./tk/Makefile ] || exit 0; \
27644 r=`${PWD_COMMAND}`; export r; \
27645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27646 $(HOST_EXPORTS) \
27647 for flag in $(EXTRA_HOST_FLAGS) ; do \
27648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27649 done; \
27650 echo "Doing TAGS in tk" ; \
27651 (cd $(HOST_SUBDIR)/tk && \
27652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27654 "RANLIB=$${RANLIB}" \
27655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27656 TAGS) \
27657 || exit 1
27659 @endif tk
27661 .PHONY: maybe-install-info-tk install-info-tk
27662 maybe-install-info-tk:
27663 @if tk
27664 maybe-install-info-tk: install-info-tk
27666 install-info-tk: \
27667 configure-tk \
27668 info-tk
27669 @: $(MAKE); $(unstage)
27670 @[ -f ./tk/Makefile ] || exit 0; \
27671 r=`${PWD_COMMAND}`; export r; \
27672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27673 $(HOST_EXPORTS) \
27674 for flag in $(EXTRA_HOST_FLAGS) ; do \
27675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27676 done; \
27677 echo "Doing install-info in tk" ; \
27678 (cd $(HOST_SUBDIR)/tk && \
27679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27681 "RANLIB=$${RANLIB}" \
27682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27683 install-info) \
27684 || exit 1
27686 @endif tk
27688 .PHONY: maybe-install-pdf-tk install-pdf-tk
27689 maybe-install-pdf-tk:
27690 @if tk
27691 maybe-install-pdf-tk: install-pdf-tk
27693 install-pdf-tk: \
27694 configure-tk \
27695 pdf-tk
27696 @: $(MAKE); $(unstage)
27697 @[ -f ./tk/Makefile ] || exit 0; \
27698 r=`${PWD_COMMAND}`; export r; \
27699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27700 $(HOST_EXPORTS) \
27701 for flag in $(EXTRA_HOST_FLAGS) ; do \
27702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27703 done; \
27704 echo "Doing install-pdf in tk" ; \
27705 (cd $(HOST_SUBDIR)/tk && \
27706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27708 "RANLIB=$${RANLIB}" \
27709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27710 install-pdf) \
27711 || exit 1
27713 @endif tk
27715 .PHONY: maybe-install-html-tk install-html-tk
27716 maybe-install-html-tk:
27717 @if tk
27718 maybe-install-html-tk: install-html-tk
27720 install-html-tk: \
27721 configure-tk \
27722 html-tk
27723 @: $(MAKE); $(unstage)
27724 @[ -f ./tk/Makefile ] || exit 0; \
27725 r=`${PWD_COMMAND}`; export r; \
27726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27727 $(HOST_EXPORTS) \
27728 for flag in $(EXTRA_HOST_FLAGS) ; do \
27729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27730 done; \
27731 echo "Doing install-html in tk" ; \
27732 (cd $(HOST_SUBDIR)/tk && \
27733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27735 "RANLIB=$${RANLIB}" \
27736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27737 install-html) \
27738 || exit 1
27740 @endif tk
27742 .PHONY: maybe-installcheck-tk installcheck-tk
27743 maybe-installcheck-tk:
27744 @if tk
27745 maybe-installcheck-tk: installcheck-tk
27747 installcheck-tk: \
27748 configure-tk
27749 @: $(MAKE); $(unstage)
27750 @[ -f ./tk/Makefile ] || exit 0; \
27751 r=`${PWD_COMMAND}`; export r; \
27752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27753 $(HOST_EXPORTS) \
27754 for flag in $(EXTRA_HOST_FLAGS) ; do \
27755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27756 done; \
27757 echo "Doing installcheck in tk" ; \
27758 (cd $(HOST_SUBDIR)/tk && \
27759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27761 "RANLIB=$${RANLIB}" \
27762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27763 installcheck) \
27764 || exit 1
27766 @endif tk
27768 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27769 maybe-mostlyclean-tk:
27770 @if tk
27771 maybe-mostlyclean-tk: mostlyclean-tk
27773 mostlyclean-tk:
27774 @: $(MAKE); $(unstage)
27775 @[ -f ./tk/Makefile ] || exit 0; \
27776 r=`${PWD_COMMAND}`; export r; \
27777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27778 $(HOST_EXPORTS) \
27779 for flag in $(EXTRA_HOST_FLAGS) ; do \
27780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27781 done; \
27782 echo "Doing mostlyclean in tk" ; \
27783 (cd $(HOST_SUBDIR)/tk && \
27784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27786 "RANLIB=$${RANLIB}" \
27787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27788 mostlyclean) \
27789 || exit 1
27791 @endif tk
27793 .PHONY: maybe-clean-tk clean-tk
27794 maybe-clean-tk:
27795 @if tk
27796 maybe-clean-tk: clean-tk
27798 clean-tk:
27799 @: $(MAKE); $(unstage)
27800 @[ -f ./tk/Makefile ] || exit 0; \
27801 r=`${PWD_COMMAND}`; export r; \
27802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27803 $(HOST_EXPORTS) \
27804 for flag in $(EXTRA_HOST_FLAGS) ; do \
27805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27806 done; \
27807 echo "Doing clean in tk" ; \
27808 (cd $(HOST_SUBDIR)/tk && \
27809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27811 "RANLIB=$${RANLIB}" \
27812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27813 clean) \
27814 || exit 1
27816 @endif tk
27818 .PHONY: maybe-distclean-tk distclean-tk
27819 maybe-distclean-tk:
27820 @if tk
27821 maybe-distclean-tk: distclean-tk
27823 distclean-tk:
27824 @: $(MAKE); $(unstage)
27825 @[ -f ./tk/Makefile ] || exit 0; \
27826 r=`${PWD_COMMAND}`; export r; \
27827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27828 $(HOST_EXPORTS) \
27829 for flag in $(EXTRA_HOST_FLAGS) ; do \
27830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27831 done; \
27832 echo "Doing distclean in tk" ; \
27833 (cd $(HOST_SUBDIR)/tk && \
27834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27836 "RANLIB=$${RANLIB}" \
27837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27838 distclean) \
27839 || exit 1
27841 @endif tk
27843 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27844 maybe-maintainer-clean-tk:
27845 @if tk
27846 maybe-maintainer-clean-tk: maintainer-clean-tk
27848 maintainer-clean-tk:
27849 @: $(MAKE); $(unstage)
27850 @[ -f ./tk/Makefile ] || exit 0; \
27851 r=`${PWD_COMMAND}`; export r; \
27852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27853 $(HOST_EXPORTS) \
27854 for flag in $(EXTRA_HOST_FLAGS) ; do \
27855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27856 done; \
27857 echo "Doing maintainer-clean in tk" ; \
27858 (cd $(HOST_SUBDIR)/tk && \
27859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27861 "RANLIB=$${RANLIB}" \
27862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27863 maintainer-clean) \
27864 || exit 1
27866 @endif tk
27870 .PHONY: configure-libtermcap maybe-configure-libtermcap
27871 maybe-configure-libtermcap:
27872 @if gcc-bootstrap
27873 configure-libtermcap: stage_current
27874 @endif gcc-bootstrap
27875 @if libtermcap
27876 maybe-configure-libtermcap: configure-libtermcap
27877 configure-libtermcap:
27878 @: $(MAKE); $(unstage)
27879 @r=`${PWD_COMMAND}`; export r; \
27880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27881 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27883 $(HOST_EXPORTS) \
27884 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27885 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27886 case $(srcdir) in \
27887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27888 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27890 esac; \
27891 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27892 libsrcdir="$$s/libtermcap"; \
27893 $(SHELL) $${libsrcdir}/configure \
27894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27895 --target=${target_alias} $${srcdiroption} \
27896 || exit 1
27897 @endif libtermcap
27903 .PHONY: all-libtermcap maybe-all-libtermcap
27904 maybe-all-libtermcap:
27905 @if gcc-bootstrap
27906 all-libtermcap: stage_current
27907 @endif gcc-bootstrap
27908 @if libtermcap
27909 TARGET-libtermcap=all
27910 maybe-all-libtermcap: all-libtermcap
27911 all-libtermcap: configure-libtermcap
27912 @: $(MAKE); $(unstage)
27913 @r=`${PWD_COMMAND}`; export r; \
27914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27915 $(HOST_EXPORTS) \
27916 (cd $(HOST_SUBDIR)/libtermcap && \
27917 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27918 $(TARGET-libtermcap))
27919 @endif libtermcap
27924 .PHONY: check-libtermcap maybe-check-libtermcap
27925 maybe-check-libtermcap:
27926 @if libtermcap
27927 maybe-check-libtermcap: check-libtermcap
27929 check-libtermcap:
27931 @endif libtermcap
27933 .PHONY: install-libtermcap maybe-install-libtermcap
27934 maybe-install-libtermcap:
27935 @if libtermcap
27936 maybe-install-libtermcap: install-libtermcap
27938 install-libtermcap: installdirs
27939 @: $(MAKE); $(unstage)
27940 @r=`${PWD_COMMAND}`; export r; \
27941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27942 $(HOST_EXPORTS) \
27943 (cd $(HOST_SUBDIR)/libtermcap && \
27944 $(MAKE) $(FLAGS_TO_PASS) install)
27946 @endif libtermcap
27948 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
27949 maybe-install-strip-libtermcap:
27950 @if libtermcap
27951 maybe-install-strip-libtermcap: install-strip-libtermcap
27953 install-strip-libtermcap: installdirs
27954 @: $(MAKE); $(unstage)
27955 @r=`${PWD_COMMAND}`; export r; \
27956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27957 $(HOST_EXPORTS) \
27958 (cd $(HOST_SUBDIR)/libtermcap && \
27959 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27961 @endif libtermcap
27963 # Other targets (info, dvi, pdf, etc.)
27965 .PHONY: maybe-info-libtermcap info-libtermcap
27966 maybe-info-libtermcap:
27967 @if libtermcap
27968 maybe-info-libtermcap: info-libtermcap
27970 info-libtermcap: \
27971 configure-libtermcap
27972 @: $(MAKE); $(unstage)
27973 @[ -f ./libtermcap/Makefile ] || exit 0; \
27974 r=`${PWD_COMMAND}`; export r; \
27975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27976 $(HOST_EXPORTS) \
27977 for flag in $(EXTRA_HOST_FLAGS) ; do \
27978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27979 done; \
27980 echo "Doing info in libtermcap" ; \
27981 (cd $(HOST_SUBDIR)/libtermcap && \
27982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27984 "RANLIB=$${RANLIB}" \
27985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27986 info) \
27987 || exit 1
27989 @endif libtermcap
27991 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27992 maybe-dvi-libtermcap:
27993 @if libtermcap
27994 maybe-dvi-libtermcap: dvi-libtermcap
27996 dvi-libtermcap: \
27997 configure-libtermcap
27998 @: $(MAKE); $(unstage)
27999 @[ -f ./libtermcap/Makefile ] || exit 0; \
28000 r=`${PWD_COMMAND}`; export r; \
28001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28002 $(HOST_EXPORTS) \
28003 for flag in $(EXTRA_HOST_FLAGS) ; do \
28004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28005 done; \
28006 echo "Doing dvi in libtermcap" ; \
28007 (cd $(HOST_SUBDIR)/libtermcap && \
28008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28010 "RANLIB=$${RANLIB}" \
28011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28012 dvi) \
28013 || exit 1
28015 @endif libtermcap
28017 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28018 maybe-pdf-libtermcap:
28019 @if libtermcap
28020 maybe-pdf-libtermcap: pdf-libtermcap
28022 pdf-libtermcap: \
28023 configure-libtermcap
28024 @: $(MAKE); $(unstage)
28025 @[ -f ./libtermcap/Makefile ] || exit 0; \
28026 r=`${PWD_COMMAND}`; export r; \
28027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28028 $(HOST_EXPORTS) \
28029 for flag in $(EXTRA_HOST_FLAGS) ; do \
28030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28031 done; \
28032 echo "Doing pdf in libtermcap" ; \
28033 (cd $(HOST_SUBDIR)/libtermcap && \
28034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28036 "RANLIB=$${RANLIB}" \
28037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28038 pdf) \
28039 || exit 1
28041 @endif libtermcap
28043 .PHONY: maybe-html-libtermcap html-libtermcap
28044 maybe-html-libtermcap:
28045 @if libtermcap
28046 maybe-html-libtermcap: html-libtermcap
28048 html-libtermcap: \
28049 configure-libtermcap
28050 @: $(MAKE); $(unstage)
28051 @[ -f ./libtermcap/Makefile ] || exit 0; \
28052 r=`${PWD_COMMAND}`; export r; \
28053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28054 $(HOST_EXPORTS) \
28055 for flag in $(EXTRA_HOST_FLAGS) ; do \
28056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28057 done; \
28058 echo "Doing html in libtermcap" ; \
28059 (cd $(HOST_SUBDIR)/libtermcap && \
28060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28062 "RANLIB=$${RANLIB}" \
28063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28064 html) \
28065 || exit 1
28067 @endif libtermcap
28069 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28070 maybe-TAGS-libtermcap:
28071 @if libtermcap
28072 maybe-TAGS-libtermcap: TAGS-libtermcap
28074 TAGS-libtermcap: \
28075 configure-libtermcap
28076 @: $(MAKE); $(unstage)
28077 @[ -f ./libtermcap/Makefile ] || exit 0; \
28078 r=`${PWD_COMMAND}`; export r; \
28079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28080 $(HOST_EXPORTS) \
28081 for flag in $(EXTRA_HOST_FLAGS) ; do \
28082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28083 done; \
28084 echo "Doing TAGS in libtermcap" ; \
28085 (cd $(HOST_SUBDIR)/libtermcap && \
28086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28088 "RANLIB=$${RANLIB}" \
28089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28090 TAGS) \
28091 || exit 1
28093 @endif libtermcap
28095 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28096 maybe-install-info-libtermcap:
28097 @if libtermcap
28098 maybe-install-info-libtermcap: install-info-libtermcap
28100 install-info-libtermcap: \
28101 configure-libtermcap \
28102 info-libtermcap
28103 @: $(MAKE); $(unstage)
28104 @[ -f ./libtermcap/Makefile ] || exit 0; \
28105 r=`${PWD_COMMAND}`; export r; \
28106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28107 $(HOST_EXPORTS) \
28108 for flag in $(EXTRA_HOST_FLAGS) ; do \
28109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28110 done; \
28111 echo "Doing install-info in libtermcap" ; \
28112 (cd $(HOST_SUBDIR)/libtermcap && \
28113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28115 "RANLIB=$${RANLIB}" \
28116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28117 install-info) \
28118 || exit 1
28120 @endif libtermcap
28122 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28123 maybe-install-pdf-libtermcap:
28124 @if libtermcap
28125 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28127 install-pdf-libtermcap: \
28128 configure-libtermcap \
28129 pdf-libtermcap
28130 @: $(MAKE); $(unstage)
28131 @[ -f ./libtermcap/Makefile ] || exit 0; \
28132 r=`${PWD_COMMAND}`; export r; \
28133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28134 $(HOST_EXPORTS) \
28135 for flag in $(EXTRA_HOST_FLAGS) ; do \
28136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28137 done; \
28138 echo "Doing install-pdf in libtermcap" ; \
28139 (cd $(HOST_SUBDIR)/libtermcap && \
28140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28142 "RANLIB=$${RANLIB}" \
28143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28144 install-pdf) \
28145 || exit 1
28147 @endif libtermcap
28149 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28150 maybe-install-html-libtermcap:
28151 @if libtermcap
28152 maybe-install-html-libtermcap: install-html-libtermcap
28154 install-html-libtermcap: \
28155 configure-libtermcap \
28156 html-libtermcap
28157 @: $(MAKE); $(unstage)
28158 @[ -f ./libtermcap/Makefile ] || exit 0; \
28159 r=`${PWD_COMMAND}`; export r; \
28160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28161 $(HOST_EXPORTS) \
28162 for flag in $(EXTRA_HOST_FLAGS) ; do \
28163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28164 done; \
28165 echo "Doing install-html in libtermcap" ; \
28166 (cd $(HOST_SUBDIR)/libtermcap && \
28167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28169 "RANLIB=$${RANLIB}" \
28170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28171 install-html) \
28172 || exit 1
28174 @endif libtermcap
28176 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28177 maybe-installcheck-libtermcap:
28178 @if libtermcap
28179 maybe-installcheck-libtermcap: installcheck-libtermcap
28181 installcheck-libtermcap: \
28182 configure-libtermcap
28183 @: $(MAKE); $(unstage)
28184 @[ -f ./libtermcap/Makefile ] || exit 0; \
28185 r=`${PWD_COMMAND}`; export r; \
28186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28187 $(HOST_EXPORTS) \
28188 for flag in $(EXTRA_HOST_FLAGS) ; do \
28189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28190 done; \
28191 echo "Doing installcheck in libtermcap" ; \
28192 (cd $(HOST_SUBDIR)/libtermcap && \
28193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28195 "RANLIB=$${RANLIB}" \
28196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28197 installcheck) \
28198 || exit 1
28200 @endif libtermcap
28202 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28203 maybe-mostlyclean-libtermcap:
28204 @if libtermcap
28205 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28207 # libtermcap doesn't support mostlyclean.
28208 mostlyclean-libtermcap:
28210 @endif libtermcap
28212 .PHONY: maybe-clean-libtermcap clean-libtermcap
28213 maybe-clean-libtermcap:
28214 @if libtermcap
28215 maybe-clean-libtermcap: clean-libtermcap
28217 # libtermcap doesn't support clean.
28218 clean-libtermcap:
28220 @endif libtermcap
28222 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28223 maybe-distclean-libtermcap:
28224 @if libtermcap
28225 maybe-distclean-libtermcap: distclean-libtermcap
28227 # libtermcap doesn't support distclean.
28228 distclean-libtermcap:
28230 @endif libtermcap
28232 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28233 maybe-maintainer-clean-libtermcap:
28234 @if libtermcap
28235 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28237 # libtermcap doesn't support maintainer-clean.
28238 maintainer-clean-libtermcap:
28240 @endif libtermcap
28244 .PHONY: configure-utils maybe-configure-utils
28245 maybe-configure-utils:
28246 @if gcc-bootstrap
28247 configure-utils: stage_current
28248 @endif gcc-bootstrap
28249 @if utils
28250 maybe-configure-utils: configure-utils
28251 configure-utils:
28252 @: $(MAKE); $(unstage)
28253 @r=`${PWD_COMMAND}`; export r; \
28254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28255 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28257 $(HOST_EXPORTS) \
28258 echo Configuring in $(HOST_SUBDIR)/utils; \
28259 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28260 case $(srcdir) in \
28261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28262 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28264 esac; \
28265 srcdiroption="--srcdir=$${topdir}/utils"; \
28266 libsrcdir="$$s/utils"; \
28267 $(SHELL) $${libsrcdir}/configure \
28268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28269 --target=${target_alias} $${srcdiroption} \
28270 || exit 1
28271 @endif utils
28277 .PHONY: all-utils maybe-all-utils
28278 maybe-all-utils:
28279 @if gcc-bootstrap
28280 all-utils: stage_current
28281 @endif gcc-bootstrap
28282 @if utils
28283 TARGET-utils=all
28284 maybe-all-utils: all-utils
28285 all-utils: configure-utils
28286 @: $(MAKE); $(unstage)
28287 @r=`${PWD_COMMAND}`; export r; \
28288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28289 $(HOST_EXPORTS) \
28290 (cd $(HOST_SUBDIR)/utils && \
28291 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28292 $(TARGET-utils))
28293 @endif utils
28298 .PHONY: check-utils maybe-check-utils
28299 maybe-check-utils:
28300 @if utils
28301 maybe-check-utils: check-utils
28303 check-utils:
28305 @endif utils
28307 .PHONY: install-utils maybe-install-utils
28308 maybe-install-utils:
28309 @if utils
28310 maybe-install-utils: install-utils
28312 install-utils: installdirs
28313 @: $(MAKE); $(unstage)
28314 @r=`${PWD_COMMAND}`; export r; \
28315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28316 $(HOST_EXPORTS) \
28317 (cd $(HOST_SUBDIR)/utils && \
28318 $(MAKE) $(FLAGS_TO_PASS) install)
28320 @endif utils
28322 .PHONY: install-strip-utils maybe-install-strip-utils
28323 maybe-install-strip-utils:
28324 @if utils
28325 maybe-install-strip-utils: install-strip-utils
28327 install-strip-utils: installdirs
28328 @: $(MAKE); $(unstage)
28329 @r=`${PWD_COMMAND}`; export r; \
28330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28331 $(HOST_EXPORTS) \
28332 (cd $(HOST_SUBDIR)/utils && \
28333 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28335 @endif utils
28337 # Other targets (info, dvi, pdf, etc.)
28339 .PHONY: maybe-info-utils info-utils
28340 maybe-info-utils:
28341 @if utils
28342 maybe-info-utils: info-utils
28344 info-utils: \
28345 configure-utils
28346 @: $(MAKE); $(unstage)
28347 @[ -f ./utils/Makefile ] || exit 0; \
28348 r=`${PWD_COMMAND}`; export r; \
28349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28350 $(HOST_EXPORTS) \
28351 for flag in $(EXTRA_HOST_FLAGS) ; do \
28352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28353 done; \
28354 echo "Doing info in utils" ; \
28355 (cd $(HOST_SUBDIR)/utils && \
28356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28358 "RANLIB=$${RANLIB}" \
28359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28360 info) \
28361 || exit 1
28363 @endif utils
28365 .PHONY: maybe-dvi-utils dvi-utils
28366 maybe-dvi-utils:
28367 @if utils
28368 maybe-dvi-utils: dvi-utils
28370 dvi-utils: \
28371 configure-utils
28372 @: $(MAKE); $(unstage)
28373 @[ -f ./utils/Makefile ] || exit 0; \
28374 r=`${PWD_COMMAND}`; export r; \
28375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28376 $(HOST_EXPORTS) \
28377 for flag in $(EXTRA_HOST_FLAGS) ; do \
28378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28379 done; \
28380 echo "Doing dvi in utils" ; \
28381 (cd $(HOST_SUBDIR)/utils && \
28382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28384 "RANLIB=$${RANLIB}" \
28385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28386 dvi) \
28387 || exit 1
28389 @endif utils
28391 .PHONY: maybe-pdf-utils pdf-utils
28392 maybe-pdf-utils:
28393 @if utils
28394 maybe-pdf-utils: pdf-utils
28396 pdf-utils: \
28397 configure-utils
28398 @: $(MAKE); $(unstage)
28399 @[ -f ./utils/Makefile ] || exit 0; \
28400 r=`${PWD_COMMAND}`; export r; \
28401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28402 $(HOST_EXPORTS) \
28403 for flag in $(EXTRA_HOST_FLAGS) ; do \
28404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28405 done; \
28406 echo "Doing pdf in utils" ; \
28407 (cd $(HOST_SUBDIR)/utils && \
28408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28410 "RANLIB=$${RANLIB}" \
28411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28412 pdf) \
28413 || exit 1
28415 @endif utils
28417 .PHONY: maybe-html-utils html-utils
28418 maybe-html-utils:
28419 @if utils
28420 maybe-html-utils: html-utils
28422 html-utils: \
28423 configure-utils
28424 @: $(MAKE); $(unstage)
28425 @[ -f ./utils/Makefile ] || exit 0; \
28426 r=`${PWD_COMMAND}`; export r; \
28427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28428 $(HOST_EXPORTS) \
28429 for flag in $(EXTRA_HOST_FLAGS) ; do \
28430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28431 done; \
28432 echo "Doing html in utils" ; \
28433 (cd $(HOST_SUBDIR)/utils && \
28434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28436 "RANLIB=$${RANLIB}" \
28437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28438 html) \
28439 || exit 1
28441 @endif utils
28443 .PHONY: maybe-TAGS-utils TAGS-utils
28444 maybe-TAGS-utils:
28445 @if utils
28446 maybe-TAGS-utils: TAGS-utils
28448 TAGS-utils: \
28449 configure-utils
28450 @: $(MAKE); $(unstage)
28451 @[ -f ./utils/Makefile ] || exit 0; \
28452 r=`${PWD_COMMAND}`; export r; \
28453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28454 $(HOST_EXPORTS) \
28455 for flag in $(EXTRA_HOST_FLAGS) ; do \
28456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28457 done; \
28458 echo "Doing TAGS in utils" ; \
28459 (cd $(HOST_SUBDIR)/utils && \
28460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28462 "RANLIB=$${RANLIB}" \
28463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28464 TAGS) \
28465 || exit 1
28467 @endif utils
28469 .PHONY: maybe-install-info-utils install-info-utils
28470 maybe-install-info-utils:
28471 @if utils
28472 maybe-install-info-utils: install-info-utils
28474 install-info-utils: \
28475 configure-utils \
28476 info-utils
28477 @: $(MAKE); $(unstage)
28478 @[ -f ./utils/Makefile ] || exit 0; \
28479 r=`${PWD_COMMAND}`; export r; \
28480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28481 $(HOST_EXPORTS) \
28482 for flag in $(EXTRA_HOST_FLAGS) ; do \
28483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28484 done; \
28485 echo "Doing install-info in utils" ; \
28486 (cd $(HOST_SUBDIR)/utils && \
28487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28489 "RANLIB=$${RANLIB}" \
28490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28491 install-info) \
28492 || exit 1
28494 @endif utils
28496 .PHONY: maybe-install-pdf-utils install-pdf-utils
28497 maybe-install-pdf-utils:
28498 @if utils
28499 maybe-install-pdf-utils: install-pdf-utils
28501 install-pdf-utils: \
28502 configure-utils \
28503 pdf-utils
28504 @: $(MAKE); $(unstage)
28505 @[ -f ./utils/Makefile ] || exit 0; \
28506 r=`${PWD_COMMAND}`; export r; \
28507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28508 $(HOST_EXPORTS) \
28509 for flag in $(EXTRA_HOST_FLAGS) ; do \
28510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28511 done; \
28512 echo "Doing install-pdf in utils" ; \
28513 (cd $(HOST_SUBDIR)/utils && \
28514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28516 "RANLIB=$${RANLIB}" \
28517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28518 install-pdf) \
28519 || exit 1
28521 @endif utils
28523 .PHONY: maybe-install-html-utils install-html-utils
28524 maybe-install-html-utils:
28525 @if utils
28526 maybe-install-html-utils: install-html-utils
28528 install-html-utils: \
28529 configure-utils \
28530 html-utils
28531 @: $(MAKE); $(unstage)
28532 @[ -f ./utils/Makefile ] || exit 0; \
28533 r=`${PWD_COMMAND}`; export r; \
28534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28535 $(HOST_EXPORTS) \
28536 for flag in $(EXTRA_HOST_FLAGS) ; do \
28537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28538 done; \
28539 echo "Doing install-html in utils" ; \
28540 (cd $(HOST_SUBDIR)/utils && \
28541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28543 "RANLIB=$${RANLIB}" \
28544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28545 install-html) \
28546 || exit 1
28548 @endif utils
28550 .PHONY: maybe-installcheck-utils installcheck-utils
28551 maybe-installcheck-utils:
28552 @if utils
28553 maybe-installcheck-utils: installcheck-utils
28555 installcheck-utils: \
28556 configure-utils
28557 @: $(MAKE); $(unstage)
28558 @[ -f ./utils/Makefile ] || exit 0; \
28559 r=`${PWD_COMMAND}`; export r; \
28560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28561 $(HOST_EXPORTS) \
28562 for flag in $(EXTRA_HOST_FLAGS) ; do \
28563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28564 done; \
28565 echo "Doing installcheck in utils" ; \
28566 (cd $(HOST_SUBDIR)/utils && \
28567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28569 "RANLIB=$${RANLIB}" \
28570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28571 installcheck) \
28572 || exit 1
28574 @endif utils
28576 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28577 maybe-mostlyclean-utils:
28578 @if utils
28579 maybe-mostlyclean-utils: mostlyclean-utils
28581 mostlyclean-utils:
28582 @: $(MAKE); $(unstage)
28583 @[ -f ./utils/Makefile ] || exit 0; \
28584 r=`${PWD_COMMAND}`; export r; \
28585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28586 $(HOST_EXPORTS) \
28587 for flag in $(EXTRA_HOST_FLAGS) ; do \
28588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28589 done; \
28590 echo "Doing mostlyclean in utils" ; \
28591 (cd $(HOST_SUBDIR)/utils && \
28592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28594 "RANLIB=$${RANLIB}" \
28595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28596 mostlyclean) \
28597 || exit 1
28599 @endif utils
28601 .PHONY: maybe-clean-utils clean-utils
28602 maybe-clean-utils:
28603 @if utils
28604 maybe-clean-utils: clean-utils
28606 clean-utils:
28607 @: $(MAKE); $(unstage)
28608 @[ -f ./utils/Makefile ] || exit 0; \
28609 r=`${PWD_COMMAND}`; export r; \
28610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28611 $(HOST_EXPORTS) \
28612 for flag in $(EXTRA_HOST_FLAGS) ; do \
28613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28614 done; \
28615 echo "Doing clean in utils" ; \
28616 (cd $(HOST_SUBDIR)/utils && \
28617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28619 "RANLIB=$${RANLIB}" \
28620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28621 clean) \
28622 || exit 1
28624 @endif utils
28626 .PHONY: maybe-distclean-utils distclean-utils
28627 maybe-distclean-utils:
28628 @if utils
28629 maybe-distclean-utils: distclean-utils
28631 distclean-utils:
28632 @: $(MAKE); $(unstage)
28633 @[ -f ./utils/Makefile ] || exit 0; \
28634 r=`${PWD_COMMAND}`; export r; \
28635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28636 $(HOST_EXPORTS) \
28637 for flag in $(EXTRA_HOST_FLAGS) ; do \
28638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28639 done; \
28640 echo "Doing distclean in utils" ; \
28641 (cd $(HOST_SUBDIR)/utils && \
28642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28644 "RANLIB=$${RANLIB}" \
28645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28646 distclean) \
28647 || exit 1
28649 @endif utils
28651 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28652 maybe-maintainer-clean-utils:
28653 @if utils
28654 maybe-maintainer-clean-utils: maintainer-clean-utils
28656 maintainer-clean-utils:
28657 @: $(MAKE); $(unstage)
28658 @[ -f ./utils/Makefile ] || exit 0; \
28659 r=`${PWD_COMMAND}`; export r; \
28660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28661 $(HOST_EXPORTS) \
28662 for flag in $(EXTRA_HOST_FLAGS) ; do \
28663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28664 done; \
28665 echo "Doing maintainer-clean in utils" ; \
28666 (cd $(HOST_SUBDIR)/utils && \
28667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28669 "RANLIB=$${RANLIB}" \
28670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28671 maintainer-clean) \
28672 || exit 1
28674 @endif utils
28678 .PHONY: configure-gnattools maybe-configure-gnattools
28679 maybe-configure-gnattools:
28680 @if gcc-bootstrap
28681 configure-gnattools: stage_current
28682 @endif gcc-bootstrap
28683 @if gnattools
28684 maybe-configure-gnattools: configure-gnattools
28685 configure-gnattools:
28686 @: $(MAKE); $(unstage)
28687 @r=`${PWD_COMMAND}`; export r; \
28688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28689 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28691 $(HOST_EXPORTS) \
28692 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28693 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28694 case $(srcdir) in \
28695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28696 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28698 esac; \
28699 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28700 libsrcdir="$$s/gnattools"; \
28701 $(SHELL) $${libsrcdir}/configure \
28702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28703 --target=${target_alias} $${srcdiroption} \
28704 || exit 1
28705 @endif gnattools
28711 .PHONY: all-gnattools maybe-all-gnattools
28712 maybe-all-gnattools:
28713 @if gcc-bootstrap
28714 all-gnattools: stage_current
28715 @endif gcc-bootstrap
28716 @if gnattools
28717 TARGET-gnattools=all
28718 maybe-all-gnattools: all-gnattools
28719 all-gnattools: configure-gnattools
28720 @: $(MAKE); $(unstage)
28721 @r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723 $(HOST_EXPORTS) \
28724 (cd $(HOST_SUBDIR)/gnattools && \
28725 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28726 $(TARGET-gnattools))
28727 @endif gnattools
28732 .PHONY: check-gnattools maybe-check-gnattools
28733 maybe-check-gnattools:
28734 @if gnattools
28735 maybe-check-gnattools: check-gnattools
28737 check-gnattools:
28738 @: $(MAKE); $(unstage)
28739 @r=`${PWD_COMMAND}`; export r; \
28740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28741 $(HOST_EXPORTS) \
28742 (cd $(HOST_SUBDIR)/gnattools && \
28743 $(MAKE) $(FLAGS_TO_PASS) check)
28745 @endif gnattools
28747 .PHONY: install-gnattools maybe-install-gnattools
28748 maybe-install-gnattools:
28749 @if gnattools
28750 maybe-install-gnattools: install-gnattools
28752 install-gnattools: installdirs
28753 @: $(MAKE); $(unstage)
28754 @r=`${PWD_COMMAND}`; export r; \
28755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28756 $(HOST_EXPORTS) \
28757 (cd $(HOST_SUBDIR)/gnattools && \
28758 $(MAKE) $(FLAGS_TO_PASS) install)
28760 @endif gnattools
28762 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
28763 maybe-install-strip-gnattools:
28764 @if gnattools
28765 maybe-install-strip-gnattools: install-strip-gnattools
28767 install-strip-gnattools: installdirs
28768 @: $(MAKE); $(unstage)
28769 @r=`${PWD_COMMAND}`; export r; \
28770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28771 $(HOST_EXPORTS) \
28772 (cd $(HOST_SUBDIR)/gnattools && \
28773 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28775 @endif gnattools
28777 # Other targets (info, dvi, pdf, etc.)
28779 .PHONY: maybe-info-gnattools info-gnattools
28780 maybe-info-gnattools:
28781 @if gnattools
28782 maybe-info-gnattools: info-gnattools
28784 info-gnattools: \
28785 configure-gnattools
28786 @: $(MAKE); $(unstage)
28787 @[ -f ./gnattools/Makefile ] || exit 0; \
28788 r=`${PWD_COMMAND}`; export r; \
28789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28790 $(HOST_EXPORTS) \
28791 for flag in $(EXTRA_HOST_FLAGS) ; do \
28792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28793 done; \
28794 echo "Doing info in gnattools" ; \
28795 (cd $(HOST_SUBDIR)/gnattools && \
28796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28798 "RANLIB=$${RANLIB}" \
28799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28800 info) \
28801 || exit 1
28803 @endif gnattools
28805 .PHONY: maybe-dvi-gnattools dvi-gnattools
28806 maybe-dvi-gnattools:
28807 @if gnattools
28808 maybe-dvi-gnattools: dvi-gnattools
28810 dvi-gnattools: \
28811 configure-gnattools
28812 @: $(MAKE); $(unstage)
28813 @[ -f ./gnattools/Makefile ] || exit 0; \
28814 r=`${PWD_COMMAND}`; export r; \
28815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28816 $(HOST_EXPORTS) \
28817 for flag in $(EXTRA_HOST_FLAGS) ; do \
28818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28819 done; \
28820 echo "Doing dvi in gnattools" ; \
28821 (cd $(HOST_SUBDIR)/gnattools && \
28822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28824 "RANLIB=$${RANLIB}" \
28825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28826 dvi) \
28827 || exit 1
28829 @endif gnattools
28831 .PHONY: maybe-pdf-gnattools pdf-gnattools
28832 maybe-pdf-gnattools:
28833 @if gnattools
28834 maybe-pdf-gnattools: pdf-gnattools
28836 pdf-gnattools: \
28837 configure-gnattools
28838 @: $(MAKE); $(unstage)
28839 @[ -f ./gnattools/Makefile ] || exit 0; \
28840 r=`${PWD_COMMAND}`; export r; \
28841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28842 $(HOST_EXPORTS) \
28843 for flag in $(EXTRA_HOST_FLAGS) ; do \
28844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28845 done; \
28846 echo "Doing pdf in gnattools" ; \
28847 (cd $(HOST_SUBDIR)/gnattools && \
28848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28850 "RANLIB=$${RANLIB}" \
28851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28852 pdf) \
28853 || exit 1
28855 @endif gnattools
28857 .PHONY: maybe-html-gnattools html-gnattools
28858 maybe-html-gnattools:
28859 @if gnattools
28860 maybe-html-gnattools: html-gnattools
28862 html-gnattools: \
28863 configure-gnattools
28864 @: $(MAKE); $(unstage)
28865 @[ -f ./gnattools/Makefile ] || exit 0; \
28866 r=`${PWD_COMMAND}`; export r; \
28867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28868 $(HOST_EXPORTS) \
28869 for flag in $(EXTRA_HOST_FLAGS) ; do \
28870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28871 done; \
28872 echo "Doing html in gnattools" ; \
28873 (cd $(HOST_SUBDIR)/gnattools && \
28874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28876 "RANLIB=$${RANLIB}" \
28877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28878 html) \
28879 || exit 1
28881 @endif gnattools
28883 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28884 maybe-TAGS-gnattools:
28885 @if gnattools
28886 maybe-TAGS-gnattools: TAGS-gnattools
28888 TAGS-gnattools: \
28889 configure-gnattools
28890 @: $(MAKE); $(unstage)
28891 @[ -f ./gnattools/Makefile ] || exit 0; \
28892 r=`${PWD_COMMAND}`; export r; \
28893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28894 $(HOST_EXPORTS) \
28895 for flag in $(EXTRA_HOST_FLAGS) ; do \
28896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28897 done; \
28898 echo "Doing TAGS in gnattools" ; \
28899 (cd $(HOST_SUBDIR)/gnattools && \
28900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28902 "RANLIB=$${RANLIB}" \
28903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28904 TAGS) \
28905 || exit 1
28907 @endif gnattools
28909 .PHONY: maybe-install-info-gnattools install-info-gnattools
28910 maybe-install-info-gnattools:
28911 @if gnattools
28912 maybe-install-info-gnattools: install-info-gnattools
28914 install-info-gnattools: \
28915 configure-gnattools \
28916 info-gnattools
28917 @: $(MAKE); $(unstage)
28918 @[ -f ./gnattools/Makefile ] || exit 0; \
28919 r=`${PWD_COMMAND}`; export r; \
28920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28921 $(HOST_EXPORTS) \
28922 for flag in $(EXTRA_HOST_FLAGS) ; do \
28923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28924 done; \
28925 echo "Doing install-info in gnattools" ; \
28926 (cd $(HOST_SUBDIR)/gnattools && \
28927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28929 "RANLIB=$${RANLIB}" \
28930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28931 install-info) \
28932 || exit 1
28934 @endif gnattools
28936 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
28937 maybe-install-pdf-gnattools:
28938 @if gnattools
28939 maybe-install-pdf-gnattools: install-pdf-gnattools
28941 install-pdf-gnattools: \
28942 configure-gnattools \
28943 pdf-gnattools
28944 @: $(MAKE); $(unstage)
28945 @[ -f ./gnattools/Makefile ] || exit 0; \
28946 r=`${PWD_COMMAND}`; export r; \
28947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28948 $(HOST_EXPORTS) \
28949 for flag in $(EXTRA_HOST_FLAGS) ; do \
28950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28951 done; \
28952 echo "Doing install-pdf in gnattools" ; \
28953 (cd $(HOST_SUBDIR)/gnattools && \
28954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28956 "RANLIB=$${RANLIB}" \
28957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28958 install-pdf) \
28959 || exit 1
28961 @endif gnattools
28963 .PHONY: maybe-install-html-gnattools install-html-gnattools
28964 maybe-install-html-gnattools:
28965 @if gnattools
28966 maybe-install-html-gnattools: install-html-gnattools
28968 install-html-gnattools: \
28969 configure-gnattools \
28970 html-gnattools
28971 @: $(MAKE); $(unstage)
28972 @[ -f ./gnattools/Makefile ] || exit 0; \
28973 r=`${PWD_COMMAND}`; export r; \
28974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28975 $(HOST_EXPORTS) \
28976 for flag in $(EXTRA_HOST_FLAGS) ; do \
28977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28978 done; \
28979 echo "Doing install-html in gnattools" ; \
28980 (cd $(HOST_SUBDIR)/gnattools && \
28981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28983 "RANLIB=$${RANLIB}" \
28984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28985 install-html) \
28986 || exit 1
28988 @endif gnattools
28990 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28991 maybe-installcheck-gnattools:
28992 @if gnattools
28993 maybe-installcheck-gnattools: installcheck-gnattools
28995 installcheck-gnattools: \
28996 configure-gnattools
28997 @: $(MAKE); $(unstage)
28998 @[ -f ./gnattools/Makefile ] || exit 0; \
28999 r=`${PWD_COMMAND}`; export r; \
29000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29001 $(HOST_EXPORTS) \
29002 for flag in $(EXTRA_HOST_FLAGS) ; do \
29003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29004 done; \
29005 echo "Doing installcheck in gnattools" ; \
29006 (cd $(HOST_SUBDIR)/gnattools && \
29007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29009 "RANLIB=$${RANLIB}" \
29010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29011 installcheck) \
29012 || exit 1
29014 @endif gnattools
29016 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29017 maybe-mostlyclean-gnattools:
29018 @if gnattools
29019 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29021 mostlyclean-gnattools:
29022 @: $(MAKE); $(unstage)
29023 @[ -f ./gnattools/Makefile ] || exit 0; \
29024 r=`${PWD_COMMAND}`; export r; \
29025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29026 $(HOST_EXPORTS) \
29027 for flag in $(EXTRA_HOST_FLAGS) ; do \
29028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29029 done; \
29030 echo "Doing mostlyclean in gnattools" ; \
29031 (cd $(HOST_SUBDIR)/gnattools && \
29032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29034 "RANLIB=$${RANLIB}" \
29035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29036 mostlyclean) \
29037 || exit 1
29039 @endif gnattools
29041 .PHONY: maybe-clean-gnattools clean-gnattools
29042 maybe-clean-gnattools:
29043 @if gnattools
29044 maybe-clean-gnattools: clean-gnattools
29046 clean-gnattools:
29047 @: $(MAKE); $(unstage)
29048 @[ -f ./gnattools/Makefile ] || exit 0; \
29049 r=`${PWD_COMMAND}`; export r; \
29050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29051 $(HOST_EXPORTS) \
29052 for flag in $(EXTRA_HOST_FLAGS) ; do \
29053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29054 done; \
29055 echo "Doing clean in gnattools" ; \
29056 (cd $(HOST_SUBDIR)/gnattools && \
29057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29059 "RANLIB=$${RANLIB}" \
29060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29061 clean) \
29062 || exit 1
29064 @endif gnattools
29066 .PHONY: maybe-distclean-gnattools distclean-gnattools
29067 maybe-distclean-gnattools:
29068 @if gnattools
29069 maybe-distclean-gnattools: distclean-gnattools
29071 distclean-gnattools:
29072 @: $(MAKE); $(unstage)
29073 @[ -f ./gnattools/Makefile ] || exit 0; \
29074 r=`${PWD_COMMAND}`; export r; \
29075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29076 $(HOST_EXPORTS) \
29077 for flag in $(EXTRA_HOST_FLAGS) ; do \
29078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29079 done; \
29080 echo "Doing distclean in gnattools" ; \
29081 (cd $(HOST_SUBDIR)/gnattools && \
29082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29084 "RANLIB=$${RANLIB}" \
29085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29086 distclean) \
29087 || exit 1
29089 @endif gnattools
29091 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29092 maybe-maintainer-clean-gnattools:
29093 @if gnattools
29094 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29096 maintainer-clean-gnattools:
29097 @: $(MAKE); $(unstage)
29098 @[ -f ./gnattools/Makefile ] || exit 0; \
29099 r=`${PWD_COMMAND}`; export r; \
29100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29101 $(HOST_EXPORTS) \
29102 for flag in $(EXTRA_HOST_FLAGS) ; do \
29103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29104 done; \
29105 echo "Doing maintainer-clean in gnattools" ; \
29106 (cd $(HOST_SUBDIR)/gnattools && \
29107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29109 "RANLIB=$${RANLIB}" \
29110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29111 maintainer-clean) \
29112 || exit 1
29114 @endif gnattools
29118 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29119 maybe-configure-lto-plugin:
29120 @if gcc-bootstrap
29121 configure-lto-plugin: stage_current
29122 @endif gcc-bootstrap
29123 @if lto-plugin
29124 maybe-configure-lto-plugin: configure-lto-plugin
29125 configure-lto-plugin:
29126 @r=`${PWD_COMMAND}`; export r; \
29127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29128 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29130 $(HOST_EXPORTS) \
29131 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29132 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29133 case $(srcdir) in \
29134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29135 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29137 esac; \
29138 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29139 libsrcdir="$$s/lto-plugin"; \
29140 $(SHELL) $${libsrcdir}/configure \
29141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29142 --target=${target_alias} $${srcdiroption} --enable-shared \
29143 || exit 1
29144 @endif lto-plugin
29148 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29149 maybe-configure-stage1-lto-plugin:
29150 @if lto-plugin-bootstrap
29151 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29152 configure-stage1-lto-plugin:
29153 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29155 @r=`${PWD_COMMAND}`; export r; \
29156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29157 TFLAGS="$(STAGE1_TFLAGS)"; \
29158 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29159 $(HOST_EXPORTS) \
29160 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29161 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29162 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29163 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29165 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29166 case $(srcdir) in \
29167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29168 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29170 esac; \
29171 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29172 libsrcdir="$$s/lto-plugin"; \
29173 $(SHELL) $${libsrcdir}/configure \
29174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29175 --target=${target_alias} $${srcdiroption} \
29176 $(STAGE1_CONFIGURE_FLAGS) \
29177 --enable-shared
29178 @endif lto-plugin-bootstrap
29180 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29181 maybe-configure-stage2-lto-plugin:
29182 @if lto-plugin-bootstrap
29183 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29184 configure-stage2-lto-plugin:
29185 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29187 @r=`${PWD_COMMAND}`; export r; \
29188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29189 TFLAGS="$(STAGE2_TFLAGS)"; \
29190 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29191 $(HOST_EXPORTS) \
29192 $(POSTSTAGE1_HOST_EXPORTS) \
29193 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29194 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29195 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29196 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29198 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29199 case $(srcdir) in \
29200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29201 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29203 esac; \
29204 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29205 libsrcdir="$$s/lto-plugin"; \
29206 $(SHELL) $${libsrcdir}/configure \
29207 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29208 --target=${target_alias} $${srcdiroption} \
29209 --with-build-libsubdir=$(HOST_SUBDIR) \
29210 $(STAGE2_CONFIGURE_FLAGS) \
29211 --enable-shared
29212 @endif lto-plugin-bootstrap
29214 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29215 maybe-configure-stage3-lto-plugin:
29216 @if lto-plugin-bootstrap
29217 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29218 configure-stage3-lto-plugin:
29219 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29220 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29221 @r=`${PWD_COMMAND}`; export r; \
29222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29223 TFLAGS="$(STAGE3_TFLAGS)"; \
29224 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29225 $(HOST_EXPORTS) \
29226 $(POSTSTAGE1_HOST_EXPORTS) \
29227 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29228 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29229 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29230 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29232 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29233 case $(srcdir) in \
29234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29235 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29237 esac; \
29238 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29239 libsrcdir="$$s/lto-plugin"; \
29240 $(SHELL) $${libsrcdir}/configure \
29241 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29242 --target=${target_alias} $${srcdiroption} \
29243 --with-build-libsubdir=$(HOST_SUBDIR) \
29244 $(STAGE3_CONFIGURE_FLAGS) \
29245 --enable-shared
29246 @endif lto-plugin-bootstrap
29248 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29249 maybe-configure-stage4-lto-plugin:
29250 @if lto-plugin-bootstrap
29251 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29252 configure-stage4-lto-plugin:
29253 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29254 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29255 @r=`${PWD_COMMAND}`; export r; \
29256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29257 TFLAGS="$(STAGE4_TFLAGS)"; \
29258 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29259 $(HOST_EXPORTS) \
29260 $(POSTSTAGE1_HOST_EXPORTS) \
29261 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29262 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29263 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29264 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29266 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29267 case $(srcdir) in \
29268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29269 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29271 esac; \
29272 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29273 libsrcdir="$$s/lto-plugin"; \
29274 $(SHELL) $${libsrcdir}/configure \
29275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29276 --target=${target_alias} $${srcdiroption} \
29277 --with-build-libsubdir=$(HOST_SUBDIR) \
29278 $(STAGE4_CONFIGURE_FLAGS) \
29279 --enable-shared
29280 @endif lto-plugin-bootstrap
29282 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
29283 maybe-configure-stageprofile-lto-plugin:
29284 @if lto-plugin-bootstrap
29285 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29286 configure-stageprofile-lto-plugin:
29287 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29289 @r=`${PWD_COMMAND}`; export r; \
29290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29291 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29292 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29293 $(HOST_EXPORTS) \
29294 $(POSTSTAGE1_HOST_EXPORTS) \
29295 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29296 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29297 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29298 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
29299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29300 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29301 case $(srcdir) in \
29302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29303 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29305 esac; \
29306 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29307 libsrcdir="$$s/lto-plugin"; \
29308 $(SHELL) $${libsrcdir}/configure \
29309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29310 --target=${target_alias} $${srcdiroption} \
29311 --with-build-libsubdir=$(HOST_SUBDIR) \
29312 $(STAGEprofile_CONFIGURE_FLAGS) \
29313 --enable-shared
29314 @endif lto-plugin-bootstrap
29316 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
29317 maybe-configure-stagefeedback-lto-plugin:
29318 @if lto-plugin-bootstrap
29319 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29320 configure-stagefeedback-lto-plugin:
29321 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29322 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29323 @r=`${PWD_COMMAND}`; export r; \
29324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29325 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29326 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29327 $(HOST_EXPORTS) \
29328 $(POSTSTAGE1_HOST_EXPORTS) \
29329 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29330 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29331 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29332 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
29333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29334 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29335 case $(srcdir) in \
29336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29337 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29339 esac; \
29340 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29341 libsrcdir="$$s/lto-plugin"; \
29342 $(SHELL) $${libsrcdir}/configure \
29343 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29344 --target=${target_alias} $${srcdiroption} \
29345 --with-build-libsubdir=$(HOST_SUBDIR) \
29346 $(STAGEfeedback_CONFIGURE_FLAGS) \
29347 --enable-shared
29348 @endif lto-plugin-bootstrap
29354 .PHONY: all-lto-plugin maybe-all-lto-plugin
29355 maybe-all-lto-plugin:
29356 @if gcc-bootstrap
29357 all-lto-plugin: stage_current
29358 @endif gcc-bootstrap
29359 @if lto-plugin
29360 TARGET-lto-plugin=all
29361 maybe-all-lto-plugin: all-lto-plugin
29362 all-lto-plugin: configure-lto-plugin
29363 @r=`${PWD_COMMAND}`; export r; \
29364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29365 $(HOST_EXPORTS) \
29366 (cd $(HOST_SUBDIR)/lto-plugin && \
29367 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29368 $(TARGET-lto-plugin))
29369 @endif lto-plugin
29373 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
29374 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
29375 maybe-all-stage1-lto-plugin:
29376 maybe-clean-stage1-lto-plugin:
29377 @if lto-plugin-bootstrap
29378 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
29379 all-stage1: all-stage1-lto-plugin
29380 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
29381 all-stage1-lto-plugin: configure-stage1-lto-plugin
29382 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29383 @r=`${PWD_COMMAND}`; export r; \
29384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29385 TFLAGS="$(STAGE1_TFLAGS)"; \
29386 $(HOST_EXPORTS) \
29387 cd $(HOST_SUBDIR)/lto-plugin && \
29388 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29389 CFLAGS="$(STAGE1_CFLAGS)" \
29390 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29391 LIBCFLAGS="$(LIBCFLAGS)" \
29392 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29393 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29394 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29395 $(EXTRA_HOST_FLAGS) \
29396 TFLAGS="$(STAGE1_TFLAGS)" \
29397 $(TARGET-stage1-lto-plugin)
29399 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
29400 clean-stage1: clean-stage1-lto-plugin
29401 clean-stage1-lto-plugin:
29402 @if [ $(current_stage) = stage1 ]; then \
29403 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29404 else \
29405 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
29406 $(MAKE) stage1-start; \
29407 fi; \
29408 cd $(HOST_SUBDIR)/lto-plugin && \
29409 $(MAKE) $(EXTRA_HOST_FLAGS) \
29410 clean
29411 @endif lto-plugin-bootstrap
29414 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
29415 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
29416 maybe-all-stage2-lto-plugin:
29417 maybe-clean-stage2-lto-plugin:
29418 @if lto-plugin-bootstrap
29419 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
29420 all-stage2: all-stage2-lto-plugin
29421 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
29422 all-stage2-lto-plugin: configure-stage2-lto-plugin
29423 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29424 @r=`${PWD_COMMAND}`; export r; \
29425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29426 TFLAGS="$(STAGE2_TFLAGS)"; \
29427 $(HOST_EXPORTS) \
29428 $(POSTSTAGE1_HOST_EXPORTS) \
29429 cd $(HOST_SUBDIR)/lto-plugin && \
29430 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29431 CFLAGS="$(STAGE2_CFLAGS)" \
29432 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29433 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29434 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29435 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29436 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29437 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29438 TFLAGS="$(STAGE2_TFLAGS)" \
29439 $(TARGET-stage2-lto-plugin)
29441 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
29442 clean-stage2: clean-stage2-lto-plugin
29443 clean-stage2-lto-plugin:
29444 @if [ $(current_stage) = stage2 ]; then \
29445 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29446 else \
29447 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
29448 $(MAKE) stage2-start; \
29449 fi; \
29450 cd $(HOST_SUBDIR)/lto-plugin && \
29451 $(MAKE) $(EXTRA_HOST_FLAGS) \
29452 $(POSTSTAGE1_FLAGS_TO_PASS) \
29453 clean
29454 @endif lto-plugin-bootstrap
29457 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
29458 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
29459 maybe-all-stage3-lto-plugin:
29460 maybe-clean-stage3-lto-plugin:
29461 @if lto-plugin-bootstrap
29462 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
29463 all-stage3: all-stage3-lto-plugin
29464 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
29465 all-stage3-lto-plugin: configure-stage3-lto-plugin
29466 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29467 @r=`${PWD_COMMAND}`; export r; \
29468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29469 TFLAGS="$(STAGE3_TFLAGS)"; \
29470 $(HOST_EXPORTS) \
29471 $(POSTSTAGE1_HOST_EXPORTS) \
29472 cd $(HOST_SUBDIR)/lto-plugin && \
29473 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29474 CFLAGS="$(STAGE3_CFLAGS)" \
29475 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29476 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29477 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29478 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29479 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29480 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29481 TFLAGS="$(STAGE3_TFLAGS)" \
29482 $(TARGET-stage3-lto-plugin)
29484 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
29485 clean-stage3: clean-stage3-lto-plugin
29486 clean-stage3-lto-plugin:
29487 @if [ $(current_stage) = stage3 ]; then \
29488 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29489 else \
29490 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
29491 $(MAKE) stage3-start; \
29492 fi; \
29493 cd $(HOST_SUBDIR)/lto-plugin && \
29494 $(MAKE) $(EXTRA_HOST_FLAGS) \
29495 $(POSTSTAGE1_FLAGS_TO_PASS) \
29496 clean
29497 @endif lto-plugin-bootstrap
29500 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
29501 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
29502 maybe-all-stage4-lto-plugin:
29503 maybe-clean-stage4-lto-plugin:
29504 @if lto-plugin-bootstrap
29505 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
29506 all-stage4: all-stage4-lto-plugin
29507 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
29508 all-stage4-lto-plugin: configure-stage4-lto-plugin
29509 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29510 @r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 TFLAGS="$(STAGE4_TFLAGS)"; \
29513 $(HOST_EXPORTS) \
29514 $(POSTSTAGE1_HOST_EXPORTS) \
29515 cd $(HOST_SUBDIR)/lto-plugin && \
29516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29517 CFLAGS="$(STAGE4_CFLAGS)" \
29518 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29519 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29520 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29521 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29522 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29523 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29524 TFLAGS="$(STAGE4_TFLAGS)" \
29525 $(TARGET-stage4-lto-plugin)
29527 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
29528 clean-stage4: clean-stage4-lto-plugin
29529 clean-stage4-lto-plugin:
29530 @if [ $(current_stage) = stage4 ]; then \
29531 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29532 else \
29533 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
29534 $(MAKE) stage4-start; \
29535 fi; \
29536 cd $(HOST_SUBDIR)/lto-plugin && \
29537 $(MAKE) $(EXTRA_HOST_FLAGS) \
29538 $(POSTSTAGE1_FLAGS_TO_PASS) \
29539 clean
29540 @endif lto-plugin-bootstrap
29543 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
29544 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
29545 maybe-all-stageprofile-lto-plugin:
29546 maybe-clean-stageprofile-lto-plugin:
29547 @if lto-plugin-bootstrap
29548 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
29549 all-stageprofile: all-stageprofile-lto-plugin
29550 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
29551 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
29552 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29553 @r=`${PWD_COMMAND}`; export r; \
29554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29555 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29556 $(HOST_EXPORTS) \
29557 $(POSTSTAGE1_HOST_EXPORTS) \
29558 cd $(HOST_SUBDIR)/lto-plugin && \
29559 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29560 CFLAGS="$(STAGEprofile_CFLAGS)" \
29561 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29562 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29563 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29564 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29565 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29566 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29567 TFLAGS="$(STAGEprofile_TFLAGS)" \
29568 $(TARGET-stageprofile-lto-plugin)
29570 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
29571 clean-stageprofile: clean-stageprofile-lto-plugin
29572 clean-stageprofile-lto-plugin:
29573 @if [ $(current_stage) = stageprofile ]; then \
29574 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29575 else \
29576 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
29577 $(MAKE) stageprofile-start; \
29578 fi; \
29579 cd $(HOST_SUBDIR)/lto-plugin && \
29580 $(MAKE) $(EXTRA_HOST_FLAGS) \
29581 $(POSTSTAGE1_FLAGS_TO_PASS) \
29582 clean
29583 @endif lto-plugin-bootstrap
29586 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
29587 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
29588 maybe-all-stagefeedback-lto-plugin:
29589 maybe-clean-stagefeedback-lto-plugin:
29590 @if lto-plugin-bootstrap
29591 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
29592 all-stagefeedback: all-stagefeedback-lto-plugin
29593 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
29594 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
29595 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29596 @r=`${PWD_COMMAND}`; export r; \
29597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29598 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29599 $(HOST_EXPORTS) \
29600 $(POSTSTAGE1_HOST_EXPORTS) \
29601 cd $(HOST_SUBDIR)/lto-plugin && \
29602 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29603 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29604 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29605 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29606 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29607 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29608 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29609 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29610 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29611 $(TARGET-stagefeedback-lto-plugin)
29613 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
29614 clean-stagefeedback: clean-stagefeedback-lto-plugin
29615 clean-stagefeedback-lto-plugin:
29616 @if [ $(current_stage) = stagefeedback ]; then \
29617 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
29618 else \
29619 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
29620 $(MAKE) stagefeedback-start; \
29621 fi; \
29622 cd $(HOST_SUBDIR)/lto-plugin && \
29623 $(MAKE) $(EXTRA_HOST_FLAGS) \
29624 $(POSTSTAGE1_FLAGS_TO_PASS) \
29625 clean
29626 @endif lto-plugin-bootstrap
29632 .PHONY: check-lto-plugin maybe-check-lto-plugin
29633 maybe-check-lto-plugin:
29634 @if lto-plugin
29635 maybe-check-lto-plugin: check-lto-plugin
29637 check-lto-plugin:
29638 @: $(MAKE); $(unstage)
29639 @r=`${PWD_COMMAND}`; export r; \
29640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29641 $(HOST_EXPORTS) \
29642 (cd $(HOST_SUBDIR)/lto-plugin && \
29643 $(MAKE) $(FLAGS_TO_PASS) check)
29645 @endif lto-plugin
29647 .PHONY: install-lto-plugin maybe-install-lto-plugin
29648 maybe-install-lto-plugin:
29649 @if lto-plugin
29650 maybe-install-lto-plugin: install-lto-plugin
29652 install-lto-plugin: installdirs
29653 @: $(MAKE); $(unstage)
29654 @r=`${PWD_COMMAND}`; export r; \
29655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29656 $(HOST_EXPORTS) \
29657 (cd $(HOST_SUBDIR)/lto-plugin && \
29658 $(MAKE) $(FLAGS_TO_PASS) install)
29660 @endif lto-plugin
29662 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
29663 maybe-install-strip-lto-plugin:
29664 @if lto-plugin
29665 maybe-install-strip-lto-plugin: install-strip-lto-plugin
29667 install-strip-lto-plugin: installdirs
29668 @: $(MAKE); $(unstage)
29669 @r=`${PWD_COMMAND}`; export r; \
29670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29671 $(HOST_EXPORTS) \
29672 (cd $(HOST_SUBDIR)/lto-plugin && \
29673 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29675 @endif lto-plugin
29677 # Other targets (info, dvi, pdf, etc.)
29679 .PHONY: maybe-info-lto-plugin info-lto-plugin
29680 maybe-info-lto-plugin:
29681 @if lto-plugin
29682 maybe-info-lto-plugin: info-lto-plugin
29684 info-lto-plugin: \
29685 configure-lto-plugin
29686 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29687 r=`${PWD_COMMAND}`; export r; \
29688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29689 $(HOST_EXPORTS) \
29690 for flag in $(EXTRA_HOST_FLAGS) ; do \
29691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29692 done; \
29693 echo "Doing info in lto-plugin" ; \
29694 (cd $(HOST_SUBDIR)/lto-plugin && \
29695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29697 "RANLIB=$${RANLIB}" \
29698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29699 info) \
29700 || exit 1
29702 @endif lto-plugin
29704 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
29705 maybe-dvi-lto-plugin:
29706 @if lto-plugin
29707 maybe-dvi-lto-plugin: dvi-lto-plugin
29709 dvi-lto-plugin: \
29710 configure-lto-plugin
29711 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29712 r=`${PWD_COMMAND}`; export r; \
29713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29714 $(HOST_EXPORTS) \
29715 for flag in $(EXTRA_HOST_FLAGS) ; do \
29716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29717 done; \
29718 echo "Doing dvi in lto-plugin" ; \
29719 (cd $(HOST_SUBDIR)/lto-plugin && \
29720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29722 "RANLIB=$${RANLIB}" \
29723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29724 dvi) \
29725 || exit 1
29727 @endif lto-plugin
29729 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
29730 maybe-pdf-lto-plugin:
29731 @if lto-plugin
29732 maybe-pdf-lto-plugin: pdf-lto-plugin
29734 pdf-lto-plugin: \
29735 configure-lto-plugin
29736 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29737 r=`${PWD_COMMAND}`; export r; \
29738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29739 $(HOST_EXPORTS) \
29740 for flag in $(EXTRA_HOST_FLAGS) ; do \
29741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29742 done; \
29743 echo "Doing pdf in lto-plugin" ; \
29744 (cd $(HOST_SUBDIR)/lto-plugin && \
29745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29747 "RANLIB=$${RANLIB}" \
29748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29749 pdf) \
29750 || exit 1
29752 @endif lto-plugin
29754 .PHONY: maybe-html-lto-plugin html-lto-plugin
29755 maybe-html-lto-plugin:
29756 @if lto-plugin
29757 maybe-html-lto-plugin: html-lto-plugin
29759 html-lto-plugin: \
29760 configure-lto-plugin
29761 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29762 r=`${PWD_COMMAND}`; export r; \
29763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29764 $(HOST_EXPORTS) \
29765 for flag in $(EXTRA_HOST_FLAGS) ; do \
29766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29767 done; \
29768 echo "Doing html in lto-plugin" ; \
29769 (cd $(HOST_SUBDIR)/lto-plugin && \
29770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29772 "RANLIB=$${RANLIB}" \
29773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29774 html) \
29775 || exit 1
29777 @endif lto-plugin
29779 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
29780 maybe-TAGS-lto-plugin:
29781 @if lto-plugin
29782 maybe-TAGS-lto-plugin: TAGS-lto-plugin
29784 TAGS-lto-plugin: \
29785 configure-lto-plugin
29786 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29787 r=`${PWD_COMMAND}`; export r; \
29788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29789 $(HOST_EXPORTS) \
29790 for flag in $(EXTRA_HOST_FLAGS) ; do \
29791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29792 done; \
29793 echo "Doing TAGS in lto-plugin" ; \
29794 (cd $(HOST_SUBDIR)/lto-plugin && \
29795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29797 "RANLIB=$${RANLIB}" \
29798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29799 TAGS) \
29800 || exit 1
29802 @endif lto-plugin
29804 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
29805 maybe-install-info-lto-plugin:
29806 @if lto-plugin
29807 maybe-install-info-lto-plugin: install-info-lto-plugin
29809 install-info-lto-plugin: \
29810 configure-lto-plugin \
29811 info-lto-plugin
29812 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29813 r=`${PWD_COMMAND}`; export r; \
29814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29815 $(HOST_EXPORTS) \
29816 for flag in $(EXTRA_HOST_FLAGS) ; do \
29817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29818 done; \
29819 echo "Doing install-info in lto-plugin" ; \
29820 (cd $(HOST_SUBDIR)/lto-plugin && \
29821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29823 "RANLIB=$${RANLIB}" \
29824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29825 install-info) \
29826 || exit 1
29828 @endif lto-plugin
29830 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
29831 maybe-install-pdf-lto-plugin:
29832 @if lto-plugin
29833 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
29835 install-pdf-lto-plugin: \
29836 configure-lto-plugin \
29837 pdf-lto-plugin
29838 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29839 r=`${PWD_COMMAND}`; export r; \
29840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29841 $(HOST_EXPORTS) \
29842 for flag in $(EXTRA_HOST_FLAGS) ; do \
29843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29844 done; \
29845 echo "Doing install-pdf in lto-plugin" ; \
29846 (cd $(HOST_SUBDIR)/lto-plugin && \
29847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29849 "RANLIB=$${RANLIB}" \
29850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29851 install-pdf) \
29852 || exit 1
29854 @endif lto-plugin
29856 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
29857 maybe-install-html-lto-plugin:
29858 @if lto-plugin
29859 maybe-install-html-lto-plugin: install-html-lto-plugin
29861 install-html-lto-plugin: \
29862 configure-lto-plugin \
29863 html-lto-plugin
29864 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29865 r=`${PWD_COMMAND}`; export r; \
29866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29867 $(HOST_EXPORTS) \
29868 for flag in $(EXTRA_HOST_FLAGS) ; do \
29869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29870 done; \
29871 echo "Doing install-html in lto-plugin" ; \
29872 (cd $(HOST_SUBDIR)/lto-plugin && \
29873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29875 "RANLIB=$${RANLIB}" \
29876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29877 install-html) \
29878 || exit 1
29880 @endif lto-plugin
29882 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
29883 maybe-installcheck-lto-plugin:
29884 @if lto-plugin
29885 maybe-installcheck-lto-plugin: installcheck-lto-plugin
29887 installcheck-lto-plugin: \
29888 configure-lto-plugin
29889 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29890 r=`${PWD_COMMAND}`; export r; \
29891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29892 $(HOST_EXPORTS) \
29893 for flag in $(EXTRA_HOST_FLAGS) ; do \
29894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29895 done; \
29896 echo "Doing installcheck in lto-plugin" ; \
29897 (cd $(HOST_SUBDIR)/lto-plugin && \
29898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29900 "RANLIB=$${RANLIB}" \
29901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29902 installcheck) \
29903 || exit 1
29905 @endif lto-plugin
29907 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
29908 maybe-mostlyclean-lto-plugin:
29909 @if lto-plugin
29910 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
29912 mostlyclean-lto-plugin:
29913 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29914 r=`${PWD_COMMAND}`; export r; \
29915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29916 $(HOST_EXPORTS) \
29917 for flag in $(EXTRA_HOST_FLAGS) ; do \
29918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29919 done; \
29920 echo "Doing mostlyclean in lto-plugin" ; \
29921 (cd $(HOST_SUBDIR)/lto-plugin && \
29922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29924 "RANLIB=$${RANLIB}" \
29925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29926 mostlyclean) \
29927 || exit 1
29929 @endif lto-plugin
29931 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
29932 maybe-clean-lto-plugin:
29933 @if lto-plugin
29934 maybe-clean-lto-plugin: clean-lto-plugin
29936 clean-lto-plugin:
29937 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29938 r=`${PWD_COMMAND}`; export r; \
29939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29940 $(HOST_EXPORTS) \
29941 for flag in $(EXTRA_HOST_FLAGS) ; do \
29942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29943 done; \
29944 echo "Doing clean in lto-plugin" ; \
29945 (cd $(HOST_SUBDIR)/lto-plugin && \
29946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29948 "RANLIB=$${RANLIB}" \
29949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29950 clean) \
29951 || exit 1
29953 @endif lto-plugin
29955 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
29956 maybe-distclean-lto-plugin:
29957 @if lto-plugin
29958 maybe-distclean-lto-plugin: distclean-lto-plugin
29960 distclean-lto-plugin:
29961 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29962 r=`${PWD_COMMAND}`; export r; \
29963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29964 $(HOST_EXPORTS) \
29965 for flag in $(EXTRA_HOST_FLAGS) ; do \
29966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29967 done; \
29968 echo "Doing distclean in lto-plugin" ; \
29969 (cd $(HOST_SUBDIR)/lto-plugin && \
29970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29972 "RANLIB=$${RANLIB}" \
29973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29974 distclean) \
29975 || exit 1
29977 @endif lto-plugin
29979 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
29980 maybe-maintainer-clean-lto-plugin:
29981 @if lto-plugin
29982 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
29984 maintainer-clean-lto-plugin:
29985 @[ -f ./lto-plugin/Makefile ] || exit 0; \
29986 r=`${PWD_COMMAND}`; export r; \
29987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29988 $(HOST_EXPORTS) \
29989 for flag in $(EXTRA_HOST_FLAGS) ; do \
29990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29991 done; \
29992 echo "Doing maintainer-clean in lto-plugin" ; \
29993 (cd $(HOST_SUBDIR)/lto-plugin && \
29994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29996 "RANLIB=$${RANLIB}" \
29997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29998 maintainer-clean) \
29999 || exit 1
30001 @endif lto-plugin
30005 # ---------------------------------------
30006 # Modules which run on the target machine
30007 # ---------------------------------------
30012 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30013 maybe-configure-target-libstdc++-v3:
30014 @if gcc-bootstrap
30015 configure-target-libstdc++-v3: stage_current
30016 @endif gcc-bootstrap
30017 @if target-libstdc++-v3
30018 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30019 configure-target-libstdc++-v3:
30020 @r=`${PWD_COMMAND}`; export r; \
30021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30022 echo "Checking multilib configuration for libstdc++-v3..."; \
30023 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30024 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30025 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30026 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30027 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30028 else \
30029 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30030 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30031 fi; \
30032 else \
30033 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30034 fi; \
30035 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30036 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30037 $(RAW_CXX_TARGET_EXPORTS) \
30038 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30039 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30040 case $(srcdir) in \
30041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30042 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30044 esac; \
30045 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30046 libsrcdir="$$s/libstdc++-v3"; \
30047 rm -f no-such-file || : ; \
30048 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30049 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30050 --target=${target_alias} $${srcdiroption} \
30051 || exit 1
30052 @endif target-libstdc++-v3
30056 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30057 maybe-configure-stage1-target-libstdc++-v3:
30058 @if target-libstdc++-v3-bootstrap
30059 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30060 configure-stage1-target-libstdc++-v3:
30061 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30062 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30063 @r=`${PWD_COMMAND}`; export r; \
30064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30065 TFLAGS="$(STAGE1_TFLAGS)"; \
30066 echo "Checking multilib configuration for libstdc++-v3..."; \
30067 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30068 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30069 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30070 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30071 else \
30072 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30073 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30074 fi; \
30075 else \
30076 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30077 fi; \
30078 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30079 $(RAW_CXX_TARGET_EXPORTS) \
30080 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30081 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30082 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30083 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30084 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30085 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30086 case $(srcdir) in \
30087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30088 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30090 esac; \
30091 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30092 libsrcdir="$$s/libstdc++-v3"; \
30093 $(SHELL) $${libsrcdir}/configure \
30094 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30095 --target=${target_alias} $${srcdiroption} \
30096 $(STAGE1_CONFIGURE_FLAGS)
30097 @endif target-libstdc++-v3-bootstrap
30099 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30100 maybe-configure-stage2-target-libstdc++-v3:
30101 @if target-libstdc++-v3-bootstrap
30102 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30103 configure-stage2-target-libstdc++-v3:
30104 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30105 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30106 @r=`${PWD_COMMAND}`; export r; \
30107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30108 TFLAGS="$(STAGE2_TFLAGS)"; \
30109 echo "Checking multilib configuration for libstdc++-v3..."; \
30110 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30111 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30112 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30113 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30114 else \
30115 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30116 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30117 fi; \
30118 else \
30119 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30120 fi; \
30121 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30122 $(RAW_CXX_TARGET_EXPORTS) \
30124 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30125 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30126 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30127 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30128 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30129 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30130 case $(srcdir) in \
30131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30132 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30134 esac; \
30135 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30136 libsrcdir="$$s/libstdc++-v3"; \
30137 $(SHELL) $${libsrcdir}/configure \
30138 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30139 --target=${target_alias} $${srcdiroption} \
30140 --with-build-libsubdir=$(HOST_SUBDIR) \
30141 $(STAGE2_CONFIGURE_FLAGS)
30142 @endif target-libstdc++-v3-bootstrap
30144 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30145 maybe-configure-stage3-target-libstdc++-v3:
30146 @if target-libstdc++-v3-bootstrap
30147 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30148 configure-stage3-target-libstdc++-v3:
30149 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30150 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30151 @r=`${PWD_COMMAND}`; export r; \
30152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30153 TFLAGS="$(STAGE3_TFLAGS)"; \
30154 echo "Checking multilib configuration for libstdc++-v3..."; \
30155 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30156 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30157 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30158 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30159 else \
30160 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30161 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30162 fi; \
30163 else \
30164 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30165 fi; \
30166 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30167 $(RAW_CXX_TARGET_EXPORTS) \
30169 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30170 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30171 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30172 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30173 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30174 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30175 case $(srcdir) in \
30176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30177 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30179 esac; \
30180 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30181 libsrcdir="$$s/libstdc++-v3"; \
30182 $(SHELL) $${libsrcdir}/configure \
30183 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30184 --target=${target_alias} $${srcdiroption} \
30185 --with-build-libsubdir=$(HOST_SUBDIR) \
30186 $(STAGE3_CONFIGURE_FLAGS)
30187 @endif target-libstdc++-v3-bootstrap
30189 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30190 maybe-configure-stage4-target-libstdc++-v3:
30191 @if target-libstdc++-v3-bootstrap
30192 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30193 configure-stage4-target-libstdc++-v3:
30194 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30195 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30196 @r=`${PWD_COMMAND}`; export r; \
30197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30198 TFLAGS="$(STAGE4_TFLAGS)"; \
30199 echo "Checking multilib configuration for libstdc++-v3..."; \
30200 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30201 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30202 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30203 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30204 else \
30205 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30206 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30207 fi; \
30208 else \
30209 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30210 fi; \
30211 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30212 $(RAW_CXX_TARGET_EXPORTS) \
30214 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30215 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30216 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30217 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30218 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30219 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30220 case $(srcdir) in \
30221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30222 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30224 esac; \
30225 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30226 libsrcdir="$$s/libstdc++-v3"; \
30227 $(SHELL) $${libsrcdir}/configure \
30228 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30229 --target=${target_alias} $${srcdiroption} \
30230 --with-build-libsubdir=$(HOST_SUBDIR) \
30231 $(STAGE4_CONFIGURE_FLAGS)
30232 @endif target-libstdc++-v3-bootstrap
30234 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30235 maybe-configure-stageprofile-target-libstdc++-v3:
30236 @if target-libstdc++-v3-bootstrap
30237 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30238 configure-stageprofile-target-libstdc++-v3:
30239 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30240 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30241 @r=`${PWD_COMMAND}`; export r; \
30242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30243 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30244 echo "Checking multilib configuration for libstdc++-v3..."; \
30245 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30246 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30247 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30248 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30249 else \
30250 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30251 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30252 fi; \
30253 else \
30254 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30255 fi; \
30256 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30257 $(RAW_CXX_TARGET_EXPORTS) \
30259 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30260 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30261 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30262 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30263 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30264 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30265 case $(srcdir) in \
30266 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30267 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30268 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30269 esac; \
30270 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30271 libsrcdir="$$s/libstdc++-v3"; \
30272 $(SHELL) $${libsrcdir}/configure \
30273 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30274 --target=${target_alias} $${srcdiroption} \
30275 --with-build-libsubdir=$(HOST_SUBDIR) \
30276 $(STAGEprofile_CONFIGURE_FLAGS)
30277 @endif target-libstdc++-v3-bootstrap
30279 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30280 maybe-configure-stagefeedback-target-libstdc++-v3:
30281 @if target-libstdc++-v3-bootstrap
30282 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30283 configure-stagefeedback-target-libstdc++-v3:
30284 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30285 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30286 @r=`${PWD_COMMAND}`; export r; \
30287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30288 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30289 echo "Checking multilib configuration for libstdc++-v3..."; \
30290 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30291 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30292 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30293 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30294 else \
30295 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30296 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30297 fi; \
30298 else \
30299 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30300 fi; \
30301 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30302 $(RAW_CXX_TARGET_EXPORTS) \
30304 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30305 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30306 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30307 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30308 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30309 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30310 case $(srcdir) in \
30311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30312 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30314 esac; \
30315 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30316 libsrcdir="$$s/libstdc++-v3"; \
30317 $(SHELL) $${libsrcdir}/configure \
30318 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30319 --target=${target_alias} $${srcdiroption} \
30320 --with-build-libsubdir=$(HOST_SUBDIR) \
30321 $(STAGEfeedback_CONFIGURE_FLAGS)
30322 @endif target-libstdc++-v3-bootstrap
30328 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
30329 maybe-all-target-libstdc++-v3:
30330 @if gcc-bootstrap
30331 all-target-libstdc++-v3: stage_current
30332 @endif gcc-bootstrap
30333 @if target-libstdc++-v3
30334 TARGET-target-libstdc++-v3=all
30335 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
30336 all-target-libstdc++-v3: configure-target-libstdc++-v3
30337 @r=`${PWD_COMMAND}`; export r; \
30338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30339 $(RAW_CXX_TARGET_EXPORTS) \
30340 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30341 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30342 $(TARGET-target-libstdc++-v3))
30343 @endif target-libstdc++-v3
30347 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
30348 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
30349 maybe-all-stage1-target-libstdc++-v3:
30350 maybe-clean-stage1-target-libstdc++-v3:
30351 @if target-libstdc++-v3-bootstrap
30352 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
30353 all-stage1: all-stage1-target-libstdc++-v3
30354 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30355 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30356 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30357 @r=`${PWD_COMMAND}`; export r; \
30358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30359 TFLAGS="$(STAGE1_TFLAGS)"; \
30360 $(RAW_CXX_TARGET_EXPORTS) \
30361 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30362 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30363 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30364 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30365 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30366 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30367 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30368 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30369 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30370 TFLAGS="$(STAGE1_TFLAGS)" \
30371 $(TARGET-stage1-target-libstdc++-v3)
30373 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
30374 clean-stage1: clean-stage1-target-libstdc++-v3
30375 clean-stage1-target-libstdc++-v3:
30376 @if [ $(current_stage) = stage1 ]; then \
30377 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30378 else \
30379 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
30380 $(MAKE) stage1-start; \
30381 fi; \
30382 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30383 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30384 clean
30385 @endif target-libstdc++-v3-bootstrap
30388 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
30389 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
30390 maybe-all-stage2-target-libstdc++-v3:
30391 maybe-clean-stage2-target-libstdc++-v3:
30392 @if target-libstdc++-v3-bootstrap
30393 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
30394 all-stage2: all-stage2-target-libstdc++-v3
30395 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30396 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30397 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30398 @r=`${PWD_COMMAND}`; export r; \
30399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30400 TFLAGS="$(STAGE2_TFLAGS)"; \
30401 $(RAW_CXX_TARGET_EXPORTS) \
30403 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30405 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30406 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30407 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30411 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30412 TFLAGS="$(STAGE2_TFLAGS)" \
30413 $(TARGET-stage2-target-libstdc++-v3)
30415 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
30416 clean-stage2: clean-stage2-target-libstdc++-v3
30417 clean-stage2-target-libstdc++-v3:
30418 @if [ $(current_stage) = stage2 ]; then \
30419 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30420 else \
30421 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
30422 $(MAKE) stage2-start; \
30423 fi; \
30424 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30425 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30427 clean
30428 @endif target-libstdc++-v3-bootstrap
30431 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
30432 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
30433 maybe-all-stage3-target-libstdc++-v3:
30434 maybe-clean-stage3-target-libstdc++-v3:
30435 @if target-libstdc++-v3-bootstrap
30436 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
30437 all-stage3: all-stage3-target-libstdc++-v3
30438 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30439 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30440 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30441 @r=`${PWD_COMMAND}`; export r; \
30442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30443 TFLAGS="$(STAGE3_TFLAGS)"; \
30444 $(RAW_CXX_TARGET_EXPORTS) \
30446 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30448 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30449 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30450 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30454 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30455 TFLAGS="$(STAGE3_TFLAGS)" \
30456 $(TARGET-stage3-target-libstdc++-v3)
30458 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
30459 clean-stage3: clean-stage3-target-libstdc++-v3
30460 clean-stage3-target-libstdc++-v3:
30461 @if [ $(current_stage) = stage3 ]; then \
30462 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30463 else \
30464 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
30465 $(MAKE) stage3-start; \
30466 fi; \
30467 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30468 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30470 clean
30471 @endif target-libstdc++-v3-bootstrap
30474 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
30475 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
30476 maybe-all-stage4-target-libstdc++-v3:
30477 maybe-clean-stage4-target-libstdc++-v3:
30478 @if target-libstdc++-v3-bootstrap
30479 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
30480 all-stage4: all-stage4-target-libstdc++-v3
30481 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30482 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30483 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30484 @r=`${PWD_COMMAND}`; export r; \
30485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30486 TFLAGS="$(STAGE4_TFLAGS)"; \
30487 $(RAW_CXX_TARGET_EXPORTS) \
30489 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30491 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30492 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30493 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30497 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30498 TFLAGS="$(STAGE4_TFLAGS)" \
30499 $(TARGET-stage4-target-libstdc++-v3)
30501 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
30502 clean-stage4: clean-stage4-target-libstdc++-v3
30503 clean-stage4-target-libstdc++-v3:
30504 @if [ $(current_stage) = stage4 ]; then \
30505 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30506 else \
30507 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
30508 $(MAKE) stage4-start; \
30509 fi; \
30510 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30511 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30513 clean
30514 @endif target-libstdc++-v3-bootstrap
30517 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
30518 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
30519 maybe-all-stageprofile-target-libstdc++-v3:
30520 maybe-clean-stageprofile-target-libstdc++-v3:
30521 @if target-libstdc++-v3-bootstrap
30522 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
30523 all-stageprofile: all-stageprofile-target-libstdc++-v3
30524 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30525 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30526 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30527 @r=`${PWD_COMMAND}`; export r; \
30528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30529 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30530 $(RAW_CXX_TARGET_EXPORTS) \
30532 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30533 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30534 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30535 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30536 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30540 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30541 TFLAGS="$(STAGEprofile_TFLAGS)" \
30542 $(TARGET-stageprofile-target-libstdc++-v3)
30544 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
30545 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
30546 clean-stageprofile-target-libstdc++-v3:
30547 @if [ $(current_stage) = stageprofile ]; then \
30548 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30549 else \
30550 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
30551 $(MAKE) stageprofile-start; \
30552 fi; \
30553 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30554 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30556 clean
30557 @endif target-libstdc++-v3-bootstrap
30560 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
30561 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
30562 maybe-all-stagefeedback-target-libstdc++-v3:
30563 maybe-clean-stagefeedback-target-libstdc++-v3:
30564 @if target-libstdc++-v3-bootstrap
30565 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
30566 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
30567 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
30568 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30569 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30570 @r=`${PWD_COMMAND}`; export r; \
30571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30572 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30573 $(RAW_CXX_TARGET_EXPORTS) \
30575 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30576 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30577 CFLAGS="$(CFLAGS_FOR_TARGET)" \
30578 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
30579 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
30580 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30581 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30582 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30583 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30584 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30585 $(TARGET-stagefeedback-target-libstdc++-v3)
30587 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
30588 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
30589 clean-stagefeedback-target-libstdc++-v3:
30590 @if [ $(current_stage) = stagefeedback ]; then \
30591 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
30592 else \
30593 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
30594 $(MAKE) stagefeedback-start; \
30595 fi; \
30596 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30597 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
30599 clean
30600 @endif target-libstdc++-v3-bootstrap
30607 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
30608 maybe-check-target-libstdc++-v3:
30609 @if target-libstdc++-v3
30610 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
30612 check-target-libstdc++-v3:
30613 @: $(MAKE); $(unstage)
30614 @r=`${PWD_COMMAND}`; export r; \
30615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30616 $(RAW_CXX_TARGET_EXPORTS) \
30617 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30618 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
30620 @endif target-libstdc++-v3
30622 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
30623 maybe-install-target-libstdc++-v3:
30624 @if target-libstdc++-v3
30625 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
30627 install-target-libstdc++-v3: installdirs
30628 @: $(MAKE); $(unstage)
30629 @r=`${PWD_COMMAND}`; export r; \
30630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30631 $(RAW_CXX_TARGET_EXPORTS) \
30632 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30633 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30635 @endif target-libstdc++-v3
30637 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
30638 maybe-install-strip-target-libstdc++-v3:
30639 @if target-libstdc++-v3
30640 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
30642 install-strip-target-libstdc++-v3: installdirs
30643 @: $(MAKE); $(unstage)
30644 @r=`${PWD_COMMAND}`; export r; \
30645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30646 $(RAW_CXX_TARGET_EXPORTS) \
30647 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30648 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
30650 @endif target-libstdc++-v3
30652 # Other targets (info, dvi, pdf, etc.)
30654 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
30655 maybe-info-target-libstdc++-v3:
30656 @if target-libstdc++-v3
30657 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
30659 info-target-libstdc++-v3: \
30660 configure-target-libstdc++-v3
30661 @: $(MAKE); $(unstage)
30662 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30663 r=`${PWD_COMMAND}`; export r; \
30664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30665 $(RAW_CXX_TARGET_EXPORTS) \
30666 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30667 for flag in $(EXTRA_TARGET_FLAGS); do \
30668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30669 done; \
30670 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30673 "RANLIB=$${RANLIB}" \
30674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30675 info) \
30676 || exit 1
30678 @endif target-libstdc++-v3
30680 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
30681 maybe-dvi-target-libstdc++-v3:
30682 @if target-libstdc++-v3
30683 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
30685 dvi-target-libstdc++-v3: \
30686 configure-target-libstdc++-v3
30687 @: $(MAKE); $(unstage)
30688 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30689 r=`${PWD_COMMAND}`; export r; \
30690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30691 $(RAW_CXX_TARGET_EXPORTS) \
30692 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30693 for flag in $(EXTRA_TARGET_FLAGS); do \
30694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30695 done; \
30696 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30699 "RANLIB=$${RANLIB}" \
30700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30701 dvi) \
30702 || exit 1
30704 @endif target-libstdc++-v3
30706 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
30707 maybe-pdf-target-libstdc++-v3:
30708 @if target-libstdc++-v3
30709 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
30711 pdf-target-libstdc++-v3: \
30712 configure-target-libstdc++-v3
30713 @: $(MAKE); $(unstage)
30714 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30715 r=`${PWD_COMMAND}`; export r; \
30716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30717 $(RAW_CXX_TARGET_EXPORTS) \
30718 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30719 for flag in $(EXTRA_TARGET_FLAGS); do \
30720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30721 done; \
30722 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30725 "RANLIB=$${RANLIB}" \
30726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30727 pdf) \
30728 || exit 1
30730 @endif target-libstdc++-v3
30732 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
30733 maybe-html-target-libstdc++-v3:
30734 @if target-libstdc++-v3
30735 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
30737 html-target-libstdc++-v3: \
30738 configure-target-libstdc++-v3
30739 @: $(MAKE); $(unstage)
30740 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30741 r=`${PWD_COMMAND}`; export r; \
30742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30743 $(RAW_CXX_TARGET_EXPORTS) \
30744 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30745 for flag in $(EXTRA_TARGET_FLAGS); do \
30746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30747 done; \
30748 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30751 "RANLIB=$${RANLIB}" \
30752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30753 html) \
30754 || exit 1
30756 @endif target-libstdc++-v3
30758 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
30759 maybe-TAGS-target-libstdc++-v3:
30760 @if target-libstdc++-v3
30761 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
30763 TAGS-target-libstdc++-v3: \
30764 configure-target-libstdc++-v3
30765 @: $(MAKE); $(unstage)
30766 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30767 r=`${PWD_COMMAND}`; export r; \
30768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30769 $(RAW_CXX_TARGET_EXPORTS) \
30770 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30771 for flag in $(EXTRA_TARGET_FLAGS); do \
30772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30773 done; \
30774 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30777 "RANLIB=$${RANLIB}" \
30778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30779 TAGS) \
30780 || exit 1
30782 @endif target-libstdc++-v3
30784 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
30785 maybe-install-info-target-libstdc++-v3:
30786 @if target-libstdc++-v3
30787 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
30789 install-info-target-libstdc++-v3: \
30790 configure-target-libstdc++-v3 \
30791 info-target-libstdc++-v3
30792 @: $(MAKE); $(unstage)
30793 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30794 r=`${PWD_COMMAND}`; export r; \
30795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30796 $(RAW_CXX_TARGET_EXPORTS) \
30797 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30798 for flag in $(EXTRA_TARGET_FLAGS); do \
30799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30800 done; \
30801 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30804 "RANLIB=$${RANLIB}" \
30805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30806 install-info) \
30807 || exit 1
30809 @endif target-libstdc++-v3
30811 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
30812 maybe-install-pdf-target-libstdc++-v3:
30813 @if target-libstdc++-v3
30814 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
30816 install-pdf-target-libstdc++-v3: \
30817 configure-target-libstdc++-v3 \
30818 pdf-target-libstdc++-v3
30819 @: $(MAKE); $(unstage)
30820 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30821 r=`${PWD_COMMAND}`; export r; \
30822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30823 $(RAW_CXX_TARGET_EXPORTS) \
30824 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30825 for flag in $(EXTRA_TARGET_FLAGS); do \
30826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30827 done; \
30828 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30831 "RANLIB=$${RANLIB}" \
30832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30833 install-pdf) \
30834 || exit 1
30836 @endif target-libstdc++-v3
30838 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
30839 maybe-install-html-target-libstdc++-v3:
30840 @if target-libstdc++-v3
30841 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
30843 install-html-target-libstdc++-v3: \
30844 configure-target-libstdc++-v3 \
30845 html-target-libstdc++-v3
30846 @: $(MAKE); $(unstage)
30847 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30848 r=`${PWD_COMMAND}`; export r; \
30849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30850 $(RAW_CXX_TARGET_EXPORTS) \
30851 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30852 for flag in $(EXTRA_TARGET_FLAGS); do \
30853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30854 done; \
30855 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30858 "RANLIB=$${RANLIB}" \
30859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30860 install-html) \
30861 || exit 1
30863 @endif target-libstdc++-v3
30865 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
30866 maybe-installcheck-target-libstdc++-v3:
30867 @if target-libstdc++-v3
30868 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
30870 installcheck-target-libstdc++-v3: \
30871 configure-target-libstdc++-v3
30872 @: $(MAKE); $(unstage)
30873 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30874 r=`${PWD_COMMAND}`; export r; \
30875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30876 $(RAW_CXX_TARGET_EXPORTS) \
30877 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30878 for flag in $(EXTRA_TARGET_FLAGS); do \
30879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30880 done; \
30881 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30884 "RANLIB=$${RANLIB}" \
30885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30886 installcheck) \
30887 || exit 1
30889 @endif target-libstdc++-v3
30891 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
30892 maybe-mostlyclean-target-libstdc++-v3:
30893 @if target-libstdc++-v3
30894 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
30896 mostlyclean-target-libstdc++-v3:
30897 @: $(MAKE); $(unstage)
30898 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30899 r=`${PWD_COMMAND}`; export r; \
30900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30901 $(RAW_CXX_TARGET_EXPORTS) \
30902 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30903 for flag in $(EXTRA_TARGET_FLAGS); do \
30904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30905 done; \
30906 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30909 "RANLIB=$${RANLIB}" \
30910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30911 mostlyclean) \
30912 || exit 1
30914 @endif target-libstdc++-v3
30916 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
30917 maybe-clean-target-libstdc++-v3:
30918 @if target-libstdc++-v3
30919 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
30921 clean-target-libstdc++-v3:
30922 @: $(MAKE); $(unstage)
30923 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30924 r=`${PWD_COMMAND}`; export r; \
30925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30926 $(RAW_CXX_TARGET_EXPORTS) \
30927 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30928 for flag in $(EXTRA_TARGET_FLAGS); do \
30929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30930 done; \
30931 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30934 "RANLIB=$${RANLIB}" \
30935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30936 clean) \
30937 || exit 1
30939 @endif target-libstdc++-v3
30941 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
30942 maybe-distclean-target-libstdc++-v3:
30943 @if target-libstdc++-v3
30944 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
30946 distclean-target-libstdc++-v3:
30947 @: $(MAKE); $(unstage)
30948 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30949 r=`${PWD_COMMAND}`; export r; \
30950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30951 $(RAW_CXX_TARGET_EXPORTS) \
30952 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30953 for flag in $(EXTRA_TARGET_FLAGS); do \
30954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30955 done; \
30956 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30959 "RANLIB=$${RANLIB}" \
30960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30961 distclean) \
30962 || exit 1
30964 @endif target-libstdc++-v3
30966 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
30967 maybe-maintainer-clean-target-libstdc++-v3:
30968 @if target-libstdc++-v3
30969 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
30971 maintainer-clean-target-libstdc++-v3:
30972 @: $(MAKE); $(unstage)
30973 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
30974 r=`${PWD_COMMAND}`; export r; \
30975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30976 $(RAW_CXX_TARGET_EXPORTS) \
30977 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
30978 for flag in $(EXTRA_TARGET_FLAGS); do \
30979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30980 done; \
30981 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
30982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30984 "RANLIB=$${RANLIB}" \
30985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30986 maintainer-clean) \
30987 || exit 1
30989 @endif target-libstdc++-v3
30995 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
30996 maybe-configure-target-libmudflap:
30997 @if gcc-bootstrap
30998 configure-target-libmudflap: stage_current
30999 @endif gcc-bootstrap
31000 @if target-libmudflap
31001 maybe-configure-target-libmudflap: configure-target-libmudflap
31002 configure-target-libmudflap:
31003 @: $(MAKE); $(unstage)
31004 @r=`${PWD_COMMAND}`; export r; \
31005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31006 echo "Checking multilib configuration for libmudflap..."; \
31007 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31008 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31009 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31010 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31011 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31012 else \
31013 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31014 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31015 fi; \
31016 else \
31017 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31018 fi; \
31019 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31020 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31021 $(NORMAL_TARGET_EXPORTS) \
31022 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31023 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31024 case $(srcdir) in \
31025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31026 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31028 esac; \
31029 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31030 libsrcdir="$$s/libmudflap"; \
31031 rm -f no-such-file || : ; \
31032 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31033 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31034 --target=${target_alias} $${srcdiroption} \
31035 || exit 1
31036 @endif target-libmudflap
31042 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31043 maybe-all-target-libmudflap:
31044 @if gcc-bootstrap
31045 all-target-libmudflap: stage_current
31046 @endif gcc-bootstrap
31047 @if target-libmudflap
31048 TARGET-target-libmudflap=all
31049 maybe-all-target-libmudflap: all-target-libmudflap
31050 all-target-libmudflap: configure-target-libmudflap
31051 @: $(MAKE); $(unstage)
31052 @r=`${PWD_COMMAND}`; export r; \
31053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31054 $(NORMAL_TARGET_EXPORTS) \
31055 (cd $(TARGET_SUBDIR)/libmudflap && \
31056 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31057 $(TARGET-target-libmudflap))
31058 @endif target-libmudflap
31064 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31065 maybe-check-target-libmudflap:
31066 @if target-libmudflap
31067 maybe-check-target-libmudflap: check-target-libmudflap
31069 check-target-libmudflap:
31070 @: $(MAKE); $(unstage)
31071 @r=`${PWD_COMMAND}`; export r; \
31072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31073 $(NORMAL_TARGET_EXPORTS) \
31074 (cd $(TARGET_SUBDIR)/libmudflap && \
31075 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31077 @endif target-libmudflap
31079 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31080 maybe-install-target-libmudflap:
31081 @if target-libmudflap
31082 maybe-install-target-libmudflap: install-target-libmudflap
31084 install-target-libmudflap: installdirs
31085 @: $(MAKE); $(unstage)
31086 @r=`${PWD_COMMAND}`; export r; \
31087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31088 $(NORMAL_TARGET_EXPORTS) \
31089 (cd $(TARGET_SUBDIR)/libmudflap && \
31090 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31092 @endif target-libmudflap
31094 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31095 maybe-install-strip-target-libmudflap:
31096 @if target-libmudflap
31097 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31099 install-strip-target-libmudflap: installdirs
31100 @: $(MAKE); $(unstage)
31101 @r=`${PWD_COMMAND}`; export r; \
31102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31103 $(NORMAL_TARGET_EXPORTS) \
31104 (cd $(TARGET_SUBDIR)/libmudflap && \
31105 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31107 @endif target-libmudflap
31109 # Other targets (info, dvi, pdf, etc.)
31111 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31112 maybe-info-target-libmudflap:
31113 @if target-libmudflap
31114 maybe-info-target-libmudflap: info-target-libmudflap
31116 info-target-libmudflap: \
31117 configure-target-libmudflap
31118 @: $(MAKE); $(unstage)
31119 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31120 r=`${PWD_COMMAND}`; export r; \
31121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31122 $(NORMAL_TARGET_EXPORTS) \
31123 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31124 for flag in $(EXTRA_TARGET_FLAGS); do \
31125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31126 done; \
31127 (cd $(TARGET_SUBDIR)/libmudflap && \
31128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31130 "RANLIB=$${RANLIB}" \
31131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31132 info) \
31133 || exit 1
31135 @endif target-libmudflap
31137 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31138 maybe-dvi-target-libmudflap:
31139 @if target-libmudflap
31140 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31142 dvi-target-libmudflap: \
31143 configure-target-libmudflap
31144 @: $(MAKE); $(unstage)
31145 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31146 r=`${PWD_COMMAND}`; export r; \
31147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31148 $(NORMAL_TARGET_EXPORTS) \
31149 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31150 for flag in $(EXTRA_TARGET_FLAGS); do \
31151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31152 done; \
31153 (cd $(TARGET_SUBDIR)/libmudflap && \
31154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31156 "RANLIB=$${RANLIB}" \
31157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31158 dvi) \
31159 || exit 1
31161 @endif target-libmudflap
31163 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31164 maybe-pdf-target-libmudflap:
31165 @if target-libmudflap
31166 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31168 pdf-target-libmudflap: \
31169 configure-target-libmudflap
31170 @: $(MAKE); $(unstage)
31171 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31172 r=`${PWD_COMMAND}`; export r; \
31173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31174 $(NORMAL_TARGET_EXPORTS) \
31175 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31176 for flag in $(EXTRA_TARGET_FLAGS); do \
31177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31178 done; \
31179 (cd $(TARGET_SUBDIR)/libmudflap && \
31180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31182 "RANLIB=$${RANLIB}" \
31183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31184 pdf) \
31185 || exit 1
31187 @endif target-libmudflap
31189 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31190 maybe-html-target-libmudflap:
31191 @if target-libmudflap
31192 maybe-html-target-libmudflap: html-target-libmudflap
31194 html-target-libmudflap: \
31195 configure-target-libmudflap
31196 @: $(MAKE); $(unstage)
31197 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31198 r=`${PWD_COMMAND}`; export r; \
31199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31200 $(NORMAL_TARGET_EXPORTS) \
31201 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31202 for flag in $(EXTRA_TARGET_FLAGS); do \
31203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31204 done; \
31205 (cd $(TARGET_SUBDIR)/libmudflap && \
31206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31208 "RANLIB=$${RANLIB}" \
31209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31210 html) \
31211 || exit 1
31213 @endif target-libmudflap
31215 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31216 maybe-TAGS-target-libmudflap:
31217 @if target-libmudflap
31218 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31220 TAGS-target-libmudflap: \
31221 configure-target-libmudflap
31222 @: $(MAKE); $(unstage)
31223 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31224 r=`${PWD_COMMAND}`; export r; \
31225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31226 $(NORMAL_TARGET_EXPORTS) \
31227 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31228 for flag in $(EXTRA_TARGET_FLAGS); do \
31229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31230 done; \
31231 (cd $(TARGET_SUBDIR)/libmudflap && \
31232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31234 "RANLIB=$${RANLIB}" \
31235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31236 TAGS) \
31237 || exit 1
31239 @endif target-libmudflap
31241 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31242 maybe-install-info-target-libmudflap:
31243 @if target-libmudflap
31244 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31246 install-info-target-libmudflap: \
31247 configure-target-libmudflap \
31248 info-target-libmudflap
31249 @: $(MAKE); $(unstage)
31250 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31251 r=`${PWD_COMMAND}`; export r; \
31252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31253 $(NORMAL_TARGET_EXPORTS) \
31254 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31255 for flag in $(EXTRA_TARGET_FLAGS); do \
31256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31257 done; \
31258 (cd $(TARGET_SUBDIR)/libmudflap && \
31259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31261 "RANLIB=$${RANLIB}" \
31262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31263 install-info) \
31264 || exit 1
31266 @endif target-libmudflap
31268 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31269 maybe-install-pdf-target-libmudflap:
31270 @if target-libmudflap
31271 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31273 install-pdf-target-libmudflap: \
31274 configure-target-libmudflap \
31275 pdf-target-libmudflap
31276 @: $(MAKE); $(unstage)
31277 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31278 r=`${PWD_COMMAND}`; export r; \
31279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31280 $(NORMAL_TARGET_EXPORTS) \
31281 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31282 for flag in $(EXTRA_TARGET_FLAGS); do \
31283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31284 done; \
31285 (cd $(TARGET_SUBDIR)/libmudflap && \
31286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31288 "RANLIB=$${RANLIB}" \
31289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31290 install-pdf) \
31291 || exit 1
31293 @endif target-libmudflap
31295 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
31296 maybe-install-html-target-libmudflap:
31297 @if target-libmudflap
31298 maybe-install-html-target-libmudflap: install-html-target-libmudflap
31300 install-html-target-libmudflap: \
31301 configure-target-libmudflap \
31302 html-target-libmudflap
31303 @: $(MAKE); $(unstage)
31304 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31305 r=`${PWD_COMMAND}`; export r; \
31306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31307 $(NORMAL_TARGET_EXPORTS) \
31308 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
31309 for flag in $(EXTRA_TARGET_FLAGS); do \
31310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31311 done; \
31312 (cd $(TARGET_SUBDIR)/libmudflap && \
31313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31315 "RANLIB=$${RANLIB}" \
31316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31317 install-html) \
31318 || exit 1
31320 @endif target-libmudflap
31322 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
31323 maybe-installcheck-target-libmudflap:
31324 @if target-libmudflap
31325 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
31327 installcheck-target-libmudflap: \
31328 configure-target-libmudflap
31329 @: $(MAKE); $(unstage)
31330 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31331 r=`${PWD_COMMAND}`; export r; \
31332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31333 $(NORMAL_TARGET_EXPORTS) \
31334 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
31335 for flag in $(EXTRA_TARGET_FLAGS); do \
31336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31337 done; \
31338 (cd $(TARGET_SUBDIR)/libmudflap && \
31339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31341 "RANLIB=$${RANLIB}" \
31342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31343 installcheck) \
31344 || exit 1
31346 @endif target-libmudflap
31348 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
31349 maybe-mostlyclean-target-libmudflap:
31350 @if target-libmudflap
31351 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
31353 mostlyclean-target-libmudflap:
31354 @: $(MAKE); $(unstage)
31355 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31356 r=`${PWD_COMMAND}`; export r; \
31357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31358 $(NORMAL_TARGET_EXPORTS) \
31359 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
31360 for flag in $(EXTRA_TARGET_FLAGS); do \
31361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31362 done; \
31363 (cd $(TARGET_SUBDIR)/libmudflap && \
31364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31366 "RANLIB=$${RANLIB}" \
31367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31368 mostlyclean) \
31369 || exit 1
31371 @endif target-libmudflap
31373 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
31374 maybe-clean-target-libmudflap:
31375 @if target-libmudflap
31376 maybe-clean-target-libmudflap: clean-target-libmudflap
31378 clean-target-libmudflap:
31379 @: $(MAKE); $(unstage)
31380 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31381 r=`${PWD_COMMAND}`; export r; \
31382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31383 $(NORMAL_TARGET_EXPORTS) \
31384 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
31385 for flag in $(EXTRA_TARGET_FLAGS); do \
31386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31387 done; \
31388 (cd $(TARGET_SUBDIR)/libmudflap && \
31389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31391 "RANLIB=$${RANLIB}" \
31392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31393 clean) \
31394 || exit 1
31396 @endif target-libmudflap
31398 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
31399 maybe-distclean-target-libmudflap:
31400 @if target-libmudflap
31401 maybe-distclean-target-libmudflap: distclean-target-libmudflap
31403 distclean-target-libmudflap:
31404 @: $(MAKE); $(unstage)
31405 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31406 r=`${PWD_COMMAND}`; export r; \
31407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31408 $(NORMAL_TARGET_EXPORTS) \
31409 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
31410 for flag in $(EXTRA_TARGET_FLAGS); do \
31411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31412 done; \
31413 (cd $(TARGET_SUBDIR)/libmudflap && \
31414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31416 "RANLIB=$${RANLIB}" \
31417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31418 distclean) \
31419 || exit 1
31421 @endif target-libmudflap
31423 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
31424 maybe-maintainer-clean-target-libmudflap:
31425 @if target-libmudflap
31426 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
31428 maintainer-clean-target-libmudflap:
31429 @: $(MAKE); $(unstage)
31430 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31431 r=`${PWD_COMMAND}`; export r; \
31432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31433 $(NORMAL_TARGET_EXPORTS) \
31434 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
31435 for flag in $(EXTRA_TARGET_FLAGS); do \
31436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31437 done; \
31438 (cd $(TARGET_SUBDIR)/libmudflap && \
31439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31441 "RANLIB=$${RANLIB}" \
31442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31443 maintainer-clean) \
31444 || exit 1
31446 @endif target-libmudflap
31452 .PHONY: configure-target-libssp maybe-configure-target-libssp
31453 maybe-configure-target-libssp:
31454 @if gcc-bootstrap
31455 configure-target-libssp: stage_current
31456 @endif gcc-bootstrap
31457 @if target-libssp
31458 maybe-configure-target-libssp: configure-target-libssp
31459 configure-target-libssp:
31460 @: $(MAKE); $(unstage)
31461 @r=`${PWD_COMMAND}`; export r; \
31462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31463 echo "Checking multilib configuration for libssp..."; \
31464 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31465 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
31466 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
31467 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
31468 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
31469 else \
31470 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
31471 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31472 fi; \
31473 else \
31474 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
31475 fi; \
31476 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
31477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
31478 $(NORMAL_TARGET_EXPORTS) \
31479 echo Configuring in $(TARGET_SUBDIR)/libssp; \
31480 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
31481 case $(srcdir) in \
31482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31483 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
31484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31485 esac; \
31486 srcdiroption="--srcdir=$${topdir}/libssp"; \
31487 libsrcdir="$$s/libssp"; \
31488 rm -f no-such-file || : ; \
31489 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31490 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31491 --target=${target_alias} $${srcdiroption} \
31492 || exit 1
31493 @endif target-libssp
31499 .PHONY: all-target-libssp maybe-all-target-libssp
31500 maybe-all-target-libssp:
31501 @if gcc-bootstrap
31502 all-target-libssp: stage_current
31503 @endif gcc-bootstrap
31504 @if target-libssp
31505 TARGET-target-libssp=all
31506 maybe-all-target-libssp: all-target-libssp
31507 all-target-libssp: configure-target-libssp
31508 @: $(MAKE); $(unstage)
31509 @r=`${PWD_COMMAND}`; export r; \
31510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31511 $(NORMAL_TARGET_EXPORTS) \
31512 (cd $(TARGET_SUBDIR)/libssp && \
31513 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31514 $(TARGET-target-libssp))
31515 @endif target-libssp
31521 .PHONY: check-target-libssp maybe-check-target-libssp
31522 maybe-check-target-libssp:
31523 @if target-libssp
31524 maybe-check-target-libssp: check-target-libssp
31526 check-target-libssp:
31527 @: $(MAKE); $(unstage)
31528 @r=`${PWD_COMMAND}`; export r; \
31529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31530 $(NORMAL_TARGET_EXPORTS) \
31531 (cd $(TARGET_SUBDIR)/libssp && \
31532 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31534 @endif target-libssp
31536 .PHONY: install-target-libssp maybe-install-target-libssp
31537 maybe-install-target-libssp:
31538 @if target-libssp
31539 maybe-install-target-libssp: install-target-libssp
31541 install-target-libssp: installdirs
31542 @: $(MAKE); $(unstage)
31543 @r=`${PWD_COMMAND}`; export r; \
31544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31545 $(NORMAL_TARGET_EXPORTS) \
31546 (cd $(TARGET_SUBDIR)/libssp && \
31547 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31549 @endif target-libssp
31551 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
31552 maybe-install-strip-target-libssp:
31553 @if target-libssp
31554 maybe-install-strip-target-libssp: install-strip-target-libssp
31556 install-strip-target-libssp: installdirs
31557 @: $(MAKE); $(unstage)
31558 @r=`${PWD_COMMAND}`; export r; \
31559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31560 $(NORMAL_TARGET_EXPORTS) \
31561 (cd $(TARGET_SUBDIR)/libssp && \
31562 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31564 @endif target-libssp
31566 # Other targets (info, dvi, pdf, etc.)
31568 .PHONY: maybe-info-target-libssp info-target-libssp
31569 maybe-info-target-libssp:
31570 @if target-libssp
31571 maybe-info-target-libssp: info-target-libssp
31573 info-target-libssp: \
31574 configure-target-libssp
31575 @: $(MAKE); $(unstage)
31576 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31577 r=`${PWD_COMMAND}`; export r; \
31578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31579 $(NORMAL_TARGET_EXPORTS) \
31580 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
31581 for flag in $(EXTRA_TARGET_FLAGS); do \
31582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31583 done; \
31584 (cd $(TARGET_SUBDIR)/libssp && \
31585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31587 "RANLIB=$${RANLIB}" \
31588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31589 info) \
31590 || exit 1
31592 @endif target-libssp
31594 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
31595 maybe-dvi-target-libssp:
31596 @if target-libssp
31597 maybe-dvi-target-libssp: dvi-target-libssp
31599 dvi-target-libssp: \
31600 configure-target-libssp
31601 @: $(MAKE); $(unstage)
31602 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31603 r=`${PWD_COMMAND}`; export r; \
31604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31605 $(NORMAL_TARGET_EXPORTS) \
31606 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
31607 for flag in $(EXTRA_TARGET_FLAGS); do \
31608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31609 done; \
31610 (cd $(TARGET_SUBDIR)/libssp && \
31611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31613 "RANLIB=$${RANLIB}" \
31614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31615 dvi) \
31616 || exit 1
31618 @endif target-libssp
31620 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
31621 maybe-pdf-target-libssp:
31622 @if target-libssp
31623 maybe-pdf-target-libssp: pdf-target-libssp
31625 pdf-target-libssp: \
31626 configure-target-libssp
31627 @: $(MAKE); $(unstage)
31628 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31629 r=`${PWD_COMMAND}`; export r; \
31630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31631 $(NORMAL_TARGET_EXPORTS) \
31632 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
31633 for flag in $(EXTRA_TARGET_FLAGS); do \
31634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31635 done; \
31636 (cd $(TARGET_SUBDIR)/libssp && \
31637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31639 "RANLIB=$${RANLIB}" \
31640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31641 pdf) \
31642 || exit 1
31644 @endif target-libssp
31646 .PHONY: maybe-html-target-libssp html-target-libssp
31647 maybe-html-target-libssp:
31648 @if target-libssp
31649 maybe-html-target-libssp: html-target-libssp
31651 html-target-libssp: \
31652 configure-target-libssp
31653 @: $(MAKE); $(unstage)
31654 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31655 r=`${PWD_COMMAND}`; export r; \
31656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31657 $(NORMAL_TARGET_EXPORTS) \
31658 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
31659 for flag in $(EXTRA_TARGET_FLAGS); do \
31660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31661 done; \
31662 (cd $(TARGET_SUBDIR)/libssp && \
31663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31665 "RANLIB=$${RANLIB}" \
31666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31667 html) \
31668 || exit 1
31670 @endif target-libssp
31672 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
31673 maybe-TAGS-target-libssp:
31674 @if target-libssp
31675 maybe-TAGS-target-libssp: TAGS-target-libssp
31677 TAGS-target-libssp: \
31678 configure-target-libssp
31679 @: $(MAKE); $(unstage)
31680 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31681 r=`${PWD_COMMAND}`; export r; \
31682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31683 $(NORMAL_TARGET_EXPORTS) \
31684 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
31685 for flag in $(EXTRA_TARGET_FLAGS); do \
31686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31687 done; \
31688 (cd $(TARGET_SUBDIR)/libssp && \
31689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31691 "RANLIB=$${RANLIB}" \
31692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31693 TAGS) \
31694 || exit 1
31696 @endif target-libssp
31698 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
31699 maybe-install-info-target-libssp:
31700 @if target-libssp
31701 maybe-install-info-target-libssp: install-info-target-libssp
31703 install-info-target-libssp: \
31704 configure-target-libssp \
31705 info-target-libssp
31706 @: $(MAKE); $(unstage)
31707 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31708 r=`${PWD_COMMAND}`; export r; \
31709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31710 $(NORMAL_TARGET_EXPORTS) \
31711 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
31712 for flag in $(EXTRA_TARGET_FLAGS); do \
31713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31714 done; \
31715 (cd $(TARGET_SUBDIR)/libssp && \
31716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31718 "RANLIB=$${RANLIB}" \
31719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31720 install-info) \
31721 || exit 1
31723 @endif target-libssp
31725 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
31726 maybe-install-pdf-target-libssp:
31727 @if target-libssp
31728 maybe-install-pdf-target-libssp: install-pdf-target-libssp
31730 install-pdf-target-libssp: \
31731 configure-target-libssp \
31732 pdf-target-libssp
31733 @: $(MAKE); $(unstage)
31734 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31735 r=`${PWD_COMMAND}`; export r; \
31736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31737 $(NORMAL_TARGET_EXPORTS) \
31738 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
31739 for flag in $(EXTRA_TARGET_FLAGS); do \
31740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31741 done; \
31742 (cd $(TARGET_SUBDIR)/libssp && \
31743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31745 "RANLIB=$${RANLIB}" \
31746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31747 install-pdf) \
31748 || exit 1
31750 @endif target-libssp
31752 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
31753 maybe-install-html-target-libssp:
31754 @if target-libssp
31755 maybe-install-html-target-libssp: install-html-target-libssp
31757 install-html-target-libssp: \
31758 configure-target-libssp \
31759 html-target-libssp
31760 @: $(MAKE); $(unstage)
31761 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31762 r=`${PWD_COMMAND}`; export r; \
31763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31764 $(NORMAL_TARGET_EXPORTS) \
31765 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
31766 for flag in $(EXTRA_TARGET_FLAGS); do \
31767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31768 done; \
31769 (cd $(TARGET_SUBDIR)/libssp && \
31770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31772 "RANLIB=$${RANLIB}" \
31773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31774 install-html) \
31775 || exit 1
31777 @endif target-libssp
31779 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
31780 maybe-installcheck-target-libssp:
31781 @if target-libssp
31782 maybe-installcheck-target-libssp: installcheck-target-libssp
31784 installcheck-target-libssp: \
31785 configure-target-libssp
31786 @: $(MAKE); $(unstage)
31787 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31788 r=`${PWD_COMMAND}`; export r; \
31789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31790 $(NORMAL_TARGET_EXPORTS) \
31791 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
31792 for flag in $(EXTRA_TARGET_FLAGS); do \
31793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31794 done; \
31795 (cd $(TARGET_SUBDIR)/libssp && \
31796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31798 "RANLIB=$${RANLIB}" \
31799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31800 installcheck) \
31801 || exit 1
31803 @endif target-libssp
31805 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
31806 maybe-mostlyclean-target-libssp:
31807 @if target-libssp
31808 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
31810 mostlyclean-target-libssp:
31811 @: $(MAKE); $(unstage)
31812 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31813 r=`${PWD_COMMAND}`; export r; \
31814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31815 $(NORMAL_TARGET_EXPORTS) \
31816 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
31817 for flag in $(EXTRA_TARGET_FLAGS); do \
31818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31819 done; \
31820 (cd $(TARGET_SUBDIR)/libssp && \
31821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31823 "RANLIB=$${RANLIB}" \
31824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31825 mostlyclean) \
31826 || exit 1
31828 @endif target-libssp
31830 .PHONY: maybe-clean-target-libssp clean-target-libssp
31831 maybe-clean-target-libssp:
31832 @if target-libssp
31833 maybe-clean-target-libssp: clean-target-libssp
31835 clean-target-libssp:
31836 @: $(MAKE); $(unstage)
31837 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31838 r=`${PWD_COMMAND}`; export r; \
31839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31840 $(NORMAL_TARGET_EXPORTS) \
31841 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
31842 for flag in $(EXTRA_TARGET_FLAGS); do \
31843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31844 done; \
31845 (cd $(TARGET_SUBDIR)/libssp && \
31846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31848 "RANLIB=$${RANLIB}" \
31849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31850 clean) \
31851 || exit 1
31853 @endif target-libssp
31855 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
31856 maybe-distclean-target-libssp:
31857 @if target-libssp
31858 maybe-distclean-target-libssp: distclean-target-libssp
31860 distclean-target-libssp:
31861 @: $(MAKE); $(unstage)
31862 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31863 r=`${PWD_COMMAND}`; export r; \
31864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31865 $(NORMAL_TARGET_EXPORTS) \
31866 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
31867 for flag in $(EXTRA_TARGET_FLAGS); do \
31868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31869 done; \
31870 (cd $(TARGET_SUBDIR)/libssp && \
31871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31873 "RANLIB=$${RANLIB}" \
31874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31875 distclean) \
31876 || exit 1
31878 @endif target-libssp
31880 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
31881 maybe-maintainer-clean-target-libssp:
31882 @if target-libssp
31883 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
31885 maintainer-clean-target-libssp:
31886 @: $(MAKE); $(unstage)
31887 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
31888 r=`${PWD_COMMAND}`; export r; \
31889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31890 $(NORMAL_TARGET_EXPORTS) \
31891 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
31892 for flag in $(EXTRA_TARGET_FLAGS); do \
31893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31894 done; \
31895 (cd $(TARGET_SUBDIR)/libssp && \
31896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31898 "RANLIB=$${RANLIB}" \
31899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31900 maintainer-clean) \
31901 || exit 1
31903 @endif target-libssp
31909 .PHONY: configure-target-newlib maybe-configure-target-newlib
31910 maybe-configure-target-newlib:
31911 @if gcc-bootstrap
31912 configure-target-newlib: stage_current
31913 @endif gcc-bootstrap
31914 @if target-newlib
31915 maybe-configure-target-newlib: configure-target-newlib
31916 configure-target-newlib:
31917 @: $(MAKE); $(unstage)
31918 @r=`${PWD_COMMAND}`; export r; \
31919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31920 echo "Checking multilib configuration for newlib..."; \
31921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31922 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
31923 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
31924 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
31925 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
31926 else \
31927 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
31928 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31929 fi; \
31930 else \
31931 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
31932 fi; \
31933 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
31934 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
31935 $(NORMAL_TARGET_EXPORTS) \
31936 echo Configuring in $(TARGET_SUBDIR)/newlib; \
31937 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
31938 case $(srcdir) in \
31939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31940 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
31941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31942 esac; \
31943 srcdiroption="--srcdir=$${topdir}/newlib"; \
31944 libsrcdir="$$s/newlib"; \
31945 rm -f no-such-file || : ; \
31946 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31947 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31948 --target=${target_alias} $${srcdiroption} \
31949 || exit 1
31950 @endif target-newlib
31956 .PHONY: all-target-newlib maybe-all-target-newlib
31957 maybe-all-target-newlib:
31958 @if gcc-bootstrap
31959 all-target-newlib: stage_current
31960 @endif gcc-bootstrap
31961 @if target-newlib
31962 TARGET-target-newlib=all
31963 maybe-all-target-newlib: all-target-newlib
31964 all-target-newlib: configure-target-newlib
31965 @: $(MAKE); $(unstage)
31966 @r=`${PWD_COMMAND}`; export r; \
31967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31968 $(NORMAL_TARGET_EXPORTS) \
31969 (cd $(TARGET_SUBDIR)/newlib && \
31970 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31971 $(TARGET-target-newlib))
31972 @endif target-newlib
31978 .PHONY: check-target-newlib maybe-check-target-newlib
31979 maybe-check-target-newlib:
31980 @if target-newlib
31981 maybe-check-target-newlib: check-target-newlib
31983 check-target-newlib:
31984 @: $(MAKE); $(unstage)
31985 @r=`${PWD_COMMAND}`; export r; \
31986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31987 $(NORMAL_TARGET_EXPORTS) \
31988 (cd $(TARGET_SUBDIR)/newlib && \
31989 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31991 @endif target-newlib
31993 .PHONY: install-target-newlib maybe-install-target-newlib
31994 maybe-install-target-newlib:
31995 @if target-newlib
31996 maybe-install-target-newlib: install-target-newlib
31998 install-target-newlib: installdirs
31999 @: $(MAKE); $(unstage)
32000 @r=`${PWD_COMMAND}`; export r; \
32001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32002 $(NORMAL_TARGET_EXPORTS) \
32003 (cd $(TARGET_SUBDIR)/newlib && \
32004 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32006 @endif target-newlib
32008 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
32009 maybe-install-strip-target-newlib:
32010 @if target-newlib
32011 maybe-install-strip-target-newlib: install-strip-target-newlib
32013 install-strip-target-newlib: installdirs
32014 @: $(MAKE); $(unstage)
32015 @r=`${PWD_COMMAND}`; export r; \
32016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32017 $(NORMAL_TARGET_EXPORTS) \
32018 (cd $(TARGET_SUBDIR)/newlib && \
32019 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32021 @endif target-newlib
32023 # Other targets (info, dvi, pdf, etc.)
32025 .PHONY: maybe-info-target-newlib info-target-newlib
32026 maybe-info-target-newlib:
32027 @if target-newlib
32028 maybe-info-target-newlib: info-target-newlib
32030 info-target-newlib: \
32031 configure-target-newlib
32032 @: $(MAKE); $(unstage)
32033 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32034 r=`${PWD_COMMAND}`; export r; \
32035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32036 $(NORMAL_TARGET_EXPORTS) \
32037 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32038 for flag in $(EXTRA_TARGET_FLAGS); do \
32039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32040 done; \
32041 (cd $(TARGET_SUBDIR)/newlib && \
32042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32044 "RANLIB=$${RANLIB}" \
32045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32046 info) \
32047 || exit 1
32049 @endif target-newlib
32051 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32052 maybe-dvi-target-newlib:
32053 @if target-newlib
32054 maybe-dvi-target-newlib: dvi-target-newlib
32056 dvi-target-newlib: \
32057 configure-target-newlib
32058 @: $(MAKE); $(unstage)
32059 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32060 r=`${PWD_COMMAND}`; export r; \
32061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32062 $(NORMAL_TARGET_EXPORTS) \
32063 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32064 for flag in $(EXTRA_TARGET_FLAGS); do \
32065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32066 done; \
32067 (cd $(TARGET_SUBDIR)/newlib && \
32068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32070 "RANLIB=$${RANLIB}" \
32071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32072 dvi) \
32073 || exit 1
32075 @endif target-newlib
32077 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32078 maybe-pdf-target-newlib:
32079 @if target-newlib
32080 maybe-pdf-target-newlib: pdf-target-newlib
32082 pdf-target-newlib: \
32083 configure-target-newlib
32084 @: $(MAKE); $(unstage)
32085 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32086 r=`${PWD_COMMAND}`; export r; \
32087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32088 $(NORMAL_TARGET_EXPORTS) \
32089 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32090 for flag in $(EXTRA_TARGET_FLAGS); do \
32091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32092 done; \
32093 (cd $(TARGET_SUBDIR)/newlib && \
32094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32096 "RANLIB=$${RANLIB}" \
32097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32098 pdf) \
32099 || exit 1
32101 @endif target-newlib
32103 .PHONY: maybe-html-target-newlib html-target-newlib
32104 maybe-html-target-newlib:
32105 @if target-newlib
32106 maybe-html-target-newlib: html-target-newlib
32108 html-target-newlib: \
32109 configure-target-newlib
32110 @: $(MAKE); $(unstage)
32111 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32112 r=`${PWD_COMMAND}`; export r; \
32113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32114 $(NORMAL_TARGET_EXPORTS) \
32115 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32116 for flag in $(EXTRA_TARGET_FLAGS); do \
32117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32118 done; \
32119 (cd $(TARGET_SUBDIR)/newlib && \
32120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32122 "RANLIB=$${RANLIB}" \
32123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32124 html) \
32125 || exit 1
32127 @endif target-newlib
32129 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32130 maybe-TAGS-target-newlib:
32131 @if target-newlib
32132 maybe-TAGS-target-newlib: TAGS-target-newlib
32134 TAGS-target-newlib: \
32135 configure-target-newlib
32136 @: $(MAKE); $(unstage)
32137 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32138 r=`${PWD_COMMAND}`; export r; \
32139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32140 $(NORMAL_TARGET_EXPORTS) \
32141 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32142 for flag in $(EXTRA_TARGET_FLAGS); do \
32143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32144 done; \
32145 (cd $(TARGET_SUBDIR)/newlib && \
32146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32148 "RANLIB=$${RANLIB}" \
32149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32150 TAGS) \
32151 || exit 1
32153 @endif target-newlib
32155 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32156 maybe-install-info-target-newlib:
32157 @if target-newlib
32158 maybe-install-info-target-newlib: install-info-target-newlib
32160 install-info-target-newlib: \
32161 configure-target-newlib \
32162 info-target-newlib
32163 @: $(MAKE); $(unstage)
32164 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32165 r=`${PWD_COMMAND}`; export r; \
32166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32167 $(NORMAL_TARGET_EXPORTS) \
32168 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32169 for flag in $(EXTRA_TARGET_FLAGS); do \
32170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32171 done; \
32172 (cd $(TARGET_SUBDIR)/newlib && \
32173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32175 "RANLIB=$${RANLIB}" \
32176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32177 install-info) \
32178 || exit 1
32180 @endif target-newlib
32182 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32183 maybe-install-pdf-target-newlib:
32184 @if target-newlib
32185 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32187 install-pdf-target-newlib: \
32188 configure-target-newlib \
32189 pdf-target-newlib
32190 @: $(MAKE); $(unstage)
32191 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32192 r=`${PWD_COMMAND}`; export r; \
32193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32194 $(NORMAL_TARGET_EXPORTS) \
32195 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
32196 for flag in $(EXTRA_TARGET_FLAGS); do \
32197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32198 done; \
32199 (cd $(TARGET_SUBDIR)/newlib && \
32200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32202 "RANLIB=$${RANLIB}" \
32203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32204 install-pdf) \
32205 || exit 1
32207 @endif target-newlib
32209 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32210 maybe-install-html-target-newlib:
32211 @if target-newlib
32212 maybe-install-html-target-newlib: install-html-target-newlib
32214 install-html-target-newlib: \
32215 configure-target-newlib \
32216 html-target-newlib
32217 @: $(MAKE); $(unstage)
32218 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32219 r=`${PWD_COMMAND}`; export r; \
32220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32221 $(NORMAL_TARGET_EXPORTS) \
32222 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32223 for flag in $(EXTRA_TARGET_FLAGS); do \
32224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32225 done; \
32226 (cd $(TARGET_SUBDIR)/newlib && \
32227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32229 "RANLIB=$${RANLIB}" \
32230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32231 install-html) \
32232 || exit 1
32234 @endif target-newlib
32236 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32237 maybe-installcheck-target-newlib:
32238 @if target-newlib
32239 maybe-installcheck-target-newlib: installcheck-target-newlib
32241 installcheck-target-newlib: \
32242 configure-target-newlib
32243 @: $(MAKE); $(unstage)
32244 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32245 r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 $(NORMAL_TARGET_EXPORTS) \
32248 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32249 for flag in $(EXTRA_TARGET_FLAGS); do \
32250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32251 done; \
32252 (cd $(TARGET_SUBDIR)/newlib && \
32253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32255 "RANLIB=$${RANLIB}" \
32256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32257 installcheck) \
32258 || exit 1
32260 @endif target-newlib
32262 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32263 maybe-mostlyclean-target-newlib:
32264 @if target-newlib
32265 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32267 mostlyclean-target-newlib:
32268 @: $(MAKE); $(unstage)
32269 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32270 r=`${PWD_COMMAND}`; export r; \
32271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32272 $(NORMAL_TARGET_EXPORTS) \
32273 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32274 for flag in $(EXTRA_TARGET_FLAGS); do \
32275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32276 done; \
32277 (cd $(TARGET_SUBDIR)/newlib && \
32278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32280 "RANLIB=$${RANLIB}" \
32281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32282 mostlyclean) \
32283 || exit 1
32285 @endif target-newlib
32287 .PHONY: maybe-clean-target-newlib clean-target-newlib
32288 maybe-clean-target-newlib:
32289 @if target-newlib
32290 maybe-clean-target-newlib: clean-target-newlib
32292 clean-target-newlib:
32293 @: $(MAKE); $(unstage)
32294 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32295 r=`${PWD_COMMAND}`; export r; \
32296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32297 $(NORMAL_TARGET_EXPORTS) \
32298 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
32299 for flag in $(EXTRA_TARGET_FLAGS); do \
32300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32301 done; \
32302 (cd $(TARGET_SUBDIR)/newlib && \
32303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32305 "RANLIB=$${RANLIB}" \
32306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32307 clean) \
32308 || exit 1
32310 @endif target-newlib
32312 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
32313 maybe-distclean-target-newlib:
32314 @if target-newlib
32315 maybe-distclean-target-newlib: distclean-target-newlib
32317 distclean-target-newlib:
32318 @: $(MAKE); $(unstage)
32319 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32320 r=`${PWD_COMMAND}`; export r; \
32321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32322 $(NORMAL_TARGET_EXPORTS) \
32323 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
32324 for flag in $(EXTRA_TARGET_FLAGS); do \
32325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32326 done; \
32327 (cd $(TARGET_SUBDIR)/newlib && \
32328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32330 "RANLIB=$${RANLIB}" \
32331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32332 distclean) \
32333 || exit 1
32335 @endif target-newlib
32337 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
32338 maybe-maintainer-clean-target-newlib:
32339 @if target-newlib
32340 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
32342 maintainer-clean-target-newlib:
32343 @: $(MAKE); $(unstage)
32344 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32345 r=`${PWD_COMMAND}`; export r; \
32346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32347 $(NORMAL_TARGET_EXPORTS) \
32348 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
32349 for flag in $(EXTRA_TARGET_FLAGS); do \
32350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32351 done; \
32352 (cd $(TARGET_SUBDIR)/newlib && \
32353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32355 "RANLIB=$${RANLIB}" \
32356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32357 maintainer-clean) \
32358 || exit 1
32360 @endif target-newlib
32366 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
32367 maybe-configure-target-libgcc:
32368 @if gcc-bootstrap
32369 configure-target-libgcc: stage_current
32370 @endif gcc-bootstrap
32371 @if target-libgcc
32372 maybe-configure-target-libgcc: configure-target-libgcc
32373 configure-target-libgcc:
32374 @r=`${PWD_COMMAND}`; export r; \
32375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32376 echo "Checking multilib configuration for libgcc..."; \
32377 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32378 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32379 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32380 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32381 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32382 else \
32383 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32384 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32385 fi; \
32386 else \
32387 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32388 fi; \
32389 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32391 $(NORMAL_TARGET_EXPORTS) \
32392 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
32393 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
32394 case $(srcdir) in \
32395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32396 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32398 esac; \
32399 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32400 libsrcdir="$$s/libgcc"; \
32401 rm -f no-such-file || : ; \
32402 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32403 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32404 --target=${target_alias} $${srcdiroption} \
32405 || exit 1
32406 @endif target-libgcc
32410 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
32411 maybe-configure-stage1-target-libgcc:
32412 @if target-libgcc-bootstrap
32413 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
32414 configure-stage1-target-libgcc:
32415 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32416 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32417 @r=`${PWD_COMMAND}`; export r; \
32418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32419 TFLAGS="$(STAGE1_TFLAGS)"; \
32420 echo "Checking multilib configuration for libgcc..."; \
32421 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32422 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32423 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32424 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32425 else \
32426 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32427 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32428 fi; \
32429 else \
32430 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32431 fi; \
32432 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32433 $(NORMAL_TARGET_EXPORTS) \
32434 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32435 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32436 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32437 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
32438 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32439 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32440 case $(srcdir) in \
32441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32442 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32444 esac; \
32445 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32446 libsrcdir="$$s/libgcc"; \
32447 $(SHELL) $${libsrcdir}/configure \
32448 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32449 --target=${target_alias} $${srcdiroption} \
32450 $(STAGE1_CONFIGURE_FLAGS)
32451 @endif target-libgcc-bootstrap
32453 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
32454 maybe-configure-stage2-target-libgcc:
32455 @if target-libgcc-bootstrap
32456 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
32457 configure-stage2-target-libgcc:
32458 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32459 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32460 @r=`${PWD_COMMAND}`; export r; \
32461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32462 TFLAGS="$(STAGE2_TFLAGS)"; \
32463 echo "Checking multilib configuration for libgcc..."; \
32464 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32465 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32466 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32467 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32468 else \
32469 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32470 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32471 fi; \
32472 else \
32473 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32474 fi; \
32475 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32476 $(NORMAL_TARGET_EXPORTS) \
32478 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32479 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32480 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32481 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
32482 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32483 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32484 case $(srcdir) in \
32485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32486 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32488 esac; \
32489 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32490 libsrcdir="$$s/libgcc"; \
32491 $(SHELL) $${libsrcdir}/configure \
32492 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32493 --target=${target_alias} $${srcdiroption} \
32494 --with-build-libsubdir=$(HOST_SUBDIR) \
32495 $(STAGE2_CONFIGURE_FLAGS)
32496 @endif target-libgcc-bootstrap
32498 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
32499 maybe-configure-stage3-target-libgcc:
32500 @if target-libgcc-bootstrap
32501 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
32502 configure-stage3-target-libgcc:
32503 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32504 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32505 @r=`${PWD_COMMAND}`; export r; \
32506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32507 TFLAGS="$(STAGE3_TFLAGS)"; \
32508 echo "Checking multilib configuration for libgcc..."; \
32509 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32510 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32511 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32512 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32513 else \
32514 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32515 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32516 fi; \
32517 else \
32518 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32519 fi; \
32520 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32521 $(NORMAL_TARGET_EXPORTS) \
32523 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32524 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32525 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32526 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
32527 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32528 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32529 case $(srcdir) in \
32530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32531 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32533 esac; \
32534 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32535 libsrcdir="$$s/libgcc"; \
32536 $(SHELL) $${libsrcdir}/configure \
32537 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32538 --target=${target_alias} $${srcdiroption} \
32539 --with-build-libsubdir=$(HOST_SUBDIR) \
32540 $(STAGE3_CONFIGURE_FLAGS)
32541 @endif target-libgcc-bootstrap
32543 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
32544 maybe-configure-stage4-target-libgcc:
32545 @if target-libgcc-bootstrap
32546 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
32547 configure-stage4-target-libgcc:
32548 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32549 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32550 @r=`${PWD_COMMAND}`; export r; \
32551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32552 TFLAGS="$(STAGE4_TFLAGS)"; \
32553 echo "Checking multilib configuration for libgcc..."; \
32554 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32555 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32556 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32557 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32558 else \
32559 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32560 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32561 fi; \
32562 else \
32563 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32564 fi; \
32565 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32566 $(NORMAL_TARGET_EXPORTS) \
32568 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32569 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32570 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32571 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
32572 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32573 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32574 case $(srcdir) in \
32575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32576 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32578 esac; \
32579 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32580 libsrcdir="$$s/libgcc"; \
32581 $(SHELL) $${libsrcdir}/configure \
32582 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32583 --target=${target_alias} $${srcdiroption} \
32584 --with-build-libsubdir=$(HOST_SUBDIR) \
32585 $(STAGE4_CONFIGURE_FLAGS)
32586 @endif target-libgcc-bootstrap
32588 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
32589 maybe-configure-stageprofile-target-libgcc:
32590 @if target-libgcc-bootstrap
32591 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32592 configure-stageprofile-target-libgcc:
32593 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32594 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32595 @r=`${PWD_COMMAND}`; export r; \
32596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32597 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32598 echo "Checking multilib configuration for libgcc..."; \
32599 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32600 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32601 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32602 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32603 else \
32604 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32605 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32606 fi; \
32607 else \
32608 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32609 fi; \
32610 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32611 $(NORMAL_TARGET_EXPORTS) \
32613 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32614 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32615 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32616 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
32617 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32618 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32619 case $(srcdir) in \
32620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32621 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32623 esac; \
32624 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32625 libsrcdir="$$s/libgcc"; \
32626 $(SHELL) $${libsrcdir}/configure \
32627 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32628 --target=${target_alias} $${srcdiroption} \
32629 --with-build-libsubdir=$(HOST_SUBDIR) \
32630 $(STAGEprofile_CONFIGURE_FLAGS)
32631 @endif target-libgcc-bootstrap
32633 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
32634 maybe-configure-stagefeedback-target-libgcc:
32635 @if target-libgcc-bootstrap
32636 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32637 configure-stagefeedback-target-libgcc:
32638 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32639 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
32640 @r=`${PWD_COMMAND}`; export r; \
32641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32642 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32643 echo "Checking multilib configuration for libgcc..."; \
32644 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
32645 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32646 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
32647 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
32648 else \
32649 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
32650 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32651 fi; \
32652 else \
32653 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
32654 fi; \
32655 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
32656 $(NORMAL_TARGET_EXPORTS) \
32658 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32659 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32660 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32661 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
32662 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
32663 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
32664 case $(srcdir) in \
32665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32666 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
32667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32668 esac; \
32669 srcdiroption="--srcdir=$${topdir}/libgcc"; \
32670 libsrcdir="$$s/libgcc"; \
32671 $(SHELL) $${libsrcdir}/configure \
32672 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32673 --target=${target_alias} $${srcdiroption} \
32674 --with-build-libsubdir=$(HOST_SUBDIR) \
32675 $(STAGEfeedback_CONFIGURE_FLAGS)
32676 @endif target-libgcc-bootstrap
32682 .PHONY: all-target-libgcc maybe-all-target-libgcc
32683 maybe-all-target-libgcc:
32684 @if gcc-bootstrap
32685 all-target-libgcc: stage_current
32686 @endif gcc-bootstrap
32687 @if target-libgcc
32688 TARGET-target-libgcc=all
32689 maybe-all-target-libgcc: all-target-libgcc
32690 all-target-libgcc: configure-target-libgcc
32691 @r=`${PWD_COMMAND}`; export r; \
32692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32693 $(NORMAL_TARGET_EXPORTS) \
32694 (cd $(TARGET_SUBDIR)/libgcc && \
32695 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32696 $(TARGET-target-libgcc))
32697 @endif target-libgcc
32701 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
32702 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
32703 maybe-all-stage1-target-libgcc:
32704 maybe-clean-stage1-target-libgcc:
32705 @if target-libgcc-bootstrap
32706 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
32707 all-stage1: all-stage1-target-libgcc
32708 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
32709 all-stage1-target-libgcc: configure-stage1-target-libgcc
32710 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32711 @r=`${PWD_COMMAND}`; export r; \
32712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32713 TFLAGS="$(STAGE1_TFLAGS)"; \
32714 $(NORMAL_TARGET_EXPORTS) \
32715 cd $(TARGET_SUBDIR)/libgcc && \
32716 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32717 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32718 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32719 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32723 $(EXTRA_TARGET_FLAGS) \
32724 TFLAGS="$(STAGE1_TFLAGS)" \
32725 $(TARGET-stage1-target-libgcc)
32727 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
32728 clean-stage1: clean-stage1-target-libgcc
32729 clean-stage1-target-libgcc:
32730 @if [ $(current_stage) = stage1 ]; then \
32731 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32732 else \
32733 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
32734 $(MAKE) stage1-start; \
32735 fi; \
32736 cd $(TARGET_SUBDIR)/libgcc && \
32737 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32738 clean
32739 @endif target-libgcc-bootstrap
32742 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
32743 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
32744 maybe-all-stage2-target-libgcc:
32745 maybe-clean-stage2-target-libgcc:
32746 @if target-libgcc-bootstrap
32747 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
32748 all-stage2: all-stage2-target-libgcc
32749 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
32750 all-stage2-target-libgcc: configure-stage2-target-libgcc
32751 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32752 @r=`${PWD_COMMAND}`; export r; \
32753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32754 TFLAGS="$(STAGE2_TFLAGS)"; \
32755 $(NORMAL_TARGET_EXPORTS) \
32757 cd $(TARGET_SUBDIR)/libgcc && \
32758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32759 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32760 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32761 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32762 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32763 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32764 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32765 $(EXTRA_TARGET_FLAGS) \
32766 TFLAGS="$(STAGE2_TFLAGS)" \
32767 $(TARGET-stage2-target-libgcc)
32769 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
32770 clean-stage2: clean-stage2-target-libgcc
32771 clean-stage2-target-libgcc:
32772 @if [ $(current_stage) = stage2 ]; then \
32773 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32774 else \
32775 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
32776 $(MAKE) stage2-start; \
32777 fi; \
32778 cd $(TARGET_SUBDIR)/libgcc && \
32779 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32781 clean
32782 @endif target-libgcc-bootstrap
32785 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
32786 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
32787 maybe-all-stage3-target-libgcc:
32788 maybe-clean-stage3-target-libgcc:
32789 @if target-libgcc-bootstrap
32790 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
32791 all-stage3: all-stage3-target-libgcc
32792 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
32793 all-stage3-target-libgcc: configure-stage3-target-libgcc
32794 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32795 @r=`${PWD_COMMAND}`; export r; \
32796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32797 TFLAGS="$(STAGE3_TFLAGS)"; \
32798 $(NORMAL_TARGET_EXPORTS) \
32800 cd $(TARGET_SUBDIR)/libgcc && \
32801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32802 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32803 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32804 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32805 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32806 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32807 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32808 $(EXTRA_TARGET_FLAGS) \
32809 TFLAGS="$(STAGE3_TFLAGS)" \
32810 $(TARGET-stage3-target-libgcc)
32812 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
32813 clean-stage3: clean-stage3-target-libgcc
32814 clean-stage3-target-libgcc:
32815 @if [ $(current_stage) = stage3 ]; then \
32816 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32817 else \
32818 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
32819 $(MAKE) stage3-start; \
32820 fi; \
32821 cd $(TARGET_SUBDIR)/libgcc && \
32822 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32824 clean
32825 @endif target-libgcc-bootstrap
32828 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
32829 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
32830 maybe-all-stage4-target-libgcc:
32831 maybe-clean-stage4-target-libgcc:
32832 @if target-libgcc-bootstrap
32833 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
32834 all-stage4: all-stage4-target-libgcc
32835 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
32836 all-stage4-target-libgcc: configure-stage4-target-libgcc
32837 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32838 @r=`${PWD_COMMAND}`; export r; \
32839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32840 TFLAGS="$(STAGE4_TFLAGS)"; \
32841 $(NORMAL_TARGET_EXPORTS) \
32843 cd $(TARGET_SUBDIR)/libgcc && \
32844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32845 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32846 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32847 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32851 $(EXTRA_TARGET_FLAGS) \
32852 TFLAGS="$(STAGE4_TFLAGS)" \
32853 $(TARGET-stage4-target-libgcc)
32855 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
32856 clean-stage4: clean-stage4-target-libgcc
32857 clean-stage4-target-libgcc:
32858 @if [ $(current_stage) = stage4 ]; then \
32859 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32860 else \
32861 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
32862 $(MAKE) stage4-start; \
32863 fi; \
32864 cd $(TARGET_SUBDIR)/libgcc && \
32865 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32867 clean
32868 @endif target-libgcc-bootstrap
32871 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
32872 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
32873 maybe-all-stageprofile-target-libgcc:
32874 maybe-clean-stageprofile-target-libgcc:
32875 @if target-libgcc-bootstrap
32876 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
32877 all-stageprofile: all-stageprofile-target-libgcc
32878 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
32879 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
32880 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32881 @r=`${PWD_COMMAND}`; export r; \
32882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32883 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32884 $(NORMAL_TARGET_EXPORTS) \
32886 cd $(TARGET_SUBDIR)/libgcc && \
32887 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32888 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32889 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32890 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32891 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32892 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32893 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32894 $(EXTRA_TARGET_FLAGS) \
32895 TFLAGS="$(STAGEprofile_TFLAGS)" \
32896 $(TARGET-stageprofile-target-libgcc)
32898 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
32899 clean-stageprofile: clean-stageprofile-target-libgcc
32900 clean-stageprofile-target-libgcc:
32901 @if [ $(current_stage) = stageprofile ]; then \
32902 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32903 else \
32904 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
32905 $(MAKE) stageprofile-start; \
32906 fi; \
32907 cd $(TARGET_SUBDIR)/libgcc && \
32908 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32910 clean
32911 @endif target-libgcc-bootstrap
32914 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
32915 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
32916 maybe-all-stagefeedback-target-libgcc:
32917 maybe-clean-stagefeedback-target-libgcc:
32918 @if target-libgcc-bootstrap
32919 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
32920 all-stagefeedback: all-stagefeedback-target-libgcc
32921 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
32922 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
32923 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32924 @r=`${PWD_COMMAND}`; export r; \
32925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32926 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32927 $(NORMAL_TARGET_EXPORTS) \
32929 cd $(TARGET_SUBDIR)/libgcc && \
32930 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32931 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32932 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32933 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32937 $(EXTRA_TARGET_FLAGS) \
32938 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32939 $(TARGET-stagefeedback-target-libgcc)
32941 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
32942 clean-stagefeedback: clean-stagefeedback-target-libgcc
32943 clean-stagefeedback-target-libgcc:
32944 @if [ $(current_stage) = stagefeedback ]; then \
32945 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
32946 else \
32947 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
32948 $(MAKE) stagefeedback-start; \
32949 fi; \
32950 cd $(TARGET_SUBDIR)/libgcc && \
32951 $(MAKE) $(EXTRA_TARGET_FLAGS) \
32953 clean
32954 @endif target-libgcc-bootstrap
32961 .PHONY: check-target-libgcc maybe-check-target-libgcc
32962 maybe-check-target-libgcc:
32963 @if target-libgcc
32964 maybe-check-target-libgcc: check-target-libgcc
32966 # Dummy target for uncheckable module.
32967 check-target-libgcc:
32969 @endif target-libgcc
32971 .PHONY: install-target-libgcc maybe-install-target-libgcc
32972 maybe-install-target-libgcc:
32973 @if target-libgcc
32974 maybe-install-target-libgcc: install-target-libgcc
32976 install-target-libgcc: installdirs
32977 @: $(MAKE); $(unstage)
32978 @r=`${PWD_COMMAND}`; export r; \
32979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32980 $(NORMAL_TARGET_EXPORTS) \
32981 (cd $(TARGET_SUBDIR)/libgcc && \
32982 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32984 @endif target-libgcc
32986 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
32987 maybe-install-strip-target-libgcc:
32988 @if target-libgcc
32989 maybe-install-strip-target-libgcc: install-strip-target-libgcc
32991 install-strip-target-libgcc: installdirs
32992 @: $(MAKE); $(unstage)
32993 @r=`${PWD_COMMAND}`; export r; \
32994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32995 $(NORMAL_TARGET_EXPORTS) \
32996 (cd $(TARGET_SUBDIR)/libgcc && \
32997 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32999 @endif target-libgcc
33001 # Other targets (info, dvi, pdf, etc.)
33003 .PHONY: maybe-info-target-libgcc info-target-libgcc
33004 maybe-info-target-libgcc:
33005 @if target-libgcc
33006 maybe-info-target-libgcc: info-target-libgcc
33008 info-target-libgcc: \
33009 configure-target-libgcc
33010 @: $(MAKE); $(unstage)
33011 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33012 r=`${PWD_COMMAND}`; export r; \
33013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33014 $(NORMAL_TARGET_EXPORTS) \
33015 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
33016 for flag in $(EXTRA_TARGET_FLAGS); do \
33017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33018 done; \
33019 (cd $(TARGET_SUBDIR)/libgcc && \
33020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33022 "RANLIB=$${RANLIB}" \
33023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33024 info) \
33025 || exit 1
33027 @endif target-libgcc
33029 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
33030 maybe-dvi-target-libgcc:
33031 @if target-libgcc
33032 maybe-dvi-target-libgcc: dvi-target-libgcc
33034 dvi-target-libgcc: \
33035 configure-target-libgcc
33036 @: $(MAKE); $(unstage)
33037 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33038 r=`${PWD_COMMAND}`; export r; \
33039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33040 $(NORMAL_TARGET_EXPORTS) \
33041 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
33042 for flag in $(EXTRA_TARGET_FLAGS); do \
33043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33044 done; \
33045 (cd $(TARGET_SUBDIR)/libgcc && \
33046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33048 "RANLIB=$${RANLIB}" \
33049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33050 dvi) \
33051 || exit 1
33053 @endif target-libgcc
33055 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
33056 maybe-pdf-target-libgcc:
33057 @if target-libgcc
33058 maybe-pdf-target-libgcc: pdf-target-libgcc
33060 pdf-target-libgcc: \
33061 configure-target-libgcc
33062 @: $(MAKE); $(unstage)
33063 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33064 r=`${PWD_COMMAND}`; export r; \
33065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33066 $(NORMAL_TARGET_EXPORTS) \
33067 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
33068 for flag in $(EXTRA_TARGET_FLAGS); do \
33069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33070 done; \
33071 (cd $(TARGET_SUBDIR)/libgcc && \
33072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33074 "RANLIB=$${RANLIB}" \
33075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33076 pdf) \
33077 || exit 1
33079 @endif target-libgcc
33081 .PHONY: maybe-html-target-libgcc html-target-libgcc
33082 maybe-html-target-libgcc:
33083 @if target-libgcc
33084 maybe-html-target-libgcc: html-target-libgcc
33086 html-target-libgcc: \
33087 configure-target-libgcc
33088 @: $(MAKE); $(unstage)
33089 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33090 r=`${PWD_COMMAND}`; export r; \
33091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33092 $(NORMAL_TARGET_EXPORTS) \
33093 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33094 for flag in $(EXTRA_TARGET_FLAGS); do \
33095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33096 done; \
33097 (cd $(TARGET_SUBDIR)/libgcc && \
33098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33100 "RANLIB=$${RANLIB}" \
33101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33102 html) \
33103 || exit 1
33105 @endif target-libgcc
33107 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33108 maybe-TAGS-target-libgcc:
33109 @if target-libgcc
33110 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33112 TAGS-target-libgcc: \
33113 configure-target-libgcc
33114 @: $(MAKE); $(unstage)
33115 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33116 r=`${PWD_COMMAND}`; export r; \
33117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33118 $(NORMAL_TARGET_EXPORTS) \
33119 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33120 for flag in $(EXTRA_TARGET_FLAGS); do \
33121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33122 done; \
33123 (cd $(TARGET_SUBDIR)/libgcc && \
33124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33126 "RANLIB=$${RANLIB}" \
33127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33128 TAGS) \
33129 || exit 1
33131 @endif target-libgcc
33133 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33134 maybe-install-info-target-libgcc:
33135 @if target-libgcc
33136 maybe-install-info-target-libgcc: install-info-target-libgcc
33138 install-info-target-libgcc: \
33139 configure-target-libgcc \
33140 info-target-libgcc
33141 @: $(MAKE); $(unstage)
33142 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33143 r=`${PWD_COMMAND}`; export r; \
33144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33145 $(NORMAL_TARGET_EXPORTS) \
33146 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
33147 for flag in $(EXTRA_TARGET_FLAGS); do \
33148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33149 done; \
33150 (cd $(TARGET_SUBDIR)/libgcc && \
33151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33153 "RANLIB=$${RANLIB}" \
33154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33155 install-info) \
33156 || exit 1
33158 @endif target-libgcc
33160 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33161 maybe-install-pdf-target-libgcc:
33162 @if target-libgcc
33163 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33165 install-pdf-target-libgcc: \
33166 configure-target-libgcc \
33167 pdf-target-libgcc
33168 @: $(MAKE); $(unstage)
33169 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33170 r=`${PWD_COMMAND}`; export r; \
33171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33172 $(NORMAL_TARGET_EXPORTS) \
33173 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
33174 for flag in $(EXTRA_TARGET_FLAGS); do \
33175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33176 done; \
33177 (cd $(TARGET_SUBDIR)/libgcc && \
33178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33180 "RANLIB=$${RANLIB}" \
33181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33182 install-pdf) \
33183 || exit 1
33185 @endif target-libgcc
33187 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33188 maybe-install-html-target-libgcc:
33189 @if target-libgcc
33190 maybe-install-html-target-libgcc: install-html-target-libgcc
33192 install-html-target-libgcc: \
33193 configure-target-libgcc \
33194 html-target-libgcc
33195 @: $(MAKE); $(unstage)
33196 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33197 r=`${PWD_COMMAND}`; export r; \
33198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33199 $(NORMAL_TARGET_EXPORTS) \
33200 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
33201 for flag in $(EXTRA_TARGET_FLAGS); do \
33202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33203 done; \
33204 (cd $(TARGET_SUBDIR)/libgcc && \
33205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33207 "RANLIB=$${RANLIB}" \
33208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33209 install-html) \
33210 || exit 1
33212 @endif target-libgcc
33214 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33215 maybe-installcheck-target-libgcc:
33216 @if target-libgcc
33217 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33219 installcheck-target-libgcc: \
33220 configure-target-libgcc
33221 @: $(MAKE); $(unstage)
33222 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33223 r=`${PWD_COMMAND}`; export r; \
33224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33225 $(NORMAL_TARGET_EXPORTS) \
33226 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33227 for flag in $(EXTRA_TARGET_FLAGS); do \
33228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33229 done; \
33230 (cd $(TARGET_SUBDIR)/libgcc && \
33231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33233 "RANLIB=$${RANLIB}" \
33234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33235 installcheck) \
33236 || exit 1
33238 @endif target-libgcc
33240 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33241 maybe-mostlyclean-target-libgcc:
33242 @if target-libgcc
33243 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33245 mostlyclean-target-libgcc:
33246 @: $(MAKE); $(unstage)
33247 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33248 r=`${PWD_COMMAND}`; export r; \
33249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33250 $(NORMAL_TARGET_EXPORTS) \
33251 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33252 for flag in $(EXTRA_TARGET_FLAGS); do \
33253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33254 done; \
33255 (cd $(TARGET_SUBDIR)/libgcc && \
33256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33258 "RANLIB=$${RANLIB}" \
33259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33260 mostlyclean) \
33261 || exit 1
33263 @endif target-libgcc
33265 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33266 maybe-clean-target-libgcc:
33267 @if target-libgcc
33268 maybe-clean-target-libgcc: clean-target-libgcc
33270 clean-target-libgcc:
33271 @: $(MAKE); $(unstage)
33272 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33273 r=`${PWD_COMMAND}`; export r; \
33274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33275 $(NORMAL_TARGET_EXPORTS) \
33276 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33277 for flag in $(EXTRA_TARGET_FLAGS); do \
33278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33279 done; \
33280 (cd $(TARGET_SUBDIR)/libgcc && \
33281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33283 "RANLIB=$${RANLIB}" \
33284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33285 clean) \
33286 || exit 1
33288 @endif target-libgcc
33290 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33291 maybe-distclean-target-libgcc:
33292 @if target-libgcc
33293 maybe-distclean-target-libgcc: distclean-target-libgcc
33295 distclean-target-libgcc:
33296 @: $(MAKE); $(unstage)
33297 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33298 r=`${PWD_COMMAND}`; export r; \
33299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33300 $(NORMAL_TARGET_EXPORTS) \
33301 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33302 for flag in $(EXTRA_TARGET_FLAGS); do \
33303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33304 done; \
33305 (cd $(TARGET_SUBDIR)/libgcc && \
33306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33308 "RANLIB=$${RANLIB}" \
33309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33310 distclean) \
33311 || exit 1
33313 @endif target-libgcc
33315 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
33316 maybe-maintainer-clean-target-libgcc:
33317 @if target-libgcc
33318 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
33320 maintainer-clean-target-libgcc:
33321 @: $(MAKE); $(unstage)
33322 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33323 r=`${PWD_COMMAND}`; export r; \
33324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33325 $(NORMAL_TARGET_EXPORTS) \
33326 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
33327 for flag in $(EXTRA_TARGET_FLAGS); do \
33328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33329 done; \
33330 (cd $(TARGET_SUBDIR)/libgcc && \
33331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33333 "RANLIB=$${RANLIB}" \
33334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33335 maintainer-clean) \
33336 || exit 1
33338 @endif target-libgcc
33344 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
33345 maybe-configure-target-libquadmath:
33346 @if gcc-bootstrap
33347 configure-target-libquadmath: stage_current
33348 @endif gcc-bootstrap
33349 @if target-libquadmath
33350 maybe-configure-target-libquadmath: configure-target-libquadmath
33351 configure-target-libquadmath:
33352 @: $(MAKE); $(unstage)
33353 @r=`${PWD_COMMAND}`; export r; \
33354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33355 echo "Checking multilib configuration for libquadmath..."; \
33356 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33357 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
33358 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33359 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
33360 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
33361 else \
33362 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
33363 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33364 fi; \
33365 else \
33366 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
33367 fi; \
33368 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
33369 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
33370 $(NORMAL_TARGET_EXPORTS) \
33371 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
33372 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
33373 case $(srcdir) in \
33374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33375 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
33376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33377 esac; \
33378 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
33379 libsrcdir="$$s/libquadmath"; \
33380 rm -f no-such-file || : ; \
33381 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33382 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33383 --target=${target_alias} $${srcdiroption} \
33384 || exit 1
33385 @endif target-libquadmath
33391 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
33392 maybe-all-target-libquadmath:
33393 @if gcc-bootstrap
33394 all-target-libquadmath: stage_current
33395 @endif gcc-bootstrap
33396 @if target-libquadmath
33397 TARGET-target-libquadmath=all
33398 maybe-all-target-libquadmath: all-target-libquadmath
33399 all-target-libquadmath: configure-target-libquadmath
33400 @: $(MAKE); $(unstage)
33401 @r=`${PWD_COMMAND}`; export r; \
33402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33403 $(NORMAL_TARGET_EXPORTS) \
33404 (cd $(TARGET_SUBDIR)/libquadmath && \
33405 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33406 $(TARGET-target-libquadmath))
33407 @endif target-libquadmath
33413 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
33414 maybe-check-target-libquadmath:
33415 @if target-libquadmath
33416 maybe-check-target-libquadmath: check-target-libquadmath
33418 check-target-libquadmath:
33419 @: $(MAKE); $(unstage)
33420 @r=`${PWD_COMMAND}`; export r; \
33421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33422 $(NORMAL_TARGET_EXPORTS) \
33423 (cd $(TARGET_SUBDIR)/libquadmath && \
33424 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33426 @endif target-libquadmath
33428 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
33429 maybe-install-target-libquadmath:
33430 @if target-libquadmath
33431 maybe-install-target-libquadmath: install-target-libquadmath
33433 install-target-libquadmath: installdirs
33434 @: $(MAKE); $(unstage)
33435 @r=`${PWD_COMMAND}`; export r; \
33436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33437 $(NORMAL_TARGET_EXPORTS) \
33438 (cd $(TARGET_SUBDIR)/libquadmath && \
33439 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33441 @endif target-libquadmath
33443 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
33444 maybe-install-strip-target-libquadmath:
33445 @if target-libquadmath
33446 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
33448 install-strip-target-libquadmath: installdirs
33449 @: $(MAKE); $(unstage)
33450 @r=`${PWD_COMMAND}`; export r; \
33451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33452 $(NORMAL_TARGET_EXPORTS) \
33453 (cd $(TARGET_SUBDIR)/libquadmath && \
33454 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33456 @endif target-libquadmath
33458 # Other targets (info, dvi, pdf, etc.)
33460 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
33461 maybe-info-target-libquadmath:
33462 @if target-libquadmath
33463 maybe-info-target-libquadmath: info-target-libquadmath
33465 info-target-libquadmath: \
33466 configure-target-libquadmath
33467 @: $(MAKE); $(unstage)
33468 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33469 r=`${PWD_COMMAND}`; export r; \
33470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33471 $(NORMAL_TARGET_EXPORTS) \
33472 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
33473 for flag in $(EXTRA_TARGET_FLAGS); do \
33474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33475 done; \
33476 (cd $(TARGET_SUBDIR)/libquadmath && \
33477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33479 "RANLIB=$${RANLIB}" \
33480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33481 info) \
33482 || exit 1
33484 @endif target-libquadmath
33486 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
33487 maybe-dvi-target-libquadmath:
33488 @if target-libquadmath
33489 maybe-dvi-target-libquadmath: dvi-target-libquadmath
33491 dvi-target-libquadmath: \
33492 configure-target-libquadmath
33493 @: $(MAKE); $(unstage)
33494 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33495 r=`${PWD_COMMAND}`; export r; \
33496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33497 $(NORMAL_TARGET_EXPORTS) \
33498 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
33499 for flag in $(EXTRA_TARGET_FLAGS); do \
33500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33501 done; \
33502 (cd $(TARGET_SUBDIR)/libquadmath && \
33503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33505 "RANLIB=$${RANLIB}" \
33506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33507 dvi) \
33508 || exit 1
33510 @endif target-libquadmath
33512 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
33513 maybe-pdf-target-libquadmath:
33514 @if target-libquadmath
33515 maybe-pdf-target-libquadmath: pdf-target-libquadmath
33517 pdf-target-libquadmath: \
33518 configure-target-libquadmath
33519 @: $(MAKE); $(unstage)
33520 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33521 r=`${PWD_COMMAND}`; export r; \
33522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33523 $(NORMAL_TARGET_EXPORTS) \
33524 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33525 for flag in $(EXTRA_TARGET_FLAGS); do \
33526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33527 done; \
33528 (cd $(TARGET_SUBDIR)/libquadmath && \
33529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33531 "RANLIB=$${RANLIB}" \
33532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33533 pdf) \
33534 || exit 1
33536 @endif target-libquadmath
33538 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
33539 maybe-html-target-libquadmath:
33540 @if target-libquadmath
33541 maybe-html-target-libquadmath: html-target-libquadmath
33543 html-target-libquadmath: \
33544 configure-target-libquadmath
33545 @: $(MAKE); $(unstage)
33546 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33547 r=`${PWD_COMMAND}`; export r; \
33548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33549 $(NORMAL_TARGET_EXPORTS) \
33550 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
33551 for flag in $(EXTRA_TARGET_FLAGS); do \
33552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33553 done; \
33554 (cd $(TARGET_SUBDIR)/libquadmath && \
33555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33557 "RANLIB=$${RANLIB}" \
33558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33559 html) \
33560 || exit 1
33562 @endif target-libquadmath
33564 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
33565 maybe-TAGS-target-libquadmath:
33566 @if target-libquadmath
33567 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
33569 TAGS-target-libquadmath: \
33570 configure-target-libquadmath
33571 @: $(MAKE); $(unstage)
33572 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33573 r=`${PWD_COMMAND}`; export r; \
33574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33575 $(NORMAL_TARGET_EXPORTS) \
33576 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
33577 for flag in $(EXTRA_TARGET_FLAGS); do \
33578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33579 done; \
33580 (cd $(TARGET_SUBDIR)/libquadmath && \
33581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33583 "RANLIB=$${RANLIB}" \
33584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33585 TAGS) \
33586 || exit 1
33588 @endif target-libquadmath
33590 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
33591 maybe-install-info-target-libquadmath:
33592 @if target-libquadmath
33593 maybe-install-info-target-libquadmath: install-info-target-libquadmath
33595 install-info-target-libquadmath: \
33596 configure-target-libquadmath \
33597 info-target-libquadmath
33598 @: $(MAKE); $(unstage)
33599 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33600 r=`${PWD_COMMAND}`; export r; \
33601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33602 $(NORMAL_TARGET_EXPORTS) \
33603 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
33604 for flag in $(EXTRA_TARGET_FLAGS); do \
33605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33606 done; \
33607 (cd $(TARGET_SUBDIR)/libquadmath && \
33608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33610 "RANLIB=$${RANLIB}" \
33611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33612 install-info) \
33613 || exit 1
33615 @endif target-libquadmath
33617 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
33618 maybe-install-pdf-target-libquadmath:
33619 @if target-libquadmath
33620 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
33622 install-pdf-target-libquadmath: \
33623 configure-target-libquadmath \
33624 pdf-target-libquadmath
33625 @: $(MAKE); $(unstage)
33626 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33627 r=`${PWD_COMMAND}`; export r; \
33628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33629 $(NORMAL_TARGET_EXPORTS) \
33630 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
33631 for flag in $(EXTRA_TARGET_FLAGS); do \
33632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33633 done; \
33634 (cd $(TARGET_SUBDIR)/libquadmath && \
33635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33637 "RANLIB=$${RANLIB}" \
33638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33639 install-pdf) \
33640 || exit 1
33642 @endif target-libquadmath
33644 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
33645 maybe-install-html-target-libquadmath:
33646 @if target-libquadmath
33647 maybe-install-html-target-libquadmath: install-html-target-libquadmath
33649 install-html-target-libquadmath: \
33650 configure-target-libquadmath \
33651 html-target-libquadmath
33652 @: $(MAKE); $(unstage)
33653 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33654 r=`${PWD_COMMAND}`; export r; \
33655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33656 $(NORMAL_TARGET_EXPORTS) \
33657 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
33658 for flag in $(EXTRA_TARGET_FLAGS); do \
33659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33660 done; \
33661 (cd $(TARGET_SUBDIR)/libquadmath && \
33662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33664 "RANLIB=$${RANLIB}" \
33665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33666 install-html) \
33667 || exit 1
33669 @endif target-libquadmath
33671 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
33672 maybe-installcheck-target-libquadmath:
33673 @if target-libquadmath
33674 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
33676 installcheck-target-libquadmath: \
33677 configure-target-libquadmath
33678 @: $(MAKE); $(unstage)
33679 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33680 r=`${PWD_COMMAND}`; export r; \
33681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33682 $(NORMAL_TARGET_EXPORTS) \
33683 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
33684 for flag in $(EXTRA_TARGET_FLAGS); do \
33685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33686 done; \
33687 (cd $(TARGET_SUBDIR)/libquadmath && \
33688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33690 "RANLIB=$${RANLIB}" \
33691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33692 installcheck) \
33693 || exit 1
33695 @endif target-libquadmath
33697 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
33698 maybe-mostlyclean-target-libquadmath:
33699 @if target-libquadmath
33700 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
33702 mostlyclean-target-libquadmath:
33703 @: $(MAKE); $(unstage)
33704 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33705 r=`${PWD_COMMAND}`; export r; \
33706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33707 $(NORMAL_TARGET_EXPORTS) \
33708 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
33709 for flag in $(EXTRA_TARGET_FLAGS); do \
33710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33711 done; \
33712 (cd $(TARGET_SUBDIR)/libquadmath && \
33713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33715 "RANLIB=$${RANLIB}" \
33716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33717 mostlyclean) \
33718 || exit 1
33720 @endif target-libquadmath
33722 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
33723 maybe-clean-target-libquadmath:
33724 @if target-libquadmath
33725 maybe-clean-target-libquadmath: clean-target-libquadmath
33727 clean-target-libquadmath:
33728 @: $(MAKE); $(unstage)
33729 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33730 r=`${PWD_COMMAND}`; export r; \
33731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33732 $(NORMAL_TARGET_EXPORTS) \
33733 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
33734 for flag in $(EXTRA_TARGET_FLAGS); do \
33735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33736 done; \
33737 (cd $(TARGET_SUBDIR)/libquadmath && \
33738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33740 "RANLIB=$${RANLIB}" \
33741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33742 clean) \
33743 || exit 1
33745 @endif target-libquadmath
33747 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
33748 maybe-distclean-target-libquadmath:
33749 @if target-libquadmath
33750 maybe-distclean-target-libquadmath: distclean-target-libquadmath
33752 distclean-target-libquadmath:
33753 @: $(MAKE); $(unstage)
33754 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33755 r=`${PWD_COMMAND}`; export r; \
33756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33757 $(NORMAL_TARGET_EXPORTS) \
33758 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
33759 for flag in $(EXTRA_TARGET_FLAGS); do \
33760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33761 done; \
33762 (cd $(TARGET_SUBDIR)/libquadmath && \
33763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33765 "RANLIB=$${RANLIB}" \
33766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33767 distclean) \
33768 || exit 1
33770 @endif target-libquadmath
33772 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
33773 maybe-maintainer-clean-target-libquadmath:
33774 @if target-libquadmath
33775 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
33777 maintainer-clean-target-libquadmath:
33778 @: $(MAKE); $(unstage)
33779 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
33780 r=`${PWD_COMMAND}`; export r; \
33781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33782 $(NORMAL_TARGET_EXPORTS) \
33783 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
33784 for flag in $(EXTRA_TARGET_FLAGS); do \
33785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33786 done; \
33787 (cd $(TARGET_SUBDIR)/libquadmath && \
33788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33790 "RANLIB=$${RANLIB}" \
33791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33792 maintainer-clean) \
33793 || exit 1
33795 @endif target-libquadmath
33801 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
33802 maybe-configure-target-libgfortran:
33803 @if gcc-bootstrap
33804 configure-target-libgfortran: stage_current
33805 @endif gcc-bootstrap
33806 @if target-libgfortran
33807 maybe-configure-target-libgfortran: configure-target-libgfortran
33808 configure-target-libgfortran:
33809 @: $(MAKE); $(unstage)
33810 @r=`${PWD_COMMAND}`; export r; \
33811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33812 echo "Checking multilib configuration for libgfortran..."; \
33813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33814 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
33815 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33816 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
33817 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
33818 else \
33819 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
33820 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33821 fi; \
33822 else \
33823 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
33824 fi; \
33825 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
33826 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
33827 $(NORMAL_TARGET_EXPORTS) \
33828 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
33829 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
33830 case $(srcdir) in \
33831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33832 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
33833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33834 esac; \
33835 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
33836 libsrcdir="$$s/libgfortran"; \
33837 rm -f no-such-file || : ; \
33838 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33839 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33840 --target=${target_alias} $${srcdiroption} \
33841 || exit 1
33842 @endif target-libgfortran
33848 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
33849 maybe-all-target-libgfortran:
33850 @if gcc-bootstrap
33851 all-target-libgfortran: stage_current
33852 @endif gcc-bootstrap
33853 @if target-libgfortran
33854 TARGET-target-libgfortran=all
33855 maybe-all-target-libgfortran: all-target-libgfortran
33856 all-target-libgfortran: configure-target-libgfortran
33857 @: $(MAKE); $(unstage)
33858 @r=`${PWD_COMMAND}`; export r; \
33859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33860 $(NORMAL_TARGET_EXPORTS) \
33861 (cd $(TARGET_SUBDIR)/libgfortran && \
33862 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33863 $(TARGET-target-libgfortran))
33864 @endif target-libgfortran
33870 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
33871 maybe-check-target-libgfortran:
33872 @if target-libgfortran
33873 maybe-check-target-libgfortran: check-target-libgfortran
33875 check-target-libgfortran:
33876 @: $(MAKE); $(unstage)
33877 @r=`${PWD_COMMAND}`; export r; \
33878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33879 $(NORMAL_TARGET_EXPORTS) \
33880 (cd $(TARGET_SUBDIR)/libgfortran && \
33881 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33883 @endif target-libgfortran
33885 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
33886 maybe-install-target-libgfortran:
33887 @if target-libgfortran
33888 maybe-install-target-libgfortran: install-target-libgfortran
33890 install-target-libgfortran: installdirs
33891 @: $(MAKE); $(unstage)
33892 @r=`${PWD_COMMAND}`; export r; \
33893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33894 $(NORMAL_TARGET_EXPORTS) \
33895 (cd $(TARGET_SUBDIR)/libgfortran && \
33896 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33898 @endif target-libgfortran
33900 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
33901 maybe-install-strip-target-libgfortran:
33902 @if target-libgfortran
33903 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
33905 install-strip-target-libgfortran: installdirs
33906 @: $(MAKE); $(unstage)
33907 @r=`${PWD_COMMAND}`; export r; \
33908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33909 $(NORMAL_TARGET_EXPORTS) \
33910 (cd $(TARGET_SUBDIR)/libgfortran && \
33911 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33913 @endif target-libgfortran
33915 # Other targets (info, dvi, pdf, etc.)
33917 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
33918 maybe-info-target-libgfortran:
33919 @if target-libgfortran
33920 maybe-info-target-libgfortran: info-target-libgfortran
33922 info-target-libgfortran: \
33923 configure-target-libgfortran
33924 @: $(MAKE); $(unstage)
33925 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33926 r=`${PWD_COMMAND}`; export r; \
33927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33928 $(NORMAL_TARGET_EXPORTS) \
33929 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
33930 for flag in $(EXTRA_TARGET_FLAGS); do \
33931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33932 done; \
33933 (cd $(TARGET_SUBDIR)/libgfortran && \
33934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33936 "RANLIB=$${RANLIB}" \
33937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33938 info) \
33939 || exit 1
33941 @endif target-libgfortran
33943 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
33944 maybe-dvi-target-libgfortran:
33945 @if target-libgfortran
33946 maybe-dvi-target-libgfortran: dvi-target-libgfortran
33948 dvi-target-libgfortran: \
33949 configure-target-libgfortran
33950 @: $(MAKE); $(unstage)
33951 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33952 r=`${PWD_COMMAND}`; export r; \
33953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33954 $(NORMAL_TARGET_EXPORTS) \
33955 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
33956 for flag in $(EXTRA_TARGET_FLAGS); do \
33957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33958 done; \
33959 (cd $(TARGET_SUBDIR)/libgfortran && \
33960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33962 "RANLIB=$${RANLIB}" \
33963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33964 dvi) \
33965 || exit 1
33967 @endif target-libgfortran
33969 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
33970 maybe-pdf-target-libgfortran:
33971 @if target-libgfortran
33972 maybe-pdf-target-libgfortran: pdf-target-libgfortran
33974 pdf-target-libgfortran: \
33975 configure-target-libgfortran
33976 @: $(MAKE); $(unstage)
33977 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
33978 r=`${PWD_COMMAND}`; export r; \
33979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33980 $(NORMAL_TARGET_EXPORTS) \
33981 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
33982 for flag in $(EXTRA_TARGET_FLAGS); do \
33983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33984 done; \
33985 (cd $(TARGET_SUBDIR)/libgfortran && \
33986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33988 "RANLIB=$${RANLIB}" \
33989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33990 pdf) \
33991 || exit 1
33993 @endif target-libgfortran
33995 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
33996 maybe-html-target-libgfortran:
33997 @if target-libgfortran
33998 maybe-html-target-libgfortran: html-target-libgfortran
34000 html-target-libgfortran: \
34001 configure-target-libgfortran
34002 @: $(MAKE); $(unstage)
34003 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34004 r=`${PWD_COMMAND}`; export r; \
34005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34006 $(NORMAL_TARGET_EXPORTS) \
34007 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
34008 for flag in $(EXTRA_TARGET_FLAGS); do \
34009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34010 done; \
34011 (cd $(TARGET_SUBDIR)/libgfortran && \
34012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34014 "RANLIB=$${RANLIB}" \
34015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34016 html) \
34017 || exit 1
34019 @endif target-libgfortran
34021 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
34022 maybe-TAGS-target-libgfortran:
34023 @if target-libgfortran
34024 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
34026 TAGS-target-libgfortran: \
34027 configure-target-libgfortran
34028 @: $(MAKE); $(unstage)
34029 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34030 r=`${PWD_COMMAND}`; export r; \
34031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34032 $(NORMAL_TARGET_EXPORTS) \
34033 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
34034 for flag in $(EXTRA_TARGET_FLAGS); do \
34035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34036 done; \
34037 (cd $(TARGET_SUBDIR)/libgfortran && \
34038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34040 "RANLIB=$${RANLIB}" \
34041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34042 TAGS) \
34043 || exit 1
34045 @endif target-libgfortran
34047 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
34048 maybe-install-info-target-libgfortran:
34049 @if target-libgfortran
34050 maybe-install-info-target-libgfortran: install-info-target-libgfortran
34052 install-info-target-libgfortran: \
34053 configure-target-libgfortran \
34054 info-target-libgfortran
34055 @: $(MAKE); $(unstage)
34056 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34057 r=`${PWD_COMMAND}`; export r; \
34058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34059 $(NORMAL_TARGET_EXPORTS) \
34060 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
34061 for flag in $(EXTRA_TARGET_FLAGS); do \
34062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34063 done; \
34064 (cd $(TARGET_SUBDIR)/libgfortran && \
34065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34067 "RANLIB=$${RANLIB}" \
34068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34069 install-info) \
34070 || exit 1
34072 @endif target-libgfortran
34074 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
34075 maybe-install-pdf-target-libgfortran:
34076 @if target-libgfortran
34077 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
34079 install-pdf-target-libgfortran: \
34080 configure-target-libgfortran \
34081 pdf-target-libgfortran
34082 @: $(MAKE); $(unstage)
34083 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34084 r=`${PWD_COMMAND}`; export r; \
34085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34086 $(NORMAL_TARGET_EXPORTS) \
34087 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
34088 for flag in $(EXTRA_TARGET_FLAGS); do \
34089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34090 done; \
34091 (cd $(TARGET_SUBDIR)/libgfortran && \
34092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34094 "RANLIB=$${RANLIB}" \
34095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34096 install-pdf) \
34097 || exit 1
34099 @endif target-libgfortran
34101 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
34102 maybe-install-html-target-libgfortran:
34103 @if target-libgfortran
34104 maybe-install-html-target-libgfortran: install-html-target-libgfortran
34106 install-html-target-libgfortran: \
34107 configure-target-libgfortran \
34108 html-target-libgfortran
34109 @: $(MAKE); $(unstage)
34110 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34111 r=`${PWD_COMMAND}`; export r; \
34112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34113 $(NORMAL_TARGET_EXPORTS) \
34114 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
34115 for flag in $(EXTRA_TARGET_FLAGS); do \
34116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34117 done; \
34118 (cd $(TARGET_SUBDIR)/libgfortran && \
34119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34121 "RANLIB=$${RANLIB}" \
34122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34123 install-html) \
34124 || exit 1
34126 @endif target-libgfortran
34128 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
34129 maybe-installcheck-target-libgfortran:
34130 @if target-libgfortran
34131 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
34133 installcheck-target-libgfortran: \
34134 configure-target-libgfortran
34135 @: $(MAKE); $(unstage)
34136 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34137 r=`${PWD_COMMAND}`; export r; \
34138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34139 $(NORMAL_TARGET_EXPORTS) \
34140 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
34141 for flag in $(EXTRA_TARGET_FLAGS); do \
34142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34143 done; \
34144 (cd $(TARGET_SUBDIR)/libgfortran && \
34145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34147 "RANLIB=$${RANLIB}" \
34148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34149 installcheck) \
34150 || exit 1
34152 @endif target-libgfortran
34154 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
34155 maybe-mostlyclean-target-libgfortran:
34156 @if target-libgfortran
34157 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
34159 mostlyclean-target-libgfortran:
34160 @: $(MAKE); $(unstage)
34161 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34162 r=`${PWD_COMMAND}`; export r; \
34163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34164 $(NORMAL_TARGET_EXPORTS) \
34165 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
34166 for flag in $(EXTRA_TARGET_FLAGS); do \
34167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34168 done; \
34169 (cd $(TARGET_SUBDIR)/libgfortran && \
34170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34172 "RANLIB=$${RANLIB}" \
34173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34174 mostlyclean) \
34175 || exit 1
34177 @endif target-libgfortran
34179 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
34180 maybe-clean-target-libgfortran:
34181 @if target-libgfortran
34182 maybe-clean-target-libgfortran: clean-target-libgfortran
34184 clean-target-libgfortran:
34185 @: $(MAKE); $(unstage)
34186 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34187 r=`${PWD_COMMAND}`; export r; \
34188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34189 $(NORMAL_TARGET_EXPORTS) \
34190 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
34191 for flag in $(EXTRA_TARGET_FLAGS); do \
34192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34193 done; \
34194 (cd $(TARGET_SUBDIR)/libgfortran && \
34195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34197 "RANLIB=$${RANLIB}" \
34198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34199 clean) \
34200 || exit 1
34202 @endif target-libgfortran
34204 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
34205 maybe-distclean-target-libgfortran:
34206 @if target-libgfortran
34207 maybe-distclean-target-libgfortran: distclean-target-libgfortran
34209 distclean-target-libgfortran:
34210 @: $(MAKE); $(unstage)
34211 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34212 r=`${PWD_COMMAND}`; export r; \
34213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34214 $(NORMAL_TARGET_EXPORTS) \
34215 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
34216 for flag in $(EXTRA_TARGET_FLAGS); do \
34217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34218 done; \
34219 (cd $(TARGET_SUBDIR)/libgfortran && \
34220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34222 "RANLIB=$${RANLIB}" \
34223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34224 distclean) \
34225 || exit 1
34227 @endif target-libgfortran
34229 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
34230 maybe-maintainer-clean-target-libgfortran:
34231 @if target-libgfortran
34232 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
34234 maintainer-clean-target-libgfortran:
34235 @: $(MAKE); $(unstage)
34236 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
34237 r=`${PWD_COMMAND}`; export r; \
34238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34239 $(NORMAL_TARGET_EXPORTS) \
34240 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
34241 for flag in $(EXTRA_TARGET_FLAGS); do \
34242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34243 done; \
34244 (cd $(TARGET_SUBDIR)/libgfortran && \
34245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34247 "RANLIB=$${RANLIB}" \
34248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34249 maintainer-clean) \
34250 || exit 1
34252 @endif target-libgfortran
34258 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
34259 maybe-configure-target-libobjc:
34260 @if gcc-bootstrap
34261 configure-target-libobjc: stage_current
34262 @endif gcc-bootstrap
34263 @if target-libobjc
34264 maybe-configure-target-libobjc: configure-target-libobjc
34265 configure-target-libobjc:
34266 @: $(MAKE); $(unstage)
34267 @r=`${PWD_COMMAND}`; export r; \
34268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34269 echo "Checking multilib configuration for libobjc..."; \
34270 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34271 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
34272 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34273 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
34274 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
34275 else \
34276 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
34277 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34278 fi; \
34279 else \
34280 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
34281 fi; \
34282 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
34283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
34284 $(NORMAL_TARGET_EXPORTS) \
34285 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
34286 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
34287 case $(srcdir) in \
34288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34289 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
34290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34291 esac; \
34292 srcdiroption="--srcdir=$${topdir}/libobjc"; \
34293 libsrcdir="$$s/libobjc"; \
34294 rm -f no-such-file || : ; \
34295 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34296 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34297 --target=${target_alias} $${srcdiroption} \
34298 || exit 1
34299 @endif target-libobjc
34305 .PHONY: all-target-libobjc maybe-all-target-libobjc
34306 maybe-all-target-libobjc:
34307 @if gcc-bootstrap
34308 all-target-libobjc: stage_current
34309 @endif gcc-bootstrap
34310 @if target-libobjc
34311 TARGET-target-libobjc=all
34312 maybe-all-target-libobjc: all-target-libobjc
34313 all-target-libobjc: configure-target-libobjc
34314 @: $(MAKE); $(unstage)
34315 @r=`${PWD_COMMAND}`; export r; \
34316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34317 $(NORMAL_TARGET_EXPORTS) \
34318 (cd $(TARGET_SUBDIR)/libobjc && \
34319 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34320 $(TARGET-target-libobjc))
34321 @endif target-libobjc
34327 .PHONY: check-target-libobjc maybe-check-target-libobjc
34328 maybe-check-target-libobjc:
34329 @if target-libobjc
34330 maybe-check-target-libobjc: check-target-libobjc
34332 check-target-libobjc:
34333 @: $(MAKE); $(unstage)
34334 @r=`${PWD_COMMAND}`; export r; \
34335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34336 $(NORMAL_TARGET_EXPORTS) \
34337 (cd $(TARGET_SUBDIR)/libobjc && \
34338 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34340 @endif target-libobjc
34342 .PHONY: install-target-libobjc maybe-install-target-libobjc
34343 maybe-install-target-libobjc:
34344 @if target-libobjc
34345 maybe-install-target-libobjc: install-target-libobjc
34347 install-target-libobjc: installdirs
34348 @: $(MAKE); $(unstage)
34349 @r=`${PWD_COMMAND}`; export r; \
34350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34351 $(NORMAL_TARGET_EXPORTS) \
34352 (cd $(TARGET_SUBDIR)/libobjc && \
34353 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34355 @endif target-libobjc
34357 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
34358 maybe-install-strip-target-libobjc:
34359 @if target-libobjc
34360 maybe-install-strip-target-libobjc: install-strip-target-libobjc
34362 install-strip-target-libobjc: installdirs
34363 @: $(MAKE); $(unstage)
34364 @r=`${PWD_COMMAND}`; export r; \
34365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34366 $(NORMAL_TARGET_EXPORTS) \
34367 (cd $(TARGET_SUBDIR)/libobjc && \
34368 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34370 @endif target-libobjc
34372 # Other targets (info, dvi, pdf, etc.)
34374 .PHONY: maybe-info-target-libobjc info-target-libobjc
34375 maybe-info-target-libobjc:
34376 @if target-libobjc
34377 maybe-info-target-libobjc: info-target-libobjc
34379 info-target-libobjc: \
34380 configure-target-libobjc
34381 @: $(MAKE); $(unstage)
34382 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34383 r=`${PWD_COMMAND}`; export r; \
34384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34385 $(NORMAL_TARGET_EXPORTS) \
34386 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
34387 for flag in $(EXTRA_TARGET_FLAGS); do \
34388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34389 done; \
34390 (cd $(TARGET_SUBDIR)/libobjc && \
34391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34393 "RANLIB=$${RANLIB}" \
34394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34395 info) \
34396 || exit 1
34398 @endif target-libobjc
34400 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
34401 maybe-dvi-target-libobjc:
34402 @if target-libobjc
34403 maybe-dvi-target-libobjc: dvi-target-libobjc
34405 dvi-target-libobjc: \
34406 configure-target-libobjc
34407 @: $(MAKE); $(unstage)
34408 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34409 r=`${PWD_COMMAND}`; export r; \
34410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34411 $(NORMAL_TARGET_EXPORTS) \
34412 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
34413 for flag in $(EXTRA_TARGET_FLAGS); do \
34414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34415 done; \
34416 (cd $(TARGET_SUBDIR)/libobjc && \
34417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34419 "RANLIB=$${RANLIB}" \
34420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34421 dvi) \
34422 || exit 1
34424 @endif target-libobjc
34426 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
34427 maybe-pdf-target-libobjc:
34428 @if target-libobjc
34429 maybe-pdf-target-libobjc: pdf-target-libobjc
34431 pdf-target-libobjc: \
34432 configure-target-libobjc
34433 @: $(MAKE); $(unstage)
34434 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34435 r=`${PWD_COMMAND}`; export r; \
34436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34437 $(NORMAL_TARGET_EXPORTS) \
34438 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
34439 for flag in $(EXTRA_TARGET_FLAGS); do \
34440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34441 done; \
34442 (cd $(TARGET_SUBDIR)/libobjc && \
34443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34445 "RANLIB=$${RANLIB}" \
34446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34447 pdf) \
34448 || exit 1
34450 @endif target-libobjc
34452 .PHONY: maybe-html-target-libobjc html-target-libobjc
34453 maybe-html-target-libobjc:
34454 @if target-libobjc
34455 maybe-html-target-libobjc: html-target-libobjc
34457 html-target-libobjc: \
34458 configure-target-libobjc
34459 @: $(MAKE); $(unstage)
34460 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34461 r=`${PWD_COMMAND}`; export r; \
34462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34463 $(NORMAL_TARGET_EXPORTS) \
34464 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
34465 for flag in $(EXTRA_TARGET_FLAGS); do \
34466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34467 done; \
34468 (cd $(TARGET_SUBDIR)/libobjc && \
34469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34471 "RANLIB=$${RANLIB}" \
34472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34473 html) \
34474 || exit 1
34476 @endif target-libobjc
34478 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
34479 maybe-TAGS-target-libobjc:
34480 @if target-libobjc
34481 maybe-TAGS-target-libobjc: TAGS-target-libobjc
34483 TAGS-target-libobjc: \
34484 configure-target-libobjc
34485 @: $(MAKE); $(unstage)
34486 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34487 r=`${PWD_COMMAND}`; export r; \
34488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34489 $(NORMAL_TARGET_EXPORTS) \
34490 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
34491 for flag in $(EXTRA_TARGET_FLAGS); do \
34492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34493 done; \
34494 (cd $(TARGET_SUBDIR)/libobjc && \
34495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34497 "RANLIB=$${RANLIB}" \
34498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34499 TAGS) \
34500 || exit 1
34502 @endif target-libobjc
34504 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
34505 maybe-install-info-target-libobjc:
34506 @if target-libobjc
34507 maybe-install-info-target-libobjc: install-info-target-libobjc
34509 install-info-target-libobjc: \
34510 configure-target-libobjc \
34511 info-target-libobjc
34512 @: $(MAKE); $(unstage)
34513 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34514 r=`${PWD_COMMAND}`; export r; \
34515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34516 $(NORMAL_TARGET_EXPORTS) \
34517 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
34518 for flag in $(EXTRA_TARGET_FLAGS); do \
34519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34520 done; \
34521 (cd $(TARGET_SUBDIR)/libobjc && \
34522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34524 "RANLIB=$${RANLIB}" \
34525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34526 install-info) \
34527 || exit 1
34529 @endif target-libobjc
34531 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
34532 maybe-install-pdf-target-libobjc:
34533 @if target-libobjc
34534 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
34536 install-pdf-target-libobjc: \
34537 configure-target-libobjc \
34538 pdf-target-libobjc
34539 @: $(MAKE); $(unstage)
34540 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34541 r=`${PWD_COMMAND}`; export r; \
34542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34543 $(NORMAL_TARGET_EXPORTS) \
34544 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
34545 for flag in $(EXTRA_TARGET_FLAGS); do \
34546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34547 done; \
34548 (cd $(TARGET_SUBDIR)/libobjc && \
34549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34551 "RANLIB=$${RANLIB}" \
34552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34553 install-pdf) \
34554 || exit 1
34556 @endif target-libobjc
34558 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
34559 maybe-install-html-target-libobjc:
34560 @if target-libobjc
34561 maybe-install-html-target-libobjc: install-html-target-libobjc
34563 install-html-target-libobjc: \
34564 configure-target-libobjc \
34565 html-target-libobjc
34566 @: $(MAKE); $(unstage)
34567 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34568 r=`${PWD_COMMAND}`; export r; \
34569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34570 $(NORMAL_TARGET_EXPORTS) \
34571 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
34572 for flag in $(EXTRA_TARGET_FLAGS); do \
34573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34574 done; \
34575 (cd $(TARGET_SUBDIR)/libobjc && \
34576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34578 "RANLIB=$${RANLIB}" \
34579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34580 install-html) \
34581 || exit 1
34583 @endif target-libobjc
34585 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
34586 maybe-installcheck-target-libobjc:
34587 @if target-libobjc
34588 maybe-installcheck-target-libobjc: installcheck-target-libobjc
34590 installcheck-target-libobjc: \
34591 configure-target-libobjc
34592 @: $(MAKE); $(unstage)
34593 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34594 r=`${PWD_COMMAND}`; export r; \
34595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34596 $(NORMAL_TARGET_EXPORTS) \
34597 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
34598 for flag in $(EXTRA_TARGET_FLAGS); do \
34599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34600 done; \
34601 (cd $(TARGET_SUBDIR)/libobjc && \
34602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34604 "RANLIB=$${RANLIB}" \
34605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34606 installcheck) \
34607 || exit 1
34609 @endif target-libobjc
34611 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
34612 maybe-mostlyclean-target-libobjc:
34613 @if target-libobjc
34614 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
34616 mostlyclean-target-libobjc:
34617 @: $(MAKE); $(unstage)
34618 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34619 r=`${PWD_COMMAND}`; export r; \
34620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34621 $(NORMAL_TARGET_EXPORTS) \
34622 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
34623 for flag in $(EXTRA_TARGET_FLAGS); do \
34624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34625 done; \
34626 (cd $(TARGET_SUBDIR)/libobjc && \
34627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34629 "RANLIB=$${RANLIB}" \
34630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34631 mostlyclean) \
34632 || exit 1
34634 @endif target-libobjc
34636 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
34637 maybe-clean-target-libobjc:
34638 @if target-libobjc
34639 maybe-clean-target-libobjc: clean-target-libobjc
34641 clean-target-libobjc:
34642 @: $(MAKE); $(unstage)
34643 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34644 r=`${PWD_COMMAND}`; export r; \
34645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34646 $(NORMAL_TARGET_EXPORTS) \
34647 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
34648 for flag in $(EXTRA_TARGET_FLAGS); do \
34649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34650 done; \
34651 (cd $(TARGET_SUBDIR)/libobjc && \
34652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34654 "RANLIB=$${RANLIB}" \
34655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34656 clean) \
34657 || exit 1
34659 @endif target-libobjc
34661 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
34662 maybe-distclean-target-libobjc:
34663 @if target-libobjc
34664 maybe-distclean-target-libobjc: distclean-target-libobjc
34666 distclean-target-libobjc:
34667 @: $(MAKE); $(unstage)
34668 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34669 r=`${PWD_COMMAND}`; export r; \
34670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34671 $(NORMAL_TARGET_EXPORTS) \
34672 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
34673 for flag in $(EXTRA_TARGET_FLAGS); do \
34674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34675 done; \
34676 (cd $(TARGET_SUBDIR)/libobjc && \
34677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34679 "RANLIB=$${RANLIB}" \
34680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34681 distclean) \
34682 || exit 1
34684 @endif target-libobjc
34686 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
34687 maybe-maintainer-clean-target-libobjc:
34688 @if target-libobjc
34689 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
34691 maintainer-clean-target-libobjc:
34692 @: $(MAKE); $(unstage)
34693 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
34694 r=`${PWD_COMMAND}`; export r; \
34695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34696 $(NORMAL_TARGET_EXPORTS) \
34697 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
34698 for flag in $(EXTRA_TARGET_FLAGS); do \
34699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34700 done; \
34701 (cd $(TARGET_SUBDIR)/libobjc && \
34702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34704 "RANLIB=$${RANLIB}" \
34705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34706 maintainer-clean) \
34707 || exit 1
34709 @endif target-libobjc
34715 .PHONY: configure-target-libgo maybe-configure-target-libgo
34716 maybe-configure-target-libgo:
34717 @if gcc-bootstrap
34718 configure-target-libgo: stage_current
34719 @endif gcc-bootstrap
34720 @if target-libgo
34721 maybe-configure-target-libgo: configure-target-libgo
34722 configure-target-libgo:
34723 @: $(MAKE); $(unstage)
34724 @r=`${PWD_COMMAND}`; export r; \
34725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34726 echo "Checking multilib configuration for libgo..."; \
34727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34728 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
34729 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
34730 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
34731 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
34732 else \
34733 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
34734 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34735 fi; \
34736 else \
34737 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
34738 fi; \
34739 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
34740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
34741 $(NORMAL_TARGET_EXPORTS) \
34742 echo Configuring in $(TARGET_SUBDIR)/libgo; \
34743 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
34744 case $(srcdir) in \
34745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34746 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
34747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34748 esac; \
34749 srcdiroption="--srcdir=$${topdir}/libgo"; \
34750 libsrcdir="$$s/libgo"; \
34751 rm -f no-such-file || : ; \
34752 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34753 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34754 --target=${target_alias} $${srcdiroption} \
34755 || exit 1
34756 @endif target-libgo
34762 .PHONY: all-target-libgo maybe-all-target-libgo
34763 maybe-all-target-libgo:
34764 @if gcc-bootstrap
34765 all-target-libgo: stage_current
34766 @endif gcc-bootstrap
34767 @if target-libgo
34768 TARGET-target-libgo=all
34769 maybe-all-target-libgo: all-target-libgo
34770 all-target-libgo: configure-target-libgo
34771 @: $(MAKE); $(unstage)
34772 @r=`${PWD_COMMAND}`; export r; \
34773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34774 $(NORMAL_TARGET_EXPORTS) \
34775 (cd $(TARGET_SUBDIR)/libgo && \
34776 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34777 $(TARGET-target-libgo))
34778 @endif target-libgo
34784 .PHONY: check-target-libgo maybe-check-target-libgo
34785 maybe-check-target-libgo:
34786 @if target-libgo
34787 maybe-check-target-libgo: check-target-libgo
34789 check-target-libgo:
34790 @: $(MAKE); $(unstage)
34791 @r=`${PWD_COMMAND}`; export r; \
34792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34793 $(NORMAL_TARGET_EXPORTS) \
34794 (cd $(TARGET_SUBDIR)/libgo && \
34795 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34797 @endif target-libgo
34799 .PHONY: install-target-libgo maybe-install-target-libgo
34800 maybe-install-target-libgo:
34801 @if target-libgo
34802 maybe-install-target-libgo: install-target-libgo
34804 install-target-libgo: installdirs
34805 @: $(MAKE); $(unstage)
34806 @r=`${PWD_COMMAND}`; export r; \
34807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34808 $(NORMAL_TARGET_EXPORTS) \
34809 (cd $(TARGET_SUBDIR)/libgo && \
34810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34812 @endif target-libgo
34814 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
34815 maybe-install-strip-target-libgo:
34816 @if target-libgo
34817 maybe-install-strip-target-libgo: install-strip-target-libgo
34819 install-strip-target-libgo: installdirs
34820 @: $(MAKE); $(unstage)
34821 @r=`${PWD_COMMAND}`; export r; \
34822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34823 $(NORMAL_TARGET_EXPORTS) \
34824 (cd $(TARGET_SUBDIR)/libgo && \
34825 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34827 @endif target-libgo
34829 # Other targets (info, dvi, pdf, etc.)
34831 .PHONY: maybe-info-target-libgo info-target-libgo
34832 maybe-info-target-libgo:
34833 @if target-libgo
34834 maybe-info-target-libgo: info-target-libgo
34836 info-target-libgo: \
34837 configure-target-libgo
34838 @: $(MAKE); $(unstage)
34839 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34840 r=`${PWD_COMMAND}`; export r; \
34841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34842 $(NORMAL_TARGET_EXPORTS) \
34843 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
34844 for flag in $(EXTRA_TARGET_FLAGS); do \
34845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34846 done; \
34847 (cd $(TARGET_SUBDIR)/libgo && \
34848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34850 "RANLIB=$${RANLIB}" \
34851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34852 info) \
34853 || exit 1
34855 @endif target-libgo
34857 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
34858 maybe-dvi-target-libgo:
34859 @if target-libgo
34860 maybe-dvi-target-libgo: dvi-target-libgo
34862 dvi-target-libgo: \
34863 configure-target-libgo
34864 @: $(MAKE); $(unstage)
34865 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34866 r=`${PWD_COMMAND}`; export r; \
34867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34868 $(NORMAL_TARGET_EXPORTS) \
34869 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
34870 for flag in $(EXTRA_TARGET_FLAGS); do \
34871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34872 done; \
34873 (cd $(TARGET_SUBDIR)/libgo && \
34874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34876 "RANLIB=$${RANLIB}" \
34877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34878 dvi) \
34879 || exit 1
34881 @endif target-libgo
34883 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
34884 maybe-pdf-target-libgo:
34885 @if target-libgo
34886 maybe-pdf-target-libgo: pdf-target-libgo
34888 pdf-target-libgo: \
34889 configure-target-libgo
34890 @: $(MAKE); $(unstage)
34891 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34892 r=`${PWD_COMMAND}`; export r; \
34893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34894 $(NORMAL_TARGET_EXPORTS) \
34895 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
34896 for flag in $(EXTRA_TARGET_FLAGS); do \
34897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34898 done; \
34899 (cd $(TARGET_SUBDIR)/libgo && \
34900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34902 "RANLIB=$${RANLIB}" \
34903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34904 pdf) \
34905 || exit 1
34907 @endif target-libgo
34909 .PHONY: maybe-html-target-libgo html-target-libgo
34910 maybe-html-target-libgo:
34911 @if target-libgo
34912 maybe-html-target-libgo: html-target-libgo
34914 html-target-libgo: \
34915 configure-target-libgo
34916 @: $(MAKE); $(unstage)
34917 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34918 r=`${PWD_COMMAND}`; export r; \
34919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34920 $(NORMAL_TARGET_EXPORTS) \
34921 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
34922 for flag in $(EXTRA_TARGET_FLAGS); do \
34923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34924 done; \
34925 (cd $(TARGET_SUBDIR)/libgo && \
34926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34928 "RANLIB=$${RANLIB}" \
34929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34930 html) \
34931 || exit 1
34933 @endif target-libgo
34935 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
34936 maybe-TAGS-target-libgo:
34937 @if target-libgo
34938 maybe-TAGS-target-libgo: TAGS-target-libgo
34940 TAGS-target-libgo: \
34941 configure-target-libgo
34942 @: $(MAKE); $(unstage)
34943 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34944 r=`${PWD_COMMAND}`; export r; \
34945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34946 $(NORMAL_TARGET_EXPORTS) \
34947 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
34948 for flag in $(EXTRA_TARGET_FLAGS); do \
34949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34950 done; \
34951 (cd $(TARGET_SUBDIR)/libgo && \
34952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34954 "RANLIB=$${RANLIB}" \
34955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34956 TAGS) \
34957 || exit 1
34959 @endif target-libgo
34961 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
34962 maybe-install-info-target-libgo:
34963 @if target-libgo
34964 maybe-install-info-target-libgo: install-info-target-libgo
34966 install-info-target-libgo: \
34967 configure-target-libgo \
34968 info-target-libgo
34969 @: $(MAKE); $(unstage)
34970 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34971 r=`${PWD_COMMAND}`; export r; \
34972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34973 $(NORMAL_TARGET_EXPORTS) \
34974 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
34975 for flag in $(EXTRA_TARGET_FLAGS); do \
34976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34977 done; \
34978 (cd $(TARGET_SUBDIR)/libgo && \
34979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34981 "RANLIB=$${RANLIB}" \
34982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34983 install-info) \
34984 || exit 1
34986 @endif target-libgo
34988 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
34989 maybe-install-pdf-target-libgo:
34990 @if target-libgo
34991 maybe-install-pdf-target-libgo: install-pdf-target-libgo
34993 install-pdf-target-libgo: \
34994 configure-target-libgo \
34995 pdf-target-libgo
34996 @: $(MAKE); $(unstage)
34997 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
34998 r=`${PWD_COMMAND}`; export r; \
34999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35000 $(NORMAL_TARGET_EXPORTS) \
35001 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
35002 for flag in $(EXTRA_TARGET_FLAGS); do \
35003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35004 done; \
35005 (cd $(TARGET_SUBDIR)/libgo && \
35006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35008 "RANLIB=$${RANLIB}" \
35009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35010 install-pdf) \
35011 || exit 1
35013 @endif target-libgo
35015 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
35016 maybe-install-html-target-libgo:
35017 @if target-libgo
35018 maybe-install-html-target-libgo: install-html-target-libgo
35020 install-html-target-libgo: \
35021 configure-target-libgo \
35022 html-target-libgo
35023 @: $(MAKE); $(unstage)
35024 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35025 r=`${PWD_COMMAND}`; export r; \
35026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35027 $(NORMAL_TARGET_EXPORTS) \
35028 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
35029 for flag in $(EXTRA_TARGET_FLAGS); do \
35030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35031 done; \
35032 (cd $(TARGET_SUBDIR)/libgo && \
35033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35035 "RANLIB=$${RANLIB}" \
35036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35037 install-html) \
35038 || exit 1
35040 @endif target-libgo
35042 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
35043 maybe-installcheck-target-libgo:
35044 @if target-libgo
35045 maybe-installcheck-target-libgo: installcheck-target-libgo
35047 installcheck-target-libgo: \
35048 configure-target-libgo
35049 @: $(MAKE); $(unstage)
35050 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35051 r=`${PWD_COMMAND}`; export r; \
35052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35053 $(NORMAL_TARGET_EXPORTS) \
35054 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
35055 for flag in $(EXTRA_TARGET_FLAGS); do \
35056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35057 done; \
35058 (cd $(TARGET_SUBDIR)/libgo && \
35059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35061 "RANLIB=$${RANLIB}" \
35062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35063 installcheck) \
35064 || exit 1
35066 @endif target-libgo
35068 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
35069 maybe-mostlyclean-target-libgo:
35070 @if target-libgo
35071 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
35073 mostlyclean-target-libgo:
35074 @: $(MAKE); $(unstage)
35075 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35076 r=`${PWD_COMMAND}`; export r; \
35077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35078 $(NORMAL_TARGET_EXPORTS) \
35079 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
35080 for flag in $(EXTRA_TARGET_FLAGS); do \
35081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35082 done; \
35083 (cd $(TARGET_SUBDIR)/libgo && \
35084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35086 "RANLIB=$${RANLIB}" \
35087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35088 mostlyclean) \
35089 || exit 1
35091 @endif target-libgo
35093 .PHONY: maybe-clean-target-libgo clean-target-libgo
35094 maybe-clean-target-libgo:
35095 @if target-libgo
35096 maybe-clean-target-libgo: clean-target-libgo
35098 clean-target-libgo:
35099 @: $(MAKE); $(unstage)
35100 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35101 r=`${PWD_COMMAND}`; export r; \
35102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35103 $(NORMAL_TARGET_EXPORTS) \
35104 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
35105 for flag in $(EXTRA_TARGET_FLAGS); do \
35106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35107 done; \
35108 (cd $(TARGET_SUBDIR)/libgo && \
35109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35111 "RANLIB=$${RANLIB}" \
35112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35113 clean) \
35114 || exit 1
35116 @endif target-libgo
35118 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
35119 maybe-distclean-target-libgo:
35120 @if target-libgo
35121 maybe-distclean-target-libgo: distclean-target-libgo
35123 distclean-target-libgo:
35124 @: $(MAKE); $(unstage)
35125 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35126 r=`${PWD_COMMAND}`; export r; \
35127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35128 $(NORMAL_TARGET_EXPORTS) \
35129 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
35130 for flag in $(EXTRA_TARGET_FLAGS); do \
35131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35132 done; \
35133 (cd $(TARGET_SUBDIR)/libgo && \
35134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35136 "RANLIB=$${RANLIB}" \
35137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35138 distclean) \
35139 || exit 1
35141 @endif target-libgo
35143 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
35144 maybe-maintainer-clean-target-libgo:
35145 @if target-libgo
35146 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
35148 maintainer-clean-target-libgo:
35149 @: $(MAKE); $(unstage)
35150 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35151 r=`${PWD_COMMAND}`; export r; \
35152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35153 $(NORMAL_TARGET_EXPORTS) \
35154 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
35155 for flag in $(EXTRA_TARGET_FLAGS); do \
35156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35157 done; \
35158 (cd $(TARGET_SUBDIR)/libgo && \
35159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35161 "RANLIB=$${RANLIB}" \
35162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35163 maintainer-clean) \
35164 || exit 1
35166 @endif target-libgo
35172 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
35173 maybe-configure-target-libtermcap:
35174 @if gcc-bootstrap
35175 configure-target-libtermcap: stage_current
35176 @endif gcc-bootstrap
35177 @if target-libtermcap
35178 maybe-configure-target-libtermcap: configure-target-libtermcap
35179 configure-target-libtermcap:
35180 @: $(MAKE); $(unstage)
35181 @r=`${PWD_COMMAND}`; export r; \
35182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35183 echo "Checking multilib configuration for libtermcap..."; \
35184 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35185 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
35186 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35187 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
35188 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
35189 else \
35190 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
35191 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35192 fi; \
35193 else \
35194 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
35195 fi; \
35196 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
35197 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
35198 $(NORMAL_TARGET_EXPORTS) \
35199 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
35200 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
35201 case $(srcdir) in \
35202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35203 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
35204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35205 esac; \
35206 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
35207 libsrcdir="$$s/libtermcap"; \
35208 rm -f no-such-file || : ; \
35209 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35210 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35211 --target=${target_alias} $${srcdiroption} \
35212 || exit 1
35213 @endif target-libtermcap
35219 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
35220 maybe-all-target-libtermcap:
35221 @if gcc-bootstrap
35222 all-target-libtermcap: stage_current
35223 @endif gcc-bootstrap
35224 @if target-libtermcap
35225 TARGET-target-libtermcap=all
35226 maybe-all-target-libtermcap: all-target-libtermcap
35227 all-target-libtermcap: configure-target-libtermcap
35228 @: $(MAKE); $(unstage)
35229 @r=`${PWD_COMMAND}`; export r; \
35230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35231 $(NORMAL_TARGET_EXPORTS) \
35232 (cd $(TARGET_SUBDIR)/libtermcap && \
35233 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35234 $(TARGET-target-libtermcap))
35235 @endif target-libtermcap
35241 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
35242 maybe-check-target-libtermcap:
35243 @if target-libtermcap
35244 maybe-check-target-libtermcap: check-target-libtermcap
35246 # Dummy target for uncheckable module.
35247 check-target-libtermcap:
35249 @endif target-libtermcap
35251 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
35252 maybe-install-target-libtermcap:
35253 @if target-libtermcap
35254 maybe-install-target-libtermcap: install-target-libtermcap
35256 install-target-libtermcap: installdirs
35257 @: $(MAKE); $(unstage)
35258 @r=`${PWD_COMMAND}`; export r; \
35259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35260 $(NORMAL_TARGET_EXPORTS) \
35261 (cd $(TARGET_SUBDIR)/libtermcap && \
35262 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35264 @endif target-libtermcap
35266 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
35267 maybe-install-strip-target-libtermcap:
35268 @if target-libtermcap
35269 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
35271 install-strip-target-libtermcap: installdirs
35272 @: $(MAKE); $(unstage)
35273 @r=`${PWD_COMMAND}`; export r; \
35274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35275 $(NORMAL_TARGET_EXPORTS) \
35276 (cd $(TARGET_SUBDIR)/libtermcap && \
35277 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35279 @endif target-libtermcap
35281 # Other targets (info, dvi, pdf, etc.)
35283 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
35284 maybe-info-target-libtermcap:
35285 @if target-libtermcap
35286 maybe-info-target-libtermcap: info-target-libtermcap
35288 info-target-libtermcap: \
35289 configure-target-libtermcap
35290 @: $(MAKE); $(unstage)
35291 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35292 r=`${PWD_COMMAND}`; export r; \
35293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35294 $(NORMAL_TARGET_EXPORTS) \
35295 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
35296 for flag in $(EXTRA_TARGET_FLAGS); do \
35297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35298 done; \
35299 (cd $(TARGET_SUBDIR)/libtermcap && \
35300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35302 "RANLIB=$${RANLIB}" \
35303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35304 info) \
35305 || exit 1
35307 @endif target-libtermcap
35309 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
35310 maybe-dvi-target-libtermcap:
35311 @if target-libtermcap
35312 maybe-dvi-target-libtermcap: dvi-target-libtermcap
35314 dvi-target-libtermcap: \
35315 configure-target-libtermcap
35316 @: $(MAKE); $(unstage)
35317 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35318 r=`${PWD_COMMAND}`; export r; \
35319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35320 $(NORMAL_TARGET_EXPORTS) \
35321 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
35322 for flag in $(EXTRA_TARGET_FLAGS); do \
35323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35324 done; \
35325 (cd $(TARGET_SUBDIR)/libtermcap && \
35326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35328 "RANLIB=$${RANLIB}" \
35329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35330 dvi) \
35331 || exit 1
35333 @endif target-libtermcap
35335 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
35336 maybe-pdf-target-libtermcap:
35337 @if target-libtermcap
35338 maybe-pdf-target-libtermcap: pdf-target-libtermcap
35340 pdf-target-libtermcap: \
35341 configure-target-libtermcap
35342 @: $(MAKE); $(unstage)
35343 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35344 r=`${PWD_COMMAND}`; export r; \
35345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35346 $(NORMAL_TARGET_EXPORTS) \
35347 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35348 for flag in $(EXTRA_TARGET_FLAGS); do \
35349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35350 done; \
35351 (cd $(TARGET_SUBDIR)/libtermcap && \
35352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35354 "RANLIB=$${RANLIB}" \
35355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35356 pdf) \
35357 || exit 1
35359 @endif target-libtermcap
35361 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
35362 maybe-html-target-libtermcap:
35363 @if target-libtermcap
35364 maybe-html-target-libtermcap: html-target-libtermcap
35366 html-target-libtermcap: \
35367 configure-target-libtermcap
35368 @: $(MAKE); $(unstage)
35369 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35370 r=`${PWD_COMMAND}`; export r; \
35371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35372 $(NORMAL_TARGET_EXPORTS) \
35373 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
35374 for flag in $(EXTRA_TARGET_FLAGS); do \
35375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35376 done; \
35377 (cd $(TARGET_SUBDIR)/libtermcap && \
35378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35380 "RANLIB=$${RANLIB}" \
35381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35382 html) \
35383 || exit 1
35385 @endif target-libtermcap
35387 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
35388 maybe-TAGS-target-libtermcap:
35389 @if target-libtermcap
35390 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
35392 TAGS-target-libtermcap: \
35393 configure-target-libtermcap
35394 @: $(MAKE); $(unstage)
35395 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35396 r=`${PWD_COMMAND}`; export r; \
35397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35398 $(NORMAL_TARGET_EXPORTS) \
35399 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
35400 for flag in $(EXTRA_TARGET_FLAGS); do \
35401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35402 done; \
35403 (cd $(TARGET_SUBDIR)/libtermcap && \
35404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35406 "RANLIB=$${RANLIB}" \
35407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35408 TAGS) \
35409 || exit 1
35411 @endif target-libtermcap
35413 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
35414 maybe-install-info-target-libtermcap:
35415 @if target-libtermcap
35416 maybe-install-info-target-libtermcap: install-info-target-libtermcap
35418 install-info-target-libtermcap: \
35419 configure-target-libtermcap \
35420 info-target-libtermcap
35421 @: $(MAKE); $(unstage)
35422 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35423 r=`${PWD_COMMAND}`; export r; \
35424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35425 $(NORMAL_TARGET_EXPORTS) \
35426 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
35427 for flag in $(EXTRA_TARGET_FLAGS); do \
35428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35429 done; \
35430 (cd $(TARGET_SUBDIR)/libtermcap && \
35431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35433 "RANLIB=$${RANLIB}" \
35434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35435 install-info) \
35436 || exit 1
35438 @endif target-libtermcap
35440 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
35441 maybe-install-pdf-target-libtermcap:
35442 @if target-libtermcap
35443 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
35445 install-pdf-target-libtermcap: \
35446 configure-target-libtermcap \
35447 pdf-target-libtermcap
35448 @: $(MAKE); $(unstage)
35449 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35450 r=`${PWD_COMMAND}`; export r; \
35451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35452 $(NORMAL_TARGET_EXPORTS) \
35453 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
35454 for flag in $(EXTRA_TARGET_FLAGS); do \
35455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35456 done; \
35457 (cd $(TARGET_SUBDIR)/libtermcap && \
35458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35460 "RANLIB=$${RANLIB}" \
35461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35462 install-pdf) \
35463 || exit 1
35465 @endif target-libtermcap
35467 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
35468 maybe-install-html-target-libtermcap:
35469 @if target-libtermcap
35470 maybe-install-html-target-libtermcap: install-html-target-libtermcap
35472 install-html-target-libtermcap: \
35473 configure-target-libtermcap \
35474 html-target-libtermcap
35475 @: $(MAKE); $(unstage)
35476 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35477 r=`${PWD_COMMAND}`; export r; \
35478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35479 $(NORMAL_TARGET_EXPORTS) \
35480 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
35481 for flag in $(EXTRA_TARGET_FLAGS); do \
35482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35483 done; \
35484 (cd $(TARGET_SUBDIR)/libtermcap && \
35485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35487 "RANLIB=$${RANLIB}" \
35488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35489 install-html) \
35490 || exit 1
35492 @endif target-libtermcap
35494 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
35495 maybe-installcheck-target-libtermcap:
35496 @if target-libtermcap
35497 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
35499 installcheck-target-libtermcap: \
35500 configure-target-libtermcap
35501 @: $(MAKE); $(unstage)
35502 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
35503 r=`${PWD_COMMAND}`; export r; \
35504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35505 $(NORMAL_TARGET_EXPORTS) \
35506 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
35507 for flag in $(EXTRA_TARGET_FLAGS); do \
35508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35509 done; \
35510 (cd $(TARGET_SUBDIR)/libtermcap && \
35511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35513 "RANLIB=$${RANLIB}" \
35514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35515 installcheck) \
35516 || exit 1
35518 @endif target-libtermcap
35520 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
35521 maybe-mostlyclean-target-libtermcap:
35522 @if target-libtermcap
35523 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
35525 # libtermcap doesn't support mostlyclean.
35526 mostlyclean-target-libtermcap:
35528 @endif target-libtermcap
35530 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
35531 maybe-clean-target-libtermcap:
35532 @if target-libtermcap
35533 maybe-clean-target-libtermcap: clean-target-libtermcap
35535 # libtermcap doesn't support clean.
35536 clean-target-libtermcap:
35538 @endif target-libtermcap
35540 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
35541 maybe-distclean-target-libtermcap:
35542 @if target-libtermcap
35543 maybe-distclean-target-libtermcap: distclean-target-libtermcap
35545 # libtermcap doesn't support distclean.
35546 distclean-target-libtermcap:
35548 @endif target-libtermcap
35550 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
35551 maybe-maintainer-clean-target-libtermcap:
35552 @if target-libtermcap
35553 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
35555 # libtermcap doesn't support maintainer-clean.
35556 maintainer-clean-target-libtermcap:
35558 @endif target-libtermcap
35564 .PHONY: configure-target-winsup maybe-configure-target-winsup
35565 maybe-configure-target-winsup:
35566 @if gcc-bootstrap
35567 configure-target-winsup: stage_current
35568 @endif gcc-bootstrap
35569 @if target-winsup
35570 maybe-configure-target-winsup: configure-target-winsup
35571 configure-target-winsup:
35572 @: $(MAKE); $(unstage)
35573 @r=`${PWD_COMMAND}`; export r; \
35574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35575 echo "Checking multilib configuration for winsup..."; \
35576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35577 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
35578 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
35579 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
35580 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
35581 else \
35582 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
35583 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35584 fi; \
35585 else \
35586 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
35587 fi; \
35588 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
35589 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
35590 $(NORMAL_TARGET_EXPORTS) \
35591 echo Configuring in $(TARGET_SUBDIR)/winsup; \
35592 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
35593 case $(srcdir) in \
35594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35595 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
35596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35597 esac; \
35598 srcdiroption="--srcdir=$${topdir}/winsup"; \
35599 libsrcdir="$$s/winsup"; \
35600 rm -f no-such-file || : ; \
35601 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35602 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35603 --target=${target_alias} $${srcdiroption} \
35604 || exit 1
35605 @endif target-winsup
35611 .PHONY: all-target-winsup maybe-all-target-winsup
35612 maybe-all-target-winsup:
35613 @if gcc-bootstrap
35614 all-target-winsup: stage_current
35615 @endif gcc-bootstrap
35616 @if target-winsup
35617 TARGET-target-winsup=all
35618 maybe-all-target-winsup: all-target-winsup
35619 all-target-winsup: configure-target-winsup
35620 @: $(MAKE); $(unstage)
35621 @r=`${PWD_COMMAND}`; export r; \
35622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35623 $(NORMAL_TARGET_EXPORTS) \
35624 (cd $(TARGET_SUBDIR)/winsup && \
35625 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35626 $(TARGET-target-winsup))
35627 @endif target-winsup
35633 .PHONY: check-target-winsup maybe-check-target-winsup
35634 maybe-check-target-winsup:
35635 @if target-winsup
35636 maybe-check-target-winsup: check-target-winsup
35638 check-target-winsup:
35639 @: $(MAKE); $(unstage)
35640 @r=`${PWD_COMMAND}`; export r; \
35641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35642 $(NORMAL_TARGET_EXPORTS) \
35643 (cd $(TARGET_SUBDIR)/winsup && \
35644 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35646 @endif target-winsup
35648 .PHONY: install-target-winsup maybe-install-target-winsup
35649 maybe-install-target-winsup:
35650 @if target-winsup
35651 maybe-install-target-winsup: install-target-winsup
35653 install-target-winsup: installdirs
35654 @: $(MAKE); $(unstage)
35655 @r=`${PWD_COMMAND}`; export r; \
35656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35657 $(NORMAL_TARGET_EXPORTS) \
35658 (cd $(TARGET_SUBDIR)/winsup && \
35659 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35661 @endif target-winsup
35663 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
35664 maybe-install-strip-target-winsup:
35665 @if target-winsup
35666 maybe-install-strip-target-winsup: install-strip-target-winsup
35668 install-strip-target-winsup: installdirs
35669 @: $(MAKE); $(unstage)
35670 @r=`${PWD_COMMAND}`; export r; \
35671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35672 $(NORMAL_TARGET_EXPORTS) \
35673 (cd $(TARGET_SUBDIR)/winsup && \
35674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35676 @endif target-winsup
35678 # Other targets (info, dvi, pdf, etc.)
35680 .PHONY: maybe-info-target-winsup info-target-winsup
35681 maybe-info-target-winsup:
35682 @if target-winsup
35683 maybe-info-target-winsup: info-target-winsup
35685 info-target-winsup: \
35686 configure-target-winsup
35687 @: $(MAKE); $(unstage)
35688 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35689 r=`${PWD_COMMAND}`; export r; \
35690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35691 $(NORMAL_TARGET_EXPORTS) \
35692 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
35693 for flag in $(EXTRA_TARGET_FLAGS); do \
35694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35695 done; \
35696 (cd $(TARGET_SUBDIR)/winsup && \
35697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35699 "RANLIB=$${RANLIB}" \
35700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35701 info) \
35702 || exit 1
35704 @endif target-winsup
35706 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
35707 maybe-dvi-target-winsup:
35708 @if target-winsup
35709 maybe-dvi-target-winsup: dvi-target-winsup
35711 dvi-target-winsup: \
35712 configure-target-winsup
35713 @: $(MAKE); $(unstage)
35714 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35715 r=`${PWD_COMMAND}`; export r; \
35716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35717 $(NORMAL_TARGET_EXPORTS) \
35718 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
35719 for flag in $(EXTRA_TARGET_FLAGS); do \
35720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35721 done; \
35722 (cd $(TARGET_SUBDIR)/winsup && \
35723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35725 "RANLIB=$${RANLIB}" \
35726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35727 dvi) \
35728 || exit 1
35730 @endif target-winsup
35732 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
35733 maybe-pdf-target-winsup:
35734 @if target-winsup
35735 maybe-pdf-target-winsup: pdf-target-winsup
35737 pdf-target-winsup: \
35738 configure-target-winsup
35739 @: $(MAKE); $(unstage)
35740 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35741 r=`${PWD_COMMAND}`; export r; \
35742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35743 $(NORMAL_TARGET_EXPORTS) \
35744 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
35745 for flag in $(EXTRA_TARGET_FLAGS); do \
35746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35747 done; \
35748 (cd $(TARGET_SUBDIR)/winsup && \
35749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35751 "RANLIB=$${RANLIB}" \
35752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35753 pdf) \
35754 || exit 1
35756 @endif target-winsup
35758 .PHONY: maybe-html-target-winsup html-target-winsup
35759 maybe-html-target-winsup:
35760 @if target-winsup
35761 maybe-html-target-winsup: html-target-winsup
35763 html-target-winsup: \
35764 configure-target-winsup
35765 @: $(MAKE); $(unstage)
35766 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35767 r=`${PWD_COMMAND}`; export r; \
35768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35769 $(NORMAL_TARGET_EXPORTS) \
35770 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
35771 for flag in $(EXTRA_TARGET_FLAGS); do \
35772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35773 done; \
35774 (cd $(TARGET_SUBDIR)/winsup && \
35775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35777 "RANLIB=$${RANLIB}" \
35778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35779 html) \
35780 || exit 1
35782 @endif target-winsup
35784 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
35785 maybe-TAGS-target-winsup:
35786 @if target-winsup
35787 maybe-TAGS-target-winsup: TAGS-target-winsup
35789 TAGS-target-winsup: \
35790 configure-target-winsup
35791 @: $(MAKE); $(unstage)
35792 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35793 r=`${PWD_COMMAND}`; export r; \
35794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35795 $(NORMAL_TARGET_EXPORTS) \
35796 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
35797 for flag in $(EXTRA_TARGET_FLAGS); do \
35798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35799 done; \
35800 (cd $(TARGET_SUBDIR)/winsup && \
35801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35803 "RANLIB=$${RANLIB}" \
35804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35805 TAGS) \
35806 || exit 1
35808 @endif target-winsup
35810 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
35811 maybe-install-info-target-winsup:
35812 @if target-winsup
35813 maybe-install-info-target-winsup: install-info-target-winsup
35815 install-info-target-winsup: \
35816 configure-target-winsup \
35817 info-target-winsup
35818 @: $(MAKE); $(unstage)
35819 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35820 r=`${PWD_COMMAND}`; export r; \
35821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35822 $(NORMAL_TARGET_EXPORTS) \
35823 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
35824 for flag in $(EXTRA_TARGET_FLAGS); do \
35825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35826 done; \
35827 (cd $(TARGET_SUBDIR)/winsup && \
35828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35830 "RANLIB=$${RANLIB}" \
35831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35832 install-info) \
35833 || exit 1
35835 @endif target-winsup
35837 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
35838 maybe-install-pdf-target-winsup:
35839 @if target-winsup
35840 maybe-install-pdf-target-winsup: install-pdf-target-winsup
35842 install-pdf-target-winsup: \
35843 configure-target-winsup \
35844 pdf-target-winsup
35845 @: $(MAKE); $(unstage)
35846 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35847 r=`${PWD_COMMAND}`; export r; \
35848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35849 $(NORMAL_TARGET_EXPORTS) \
35850 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
35851 for flag in $(EXTRA_TARGET_FLAGS); do \
35852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35853 done; \
35854 (cd $(TARGET_SUBDIR)/winsup && \
35855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35857 "RANLIB=$${RANLIB}" \
35858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35859 install-pdf) \
35860 || exit 1
35862 @endif target-winsup
35864 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
35865 maybe-install-html-target-winsup:
35866 @if target-winsup
35867 maybe-install-html-target-winsup: install-html-target-winsup
35869 install-html-target-winsup: \
35870 configure-target-winsup \
35871 html-target-winsup
35872 @: $(MAKE); $(unstage)
35873 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35874 r=`${PWD_COMMAND}`; export r; \
35875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35876 $(NORMAL_TARGET_EXPORTS) \
35877 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
35878 for flag in $(EXTRA_TARGET_FLAGS); do \
35879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35880 done; \
35881 (cd $(TARGET_SUBDIR)/winsup && \
35882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35884 "RANLIB=$${RANLIB}" \
35885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35886 install-html) \
35887 || exit 1
35889 @endif target-winsup
35891 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
35892 maybe-installcheck-target-winsup:
35893 @if target-winsup
35894 maybe-installcheck-target-winsup: installcheck-target-winsup
35896 installcheck-target-winsup: \
35897 configure-target-winsup
35898 @: $(MAKE); $(unstage)
35899 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35900 r=`${PWD_COMMAND}`; export r; \
35901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35902 $(NORMAL_TARGET_EXPORTS) \
35903 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
35904 for flag in $(EXTRA_TARGET_FLAGS); do \
35905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35906 done; \
35907 (cd $(TARGET_SUBDIR)/winsup && \
35908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35910 "RANLIB=$${RANLIB}" \
35911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35912 installcheck) \
35913 || exit 1
35915 @endif target-winsup
35917 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
35918 maybe-mostlyclean-target-winsup:
35919 @if target-winsup
35920 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
35922 mostlyclean-target-winsup:
35923 @: $(MAKE); $(unstage)
35924 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35925 r=`${PWD_COMMAND}`; export r; \
35926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35927 $(NORMAL_TARGET_EXPORTS) \
35928 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
35929 for flag in $(EXTRA_TARGET_FLAGS); do \
35930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35931 done; \
35932 (cd $(TARGET_SUBDIR)/winsup && \
35933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35935 "RANLIB=$${RANLIB}" \
35936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35937 mostlyclean) \
35938 || exit 1
35940 @endif target-winsup
35942 .PHONY: maybe-clean-target-winsup clean-target-winsup
35943 maybe-clean-target-winsup:
35944 @if target-winsup
35945 maybe-clean-target-winsup: clean-target-winsup
35947 clean-target-winsup:
35948 @: $(MAKE); $(unstage)
35949 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35950 r=`${PWD_COMMAND}`; export r; \
35951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35952 $(NORMAL_TARGET_EXPORTS) \
35953 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
35954 for flag in $(EXTRA_TARGET_FLAGS); do \
35955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35956 done; \
35957 (cd $(TARGET_SUBDIR)/winsup && \
35958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35960 "RANLIB=$${RANLIB}" \
35961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35962 clean) \
35963 || exit 1
35965 @endif target-winsup
35967 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
35968 maybe-distclean-target-winsup:
35969 @if target-winsup
35970 maybe-distclean-target-winsup: distclean-target-winsup
35972 distclean-target-winsup:
35973 @: $(MAKE); $(unstage)
35974 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
35975 r=`${PWD_COMMAND}`; export r; \
35976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35977 $(NORMAL_TARGET_EXPORTS) \
35978 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
35979 for flag in $(EXTRA_TARGET_FLAGS); do \
35980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35981 done; \
35982 (cd $(TARGET_SUBDIR)/winsup && \
35983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35985 "RANLIB=$${RANLIB}" \
35986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35987 distclean) \
35988 || exit 1
35990 @endif target-winsup
35992 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
35993 maybe-maintainer-clean-target-winsup:
35994 @if target-winsup
35995 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
35997 maintainer-clean-target-winsup:
35998 @: $(MAKE); $(unstage)
35999 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36000 r=`${PWD_COMMAND}`; export r; \
36001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36002 $(NORMAL_TARGET_EXPORTS) \
36003 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
36004 for flag in $(EXTRA_TARGET_FLAGS); do \
36005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36006 done; \
36007 (cd $(TARGET_SUBDIR)/winsup && \
36008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36010 "RANLIB=$${RANLIB}" \
36011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36012 maintainer-clean) \
36013 || exit 1
36015 @endif target-winsup
36021 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
36022 maybe-configure-target-libgloss:
36023 @if gcc-bootstrap
36024 configure-target-libgloss: stage_current
36025 @endif gcc-bootstrap
36026 @if target-libgloss
36027 maybe-configure-target-libgloss: configure-target-libgloss
36028 configure-target-libgloss:
36029 @: $(MAKE); $(unstage)
36030 @r=`${PWD_COMMAND}`; export r; \
36031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36032 echo "Checking multilib configuration for libgloss..."; \
36033 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36034 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
36035 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36036 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
36037 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
36038 else \
36039 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
36040 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36041 fi; \
36042 else \
36043 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
36044 fi; \
36045 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
36046 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
36047 $(NORMAL_TARGET_EXPORTS) \
36048 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
36049 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
36050 case $(srcdir) in \
36051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36052 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
36053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36054 esac; \
36055 srcdiroption="--srcdir=$${topdir}/libgloss"; \
36056 libsrcdir="$$s/libgloss"; \
36057 rm -f no-such-file || : ; \
36058 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36059 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36060 --target=${target_alias} $${srcdiroption} \
36061 || exit 1
36062 @endif target-libgloss
36068 .PHONY: all-target-libgloss maybe-all-target-libgloss
36069 maybe-all-target-libgloss:
36070 @if gcc-bootstrap
36071 all-target-libgloss: stage_current
36072 @endif gcc-bootstrap
36073 @if target-libgloss
36074 TARGET-target-libgloss=all
36075 maybe-all-target-libgloss: all-target-libgloss
36076 all-target-libgloss: configure-target-libgloss
36077 @: $(MAKE); $(unstage)
36078 @r=`${PWD_COMMAND}`; export r; \
36079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36080 $(NORMAL_TARGET_EXPORTS) \
36081 (cd $(TARGET_SUBDIR)/libgloss && \
36082 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36083 $(TARGET-target-libgloss))
36084 @endif target-libgloss
36090 .PHONY: check-target-libgloss maybe-check-target-libgloss
36091 maybe-check-target-libgloss:
36092 @if target-libgloss
36093 maybe-check-target-libgloss: check-target-libgloss
36095 # Dummy target for uncheckable module.
36096 check-target-libgloss:
36098 @endif target-libgloss
36100 .PHONY: install-target-libgloss maybe-install-target-libgloss
36101 maybe-install-target-libgloss:
36102 @if target-libgloss
36103 maybe-install-target-libgloss: install-target-libgloss
36105 install-target-libgloss: installdirs
36106 @: $(MAKE); $(unstage)
36107 @r=`${PWD_COMMAND}`; export r; \
36108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36109 $(NORMAL_TARGET_EXPORTS) \
36110 (cd $(TARGET_SUBDIR)/libgloss && \
36111 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36113 @endif target-libgloss
36115 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
36116 maybe-install-strip-target-libgloss:
36117 @if target-libgloss
36118 maybe-install-strip-target-libgloss: install-strip-target-libgloss
36120 install-strip-target-libgloss: installdirs
36121 @: $(MAKE); $(unstage)
36122 @r=`${PWD_COMMAND}`; export r; \
36123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36124 $(NORMAL_TARGET_EXPORTS) \
36125 (cd $(TARGET_SUBDIR)/libgloss && \
36126 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36128 @endif target-libgloss
36130 # Other targets (info, dvi, pdf, etc.)
36132 .PHONY: maybe-info-target-libgloss info-target-libgloss
36133 maybe-info-target-libgloss:
36134 @if target-libgloss
36135 maybe-info-target-libgloss: info-target-libgloss
36137 info-target-libgloss: \
36138 configure-target-libgloss
36139 @: $(MAKE); $(unstage)
36140 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36141 r=`${PWD_COMMAND}`; export r; \
36142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36143 $(NORMAL_TARGET_EXPORTS) \
36144 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
36145 for flag in $(EXTRA_TARGET_FLAGS); do \
36146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36147 done; \
36148 (cd $(TARGET_SUBDIR)/libgloss && \
36149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36151 "RANLIB=$${RANLIB}" \
36152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36153 info) \
36154 || exit 1
36156 @endif target-libgloss
36158 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
36159 maybe-dvi-target-libgloss:
36160 @if target-libgloss
36161 maybe-dvi-target-libgloss: dvi-target-libgloss
36163 dvi-target-libgloss: \
36164 configure-target-libgloss
36165 @: $(MAKE); $(unstage)
36166 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36167 r=`${PWD_COMMAND}`; export r; \
36168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36169 $(NORMAL_TARGET_EXPORTS) \
36170 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
36171 for flag in $(EXTRA_TARGET_FLAGS); do \
36172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36173 done; \
36174 (cd $(TARGET_SUBDIR)/libgloss && \
36175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36177 "RANLIB=$${RANLIB}" \
36178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36179 dvi) \
36180 || exit 1
36182 @endif target-libgloss
36184 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
36185 maybe-pdf-target-libgloss:
36186 @if target-libgloss
36187 maybe-pdf-target-libgloss: pdf-target-libgloss
36189 pdf-target-libgloss: \
36190 configure-target-libgloss
36191 @: $(MAKE); $(unstage)
36192 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36193 r=`${PWD_COMMAND}`; export r; \
36194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36195 $(NORMAL_TARGET_EXPORTS) \
36196 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
36197 for flag in $(EXTRA_TARGET_FLAGS); do \
36198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36199 done; \
36200 (cd $(TARGET_SUBDIR)/libgloss && \
36201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36203 "RANLIB=$${RANLIB}" \
36204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36205 pdf) \
36206 || exit 1
36208 @endif target-libgloss
36210 .PHONY: maybe-html-target-libgloss html-target-libgloss
36211 maybe-html-target-libgloss:
36212 @if target-libgloss
36213 maybe-html-target-libgloss: html-target-libgloss
36215 html-target-libgloss: \
36216 configure-target-libgloss
36217 @: $(MAKE); $(unstage)
36218 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36219 r=`${PWD_COMMAND}`; export r; \
36220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36221 $(NORMAL_TARGET_EXPORTS) \
36222 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
36223 for flag in $(EXTRA_TARGET_FLAGS); do \
36224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36225 done; \
36226 (cd $(TARGET_SUBDIR)/libgloss && \
36227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36229 "RANLIB=$${RANLIB}" \
36230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36231 html) \
36232 || exit 1
36234 @endif target-libgloss
36236 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
36237 maybe-TAGS-target-libgloss:
36238 @if target-libgloss
36239 maybe-TAGS-target-libgloss: TAGS-target-libgloss
36241 TAGS-target-libgloss: \
36242 configure-target-libgloss
36243 @: $(MAKE); $(unstage)
36244 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36245 r=`${PWD_COMMAND}`; export r; \
36246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36247 $(NORMAL_TARGET_EXPORTS) \
36248 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
36249 for flag in $(EXTRA_TARGET_FLAGS); do \
36250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36251 done; \
36252 (cd $(TARGET_SUBDIR)/libgloss && \
36253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36255 "RANLIB=$${RANLIB}" \
36256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36257 TAGS) \
36258 || exit 1
36260 @endif target-libgloss
36262 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
36263 maybe-install-info-target-libgloss:
36264 @if target-libgloss
36265 maybe-install-info-target-libgloss: install-info-target-libgloss
36267 install-info-target-libgloss: \
36268 configure-target-libgloss \
36269 info-target-libgloss
36270 @: $(MAKE); $(unstage)
36271 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36272 r=`${PWD_COMMAND}`; export r; \
36273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36274 $(NORMAL_TARGET_EXPORTS) \
36275 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
36276 for flag in $(EXTRA_TARGET_FLAGS); do \
36277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36278 done; \
36279 (cd $(TARGET_SUBDIR)/libgloss && \
36280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36282 "RANLIB=$${RANLIB}" \
36283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36284 install-info) \
36285 || exit 1
36287 @endif target-libgloss
36289 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
36290 maybe-install-pdf-target-libgloss:
36291 @if target-libgloss
36292 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
36294 install-pdf-target-libgloss: \
36295 configure-target-libgloss \
36296 pdf-target-libgloss
36297 @: $(MAKE); $(unstage)
36298 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36299 r=`${PWD_COMMAND}`; export r; \
36300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36301 $(NORMAL_TARGET_EXPORTS) \
36302 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
36303 for flag in $(EXTRA_TARGET_FLAGS); do \
36304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36305 done; \
36306 (cd $(TARGET_SUBDIR)/libgloss && \
36307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36309 "RANLIB=$${RANLIB}" \
36310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36311 install-pdf) \
36312 || exit 1
36314 @endif target-libgloss
36316 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
36317 maybe-install-html-target-libgloss:
36318 @if target-libgloss
36319 maybe-install-html-target-libgloss: install-html-target-libgloss
36321 install-html-target-libgloss: \
36322 configure-target-libgloss \
36323 html-target-libgloss
36324 @: $(MAKE); $(unstage)
36325 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36326 r=`${PWD_COMMAND}`; export r; \
36327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36328 $(NORMAL_TARGET_EXPORTS) \
36329 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
36330 for flag in $(EXTRA_TARGET_FLAGS); do \
36331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36332 done; \
36333 (cd $(TARGET_SUBDIR)/libgloss && \
36334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36336 "RANLIB=$${RANLIB}" \
36337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36338 install-html) \
36339 || exit 1
36341 @endif target-libgloss
36343 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
36344 maybe-installcheck-target-libgloss:
36345 @if target-libgloss
36346 maybe-installcheck-target-libgloss: installcheck-target-libgloss
36348 installcheck-target-libgloss: \
36349 configure-target-libgloss
36350 @: $(MAKE); $(unstage)
36351 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36352 r=`${PWD_COMMAND}`; export r; \
36353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36354 $(NORMAL_TARGET_EXPORTS) \
36355 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
36356 for flag in $(EXTRA_TARGET_FLAGS); do \
36357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36358 done; \
36359 (cd $(TARGET_SUBDIR)/libgloss && \
36360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36362 "RANLIB=$${RANLIB}" \
36363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36364 installcheck) \
36365 || exit 1
36367 @endif target-libgloss
36369 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
36370 maybe-mostlyclean-target-libgloss:
36371 @if target-libgloss
36372 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
36374 mostlyclean-target-libgloss:
36375 @: $(MAKE); $(unstage)
36376 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36377 r=`${PWD_COMMAND}`; export r; \
36378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36379 $(NORMAL_TARGET_EXPORTS) \
36380 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
36381 for flag in $(EXTRA_TARGET_FLAGS); do \
36382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36383 done; \
36384 (cd $(TARGET_SUBDIR)/libgloss && \
36385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36387 "RANLIB=$${RANLIB}" \
36388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36389 mostlyclean) \
36390 || exit 1
36392 @endif target-libgloss
36394 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
36395 maybe-clean-target-libgloss:
36396 @if target-libgloss
36397 maybe-clean-target-libgloss: clean-target-libgloss
36399 clean-target-libgloss:
36400 @: $(MAKE); $(unstage)
36401 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36402 r=`${PWD_COMMAND}`; export r; \
36403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36404 $(NORMAL_TARGET_EXPORTS) \
36405 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
36406 for flag in $(EXTRA_TARGET_FLAGS); do \
36407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36408 done; \
36409 (cd $(TARGET_SUBDIR)/libgloss && \
36410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36412 "RANLIB=$${RANLIB}" \
36413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36414 clean) \
36415 || exit 1
36417 @endif target-libgloss
36419 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
36420 maybe-distclean-target-libgloss:
36421 @if target-libgloss
36422 maybe-distclean-target-libgloss: distclean-target-libgloss
36424 distclean-target-libgloss:
36425 @: $(MAKE); $(unstage)
36426 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36427 r=`${PWD_COMMAND}`; export r; \
36428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36429 $(NORMAL_TARGET_EXPORTS) \
36430 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
36431 for flag in $(EXTRA_TARGET_FLAGS); do \
36432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36433 done; \
36434 (cd $(TARGET_SUBDIR)/libgloss && \
36435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36437 "RANLIB=$${RANLIB}" \
36438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36439 distclean) \
36440 || exit 1
36442 @endif target-libgloss
36444 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
36445 maybe-maintainer-clean-target-libgloss:
36446 @if target-libgloss
36447 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
36449 maintainer-clean-target-libgloss:
36450 @: $(MAKE); $(unstage)
36451 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
36452 r=`${PWD_COMMAND}`; export r; \
36453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36454 $(NORMAL_TARGET_EXPORTS) \
36455 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
36456 for flag in $(EXTRA_TARGET_FLAGS); do \
36457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36458 done; \
36459 (cd $(TARGET_SUBDIR)/libgloss && \
36460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36462 "RANLIB=$${RANLIB}" \
36463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36464 maintainer-clean) \
36465 || exit 1
36467 @endif target-libgloss
36473 .PHONY: configure-target-libffi maybe-configure-target-libffi
36474 maybe-configure-target-libffi:
36475 @if gcc-bootstrap
36476 configure-target-libffi: stage_current
36477 @endif gcc-bootstrap
36478 @if target-libffi
36479 maybe-configure-target-libffi: configure-target-libffi
36480 configure-target-libffi:
36481 @: $(MAKE); $(unstage)
36482 @r=`${PWD_COMMAND}`; export r; \
36483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36484 echo "Checking multilib configuration for libffi..."; \
36485 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36486 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
36487 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
36488 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
36489 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
36490 else \
36491 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
36492 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36493 fi; \
36494 else \
36495 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
36496 fi; \
36497 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
36498 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
36499 $(NORMAL_TARGET_EXPORTS) \
36500 echo Configuring in $(TARGET_SUBDIR)/libffi; \
36501 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
36502 case $(srcdir) in \
36503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36504 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
36505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36506 esac; \
36507 srcdiroption="--srcdir=$${topdir}/libffi"; \
36508 libsrcdir="$$s/libffi"; \
36509 rm -f no-such-file || : ; \
36510 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36511 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36512 --target=${target_alias} $${srcdiroption} \
36513 || exit 1
36514 @endif target-libffi
36520 .PHONY: all-target-libffi maybe-all-target-libffi
36521 maybe-all-target-libffi:
36522 @if gcc-bootstrap
36523 all-target-libffi: stage_current
36524 @endif gcc-bootstrap
36525 @if target-libffi
36526 TARGET-target-libffi=all
36527 maybe-all-target-libffi: all-target-libffi
36528 all-target-libffi: configure-target-libffi
36529 @: $(MAKE); $(unstage)
36530 @r=`${PWD_COMMAND}`; export r; \
36531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36532 $(NORMAL_TARGET_EXPORTS) \
36533 (cd $(TARGET_SUBDIR)/libffi && \
36534 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36535 $(TARGET-target-libffi))
36536 @endif target-libffi
36542 .PHONY: check-target-libffi maybe-check-target-libffi
36543 maybe-check-target-libffi:
36544 @if target-libffi
36545 maybe-check-target-libffi: check-target-libffi
36547 check-target-libffi:
36548 @: $(MAKE); $(unstage)
36549 @r=`${PWD_COMMAND}`; export r; \
36550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36551 $(NORMAL_TARGET_EXPORTS) \
36552 (cd $(TARGET_SUBDIR)/libffi && \
36553 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36555 @endif target-libffi
36557 .PHONY: install-target-libffi maybe-install-target-libffi
36558 maybe-install-target-libffi:
36559 @if target-libffi
36560 maybe-install-target-libffi: install-target-libffi
36562 install-target-libffi: installdirs
36563 @: $(MAKE); $(unstage)
36564 @r=`${PWD_COMMAND}`; export r; \
36565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36566 $(NORMAL_TARGET_EXPORTS) \
36567 (cd $(TARGET_SUBDIR)/libffi && \
36568 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36570 @endif target-libffi
36572 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
36573 maybe-install-strip-target-libffi:
36574 @if target-libffi
36575 maybe-install-strip-target-libffi: install-strip-target-libffi
36577 install-strip-target-libffi: installdirs
36578 @: $(MAKE); $(unstage)
36579 @r=`${PWD_COMMAND}`; export r; \
36580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36581 $(NORMAL_TARGET_EXPORTS) \
36582 (cd $(TARGET_SUBDIR)/libffi && \
36583 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36585 @endif target-libffi
36587 # Other targets (info, dvi, pdf, etc.)
36589 .PHONY: maybe-info-target-libffi info-target-libffi
36590 maybe-info-target-libffi:
36591 @if target-libffi
36592 maybe-info-target-libffi: info-target-libffi
36594 info-target-libffi: \
36595 configure-target-libffi
36596 @: $(MAKE); $(unstage)
36597 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36598 r=`${PWD_COMMAND}`; export r; \
36599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36600 $(NORMAL_TARGET_EXPORTS) \
36601 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
36602 for flag in $(EXTRA_TARGET_FLAGS); do \
36603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36604 done; \
36605 (cd $(TARGET_SUBDIR)/libffi && \
36606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36608 "RANLIB=$${RANLIB}" \
36609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36610 info) \
36611 || exit 1
36613 @endif target-libffi
36615 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
36616 maybe-dvi-target-libffi:
36617 @if target-libffi
36618 maybe-dvi-target-libffi: dvi-target-libffi
36620 dvi-target-libffi: \
36621 configure-target-libffi
36622 @: $(MAKE); $(unstage)
36623 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36624 r=`${PWD_COMMAND}`; export r; \
36625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36626 $(NORMAL_TARGET_EXPORTS) \
36627 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
36628 for flag in $(EXTRA_TARGET_FLAGS); do \
36629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36630 done; \
36631 (cd $(TARGET_SUBDIR)/libffi && \
36632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36634 "RANLIB=$${RANLIB}" \
36635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36636 dvi) \
36637 || exit 1
36639 @endif target-libffi
36641 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
36642 maybe-pdf-target-libffi:
36643 @if target-libffi
36644 maybe-pdf-target-libffi: pdf-target-libffi
36646 pdf-target-libffi: \
36647 configure-target-libffi
36648 @: $(MAKE); $(unstage)
36649 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36650 r=`${PWD_COMMAND}`; export r; \
36651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36652 $(NORMAL_TARGET_EXPORTS) \
36653 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
36654 for flag in $(EXTRA_TARGET_FLAGS); do \
36655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36656 done; \
36657 (cd $(TARGET_SUBDIR)/libffi && \
36658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36660 "RANLIB=$${RANLIB}" \
36661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36662 pdf) \
36663 || exit 1
36665 @endif target-libffi
36667 .PHONY: maybe-html-target-libffi html-target-libffi
36668 maybe-html-target-libffi:
36669 @if target-libffi
36670 maybe-html-target-libffi: html-target-libffi
36672 html-target-libffi: \
36673 configure-target-libffi
36674 @: $(MAKE); $(unstage)
36675 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36676 r=`${PWD_COMMAND}`; export r; \
36677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36678 $(NORMAL_TARGET_EXPORTS) \
36679 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
36680 for flag in $(EXTRA_TARGET_FLAGS); do \
36681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36682 done; \
36683 (cd $(TARGET_SUBDIR)/libffi && \
36684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36686 "RANLIB=$${RANLIB}" \
36687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36688 html) \
36689 || exit 1
36691 @endif target-libffi
36693 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
36694 maybe-TAGS-target-libffi:
36695 @if target-libffi
36696 maybe-TAGS-target-libffi: TAGS-target-libffi
36698 TAGS-target-libffi: \
36699 configure-target-libffi
36700 @: $(MAKE); $(unstage)
36701 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36702 r=`${PWD_COMMAND}`; export r; \
36703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36704 $(NORMAL_TARGET_EXPORTS) \
36705 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
36706 for flag in $(EXTRA_TARGET_FLAGS); do \
36707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36708 done; \
36709 (cd $(TARGET_SUBDIR)/libffi && \
36710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36712 "RANLIB=$${RANLIB}" \
36713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36714 TAGS) \
36715 || exit 1
36717 @endif target-libffi
36719 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
36720 maybe-install-info-target-libffi:
36721 @if target-libffi
36722 maybe-install-info-target-libffi: install-info-target-libffi
36724 install-info-target-libffi: \
36725 configure-target-libffi \
36726 info-target-libffi
36727 @: $(MAKE); $(unstage)
36728 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36729 r=`${PWD_COMMAND}`; export r; \
36730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36731 $(NORMAL_TARGET_EXPORTS) \
36732 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
36733 for flag in $(EXTRA_TARGET_FLAGS); do \
36734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36735 done; \
36736 (cd $(TARGET_SUBDIR)/libffi && \
36737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36739 "RANLIB=$${RANLIB}" \
36740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36741 install-info) \
36742 || exit 1
36744 @endif target-libffi
36746 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
36747 maybe-install-pdf-target-libffi:
36748 @if target-libffi
36749 maybe-install-pdf-target-libffi: install-pdf-target-libffi
36751 install-pdf-target-libffi: \
36752 configure-target-libffi \
36753 pdf-target-libffi
36754 @: $(MAKE); $(unstage)
36755 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36756 r=`${PWD_COMMAND}`; export r; \
36757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36758 $(NORMAL_TARGET_EXPORTS) \
36759 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
36760 for flag in $(EXTRA_TARGET_FLAGS); do \
36761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36762 done; \
36763 (cd $(TARGET_SUBDIR)/libffi && \
36764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36766 "RANLIB=$${RANLIB}" \
36767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36768 install-pdf) \
36769 || exit 1
36771 @endif target-libffi
36773 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
36774 maybe-install-html-target-libffi:
36775 @if target-libffi
36776 maybe-install-html-target-libffi: install-html-target-libffi
36778 install-html-target-libffi: \
36779 configure-target-libffi \
36780 html-target-libffi
36781 @: $(MAKE); $(unstage)
36782 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36783 r=`${PWD_COMMAND}`; export r; \
36784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36785 $(NORMAL_TARGET_EXPORTS) \
36786 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
36787 for flag in $(EXTRA_TARGET_FLAGS); do \
36788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36789 done; \
36790 (cd $(TARGET_SUBDIR)/libffi && \
36791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36793 "RANLIB=$${RANLIB}" \
36794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36795 install-html) \
36796 || exit 1
36798 @endif target-libffi
36800 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
36801 maybe-installcheck-target-libffi:
36802 @if target-libffi
36803 maybe-installcheck-target-libffi: installcheck-target-libffi
36805 installcheck-target-libffi: \
36806 configure-target-libffi
36807 @: $(MAKE); $(unstage)
36808 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36809 r=`${PWD_COMMAND}`; export r; \
36810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36811 $(NORMAL_TARGET_EXPORTS) \
36812 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
36813 for flag in $(EXTRA_TARGET_FLAGS); do \
36814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36815 done; \
36816 (cd $(TARGET_SUBDIR)/libffi && \
36817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36819 "RANLIB=$${RANLIB}" \
36820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36821 installcheck) \
36822 || exit 1
36824 @endif target-libffi
36826 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
36827 maybe-mostlyclean-target-libffi:
36828 @if target-libffi
36829 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
36831 mostlyclean-target-libffi:
36832 @: $(MAKE); $(unstage)
36833 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36834 r=`${PWD_COMMAND}`; export r; \
36835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36836 $(NORMAL_TARGET_EXPORTS) \
36837 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
36838 for flag in $(EXTRA_TARGET_FLAGS); do \
36839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36840 done; \
36841 (cd $(TARGET_SUBDIR)/libffi && \
36842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36844 "RANLIB=$${RANLIB}" \
36845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36846 mostlyclean) \
36847 || exit 1
36849 @endif target-libffi
36851 .PHONY: maybe-clean-target-libffi clean-target-libffi
36852 maybe-clean-target-libffi:
36853 @if target-libffi
36854 maybe-clean-target-libffi: clean-target-libffi
36856 clean-target-libffi:
36857 @: $(MAKE); $(unstage)
36858 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36859 r=`${PWD_COMMAND}`; export r; \
36860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36861 $(NORMAL_TARGET_EXPORTS) \
36862 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
36863 for flag in $(EXTRA_TARGET_FLAGS); do \
36864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36865 done; \
36866 (cd $(TARGET_SUBDIR)/libffi && \
36867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36869 "RANLIB=$${RANLIB}" \
36870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36871 clean) \
36872 || exit 1
36874 @endif target-libffi
36876 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
36877 maybe-distclean-target-libffi:
36878 @if target-libffi
36879 maybe-distclean-target-libffi: distclean-target-libffi
36881 distclean-target-libffi:
36882 @: $(MAKE); $(unstage)
36883 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36884 r=`${PWD_COMMAND}`; export r; \
36885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36886 $(NORMAL_TARGET_EXPORTS) \
36887 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
36888 for flag in $(EXTRA_TARGET_FLAGS); do \
36889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36890 done; \
36891 (cd $(TARGET_SUBDIR)/libffi && \
36892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36894 "RANLIB=$${RANLIB}" \
36895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36896 distclean) \
36897 || exit 1
36899 @endif target-libffi
36901 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
36902 maybe-maintainer-clean-target-libffi:
36903 @if target-libffi
36904 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
36906 maintainer-clean-target-libffi:
36907 @: $(MAKE); $(unstage)
36908 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
36909 r=`${PWD_COMMAND}`; export r; \
36910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36911 $(NORMAL_TARGET_EXPORTS) \
36912 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
36913 for flag in $(EXTRA_TARGET_FLAGS); do \
36914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36915 done; \
36916 (cd $(TARGET_SUBDIR)/libffi && \
36917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36919 "RANLIB=$${RANLIB}" \
36920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36921 maintainer-clean) \
36922 || exit 1
36924 @endif target-libffi
36930 .PHONY: configure-target-libjava maybe-configure-target-libjava
36931 maybe-configure-target-libjava:
36932 @if gcc-bootstrap
36933 configure-target-libjava: stage_current
36934 @endif gcc-bootstrap
36935 @if target-libjava
36936 maybe-configure-target-libjava: configure-target-libjava
36937 configure-target-libjava:
36938 @: $(MAKE); $(unstage)
36939 @r=`${PWD_COMMAND}`; export r; \
36940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36941 echo "Checking multilib configuration for libjava..."; \
36942 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36943 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
36944 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
36945 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
36946 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
36947 else \
36948 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
36949 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36950 fi; \
36951 else \
36952 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
36953 fi; \
36954 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
36955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
36956 $(RAW_CXX_TARGET_EXPORTS) \
36957 echo Configuring in $(TARGET_SUBDIR)/libjava; \
36958 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
36959 case $(srcdir) in \
36960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36961 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
36962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36963 esac; \
36964 srcdiroption="--srcdir=$${topdir}/libjava"; \
36965 libsrcdir="$$s/libjava"; \
36966 rm -f no-such-file || : ; \
36967 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36968 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36969 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
36970 || exit 1
36971 @endif target-libjava
36977 .PHONY: all-target-libjava maybe-all-target-libjava
36978 maybe-all-target-libjava:
36979 @if gcc-bootstrap
36980 all-target-libjava: stage_current
36981 @endif gcc-bootstrap
36982 @if target-libjava
36983 TARGET-target-libjava=all
36984 maybe-all-target-libjava: all-target-libjava
36985 all-target-libjava: configure-target-libjava
36986 @: $(MAKE); $(unstage)
36987 @r=`${PWD_COMMAND}`; export r; \
36988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36989 $(RAW_CXX_TARGET_EXPORTS) \
36990 (cd $(TARGET_SUBDIR)/libjava && \
36991 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36992 $(TARGET-target-libjava))
36993 @endif target-libjava
36999 .PHONY: check-target-libjava maybe-check-target-libjava
37000 maybe-check-target-libjava:
37001 @if target-libjava
37002 maybe-check-target-libjava: check-target-libjava
37004 check-target-libjava:
37005 @: $(MAKE); $(unstage)
37006 @r=`${PWD_COMMAND}`; export r; \
37007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37008 $(RAW_CXX_TARGET_EXPORTS) \
37009 (cd $(TARGET_SUBDIR)/libjava && \
37010 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
37012 @endif target-libjava
37014 .PHONY: install-target-libjava maybe-install-target-libjava
37015 maybe-install-target-libjava:
37016 @if target-libjava
37017 maybe-install-target-libjava: install-target-libjava
37019 install-target-libjava: installdirs
37020 @: $(MAKE); $(unstage)
37021 @r=`${PWD_COMMAND}`; export r; \
37022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37023 $(RAW_CXX_TARGET_EXPORTS) \
37024 (cd $(TARGET_SUBDIR)/libjava && \
37025 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37027 @endif target-libjava
37029 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
37030 maybe-install-strip-target-libjava:
37031 @if target-libjava
37032 maybe-install-strip-target-libjava: install-strip-target-libjava
37034 install-strip-target-libjava: installdirs
37035 @: $(MAKE); $(unstage)
37036 @r=`${PWD_COMMAND}`; export r; \
37037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37038 $(RAW_CXX_TARGET_EXPORTS) \
37039 (cd $(TARGET_SUBDIR)/libjava && \
37040 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37042 @endif target-libjava
37044 # Other targets (info, dvi, pdf, etc.)
37046 .PHONY: maybe-info-target-libjava info-target-libjava
37047 maybe-info-target-libjava:
37048 @if target-libjava
37049 maybe-info-target-libjava: info-target-libjava
37051 info-target-libjava: \
37052 configure-target-libjava
37053 @: $(MAKE); $(unstage)
37054 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37055 r=`${PWD_COMMAND}`; export r; \
37056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37057 $(RAW_CXX_TARGET_EXPORTS) \
37058 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
37059 for flag in $(EXTRA_TARGET_FLAGS); do \
37060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37061 done; \
37062 (cd $(TARGET_SUBDIR)/libjava && \
37063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37065 "RANLIB=$${RANLIB}" \
37066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37067 info) \
37068 || exit 1
37070 @endif target-libjava
37072 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
37073 maybe-dvi-target-libjava:
37074 @if target-libjava
37075 maybe-dvi-target-libjava: dvi-target-libjava
37077 dvi-target-libjava: \
37078 configure-target-libjava
37079 @: $(MAKE); $(unstage)
37080 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37081 r=`${PWD_COMMAND}`; export r; \
37082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37083 $(RAW_CXX_TARGET_EXPORTS) \
37084 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
37085 for flag in $(EXTRA_TARGET_FLAGS); do \
37086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37087 done; \
37088 (cd $(TARGET_SUBDIR)/libjava && \
37089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37091 "RANLIB=$${RANLIB}" \
37092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37093 dvi) \
37094 || exit 1
37096 @endif target-libjava
37098 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
37099 maybe-pdf-target-libjava:
37100 @if target-libjava
37101 maybe-pdf-target-libjava: pdf-target-libjava
37103 pdf-target-libjava: \
37104 configure-target-libjava
37105 @: $(MAKE); $(unstage)
37106 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37107 r=`${PWD_COMMAND}`; export r; \
37108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37109 $(RAW_CXX_TARGET_EXPORTS) \
37110 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
37111 for flag in $(EXTRA_TARGET_FLAGS); do \
37112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37113 done; \
37114 (cd $(TARGET_SUBDIR)/libjava && \
37115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37117 "RANLIB=$${RANLIB}" \
37118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37119 pdf) \
37120 || exit 1
37122 @endif target-libjava
37124 .PHONY: maybe-html-target-libjava html-target-libjava
37125 maybe-html-target-libjava:
37126 @if target-libjava
37127 maybe-html-target-libjava: html-target-libjava
37129 html-target-libjava: \
37130 configure-target-libjava
37131 @: $(MAKE); $(unstage)
37132 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37133 r=`${PWD_COMMAND}`; export r; \
37134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37135 $(RAW_CXX_TARGET_EXPORTS) \
37136 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
37137 for flag in $(EXTRA_TARGET_FLAGS); do \
37138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37139 done; \
37140 (cd $(TARGET_SUBDIR)/libjava && \
37141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37143 "RANLIB=$${RANLIB}" \
37144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37145 html) \
37146 || exit 1
37148 @endif target-libjava
37150 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
37151 maybe-TAGS-target-libjava:
37152 @if target-libjava
37153 maybe-TAGS-target-libjava: TAGS-target-libjava
37155 TAGS-target-libjava: \
37156 configure-target-libjava
37157 @: $(MAKE); $(unstage)
37158 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37159 r=`${PWD_COMMAND}`; export r; \
37160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37161 $(RAW_CXX_TARGET_EXPORTS) \
37162 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
37163 for flag in $(EXTRA_TARGET_FLAGS); do \
37164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37165 done; \
37166 (cd $(TARGET_SUBDIR)/libjava && \
37167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37169 "RANLIB=$${RANLIB}" \
37170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37171 TAGS) \
37172 || exit 1
37174 @endif target-libjava
37176 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
37177 maybe-install-info-target-libjava:
37178 @if target-libjava
37179 maybe-install-info-target-libjava: install-info-target-libjava
37181 install-info-target-libjava: \
37182 configure-target-libjava \
37183 info-target-libjava
37184 @: $(MAKE); $(unstage)
37185 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37186 r=`${PWD_COMMAND}`; export r; \
37187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37188 $(RAW_CXX_TARGET_EXPORTS) \
37189 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
37190 for flag in $(EXTRA_TARGET_FLAGS); do \
37191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37192 done; \
37193 (cd $(TARGET_SUBDIR)/libjava && \
37194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37196 "RANLIB=$${RANLIB}" \
37197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37198 install-info) \
37199 || exit 1
37201 @endif target-libjava
37203 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
37204 maybe-install-pdf-target-libjava:
37205 @if target-libjava
37206 maybe-install-pdf-target-libjava: install-pdf-target-libjava
37208 install-pdf-target-libjava: \
37209 configure-target-libjava \
37210 pdf-target-libjava
37211 @: $(MAKE); $(unstage)
37212 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37213 r=`${PWD_COMMAND}`; export r; \
37214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37215 $(RAW_CXX_TARGET_EXPORTS) \
37216 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
37217 for flag in $(EXTRA_TARGET_FLAGS); do \
37218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37219 done; \
37220 (cd $(TARGET_SUBDIR)/libjava && \
37221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37223 "RANLIB=$${RANLIB}" \
37224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37225 install-pdf) \
37226 || exit 1
37228 @endif target-libjava
37230 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
37231 maybe-install-html-target-libjava:
37232 @if target-libjava
37233 maybe-install-html-target-libjava: install-html-target-libjava
37235 install-html-target-libjava: \
37236 configure-target-libjava \
37237 html-target-libjava
37238 @: $(MAKE); $(unstage)
37239 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37240 r=`${PWD_COMMAND}`; export r; \
37241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37242 $(RAW_CXX_TARGET_EXPORTS) \
37243 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
37244 for flag in $(EXTRA_TARGET_FLAGS); do \
37245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37246 done; \
37247 (cd $(TARGET_SUBDIR)/libjava && \
37248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37250 "RANLIB=$${RANLIB}" \
37251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37252 install-html) \
37253 || exit 1
37255 @endif target-libjava
37257 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
37258 maybe-installcheck-target-libjava:
37259 @if target-libjava
37260 maybe-installcheck-target-libjava: installcheck-target-libjava
37262 installcheck-target-libjava: \
37263 configure-target-libjava
37264 @: $(MAKE); $(unstage)
37265 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37266 r=`${PWD_COMMAND}`; export r; \
37267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37268 $(RAW_CXX_TARGET_EXPORTS) \
37269 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
37270 for flag in $(EXTRA_TARGET_FLAGS); do \
37271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37272 done; \
37273 (cd $(TARGET_SUBDIR)/libjava && \
37274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37276 "RANLIB=$${RANLIB}" \
37277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37278 installcheck) \
37279 || exit 1
37281 @endif target-libjava
37283 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
37284 maybe-mostlyclean-target-libjava:
37285 @if target-libjava
37286 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
37288 mostlyclean-target-libjava:
37289 @: $(MAKE); $(unstage)
37290 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37291 r=`${PWD_COMMAND}`; export r; \
37292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37293 $(RAW_CXX_TARGET_EXPORTS) \
37294 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
37295 for flag in $(EXTRA_TARGET_FLAGS); do \
37296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37297 done; \
37298 (cd $(TARGET_SUBDIR)/libjava && \
37299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37301 "RANLIB=$${RANLIB}" \
37302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37303 mostlyclean) \
37304 || exit 1
37306 @endif target-libjava
37308 .PHONY: maybe-clean-target-libjava clean-target-libjava
37309 maybe-clean-target-libjava:
37310 @if target-libjava
37311 maybe-clean-target-libjava: clean-target-libjava
37313 clean-target-libjava:
37314 @: $(MAKE); $(unstage)
37315 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37316 r=`${PWD_COMMAND}`; export r; \
37317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37318 $(RAW_CXX_TARGET_EXPORTS) \
37319 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
37320 for flag in $(EXTRA_TARGET_FLAGS); do \
37321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37322 done; \
37323 (cd $(TARGET_SUBDIR)/libjava && \
37324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37326 "RANLIB=$${RANLIB}" \
37327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37328 clean) \
37329 || exit 1
37331 @endif target-libjava
37333 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
37334 maybe-distclean-target-libjava:
37335 @if target-libjava
37336 maybe-distclean-target-libjava: distclean-target-libjava
37338 distclean-target-libjava:
37339 @: $(MAKE); $(unstage)
37340 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37341 r=`${PWD_COMMAND}`; export r; \
37342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37343 $(RAW_CXX_TARGET_EXPORTS) \
37344 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
37345 for flag in $(EXTRA_TARGET_FLAGS); do \
37346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37347 done; \
37348 (cd $(TARGET_SUBDIR)/libjava && \
37349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37351 "RANLIB=$${RANLIB}" \
37352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37353 distclean) \
37354 || exit 1
37356 @endif target-libjava
37358 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
37359 maybe-maintainer-clean-target-libjava:
37360 @if target-libjava
37361 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
37363 maintainer-clean-target-libjava:
37364 @: $(MAKE); $(unstage)
37365 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
37366 r=`${PWD_COMMAND}`; export r; \
37367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37368 $(RAW_CXX_TARGET_EXPORTS) \
37369 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
37370 for flag in $(EXTRA_TARGET_FLAGS); do \
37371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37372 done; \
37373 (cd $(TARGET_SUBDIR)/libjava && \
37374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37376 "RANLIB=$${RANLIB}" \
37377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37378 maintainer-clean) \
37379 || exit 1
37381 @endif target-libjava
37387 .PHONY: configure-target-zlib maybe-configure-target-zlib
37388 maybe-configure-target-zlib:
37389 @if gcc-bootstrap
37390 configure-target-zlib: stage_current
37391 @endif gcc-bootstrap
37392 @if target-zlib
37393 maybe-configure-target-zlib: configure-target-zlib
37394 configure-target-zlib:
37395 @: $(MAKE); $(unstage)
37396 @r=`${PWD_COMMAND}`; export r; \
37397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37398 echo "Checking multilib configuration for zlib..."; \
37399 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37400 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
37401 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
37402 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
37403 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
37404 else \
37405 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
37406 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37407 fi; \
37408 else \
37409 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
37410 fi; \
37411 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
37412 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
37413 $(NORMAL_TARGET_EXPORTS) \
37414 echo Configuring in $(TARGET_SUBDIR)/zlib; \
37415 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
37416 case $(srcdir) in \
37417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37418 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
37419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37420 esac; \
37421 srcdiroption="--srcdir=$${topdir}/zlib"; \
37422 libsrcdir="$$s/zlib"; \
37423 rm -f no-such-file || : ; \
37424 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37425 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37426 --target=${target_alias} $${srcdiroption} \
37427 || exit 1
37428 @endif target-zlib
37434 .PHONY: all-target-zlib maybe-all-target-zlib
37435 maybe-all-target-zlib:
37436 @if gcc-bootstrap
37437 all-target-zlib: stage_current
37438 @endif gcc-bootstrap
37439 @if target-zlib
37440 TARGET-target-zlib=all
37441 maybe-all-target-zlib: all-target-zlib
37442 all-target-zlib: configure-target-zlib
37443 @: $(MAKE); $(unstage)
37444 @r=`${PWD_COMMAND}`; export r; \
37445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37446 $(NORMAL_TARGET_EXPORTS) \
37447 (cd $(TARGET_SUBDIR)/zlib && \
37448 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37449 $(TARGET-target-zlib))
37450 @endif target-zlib
37456 .PHONY: check-target-zlib maybe-check-target-zlib
37457 maybe-check-target-zlib:
37458 @if target-zlib
37459 maybe-check-target-zlib: check-target-zlib
37461 check-target-zlib:
37462 @: $(MAKE); $(unstage)
37463 @r=`${PWD_COMMAND}`; export r; \
37464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37465 $(NORMAL_TARGET_EXPORTS) \
37466 (cd $(TARGET_SUBDIR)/zlib && \
37467 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37469 @endif target-zlib
37471 .PHONY: install-target-zlib maybe-install-target-zlib
37472 maybe-install-target-zlib:
37473 @if target-zlib
37474 maybe-install-target-zlib: install-target-zlib
37476 install-target-zlib: installdirs
37477 @: $(MAKE); $(unstage)
37478 @r=`${PWD_COMMAND}`; export r; \
37479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37480 $(NORMAL_TARGET_EXPORTS) \
37481 (cd $(TARGET_SUBDIR)/zlib && \
37482 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37484 @endif target-zlib
37486 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
37487 maybe-install-strip-target-zlib:
37488 @if target-zlib
37489 maybe-install-strip-target-zlib: install-strip-target-zlib
37491 install-strip-target-zlib: installdirs
37492 @: $(MAKE); $(unstage)
37493 @r=`${PWD_COMMAND}`; export r; \
37494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37495 $(NORMAL_TARGET_EXPORTS) \
37496 (cd $(TARGET_SUBDIR)/zlib && \
37497 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37499 @endif target-zlib
37501 # Other targets (info, dvi, pdf, etc.)
37503 .PHONY: maybe-info-target-zlib info-target-zlib
37504 maybe-info-target-zlib:
37505 @if target-zlib
37506 maybe-info-target-zlib: info-target-zlib
37508 info-target-zlib: \
37509 configure-target-zlib
37510 @: $(MAKE); $(unstage)
37511 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37512 r=`${PWD_COMMAND}`; export r; \
37513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37514 $(NORMAL_TARGET_EXPORTS) \
37515 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
37516 for flag in $(EXTRA_TARGET_FLAGS); do \
37517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37518 done; \
37519 (cd $(TARGET_SUBDIR)/zlib && \
37520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37522 "RANLIB=$${RANLIB}" \
37523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37524 info) \
37525 || exit 1
37527 @endif target-zlib
37529 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
37530 maybe-dvi-target-zlib:
37531 @if target-zlib
37532 maybe-dvi-target-zlib: dvi-target-zlib
37534 dvi-target-zlib: \
37535 configure-target-zlib
37536 @: $(MAKE); $(unstage)
37537 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37538 r=`${PWD_COMMAND}`; export r; \
37539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37540 $(NORMAL_TARGET_EXPORTS) \
37541 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
37542 for flag in $(EXTRA_TARGET_FLAGS); do \
37543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37544 done; \
37545 (cd $(TARGET_SUBDIR)/zlib && \
37546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37548 "RANLIB=$${RANLIB}" \
37549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37550 dvi) \
37551 || exit 1
37553 @endif target-zlib
37555 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
37556 maybe-pdf-target-zlib:
37557 @if target-zlib
37558 maybe-pdf-target-zlib: pdf-target-zlib
37560 pdf-target-zlib: \
37561 configure-target-zlib
37562 @: $(MAKE); $(unstage)
37563 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37564 r=`${PWD_COMMAND}`; export r; \
37565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37566 $(NORMAL_TARGET_EXPORTS) \
37567 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
37568 for flag in $(EXTRA_TARGET_FLAGS); do \
37569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37570 done; \
37571 (cd $(TARGET_SUBDIR)/zlib && \
37572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37574 "RANLIB=$${RANLIB}" \
37575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37576 pdf) \
37577 || exit 1
37579 @endif target-zlib
37581 .PHONY: maybe-html-target-zlib html-target-zlib
37582 maybe-html-target-zlib:
37583 @if target-zlib
37584 maybe-html-target-zlib: html-target-zlib
37586 html-target-zlib: \
37587 configure-target-zlib
37588 @: $(MAKE); $(unstage)
37589 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37590 r=`${PWD_COMMAND}`; export r; \
37591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37592 $(NORMAL_TARGET_EXPORTS) \
37593 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
37594 for flag in $(EXTRA_TARGET_FLAGS); do \
37595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37596 done; \
37597 (cd $(TARGET_SUBDIR)/zlib && \
37598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37600 "RANLIB=$${RANLIB}" \
37601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37602 html) \
37603 || exit 1
37605 @endif target-zlib
37607 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
37608 maybe-TAGS-target-zlib:
37609 @if target-zlib
37610 maybe-TAGS-target-zlib: TAGS-target-zlib
37612 TAGS-target-zlib: \
37613 configure-target-zlib
37614 @: $(MAKE); $(unstage)
37615 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37616 r=`${PWD_COMMAND}`; export r; \
37617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37618 $(NORMAL_TARGET_EXPORTS) \
37619 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
37620 for flag in $(EXTRA_TARGET_FLAGS); do \
37621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37622 done; \
37623 (cd $(TARGET_SUBDIR)/zlib && \
37624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37626 "RANLIB=$${RANLIB}" \
37627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37628 TAGS) \
37629 || exit 1
37631 @endif target-zlib
37633 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
37634 maybe-install-info-target-zlib:
37635 @if target-zlib
37636 maybe-install-info-target-zlib: install-info-target-zlib
37638 install-info-target-zlib: \
37639 configure-target-zlib \
37640 info-target-zlib
37641 @: $(MAKE); $(unstage)
37642 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37643 r=`${PWD_COMMAND}`; export r; \
37644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37645 $(NORMAL_TARGET_EXPORTS) \
37646 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
37647 for flag in $(EXTRA_TARGET_FLAGS); do \
37648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37649 done; \
37650 (cd $(TARGET_SUBDIR)/zlib && \
37651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37653 "RANLIB=$${RANLIB}" \
37654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37655 install-info) \
37656 || exit 1
37658 @endif target-zlib
37660 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
37661 maybe-install-pdf-target-zlib:
37662 @if target-zlib
37663 maybe-install-pdf-target-zlib: install-pdf-target-zlib
37665 install-pdf-target-zlib: \
37666 configure-target-zlib \
37667 pdf-target-zlib
37668 @: $(MAKE); $(unstage)
37669 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37670 r=`${PWD_COMMAND}`; export r; \
37671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37672 $(NORMAL_TARGET_EXPORTS) \
37673 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
37674 for flag in $(EXTRA_TARGET_FLAGS); do \
37675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37676 done; \
37677 (cd $(TARGET_SUBDIR)/zlib && \
37678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37680 "RANLIB=$${RANLIB}" \
37681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37682 install-pdf) \
37683 || exit 1
37685 @endif target-zlib
37687 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
37688 maybe-install-html-target-zlib:
37689 @if target-zlib
37690 maybe-install-html-target-zlib: install-html-target-zlib
37692 install-html-target-zlib: \
37693 configure-target-zlib \
37694 html-target-zlib
37695 @: $(MAKE); $(unstage)
37696 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37697 r=`${PWD_COMMAND}`; export r; \
37698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37699 $(NORMAL_TARGET_EXPORTS) \
37700 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
37701 for flag in $(EXTRA_TARGET_FLAGS); do \
37702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37703 done; \
37704 (cd $(TARGET_SUBDIR)/zlib && \
37705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37707 "RANLIB=$${RANLIB}" \
37708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37709 install-html) \
37710 || exit 1
37712 @endif target-zlib
37714 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
37715 maybe-installcheck-target-zlib:
37716 @if target-zlib
37717 maybe-installcheck-target-zlib: installcheck-target-zlib
37719 installcheck-target-zlib: \
37720 configure-target-zlib
37721 @: $(MAKE); $(unstage)
37722 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37723 r=`${PWD_COMMAND}`; export r; \
37724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37725 $(NORMAL_TARGET_EXPORTS) \
37726 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
37727 for flag in $(EXTRA_TARGET_FLAGS); do \
37728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37729 done; \
37730 (cd $(TARGET_SUBDIR)/zlib && \
37731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37733 "RANLIB=$${RANLIB}" \
37734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37735 installcheck) \
37736 || exit 1
37738 @endif target-zlib
37740 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
37741 maybe-mostlyclean-target-zlib:
37742 @if target-zlib
37743 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
37745 mostlyclean-target-zlib:
37746 @: $(MAKE); $(unstage)
37747 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37748 r=`${PWD_COMMAND}`; export r; \
37749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37750 $(NORMAL_TARGET_EXPORTS) \
37751 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
37752 for flag in $(EXTRA_TARGET_FLAGS); do \
37753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37754 done; \
37755 (cd $(TARGET_SUBDIR)/zlib && \
37756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37758 "RANLIB=$${RANLIB}" \
37759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37760 mostlyclean) \
37761 || exit 1
37763 @endif target-zlib
37765 .PHONY: maybe-clean-target-zlib clean-target-zlib
37766 maybe-clean-target-zlib:
37767 @if target-zlib
37768 maybe-clean-target-zlib: clean-target-zlib
37770 clean-target-zlib:
37771 @: $(MAKE); $(unstage)
37772 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37773 r=`${PWD_COMMAND}`; export r; \
37774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37775 $(NORMAL_TARGET_EXPORTS) \
37776 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
37777 for flag in $(EXTRA_TARGET_FLAGS); do \
37778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37779 done; \
37780 (cd $(TARGET_SUBDIR)/zlib && \
37781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37783 "RANLIB=$${RANLIB}" \
37784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37785 clean) \
37786 || exit 1
37788 @endif target-zlib
37790 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
37791 maybe-distclean-target-zlib:
37792 @if target-zlib
37793 maybe-distclean-target-zlib: distclean-target-zlib
37795 distclean-target-zlib:
37796 @: $(MAKE); $(unstage)
37797 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37798 r=`${PWD_COMMAND}`; export r; \
37799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37800 $(NORMAL_TARGET_EXPORTS) \
37801 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
37802 for flag in $(EXTRA_TARGET_FLAGS); do \
37803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37804 done; \
37805 (cd $(TARGET_SUBDIR)/zlib && \
37806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37808 "RANLIB=$${RANLIB}" \
37809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37810 distclean) \
37811 || exit 1
37813 @endif target-zlib
37815 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
37816 maybe-maintainer-clean-target-zlib:
37817 @if target-zlib
37818 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
37820 maintainer-clean-target-zlib:
37821 @: $(MAKE); $(unstage)
37822 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
37823 r=`${PWD_COMMAND}`; export r; \
37824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37825 $(NORMAL_TARGET_EXPORTS) \
37826 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
37827 for flag in $(EXTRA_TARGET_FLAGS); do \
37828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37829 done; \
37830 (cd $(TARGET_SUBDIR)/zlib && \
37831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37833 "RANLIB=$${RANLIB}" \
37834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37835 maintainer-clean) \
37836 || exit 1
37838 @endif target-zlib
37844 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
37845 maybe-configure-target-boehm-gc:
37846 @if gcc-bootstrap
37847 configure-target-boehm-gc: stage_current
37848 @endif gcc-bootstrap
37849 @if target-boehm-gc
37850 maybe-configure-target-boehm-gc: configure-target-boehm-gc
37851 configure-target-boehm-gc:
37852 @: $(MAKE); $(unstage)
37853 @r=`${PWD_COMMAND}`; export r; \
37854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37855 echo "Checking multilib configuration for boehm-gc..."; \
37856 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37857 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
37858 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37859 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
37860 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
37861 else \
37862 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
37863 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37864 fi; \
37865 else \
37866 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
37867 fi; \
37868 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
37869 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
37870 $(NORMAL_TARGET_EXPORTS) \
37871 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
37872 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
37873 case $(srcdir) in \
37874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37875 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
37876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37877 esac; \
37878 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
37879 libsrcdir="$$s/boehm-gc"; \
37880 rm -f no-such-file || : ; \
37881 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37882 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37883 --target=${target_alias} $${srcdiroption} \
37884 || exit 1
37885 @endif target-boehm-gc
37891 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
37892 maybe-all-target-boehm-gc:
37893 @if gcc-bootstrap
37894 all-target-boehm-gc: stage_current
37895 @endif gcc-bootstrap
37896 @if target-boehm-gc
37897 TARGET-target-boehm-gc=all
37898 maybe-all-target-boehm-gc: all-target-boehm-gc
37899 all-target-boehm-gc: configure-target-boehm-gc
37900 @: $(MAKE); $(unstage)
37901 @r=`${PWD_COMMAND}`; export r; \
37902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37903 $(NORMAL_TARGET_EXPORTS) \
37904 (cd $(TARGET_SUBDIR)/boehm-gc && \
37905 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37906 $(TARGET-target-boehm-gc))
37907 @endif target-boehm-gc
37913 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
37914 maybe-check-target-boehm-gc:
37915 @if target-boehm-gc
37916 maybe-check-target-boehm-gc: check-target-boehm-gc
37918 check-target-boehm-gc:
37919 @: $(MAKE); $(unstage)
37920 @r=`${PWD_COMMAND}`; export r; \
37921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37922 $(NORMAL_TARGET_EXPORTS) \
37923 (cd $(TARGET_SUBDIR)/boehm-gc && \
37924 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37926 @endif target-boehm-gc
37928 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
37929 maybe-install-target-boehm-gc:
37930 @if target-boehm-gc
37931 maybe-install-target-boehm-gc: install-target-boehm-gc
37933 install-target-boehm-gc: installdirs
37934 @: $(MAKE); $(unstage)
37935 @r=`${PWD_COMMAND}`; export r; \
37936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37937 $(NORMAL_TARGET_EXPORTS) \
37938 (cd $(TARGET_SUBDIR)/boehm-gc && \
37939 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37941 @endif target-boehm-gc
37943 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
37944 maybe-install-strip-target-boehm-gc:
37945 @if target-boehm-gc
37946 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
37948 install-strip-target-boehm-gc: installdirs
37949 @: $(MAKE); $(unstage)
37950 @r=`${PWD_COMMAND}`; export r; \
37951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37952 $(NORMAL_TARGET_EXPORTS) \
37953 (cd $(TARGET_SUBDIR)/boehm-gc && \
37954 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37956 @endif target-boehm-gc
37958 # Other targets (info, dvi, pdf, etc.)
37960 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
37961 maybe-info-target-boehm-gc:
37962 @if target-boehm-gc
37963 maybe-info-target-boehm-gc: info-target-boehm-gc
37965 info-target-boehm-gc: \
37966 configure-target-boehm-gc
37967 @: $(MAKE); $(unstage)
37968 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37969 r=`${PWD_COMMAND}`; export r; \
37970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37971 $(NORMAL_TARGET_EXPORTS) \
37972 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
37973 for flag in $(EXTRA_TARGET_FLAGS); do \
37974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37975 done; \
37976 (cd $(TARGET_SUBDIR)/boehm-gc && \
37977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37979 "RANLIB=$${RANLIB}" \
37980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37981 info) \
37982 || exit 1
37984 @endif target-boehm-gc
37986 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
37987 maybe-dvi-target-boehm-gc:
37988 @if target-boehm-gc
37989 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
37991 dvi-target-boehm-gc: \
37992 configure-target-boehm-gc
37993 @: $(MAKE); $(unstage)
37994 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
37995 r=`${PWD_COMMAND}`; export r; \
37996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37997 $(NORMAL_TARGET_EXPORTS) \
37998 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
37999 for flag in $(EXTRA_TARGET_FLAGS); do \
38000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38001 done; \
38002 (cd $(TARGET_SUBDIR)/boehm-gc && \
38003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38005 "RANLIB=$${RANLIB}" \
38006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38007 dvi) \
38008 || exit 1
38010 @endif target-boehm-gc
38012 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
38013 maybe-pdf-target-boehm-gc:
38014 @if target-boehm-gc
38015 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
38017 pdf-target-boehm-gc: \
38018 configure-target-boehm-gc
38019 @: $(MAKE); $(unstage)
38020 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38021 r=`${PWD_COMMAND}`; export r; \
38022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38023 $(NORMAL_TARGET_EXPORTS) \
38024 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38025 for flag in $(EXTRA_TARGET_FLAGS); do \
38026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38027 done; \
38028 (cd $(TARGET_SUBDIR)/boehm-gc && \
38029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38031 "RANLIB=$${RANLIB}" \
38032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38033 pdf) \
38034 || exit 1
38036 @endif target-boehm-gc
38038 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
38039 maybe-html-target-boehm-gc:
38040 @if target-boehm-gc
38041 maybe-html-target-boehm-gc: html-target-boehm-gc
38043 html-target-boehm-gc: \
38044 configure-target-boehm-gc
38045 @: $(MAKE); $(unstage)
38046 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38047 r=`${PWD_COMMAND}`; export r; \
38048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38049 $(NORMAL_TARGET_EXPORTS) \
38050 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
38051 for flag in $(EXTRA_TARGET_FLAGS); do \
38052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38053 done; \
38054 (cd $(TARGET_SUBDIR)/boehm-gc && \
38055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38057 "RANLIB=$${RANLIB}" \
38058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38059 html) \
38060 || exit 1
38062 @endif target-boehm-gc
38064 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
38065 maybe-TAGS-target-boehm-gc:
38066 @if target-boehm-gc
38067 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
38069 TAGS-target-boehm-gc: \
38070 configure-target-boehm-gc
38071 @: $(MAKE); $(unstage)
38072 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38073 r=`${PWD_COMMAND}`; export r; \
38074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38075 $(NORMAL_TARGET_EXPORTS) \
38076 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
38077 for flag in $(EXTRA_TARGET_FLAGS); do \
38078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38079 done; \
38080 (cd $(TARGET_SUBDIR)/boehm-gc && \
38081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38083 "RANLIB=$${RANLIB}" \
38084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38085 TAGS) \
38086 || exit 1
38088 @endif target-boehm-gc
38090 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
38091 maybe-install-info-target-boehm-gc:
38092 @if target-boehm-gc
38093 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
38095 install-info-target-boehm-gc: \
38096 configure-target-boehm-gc \
38097 info-target-boehm-gc
38098 @: $(MAKE); $(unstage)
38099 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38100 r=`${PWD_COMMAND}`; export r; \
38101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38102 $(NORMAL_TARGET_EXPORTS) \
38103 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
38104 for flag in $(EXTRA_TARGET_FLAGS); do \
38105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38106 done; \
38107 (cd $(TARGET_SUBDIR)/boehm-gc && \
38108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38110 "RANLIB=$${RANLIB}" \
38111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38112 install-info) \
38113 || exit 1
38115 @endif target-boehm-gc
38117 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
38118 maybe-install-pdf-target-boehm-gc:
38119 @if target-boehm-gc
38120 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
38122 install-pdf-target-boehm-gc: \
38123 configure-target-boehm-gc \
38124 pdf-target-boehm-gc
38125 @: $(MAKE); $(unstage)
38126 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38127 r=`${PWD_COMMAND}`; export r; \
38128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38129 $(NORMAL_TARGET_EXPORTS) \
38130 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
38131 for flag in $(EXTRA_TARGET_FLAGS); do \
38132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38133 done; \
38134 (cd $(TARGET_SUBDIR)/boehm-gc && \
38135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38137 "RANLIB=$${RANLIB}" \
38138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38139 install-pdf) \
38140 || exit 1
38142 @endif target-boehm-gc
38144 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
38145 maybe-install-html-target-boehm-gc:
38146 @if target-boehm-gc
38147 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
38149 install-html-target-boehm-gc: \
38150 configure-target-boehm-gc \
38151 html-target-boehm-gc
38152 @: $(MAKE); $(unstage)
38153 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38154 r=`${PWD_COMMAND}`; export r; \
38155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38156 $(NORMAL_TARGET_EXPORTS) \
38157 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
38158 for flag in $(EXTRA_TARGET_FLAGS); do \
38159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38160 done; \
38161 (cd $(TARGET_SUBDIR)/boehm-gc && \
38162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38164 "RANLIB=$${RANLIB}" \
38165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38166 install-html) \
38167 || exit 1
38169 @endif target-boehm-gc
38171 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
38172 maybe-installcheck-target-boehm-gc:
38173 @if target-boehm-gc
38174 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
38176 installcheck-target-boehm-gc: \
38177 configure-target-boehm-gc
38178 @: $(MAKE); $(unstage)
38179 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38180 r=`${PWD_COMMAND}`; export r; \
38181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38182 $(NORMAL_TARGET_EXPORTS) \
38183 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
38184 for flag in $(EXTRA_TARGET_FLAGS); do \
38185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38186 done; \
38187 (cd $(TARGET_SUBDIR)/boehm-gc && \
38188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38190 "RANLIB=$${RANLIB}" \
38191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38192 installcheck) \
38193 || exit 1
38195 @endif target-boehm-gc
38197 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
38198 maybe-mostlyclean-target-boehm-gc:
38199 @if target-boehm-gc
38200 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
38202 mostlyclean-target-boehm-gc:
38203 @: $(MAKE); $(unstage)
38204 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38205 r=`${PWD_COMMAND}`; export r; \
38206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38207 $(NORMAL_TARGET_EXPORTS) \
38208 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38209 for flag in $(EXTRA_TARGET_FLAGS); do \
38210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38211 done; \
38212 (cd $(TARGET_SUBDIR)/boehm-gc && \
38213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38215 "RANLIB=$${RANLIB}" \
38216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38217 mostlyclean) \
38218 || exit 1
38220 @endif target-boehm-gc
38222 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
38223 maybe-clean-target-boehm-gc:
38224 @if target-boehm-gc
38225 maybe-clean-target-boehm-gc: clean-target-boehm-gc
38227 clean-target-boehm-gc:
38228 @: $(MAKE); $(unstage)
38229 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38230 r=`${PWD_COMMAND}`; export r; \
38231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38232 $(NORMAL_TARGET_EXPORTS) \
38233 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38234 for flag in $(EXTRA_TARGET_FLAGS); do \
38235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38236 done; \
38237 (cd $(TARGET_SUBDIR)/boehm-gc && \
38238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38240 "RANLIB=$${RANLIB}" \
38241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38242 clean) \
38243 || exit 1
38245 @endif target-boehm-gc
38247 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
38248 maybe-distclean-target-boehm-gc:
38249 @if target-boehm-gc
38250 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
38252 distclean-target-boehm-gc:
38253 @: $(MAKE); $(unstage)
38254 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38255 r=`${PWD_COMMAND}`; export r; \
38256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38257 $(NORMAL_TARGET_EXPORTS) \
38258 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
38259 for flag in $(EXTRA_TARGET_FLAGS); do \
38260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38261 done; \
38262 (cd $(TARGET_SUBDIR)/boehm-gc && \
38263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38265 "RANLIB=$${RANLIB}" \
38266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38267 distclean) \
38268 || exit 1
38270 @endif target-boehm-gc
38272 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
38273 maybe-maintainer-clean-target-boehm-gc:
38274 @if target-boehm-gc
38275 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
38277 maintainer-clean-target-boehm-gc:
38278 @: $(MAKE); $(unstage)
38279 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
38280 r=`${PWD_COMMAND}`; export r; \
38281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38282 $(NORMAL_TARGET_EXPORTS) \
38283 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
38284 for flag in $(EXTRA_TARGET_FLAGS); do \
38285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38286 done; \
38287 (cd $(TARGET_SUBDIR)/boehm-gc && \
38288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38290 "RANLIB=$${RANLIB}" \
38291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38292 maintainer-clean) \
38293 || exit 1
38295 @endif target-boehm-gc
38301 .PHONY: configure-target-rda maybe-configure-target-rda
38302 maybe-configure-target-rda:
38303 @if gcc-bootstrap
38304 configure-target-rda: stage_current
38305 @endif gcc-bootstrap
38306 @if target-rda
38307 maybe-configure-target-rda: configure-target-rda
38308 configure-target-rda:
38309 @: $(MAKE); $(unstage)
38310 @r=`${PWD_COMMAND}`; export r; \
38311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38312 echo "Checking multilib configuration for rda..."; \
38313 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38314 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
38315 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
38316 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
38317 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
38318 else \
38319 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
38320 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38321 fi; \
38322 else \
38323 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
38324 fi; \
38325 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
38326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
38327 $(NORMAL_TARGET_EXPORTS) \
38328 echo Configuring in $(TARGET_SUBDIR)/rda; \
38329 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
38330 case $(srcdir) in \
38331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38332 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
38333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38334 esac; \
38335 srcdiroption="--srcdir=$${topdir}/rda"; \
38336 libsrcdir="$$s/rda"; \
38337 rm -f no-such-file || : ; \
38338 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38339 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38340 --target=${target_alias} $${srcdiroption} \
38341 || exit 1
38342 @endif target-rda
38348 .PHONY: all-target-rda maybe-all-target-rda
38349 maybe-all-target-rda:
38350 @if gcc-bootstrap
38351 all-target-rda: stage_current
38352 @endif gcc-bootstrap
38353 @if target-rda
38354 TARGET-target-rda=all
38355 maybe-all-target-rda: all-target-rda
38356 all-target-rda: configure-target-rda
38357 @: $(MAKE); $(unstage)
38358 @r=`${PWD_COMMAND}`; export r; \
38359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38360 $(NORMAL_TARGET_EXPORTS) \
38361 (cd $(TARGET_SUBDIR)/rda && \
38362 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38363 $(TARGET-target-rda))
38364 @endif target-rda
38370 .PHONY: check-target-rda maybe-check-target-rda
38371 maybe-check-target-rda:
38372 @if target-rda
38373 maybe-check-target-rda: check-target-rda
38375 check-target-rda:
38376 @: $(MAKE); $(unstage)
38377 @r=`${PWD_COMMAND}`; export r; \
38378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38379 $(NORMAL_TARGET_EXPORTS) \
38380 (cd $(TARGET_SUBDIR)/rda && \
38381 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38383 @endif target-rda
38385 .PHONY: install-target-rda maybe-install-target-rda
38386 maybe-install-target-rda:
38387 @if target-rda
38388 maybe-install-target-rda: install-target-rda
38390 install-target-rda: installdirs
38391 @: $(MAKE); $(unstage)
38392 @r=`${PWD_COMMAND}`; export r; \
38393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38394 $(NORMAL_TARGET_EXPORTS) \
38395 (cd $(TARGET_SUBDIR)/rda && \
38396 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38398 @endif target-rda
38400 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
38401 maybe-install-strip-target-rda:
38402 @if target-rda
38403 maybe-install-strip-target-rda: install-strip-target-rda
38405 install-strip-target-rda: installdirs
38406 @: $(MAKE); $(unstage)
38407 @r=`${PWD_COMMAND}`; export r; \
38408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38409 $(NORMAL_TARGET_EXPORTS) \
38410 (cd $(TARGET_SUBDIR)/rda && \
38411 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38413 @endif target-rda
38415 # Other targets (info, dvi, pdf, etc.)
38417 .PHONY: maybe-info-target-rda info-target-rda
38418 maybe-info-target-rda:
38419 @if target-rda
38420 maybe-info-target-rda: info-target-rda
38422 info-target-rda: \
38423 configure-target-rda
38424 @: $(MAKE); $(unstage)
38425 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38426 r=`${PWD_COMMAND}`; export r; \
38427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38428 $(NORMAL_TARGET_EXPORTS) \
38429 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
38430 for flag in $(EXTRA_TARGET_FLAGS); do \
38431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38432 done; \
38433 (cd $(TARGET_SUBDIR)/rda && \
38434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38436 "RANLIB=$${RANLIB}" \
38437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38438 info) \
38439 || exit 1
38441 @endif target-rda
38443 .PHONY: maybe-dvi-target-rda dvi-target-rda
38444 maybe-dvi-target-rda:
38445 @if target-rda
38446 maybe-dvi-target-rda: dvi-target-rda
38448 dvi-target-rda: \
38449 configure-target-rda
38450 @: $(MAKE); $(unstage)
38451 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38452 r=`${PWD_COMMAND}`; export r; \
38453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38454 $(NORMAL_TARGET_EXPORTS) \
38455 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
38456 for flag in $(EXTRA_TARGET_FLAGS); do \
38457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38458 done; \
38459 (cd $(TARGET_SUBDIR)/rda && \
38460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38462 "RANLIB=$${RANLIB}" \
38463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38464 dvi) \
38465 || exit 1
38467 @endif target-rda
38469 .PHONY: maybe-pdf-target-rda pdf-target-rda
38470 maybe-pdf-target-rda:
38471 @if target-rda
38472 maybe-pdf-target-rda: pdf-target-rda
38474 pdf-target-rda: \
38475 configure-target-rda
38476 @: $(MAKE); $(unstage)
38477 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38478 r=`${PWD_COMMAND}`; export r; \
38479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38480 $(NORMAL_TARGET_EXPORTS) \
38481 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
38482 for flag in $(EXTRA_TARGET_FLAGS); do \
38483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38484 done; \
38485 (cd $(TARGET_SUBDIR)/rda && \
38486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38488 "RANLIB=$${RANLIB}" \
38489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38490 pdf) \
38491 || exit 1
38493 @endif target-rda
38495 .PHONY: maybe-html-target-rda html-target-rda
38496 maybe-html-target-rda:
38497 @if target-rda
38498 maybe-html-target-rda: html-target-rda
38500 html-target-rda: \
38501 configure-target-rda
38502 @: $(MAKE); $(unstage)
38503 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38504 r=`${PWD_COMMAND}`; export r; \
38505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38506 $(NORMAL_TARGET_EXPORTS) \
38507 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
38508 for flag in $(EXTRA_TARGET_FLAGS); do \
38509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38510 done; \
38511 (cd $(TARGET_SUBDIR)/rda && \
38512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38514 "RANLIB=$${RANLIB}" \
38515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38516 html) \
38517 || exit 1
38519 @endif target-rda
38521 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
38522 maybe-TAGS-target-rda:
38523 @if target-rda
38524 maybe-TAGS-target-rda: TAGS-target-rda
38526 TAGS-target-rda: \
38527 configure-target-rda
38528 @: $(MAKE); $(unstage)
38529 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38530 r=`${PWD_COMMAND}`; export r; \
38531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38532 $(NORMAL_TARGET_EXPORTS) \
38533 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
38534 for flag in $(EXTRA_TARGET_FLAGS); do \
38535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38536 done; \
38537 (cd $(TARGET_SUBDIR)/rda && \
38538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38540 "RANLIB=$${RANLIB}" \
38541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38542 TAGS) \
38543 || exit 1
38545 @endif target-rda
38547 .PHONY: maybe-install-info-target-rda install-info-target-rda
38548 maybe-install-info-target-rda:
38549 @if target-rda
38550 maybe-install-info-target-rda: install-info-target-rda
38552 install-info-target-rda: \
38553 configure-target-rda \
38554 info-target-rda
38555 @: $(MAKE); $(unstage)
38556 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38557 r=`${PWD_COMMAND}`; export r; \
38558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38559 $(NORMAL_TARGET_EXPORTS) \
38560 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
38561 for flag in $(EXTRA_TARGET_FLAGS); do \
38562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38563 done; \
38564 (cd $(TARGET_SUBDIR)/rda && \
38565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38567 "RANLIB=$${RANLIB}" \
38568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38569 install-info) \
38570 || exit 1
38572 @endif target-rda
38574 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
38575 maybe-install-pdf-target-rda:
38576 @if target-rda
38577 maybe-install-pdf-target-rda: install-pdf-target-rda
38579 install-pdf-target-rda: \
38580 configure-target-rda \
38581 pdf-target-rda
38582 @: $(MAKE); $(unstage)
38583 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38584 r=`${PWD_COMMAND}`; export r; \
38585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38586 $(NORMAL_TARGET_EXPORTS) \
38587 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
38588 for flag in $(EXTRA_TARGET_FLAGS); do \
38589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38590 done; \
38591 (cd $(TARGET_SUBDIR)/rda && \
38592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38594 "RANLIB=$${RANLIB}" \
38595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38596 install-pdf) \
38597 || exit 1
38599 @endif target-rda
38601 .PHONY: maybe-install-html-target-rda install-html-target-rda
38602 maybe-install-html-target-rda:
38603 @if target-rda
38604 maybe-install-html-target-rda: install-html-target-rda
38606 install-html-target-rda: \
38607 configure-target-rda \
38608 html-target-rda
38609 @: $(MAKE); $(unstage)
38610 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38611 r=`${PWD_COMMAND}`; export r; \
38612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38613 $(NORMAL_TARGET_EXPORTS) \
38614 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
38615 for flag in $(EXTRA_TARGET_FLAGS); do \
38616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38617 done; \
38618 (cd $(TARGET_SUBDIR)/rda && \
38619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38621 "RANLIB=$${RANLIB}" \
38622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38623 install-html) \
38624 || exit 1
38626 @endif target-rda
38628 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
38629 maybe-installcheck-target-rda:
38630 @if target-rda
38631 maybe-installcheck-target-rda: installcheck-target-rda
38633 installcheck-target-rda: \
38634 configure-target-rda
38635 @: $(MAKE); $(unstage)
38636 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38637 r=`${PWD_COMMAND}`; export r; \
38638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38639 $(NORMAL_TARGET_EXPORTS) \
38640 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
38641 for flag in $(EXTRA_TARGET_FLAGS); do \
38642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38643 done; \
38644 (cd $(TARGET_SUBDIR)/rda && \
38645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38647 "RANLIB=$${RANLIB}" \
38648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38649 installcheck) \
38650 || exit 1
38652 @endif target-rda
38654 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
38655 maybe-mostlyclean-target-rda:
38656 @if target-rda
38657 maybe-mostlyclean-target-rda: mostlyclean-target-rda
38659 mostlyclean-target-rda:
38660 @: $(MAKE); $(unstage)
38661 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38662 r=`${PWD_COMMAND}`; export r; \
38663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38664 $(NORMAL_TARGET_EXPORTS) \
38665 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
38666 for flag in $(EXTRA_TARGET_FLAGS); do \
38667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38668 done; \
38669 (cd $(TARGET_SUBDIR)/rda && \
38670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38672 "RANLIB=$${RANLIB}" \
38673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38674 mostlyclean) \
38675 || exit 1
38677 @endif target-rda
38679 .PHONY: maybe-clean-target-rda clean-target-rda
38680 maybe-clean-target-rda:
38681 @if target-rda
38682 maybe-clean-target-rda: clean-target-rda
38684 clean-target-rda:
38685 @: $(MAKE); $(unstage)
38686 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38687 r=`${PWD_COMMAND}`; export r; \
38688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38689 $(NORMAL_TARGET_EXPORTS) \
38690 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
38691 for flag in $(EXTRA_TARGET_FLAGS); do \
38692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38693 done; \
38694 (cd $(TARGET_SUBDIR)/rda && \
38695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38697 "RANLIB=$${RANLIB}" \
38698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38699 clean) \
38700 || exit 1
38702 @endif target-rda
38704 .PHONY: maybe-distclean-target-rda distclean-target-rda
38705 maybe-distclean-target-rda:
38706 @if target-rda
38707 maybe-distclean-target-rda: distclean-target-rda
38709 distclean-target-rda:
38710 @: $(MAKE); $(unstage)
38711 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38712 r=`${PWD_COMMAND}`; export r; \
38713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38714 $(NORMAL_TARGET_EXPORTS) \
38715 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
38716 for flag in $(EXTRA_TARGET_FLAGS); do \
38717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38718 done; \
38719 (cd $(TARGET_SUBDIR)/rda && \
38720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38722 "RANLIB=$${RANLIB}" \
38723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38724 distclean) \
38725 || exit 1
38727 @endif target-rda
38729 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
38730 maybe-maintainer-clean-target-rda:
38731 @if target-rda
38732 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
38734 maintainer-clean-target-rda:
38735 @: $(MAKE); $(unstage)
38736 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
38737 r=`${PWD_COMMAND}`; export r; \
38738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38739 $(NORMAL_TARGET_EXPORTS) \
38740 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
38741 for flag in $(EXTRA_TARGET_FLAGS); do \
38742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38743 done; \
38744 (cd $(TARGET_SUBDIR)/rda && \
38745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38747 "RANLIB=$${RANLIB}" \
38748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38749 maintainer-clean) \
38750 || exit 1
38752 @endif target-rda
38758 .PHONY: configure-target-libada maybe-configure-target-libada
38759 maybe-configure-target-libada:
38760 @if gcc-bootstrap
38761 configure-target-libada: stage_current
38762 @endif gcc-bootstrap
38763 @if target-libada
38764 maybe-configure-target-libada: configure-target-libada
38765 configure-target-libada:
38766 @: $(MAKE); $(unstage)
38767 @r=`${PWD_COMMAND}`; export r; \
38768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38769 echo "Checking multilib configuration for libada..."; \
38770 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38771 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
38772 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
38773 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
38774 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
38775 else \
38776 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
38777 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38778 fi; \
38779 else \
38780 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
38781 fi; \
38782 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
38783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
38784 $(NORMAL_TARGET_EXPORTS) \
38785 echo Configuring in $(TARGET_SUBDIR)/libada; \
38786 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
38787 case $(srcdir) in \
38788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38789 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
38790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38791 esac; \
38792 srcdiroption="--srcdir=$${topdir}/libada"; \
38793 libsrcdir="$$s/libada"; \
38794 rm -f no-such-file || : ; \
38795 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38796 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38797 --target=${target_alias} $${srcdiroption} \
38798 || exit 1
38799 @endif target-libada
38805 .PHONY: all-target-libada maybe-all-target-libada
38806 maybe-all-target-libada:
38807 @if gcc-bootstrap
38808 all-target-libada: stage_current
38809 @endif gcc-bootstrap
38810 @if target-libada
38811 TARGET-target-libada=all
38812 maybe-all-target-libada: all-target-libada
38813 all-target-libada: configure-target-libada
38814 @: $(MAKE); $(unstage)
38815 @r=`${PWD_COMMAND}`; export r; \
38816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38817 $(NORMAL_TARGET_EXPORTS) \
38818 (cd $(TARGET_SUBDIR)/libada && \
38819 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38820 $(TARGET-target-libada))
38821 @endif target-libada
38827 .PHONY: check-target-libada maybe-check-target-libada
38828 maybe-check-target-libada:
38829 @if target-libada
38830 maybe-check-target-libada: check-target-libada
38832 check-target-libada:
38833 @: $(MAKE); $(unstage)
38834 @r=`${PWD_COMMAND}`; export r; \
38835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38836 $(NORMAL_TARGET_EXPORTS) \
38837 (cd $(TARGET_SUBDIR)/libada && \
38838 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38840 @endif target-libada
38842 .PHONY: install-target-libada maybe-install-target-libada
38843 maybe-install-target-libada:
38844 @if target-libada
38845 maybe-install-target-libada: install-target-libada
38847 install-target-libada: installdirs
38848 @: $(MAKE); $(unstage)
38849 @r=`${PWD_COMMAND}`; export r; \
38850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38851 $(NORMAL_TARGET_EXPORTS) \
38852 (cd $(TARGET_SUBDIR)/libada && \
38853 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38855 @endif target-libada
38857 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
38858 maybe-install-strip-target-libada:
38859 @if target-libada
38860 maybe-install-strip-target-libada: install-strip-target-libada
38862 install-strip-target-libada: installdirs
38863 @: $(MAKE); $(unstage)
38864 @r=`${PWD_COMMAND}`; export r; \
38865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38866 $(NORMAL_TARGET_EXPORTS) \
38867 (cd $(TARGET_SUBDIR)/libada && \
38868 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38870 @endif target-libada
38872 # Other targets (info, dvi, pdf, etc.)
38874 .PHONY: maybe-info-target-libada info-target-libada
38875 maybe-info-target-libada:
38876 @if target-libada
38877 maybe-info-target-libada: info-target-libada
38879 info-target-libada: \
38880 configure-target-libada
38881 @: $(MAKE); $(unstage)
38882 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38883 r=`${PWD_COMMAND}`; export r; \
38884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38885 $(NORMAL_TARGET_EXPORTS) \
38886 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
38887 for flag in $(EXTRA_TARGET_FLAGS); do \
38888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38889 done; \
38890 (cd $(TARGET_SUBDIR)/libada && \
38891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38893 "RANLIB=$${RANLIB}" \
38894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38895 info) \
38896 || exit 1
38898 @endif target-libada
38900 .PHONY: maybe-dvi-target-libada dvi-target-libada
38901 maybe-dvi-target-libada:
38902 @if target-libada
38903 maybe-dvi-target-libada: dvi-target-libada
38905 dvi-target-libada: \
38906 configure-target-libada
38907 @: $(MAKE); $(unstage)
38908 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38909 r=`${PWD_COMMAND}`; export r; \
38910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38911 $(NORMAL_TARGET_EXPORTS) \
38912 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
38913 for flag in $(EXTRA_TARGET_FLAGS); do \
38914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38915 done; \
38916 (cd $(TARGET_SUBDIR)/libada && \
38917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38919 "RANLIB=$${RANLIB}" \
38920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38921 dvi) \
38922 || exit 1
38924 @endif target-libada
38926 .PHONY: maybe-pdf-target-libada pdf-target-libada
38927 maybe-pdf-target-libada:
38928 @if target-libada
38929 maybe-pdf-target-libada: pdf-target-libada
38931 pdf-target-libada: \
38932 configure-target-libada
38933 @: $(MAKE); $(unstage)
38934 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38935 r=`${PWD_COMMAND}`; export r; \
38936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38937 $(NORMAL_TARGET_EXPORTS) \
38938 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
38939 for flag in $(EXTRA_TARGET_FLAGS); do \
38940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38941 done; \
38942 (cd $(TARGET_SUBDIR)/libada && \
38943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38945 "RANLIB=$${RANLIB}" \
38946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38947 pdf) \
38948 || exit 1
38950 @endif target-libada
38952 .PHONY: maybe-html-target-libada html-target-libada
38953 maybe-html-target-libada:
38954 @if target-libada
38955 maybe-html-target-libada: html-target-libada
38957 html-target-libada: \
38958 configure-target-libada
38959 @: $(MAKE); $(unstage)
38960 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38961 r=`${PWD_COMMAND}`; export r; \
38962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38963 $(NORMAL_TARGET_EXPORTS) \
38964 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
38965 for flag in $(EXTRA_TARGET_FLAGS); do \
38966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38967 done; \
38968 (cd $(TARGET_SUBDIR)/libada && \
38969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38971 "RANLIB=$${RANLIB}" \
38972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38973 html) \
38974 || exit 1
38976 @endif target-libada
38978 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
38979 maybe-TAGS-target-libada:
38980 @if target-libada
38981 maybe-TAGS-target-libada: TAGS-target-libada
38983 TAGS-target-libada: \
38984 configure-target-libada
38985 @: $(MAKE); $(unstage)
38986 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
38987 r=`${PWD_COMMAND}`; export r; \
38988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38989 $(NORMAL_TARGET_EXPORTS) \
38990 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
38991 for flag in $(EXTRA_TARGET_FLAGS); do \
38992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38993 done; \
38994 (cd $(TARGET_SUBDIR)/libada && \
38995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38997 "RANLIB=$${RANLIB}" \
38998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38999 TAGS) \
39000 || exit 1
39002 @endif target-libada
39004 .PHONY: maybe-install-info-target-libada install-info-target-libada
39005 maybe-install-info-target-libada:
39006 @if target-libada
39007 maybe-install-info-target-libada: install-info-target-libada
39009 install-info-target-libada: \
39010 configure-target-libada \
39011 info-target-libada
39012 @: $(MAKE); $(unstage)
39013 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39014 r=`${PWD_COMMAND}`; export r; \
39015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39016 $(NORMAL_TARGET_EXPORTS) \
39017 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
39018 for flag in $(EXTRA_TARGET_FLAGS); do \
39019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39020 done; \
39021 (cd $(TARGET_SUBDIR)/libada && \
39022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39024 "RANLIB=$${RANLIB}" \
39025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39026 install-info) \
39027 || exit 1
39029 @endif target-libada
39031 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
39032 maybe-install-pdf-target-libada:
39033 @if target-libada
39034 maybe-install-pdf-target-libada: install-pdf-target-libada
39036 install-pdf-target-libada: \
39037 configure-target-libada \
39038 pdf-target-libada
39039 @: $(MAKE); $(unstage)
39040 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39041 r=`${PWD_COMMAND}`; export r; \
39042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39043 $(NORMAL_TARGET_EXPORTS) \
39044 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
39045 for flag in $(EXTRA_TARGET_FLAGS); do \
39046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39047 done; \
39048 (cd $(TARGET_SUBDIR)/libada && \
39049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39051 "RANLIB=$${RANLIB}" \
39052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39053 install-pdf) \
39054 || exit 1
39056 @endif target-libada
39058 .PHONY: maybe-install-html-target-libada install-html-target-libada
39059 maybe-install-html-target-libada:
39060 @if target-libada
39061 maybe-install-html-target-libada: install-html-target-libada
39063 install-html-target-libada: \
39064 configure-target-libada \
39065 html-target-libada
39066 @: $(MAKE); $(unstage)
39067 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39068 r=`${PWD_COMMAND}`; export r; \
39069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39070 $(NORMAL_TARGET_EXPORTS) \
39071 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
39072 for flag in $(EXTRA_TARGET_FLAGS); do \
39073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39074 done; \
39075 (cd $(TARGET_SUBDIR)/libada && \
39076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39078 "RANLIB=$${RANLIB}" \
39079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39080 install-html) \
39081 || exit 1
39083 @endif target-libada
39085 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
39086 maybe-installcheck-target-libada:
39087 @if target-libada
39088 maybe-installcheck-target-libada: installcheck-target-libada
39090 installcheck-target-libada: \
39091 configure-target-libada
39092 @: $(MAKE); $(unstage)
39093 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39094 r=`${PWD_COMMAND}`; export r; \
39095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39096 $(NORMAL_TARGET_EXPORTS) \
39097 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
39098 for flag in $(EXTRA_TARGET_FLAGS); do \
39099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39100 done; \
39101 (cd $(TARGET_SUBDIR)/libada && \
39102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39104 "RANLIB=$${RANLIB}" \
39105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39106 installcheck) \
39107 || exit 1
39109 @endif target-libada
39111 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
39112 maybe-mostlyclean-target-libada:
39113 @if target-libada
39114 maybe-mostlyclean-target-libada: mostlyclean-target-libada
39116 mostlyclean-target-libada:
39117 @: $(MAKE); $(unstage)
39118 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39119 r=`${PWD_COMMAND}`; export r; \
39120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39121 $(NORMAL_TARGET_EXPORTS) \
39122 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
39123 for flag in $(EXTRA_TARGET_FLAGS); do \
39124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39125 done; \
39126 (cd $(TARGET_SUBDIR)/libada && \
39127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39129 "RANLIB=$${RANLIB}" \
39130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39131 mostlyclean) \
39132 || exit 1
39134 @endif target-libada
39136 .PHONY: maybe-clean-target-libada clean-target-libada
39137 maybe-clean-target-libada:
39138 @if target-libada
39139 maybe-clean-target-libada: clean-target-libada
39141 clean-target-libada:
39142 @: $(MAKE); $(unstage)
39143 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39144 r=`${PWD_COMMAND}`; export r; \
39145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39146 $(NORMAL_TARGET_EXPORTS) \
39147 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
39148 for flag in $(EXTRA_TARGET_FLAGS); do \
39149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39150 done; \
39151 (cd $(TARGET_SUBDIR)/libada && \
39152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39154 "RANLIB=$${RANLIB}" \
39155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39156 clean) \
39157 || exit 1
39159 @endif target-libada
39161 .PHONY: maybe-distclean-target-libada distclean-target-libada
39162 maybe-distclean-target-libada:
39163 @if target-libada
39164 maybe-distclean-target-libada: distclean-target-libada
39166 distclean-target-libada:
39167 @: $(MAKE); $(unstage)
39168 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39169 r=`${PWD_COMMAND}`; export r; \
39170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39171 $(NORMAL_TARGET_EXPORTS) \
39172 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
39173 for flag in $(EXTRA_TARGET_FLAGS); do \
39174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39175 done; \
39176 (cd $(TARGET_SUBDIR)/libada && \
39177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39179 "RANLIB=$${RANLIB}" \
39180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39181 distclean) \
39182 || exit 1
39184 @endif target-libada
39186 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
39187 maybe-maintainer-clean-target-libada:
39188 @if target-libada
39189 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
39191 maintainer-clean-target-libada:
39192 @: $(MAKE); $(unstage)
39193 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
39194 r=`${PWD_COMMAND}`; export r; \
39195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39196 $(NORMAL_TARGET_EXPORTS) \
39197 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
39198 for flag in $(EXTRA_TARGET_FLAGS); do \
39199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39200 done; \
39201 (cd $(TARGET_SUBDIR)/libada && \
39202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39204 "RANLIB=$${RANLIB}" \
39205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39206 maintainer-clean) \
39207 || exit 1
39209 @endif target-libada
39215 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
39216 maybe-configure-target-libgomp:
39217 @if gcc-bootstrap
39218 configure-target-libgomp: stage_current
39219 @endif gcc-bootstrap
39220 @if target-libgomp
39221 maybe-configure-target-libgomp: configure-target-libgomp
39222 configure-target-libgomp:
39223 @r=`${PWD_COMMAND}`; export r; \
39224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39225 echo "Checking multilib configuration for libgomp..."; \
39226 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39227 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39228 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39229 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39230 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39231 else \
39232 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39233 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39234 fi; \
39235 else \
39236 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39237 fi; \
39238 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39240 $(NORMAL_TARGET_EXPORTS) \
39241 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
39242 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
39243 case $(srcdir) in \
39244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39245 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39247 esac; \
39248 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39249 libsrcdir="$$s/libgomp"; \
39250 rm -f no-such-file || : ; \
39251 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39252 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39253 --target=${target_alias} $${srcdiroption} \
39254 || exit 1
39255 @endif target-libgomp
39259 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
39260 maybe-configure-stage1-target-libgomp:
39261 @if target-libgomp-bootstrap
39262 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
39263 configure-stage1-target-libgomp:
39264 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39265 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39266 @r=`${PWD_COMMAND}`; export r; \
39267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39268 TFLAGS="$(STAGE1_TFLAGS)"; \
39269 echo "Checking multilib configuration for libgomp..."; \
39270 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39271 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39272 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39273 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39274 else \
39275 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39276 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39277 fi; \
39278 else \
39279 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39280 fi; \
39281 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39282 $(NORMAL_TARGET_EXPORTS) \
39283 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39284 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39285 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39286 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
39287 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39288 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39289 case $(srcdir) in \
39290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39291 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39293 esac; \
39294 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39295 libsrcdir="$$s/libgomp"; \
39296 $(SHELL) $${libsrcdir}/configure \
39297 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39298 --target=${target_alias} $${srcdiroption} \
39299 $(STAGE1_CONFIGURE_FLAGS)
39300 @endif target-libgomp-bootstrap
39302 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
39303 maybe-configure-stage2-target-libgomp:
39304 @if target-libgomp-bootstrap
39305 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
39306 configure-stage2-target-libgomp:
39307 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39308 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39309 @r=`${PWD_COMMAND}`; export r; \
39310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39311 TFLAGS="$(STAGE2_TFLAGS)"; \
39312 echo "Checking multilib configuration for libgomp..."; \
39313 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39314 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39315 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39316 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39317 else \
39318 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39319 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39320 fi; \
39321 else \
39322 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39323 fi; \
39324 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39325 $(NORMAL_TARGET_EXPORTS) \
39327 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39328 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39329 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39330 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
39331 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39332 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39333 case $(srcdir) in \
39334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39335 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39337 esac; \
39338 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39339 libsrcdir="$$s/libgomp"; \
39340 $(SHELL) $${libsrcdir}/configure \
39341 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39342 --target=${target_alias} $${srcdiroption} \
39343 --with-build-libsubdir=$(HOST_SUBDIR) \
39344 $(STAGE2_CONFIGURE_FLAGS)
39345 @endif target-libgomp-bootstrap
39347 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
39348 maybe-configure-stage3-target-libgomp:
39349 @if target-libgomp-bootstrap
39350 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
39351 configure-stage3-target-libgomp:
39352 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39353 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39354 @r=`${PWD_COMMAND}`; export r; \
39355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39356 TFLAGS="$(STAGE3_TFLAGS)"; \
39357 echo "Checking multilib configuration for libgomp..."; \
39358 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39359 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39360 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39361 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39362 else \
39363 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39364 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39365 fi; \
39366 else \
39367 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39368 fi; \
39369 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39370 $(NORMAL_TARGET_EXPORTS) \
39372 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39373 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39374 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39375 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
39376 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39377 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39378 case $(srcdir) in \
39379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39380 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39382 esac; \
39383 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39384 libsrcdir="$$s/libgomp"; \
39385 $(SHELL) $${libsrcdir}/configure \
39386 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39387 --target=${target_alias} $${srcdiroption} \
39388 --with-build-libsubdir=$(HOST_SUBDIR) \
39389 $(STAGE3_CONFIGURE_FLAGS)
39390 @endif target-libgomp-bootstrap
39392 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
39393 maybe-configure-stage4-target-libgomp:
39394 @if target-libgomp-bootstrap
39395 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
39396 configure-stage4-target-libgomp:
39397 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39398 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39399 @r=`${PWD_COMMAND}`; export r; \
39400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39401 TFLAGS="$(STAGE4_TFLAGS)"; \
39402 echo "Checking multilib configuration for libgomp..."; \
39403 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39404 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39405 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39406 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39407 else \
39408 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39409 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39410 fi; \
39411 else \
39412 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39413 fi; \
39414 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39415 $(NORMAL_TARGET_EXPORTS) \
39417 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39418 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39419 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39420 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
39421 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39422 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39423 case $(srcdir) in \
39424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39425 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39427 esac; \
39428 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39429 libsrcdir="$$s/libgomp"; \
39430 $(SHELL) $${libsrcdir}/configure \
39431 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39432 --target=${target_alias} $${srcdiroption} \
39433 --with-build-libsubdir=$(HOST_SUBDIR) \
39434 $(STAGE4_CONFIGURE_FLAGS)
39435 @endif target-libgomp-bootstrap
39437 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
39438 maybe-configure-stageprofile-target-libgomp:
39439 @if target-libgomp-bootstrap
39440 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39441 configure-stageprofile-target-libgomp:
39442 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39443 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39444 @r=`${PWD_COMMAND}`; export r; \
39445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39446 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39447 echo "Checking multilib configuration for libgomp..."; \
39448 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39449 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39450 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39451 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39452 else \
39453 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39454 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39455 fi; \
39456 else \
39457 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39458 fi; \
39459 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39460 $(NORMAL_TARGET_EXPORTS) \
39462 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39463 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39464 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39465 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
39466 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39467 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39468 case $(srcdir) in \
39469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39470 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39472 esac; \
39473 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39474 libsrcdir="$$s/libgomp"; \
39475 $(SHELL) $${libsrcdir}/configure \
39476 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39477 --target=${target_alias} $${srcdiroption} \
39478 --with-build-libsubdir=$(HOST_SUBDIR) \
39479 $(STAGEprofile_CONFIGURE_FLAGS)
39480 @endif target-libgomp-bootstrap
39482 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
39483 maybe-configure-stagefeedback-target-libgomp:
39484 @if target-libgomp-bootstrap
39485 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39486 configure-stagefeedback-target-libgomp:
39487 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39488 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
39489 @r=`${PWD_COMMAND}`; export r; \
39490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39491 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39492 echo "Checking multilib configuration for libgomp..."; \
39493 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
39494 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39495 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
39496 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
39497 else \
39498 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
39499 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39500 fi; \
39501 else \
39502 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
39503 fi; \
39504 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
39505 $(NORMAL_TARGET_EXPORTS) \
39507 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39508 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39509 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39510 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
39511 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
39512 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
39513 case $(srcdir) in \
39514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39515 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
39516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39517 esac; \
39518 srcdiroption="--srcdir=$${topdir}/libgomp"; \
39519 libsrcdir="$$s/libgomp"; \
39520 $(SHELL) $${libsrcdir}/configure \
39521 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39522 --target=${target_alias} $${srcdiroption} \
39523 --with-build-libsubdir=$(HOST_SUBDIR) \
39524 $(STAGEfeedback_CONFIGURE_FLAGS)
39525 @endif target-libgomp-bootstrap
39531 .PHONY: all-target-libgomp maybe-all-target-libgomp
39532 maybe-all-target-libgomp:
39533 @if gcc-bootstrap
39534 all-target-libgomp: stage_current
39535 @endif gcc-bootstrap
39536 @if target-libgomp
39537 TARGET-target-libgomp=all
39538 maybe-all-target-libgomp: all-target-libgomp
39539 all-target-libgomp: configure-target-libgomp
39540 @r=`${PWD_COMMAND}`; export r; \
39541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39542 $(NORMAL_TARGET_EXPORTS) \
39543 (cd $(TARGET_SUBDIR)/libgomp && \
39544 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39545 $(TARGET-target-libgomp))
39546 @endif target-libgomp
39550 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
39551 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
39552 maybe-all-stage1-target-libgomp:
39553 maybe-clean-stage1-target-libgomp:
39554 @if target-libgomp-bootstrap
39555 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
39556 all-stage1: all-stage1-target-libgomp
39557 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
39558 all-stage1-target-libgomp: configure-stage1-target-libgomp
39559 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39560 @r=`${PWD_COMMAND}`; export r; \
39561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39562 TFLAGS="$(STAGE1_TFLAGS)"; \
39563 $(NORMAL_TARGET_EXPORTS) \
39564 cd $(TARGET_SUBDIR)/libgomp && \
39565 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39566 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39567 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39568 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39569 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39570 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39571 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39572 $(EXTRA_TARGET_FLAGS) \
39573 TFLAGS="$(STAGE1_TFLAGS)" \
39574 $(TARGET-stage1-target-libgomp)
39576 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
39577 clean-stage1: clean-stage1-target-libgomp
39578 clean-stage1-target-libgomp:
39579 @if [ $(current_stage) = stage1 ]; then \
39580 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39581 else \
39582 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
39583 $(MAKE) stage1-start; \
39584 fi; \
39585 cd $(TARGET_SUBDIR)/libgomp && \
39586 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39587 clean
39588 @endif target-libgomp-bootstrap
39591 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
39592 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
39593 maybe-all-stage2-target-libgomp:
39594 maybe-clean-stage2-target-libgomp:
39595 @if target-libgomp-bootstrap
39596 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
39597 all-stage2: all-stage2-target-libgomp
39598 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
39599 all-stage2-target-libgomp: configure-stage2-target-libgomp
39600 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39601 @r=`${PWD_COMMAND}`; export r; \
39602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39603 TFLAGS="$(STAGE2_TFLAGS)"; \
39604 $(NORMAL_TARGET_EXPORTS) \
39606 cd $(TARGET_SUBDIR)/libgomp && \
39607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39608 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39609 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39610 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39614 $(EXTRA_TARGET_FLAGS) \
39615 TFLAGS="$(STAGE2_TFLAGS)" \
39616 $(TARGET-stage2-target-libgomp)
39618 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
39619 clean-stage2: clean-stage2-target-libgomp
39620 clean-stage2-target-libgomp:
39621 @if [ $(current_stage) = stage2 ]; then \
39622 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39623 else \
39624 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
39625 $(MAKE) stage2-start; \
39626 fi; \
39627 cd $(TARGET_SUBDIR)/libgomp && \
39628 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39630 clean
39631 @endif target-libgomp-bootstrap
39634 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
39635 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
39636 maybe-all-stage3-target-libgomp:
39637 maybe-clean-stage3-target-libgomp:
39638 @if target-libgomp-bootstrap
39639 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
39640 all-stage3: all-stage3-target-libgomp
39641 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
39642 all-stage3-target-libgomp: configure-stage3-target-libgomp
39643 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39644 @r=`${PWD_COMMAND}`; export r; \
39645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39646 TFLAGS="$(STAGE3_TFLAGS)"; \
39647 $(NORMAL_TARGET_EXPORTS) \
39649 cd $(TARGET_SUBDIR)/libgomp && \
39650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39651 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39652 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39653 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39657 $(EXTRA_TARGET_FLAGS) \
39658 TFLAGS="$(STAGE3_TFLAGS)" \
39659 $(TARGET-stage3-target-libgomp)
39661 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
39662 clean-stage3: clean-stage3-target-libgomp
39663 clean-stage3-target-libgomp:
39664 @if [ $(current_stage) = stage3 ]; then \
39665 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39666 else \
39667 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
39668 $(MAKE) stage3-start; \
39669 fi; \
39670 cd $(TARGET_SUBDIR)/libgomp && \
39671 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39673 clean
39674 @endif target-libgomp-bootstrap
39677 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
39678 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
39679 maybe-all-stage4-target-libgomp:
39680 maybe-clean-stage4-target-libgomp:
39681 @if target-libgomp-bootstrap
39682 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
39683 all-stage4: all-stage4-target-libgomp
39684 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
39685 all-stage4-target-libgomp: configure-stage4-target-libgomp
39686 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39687 @r=`${PWD_COMMAND}`; export r; \
39688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39689 TFLAGS="$(STAGE4_TFLAGS)"; \
39690 $(NORMAL_TARGET_EXPORTS) \
39692 cd $(TARGET_SUBDIR)/libgomp && \
39693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39694 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39695 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39696 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39700 $(EXTRA_TARGET_FLAGS) \
39701 TFLAGS="$(STAGE4_TFLAGS)" \
39702 $(TARGET-stage4-target-libgomp)
39704 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
39705 clean-stage4: clean-stage4-target-libgomp
39706 clean-stage4-target-libgomp:
39707 @if [ $(current_stage) = stage4 ]; then \
39708 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39709 else \
39710 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
39711 $(MAKE) stage4-start; \
39712 fi; \
39713 cd $(TARGET_SUBDIR)/libgomp && \
39714 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39716 clean
39717 @endif target-libgomp-bootstrap
39720 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
39721 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
39722 maybe-all-stageprofile-target-libgomp:
39723 maybe-clean-stageprofile-target-libgomp:
39724 @if target-libgomp-bootstrap
39725 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
39726 all-stageprofile: all-stageprofile-target-libgomp
39727 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
39728 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
39729 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39730 @r=`${PWD_COMMAND}`; export r; \
39731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39732 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39733 $(NORMAL_TARGET_EXPORTS) \
39735 cd $(TARGET_SUBDIR)/libgomp && \
39736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39737 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39738 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39739 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39743 $(EXTRA_TARGET_FLAGS) \
39744 TFLAGS="$(STAGEprofile_TFLAGS)" \
39745 $(TARGET-stageprofile-target-libgomp)
39747 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
39748 clean-stageprofile: clean-stageprofile-target-libgomp
39749 clean-stageprofile-target-libgomp:
39750 @if [ $(current_stage) = stageprofile ]; then \
39751 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39752 else \
39753 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
39754 $(MAKE) stageprofile-start; \
39755 fi; \
39756 cd $(TARGET_SUBDIR)/libgomp && \
39757 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39759 clean
39760 @endif target-libgomp-bootstrap
39763 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
39764 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
39765 maybe-all-stagefeedback-target-libgomp:
39766 maybe-clean-stagefeedback-target-libgomp:
39767 @if target-libgomp-bootstrap
39768 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
39769 all-stagefeedback: all-stagefeedback-target-libgomp
39770 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
39771 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
39772 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39773 @r=`${PWD_COMMAND}`; export r; \
39774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39775 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39776 $(NORMAL_TARGET_EXPORTS) \
39778 cd $(TARGET_SUBDIR)/libgomp && \
39779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39780 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39781 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39782 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39783 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39784 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39785 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39786 $(EXTRA_TARGET_FLAGS) \
39787 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39788 $(TARGET-stagefeedback-target-libgomp)
39790 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
39791 clean-stagefeedback: clean-stagefeedback-target-libgomp
39792 clean-stagefeedback-target-libgomp:
39793 @if [ $(current_stage) = stagefeedback ]; then \
39794 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
39795 else \
39796 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
39797 $(MAKE) stagefeedback-start; \
39798 fi; \
39799 cd $(TARGET_SUBDIR)/libgomp && \
39800 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39802 clean
39803 @endif target-libgomp-bootstrap
39810 .PHONY: check-target-libgomp maybe-check-target-libgomp
39811 maybe-check-target-libgomp:
39812 @if target-libgomp
39813 maybe-check-target-libgomp: check-target-libgomp
39815 check-target-libgomp:
39816 @: $(MAKE); $(unstage)
39817 @r=`${PWD_COMMAND}`; export r; \
39818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39819 $(NORMAL_TARGET_EXPORTS) \
39820 (cd $(TARGET_SUBDIR)/libgomp && \
39821 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39823 @endif target-libgomp
39825 .PHONY: install-target-libgomp maybe-install-target-libgomp
39826 maybe-install-target-libgomp:
39827 @if target-libgomp
39828 maybe-install-target-libgomp: install-target-libgomp
39830 install-target-libgomp: installdirs
39831 @: $(MAKE); $(unstage)
39832 @r=`${PWD_COMMAND}`; export r; \
39833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39834 $(NORMAL_TARGET_EXPORTS) \
39835 (cd $(TARGET_SUBDIR)/libgomp && \
39836 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39838 @endif target-libgomp
39840 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
39841 maybe-install-strip-target-libgomp:
39842 @if target-libgomp
39843 maybe-install-strip-target-libgomp: install-strip-target-libgomp
39845 install-strip-target-libgomp: installdirs
39846 @: $(MAKE); $(unstage)
39847 @r=`${PWD_COMMAND}`; export r; \
39848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39849 $(NORMAL_TARGET_EXPORTS) \
39850 (cd $(TARGET_SUBDIR)/libgomp && \
39851 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39853 @endif target-libgomp
39855 # Other targets (info, dvi, pdf, etc.)
39857 .PHONY: maybe-info-target-libgomp info-target-libgomp
39858 maybe-info-target-libgomp:
39859 @if target-libgomp
39860 maybe-info-target-libgomp: info-target-libgomp
39862 info-target-libgomp: \
39863 configure-target-libgomp
39864 @: $(MAKE); $(unstage)
39865 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39866 r=`${PWD_COMMAND}`; export r; \
39867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39868 $(NORMAL_TARGET_EXPORTS) \
39869 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
39870 for flag in $(EXTRA_TARGET_FLAGS); do \
39871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39872 done; \
39873 (cd $(TARGET_SUBDIR)/libgomp && \
39874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39876 "RANLIB=$${RANLIB}" \
39877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39878 info) \
39879 || exit 1
39881 @endif target-libgomp
39883 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
39884 maybe-dvi-target-libgomp:
39885 @if target-libgomp
39886 maybe-dvi-target-libgomp: dvi-target-libgomp
39888 dvi-target-libgomp: \
39889 configure-target-libgomp
39890 @: $(MAKE); $(unstage)
39891 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39892 r=`${PWD_COMMAND}`; export r; \
39893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39894 $(NORMAL_TARGET_EXPORTS) \
39895 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
39896 for flag in $(EXTRA_TARGET_FLAGS); do \
39897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39898 done; \
39899 (cd $(TARGET_SUBDIR)/libgomp && \
39900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39902 "RANLIB=$${RANLIB}" \
39903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39904 dvi) \
39905 || exit 1
39907 @endif target-libgomp
39909 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
39910 maybe-pdf-target-libgomp:
39911 @if target-libgomp
39912 maybe-pdf-target-libgomp: pdf-target-libgomp
39914 pdf-target-libgomp: \
39915 configure-target-libgomp
39916 @: $(MAKE); $(unstage)
39917 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39918 r=`${PWD_COMMAND}`; export r; \
39919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39920 $(NORMAL_TARGET_EXPORTS) \
39921 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
39922 for flag in $(EXTRA_TARGET_FLAGS); do \
39923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39924 done; \
39925 (cd $(TARGET_SUBDIR)/libgomp && \
39926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39928 "RANLIB=$${RANLIB}" \
39929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39930 pdf) \
39931 || exit 1
39933 @endif target-libgomp
39935 .PHONY: maybe-html-target-libgomp html-target-libgomp
39936 maybe-html-target-libgomp:
39937 @if target-libgomp
39938 maybe-html-target-libgomp: html-target-libgomp
39940 html-target-libgomp: \
39941 configure-target-libgomp
39942 @: $(MAKE); $(unstage)
39943 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39944 r=`${PWD_COMMAND}`; export r; \
39945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39946 $(NORMAL_TARGET_EXPORTS) \
39947 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
39948 for flag in $(EXTRA_TARGET_FLAGS); do \
39949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39950 done; \
39951 (cd $(TARGET_SUBDIR)/libgomp && \
39952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39954 "RANLIB=$${RANLIB}" \
39955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39956 html) \
39957 || exit 1
39959 @endif target-libgomp
39961 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
39962 maybe-TAGS-target-libgomp:
39963 @if target-libgomp
39964 maybe-TAGS-target-libgomp: TAGS-target-libgomp
39966 TAGS-target-libgomp: \
39967 configure-target-libgomp
39968 @: $(MAKE); $(unstage)
39969 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39970 r=`${PWD_COMMAND}`; export r; \
39971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39972 $(NORMAL_TARGET_EXPORTS) \
39973 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
39974 for flag in $(EXTRA_TARGET_FLAGS); do \
39975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39976 done; \
39977 (cd $(TARGET_SUBDIR)/libgomp && \
39978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39980 "RANLIB=$${RANLIB}" \
39981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39982 TAGS) \
39983 || exit 1
39985 @endif target-libgomp
39987 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
39988 maybe-install-info-target-libgomp:
39989 @if target-libgomp
39990 maybe-install-info-target-libgomp: install-info-target-libgomp
39992 install-info-target-libgomp: \
39993 configure-target-libgomp \
39994 info-target-libgomp
39995 @: $(MAKE); $(unstage)
39996 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
39997 r=`${PWD_COMMAND}`; export r; \
39998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39999 $(NORMAL_TARGET_EXPORTS) \
40000 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
40001 for flag in $(EXTRA_TARGET_FLAGS); do \
40002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40003 done; \
40004 (cd $(TARGET_SUBDIR)/libgomp && \
40005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40007 "RANLIB=$${RANLIB}" \
40008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40009 install-info) \
40010 || exit 1
40012 @endif target-libgomp
40014 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
40015 maybe-install-pdf-target-libgomp:
40016 @if target-libgomp
40017 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
40019 install-pdf-target-libgomp: \
40020 configure-target-libgomp \
40021 pdf-target-libgomp
40022 @: $(MAKE); $(unstage)
40023 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40024 r=`${PWD_COMMAND}`; export r; \
40025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40026 $(NORMAL_TARGET_EXPORTS) \
40027 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
40028 for flag in $(EXTRA_TARGET_FLAGS); do \
40029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40030 done; \
40031 (cd $(TARGET_SUBDIR)/libgomp && \
40032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40034 "RANLIB=$${RANLIB}" \
40035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40036 install-pdf) \
40037 || exit 1
40039 @endif target-libgomp
40041 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
40042 maybe-install-html-target-libgomp:
40043 @if target-libgomp
40044 maybe-install-html-target-libgomp: install-html-target-libgomp
40046 install-html-target-libgomp: \
40047 configure-target-libgomp \
40048 html-target-libgomp
40049 @: $(MAKE); $(unstage)
40050 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40051 r=`${PWD_COMMAND}`; export r; \
40052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40053 $(NORMAL_TARGET_EXPORTS) \
40054 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
40055 for flag in $(EXTRA_TARGET_FLAGS); do \
40056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40057 done; \
40058 (cd $(TARGET_SUBDIR)/libgomp && \
40059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40061 "RANLIB=$${RANLIB}" \
40062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40063 install-html) \
40064 || exit 1
40066 @endif target-libgomp
40068 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
40069 maybe-installcheck-target-libgomp:
40070 @if target-libgomp
40071 maybe-installcheck-target-libgomp: installcheck-target-libgomp
40073 installcheck-target-libgomp: \
40074 configure-target-libgomp
40075 @: $(MAKE); $(unstage)
40076 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40077 r=`${PWD_COMMAND}`; export r; \
40078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40079 $(NORMAL_TARGET_EXPORTS) \
40080 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
40081 for flag in $(EXTRA_TARGET_FLAGS); do \
40082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40083 done; \
40084 (cd $(TARGET_SUBDIR)/libgomp && \
40085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40087 "RANLIB=$${RANLIB}" \
40088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40089 installcheck) \
40090 || exit 1
40092 @endif target-libgomp
40094 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
40095 maybe-mostlyclean-target-libgomp:
40096 @if target-libgomp
40097 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
40099 mostlyclean-target-libgomp:
40100 @: $(MAKE); $(unstage)
40101 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40102 r=`${PWD_COMMAND}`; export r; \
40103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40104 $(NORMAL_TARGET_EXPORTS) \
40105 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
40106 for flag in $(EXTRA_TARGET_FLAGS); do \
40107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40108 done; \
40109 (cd $(TARGET_SUBDIR)/libgomp && \
40110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40112 "RANLIB=$${RANLIB}" \
40113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40114 mostlyclean) \
40115 || exit 1
40117 @endif target-libgomp
40119 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
40120 maybe-clean-target-libgomp:
40121 @if target-libgomp
40122 maybe-clean-target-libgomp: clean-target-libgomp
40124 clean-target-libgomp:
40125 @: $(MAKE); $(unstage)
40126 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40127 r=`${PWD_COMMAND}`; export r; \
40128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40129 $(NORMAL_TARGET_EXPORTS) \
40130 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
40131 for flag in $(EXTRA_TARGET_FLAGS); do \
40132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40133 done; \
40134 (cd $(TARGET_SUBDIR)/libgomp && \
40135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40137 "RANLIB=$${RANLIB}" \
40138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40139 clean) \
40140 || exit 1
40142 @endif target-libgomp
40144 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
40145 maybe-distclean-target-libgomp:
40146 @if target-libgomp
40147 maybe-distclean-target-libgomp: distclean-target-libgomp
40149 distclean-target-libgomp:
40150 @: $(MAKE); $(unstage)
40151 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40152 r=`${PWD_COMMAND}`; export r; \
40153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40154 $(NORMAL_TARGET_EXPORTS) \
40155 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
40156 for flag in $(EXTRA_TARGET_FLAGS); do \
40157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40158 done; \
40159 (cd $(TARGET_SUBDIR)/libgomp && \
40160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40162 "RANLIB=$${RANLIB}" \
40163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40164 distclean) \
40165 || exit 1
40167 @endif target-libgomp
40169 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
40170 maybe-maintainer-clean-target-libgomp:
40171 @if target-libgomp
40172 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
40174 maintainer-clean-target-libgomp:
40175 @: $(MAKE); $(unstage)
40176 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
40177 r=`${PWD_COMMAND}`; export r; \
40178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40179 $(NORMAL_TARGET_EXPORTS) \
40180 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
40181 for flag in $(EXTRA_TARGET_FLAGS); do \
40182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40183 done; \
40184 (cd $(TARGET_SUBDIR)/libgomp && \
40185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40187 "RANLIB=$${RANLIB}" \
40188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40189 maintainer-clean) \
40190 || exit 1
40192 @endif target-libgomp
40198 .PHONY: configure-target-libitm maybe-configure-target-libitm
40199 maybe-configure-target-libitm:
40200 @if gcc-bootstrap
40201 configure-target-libitm: stage_current
40202 @endif gcc-bootstrap
40203 @if target-libitm
40204 maybe-configure-target-libitm: configure-target-libitm
40205 configure-target-libitm:
40206 @: $(MAKE); $(unstage)
40207 @r=`${PWD_COMMAND}`; export r; \
40208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40209 echo "Checking multilib configuration for libitm..."; \
40210 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40211 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
40212 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
40213 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
40214 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
40215 else \
40216 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
40217 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40218 fi; \
40219 else \
40220 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
40221 fi; \
40222 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
40223 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
40224 $(NORMAL_TARGET_EXPORTS) \
40225 echo Configuring in $(TARGET_SUBDIR)/libitm; \
40226 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
40227 case $(srcdir) in \
40228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40229 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
40230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40231 esac; \
40232 srcdiroption="--srcdir=$${topdir}/libitm"; \
40233 libsrcdir="$$s/libitm"; \
40234 rm -f no-such-file || : ; \
40235 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40236 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40237 --target=${target_alias} $${srcdiroption} \
40238 || exit 1
40239 @endif target-libitm
40245 .PHONY: all-target-libitm maybe-all-target-libitm
40246 maybe-all-target-libitm:
40247 @if gcc-bootstrap
40248 all-target-libitm: stage_current
40249 @endif gcc-bootstrap
40250 @if target-libitm
40251 TARGET-target-libitm=all
40252 maybe-all-target-libitm: all-target-libitm
40253 all-target-libitm: configure-target-libitm
40254 @: $(MAKE); $(unstage)
40255 @r=`${PWD_COMMAND}`; export r; \
40256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40257 $(NORMAL_TARGET_EXPORTS) \
40258 (cd $(TARGET_SUBDIR)/libitm && \
40259 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40260 $(TARGET-target-libitm))
40261 @endif target-libitm
40267 .PHONY: check-target-libitm maybe-check-target-libitm
40268 maybe-check-target-libitm:
40269 @if target-libitm
40270 maybe-check-target-libitm: check-target-libitm
40272 check-target-libitm:
40273 @: $(MAKE); $(unstage)
40274 @r=`${PWD_COMMAND}`; export r; \
40275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40276 $(NORMAL_TARGET_EXPORTS) \
40277 (cd $(TARGET_SUBDIR)/libitm && \
40278 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40280 @endif target-libitm
40282 .PHONY: install-target-libitm maybe-install-target-libitm
40283 maybe-install-target-libitm:
40284 @if target-libitm
40285 maybe-install-target-libitm: install-target-libitm
40287 install-target-libitm: installdirs
40288 @: $(MAKE); $(unstage)
40289 @r=`${PWD_COMMAND}`; export r; \
40290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40291 $(NORMAL_TARGET_EXPORTS) \
40292 (cd $(TARGET_SUBDIR)/libitm && \
40293 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40295 @endif target-libitm
40297 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
40298 maybe-install-strip-target-libitm:
40299 @if target-libitm
40300 maybe-install-strip-target-libitm: install-strip-target-libitm
40302 install-strip-target-libitm: installdirs
40303 @: $(MAKE); $(unstage)
40304 @r=`${PWD_COMMAND}`; export r; \
40305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40306 $(NORMAL_TARGET_EXPORTS) \
40307 (cd $(TARGET_SUBDIR)/libitm && \
40308 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40310 @endif target-libitm
40312 # Other targets (info, dvi, pdf, etc.)
40314 .PHONY: maybe-info-target-libitm info-target-libitm
40315 maybe-info-target-libitm:
40316 @if target-libitm
40317 maybe-info-target-libitm: info-target-libitm
40319 info-target-libitm: \
40320 configure-target-libitm
40321 @: $(MAKE); $(unstage)
40322 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40323 r=`${PWD_COMMAND}`; export r; \
40324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40325 $(NORMAL_TARGET_EXPORTS) \
40326 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
40327 for flag in $(EXTRA_TARGET_FLAGS); do \
40328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40329 done; \
40330 (cd $(TARGET_SUBDIR)/libitm && \
40331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40333 "RANLIB=$${RANLIB}" \
40334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40335 info) \
40336 || exit 1
40338 @endif target-libitm
40340 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
40341 maybe-dvi-target-libitm:
40342 @if target-libitm
40343 maybe-dvi-target-libitm: dvi-target-libitm
40345 dvi-target-libitm: \
40346 configure-target-libitm
40347 @: $(MAKE); $(unstage)
40348 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40349 r=`${PWD_COMMAND}`; export r; \
40350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40351 $(NORMAL_TARGET_EXPORTS) \
40352 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
40353 for flag in $(EXTRA_TARGET_FLAGS); do \
40354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40355 done; \
40356 (cd $(TARGET_SUBDIR)/libitm && \
40357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40359 "RANLIB=$${RANLIB}" \
40360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40361 dvi) \
40362 || exit 1
40364 @endif target-libitm
40366 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
40367 maybe-pdf-target-libitm:
40368 @if target-libitm
40369 maybe-pdf-target-libitm: pdf-target-libitm
40371 pdf-target-libitm: \
40372 configure-target-libitm
40373 @: $(MAKE); $(unstage)
40374 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40375 r=`${PWD_COMMAND}`; export r; \
40376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40377 $(NORMAL_TARGET_EXPORTS) \
40378 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
40379 for flag in $(EXTRA_TARGET_FLAGS); do \
40380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40381 done; \
40382 (cd $(TARGET_SUBDIR)/libitm && \
40383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40385 "RANLIB=$${RANLIB}" \
40386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40387 pdf) \
40388 || exit 1
40390 @endif target-libitm
40392 .PHONY: maybe-html-target-libitm html-target-libitm
40393 maybe-html-target-libitm:
40394 @if target-libitm
40395 maybe-html-target-libitm: html-target-libitm
40397 html-target-libitm: \
40398 configure-target-libitm
40399 @: $(MAKE); $(unstage)
40400 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40401 r=`${PWD_COMMAND}`; export r; \
40402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40403 $(NORMAL_TARGET_EXPORTS) \
40404 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
40405 for flag in $(EXTRA_TARGET_FLAGS); do \
40406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40407 done; \
40408 (cd $(TARGET_SUBDIR)/libitm && \
40409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40411 "RANLIB=$${RANLIB}" \
40412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40413 html) \
40414 || exit 1
40416 @endif target-libitm
40418 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
40419 maybe-TAGS-target-libitm:
40420 @if target-libitm
40421 maybe-TAGS-target-libitm: TAGS-target-libitm
40423 TAGS-target-libitm: \
40424 configure-target-libitm
40425 @: $(MAKE); $(unstage)
40426 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40427 r=`${PWD_COMMAND}`; export r; \
40428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40429 $(NORMAL_TARGET_EXPORTS) \
40430 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
40431 for flag in $(EXTRA_TARGET_FLAGS); do \
40432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40433 done; \
40434 (cd $(TARGET_SUBDIR)/libitm && \
40435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40437 "RANLIB=$${RANLIB}" \
40438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40439 TAGS) \
40440 || exit 1
40442 @endif target-libitm
40444 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
40445 maybe-install-info-target-libitm:
40446 @if target-libitm
40447 maybe-install-info-target-libitm: install-info-target-libitm
40449 install-info-target-libitm: \
40450 configure-target-libitm \
40451 info-target-libitm
40452 @: $(MAKE); $(unstage)
40453 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40454 r=`${PWD_COMMAND}`; export r; \
40455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40456 $(NORMAL_TARGET_EXPORTS) \
40457 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
40458 for flag in $(EXTRA_TARGET_FLAGS); do \
40459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40460 done; \
40461 (cd $(TARGET_SUBDIR)/libitm && \
40462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40464 "RANLIB=$${RANLIB}" \
40465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40466 install-info) \
40467 || exit 1
40469 @endif target-libitm
40471 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
40472 maybe-install-pdf-target-libitm:
40473 @if target-libitm
40474 maybe-install-pdf-target-libitm: install-pdf-target-libitm
40476 install-pdf-target-libitm: \
40477 configure-target-libitm \
40478 pdf-target-libitm
40479 @: $(MAKE); $(unstage)
40480 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40481 r=`${PWD_COMMAND}`; export r; \
40482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40483 $(NORMAL_TARGET_EXPORTS) \
40484 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
40485 for flag in $(EXTRA_TARGET_FLAGS); do \
40486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40487 done; \
40488 (cd $(TARGET_SUBDIR)/libitm && \
40489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40491 "RANLIB=$${RANLIB}" \
40492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40493 install-pdf) \
40494 || exit 1
40496 @endif target-libitm
40498 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
40499 maybe-install-html-target-libitm:
40500 @if target-libitm
40501 maybe-install-html-target-libitm: install-html-target-libitm
40503 install-html-target-libitm: \
40504 configure-target-libitm \
40505 html-target-libitm
40506 @: $(MAKE); $(unstage)
40507 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40508 r=`${PWD_COMMAND}`; export r; \
40509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40510 $(NORMAL_TARGET_EXPORTS) \
40511 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
40512 for flag in $(EXTRA_TARGET_FLAGS); do \
40513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40514 done; \
40515 (cd $(TARGET_SUBDIR)/libitm && \
40516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40518 "RANLIB=$${RANLIB}" \
40519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40520 install-html) \
40521 || exit 1
40523 @endif target-libitm
40525 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
40526 maybe-installcheck-target-libitm:
40527 @if target-libitm
40528 maybe-installcheck-target-libitm: installcheck-target-libitm
40530 installcheck-target-libitm: \
40531 configure-target-libitm
40532 @: $(MAKE); $(unstage)
40533 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40534 r=`${PWD_COMMAND}`; export r; \
40535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40536 $(NORMAL_TARGET_EXPORTS) \
40537 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
40538 for flag in $(EXTRA_TARGET_FLAGS); do \
40539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40540 done; \
40541 (cd $(TARGET_SUBDIR)/libitm && \
40542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40544 "RANLIB=$${RANLIB}" \
40545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40546 installcheck) \
40547 || exit 1
40549 @endif target-libitm
40551 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
40552 maybe-mostlyclean-target-libitm:
40553 @if target-libitm
40554 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
40556 mostlyclean-target-libitm:
40557 @: $(MAKE); $(unstage)
40558 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40559 r=`${PWD_COMMAND}`; export r; \
40560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40561 $(NORMAL_TARGET_EXPORTS) \
40562 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
40563 for flag in $(EXTRA_TARGET_FLAGS); do \
40564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40565 done; \
40566 (cd $(TARGET_SUBDIR)/libitm && \
40567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40569 "RANLIB=$${RANLIB}" \
40570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40571 mostlyclean) \
40572 || exit 1
40574 @endif target-libitm
40576 .PHONY: maybe-clean-target-libitm clean-target-libitm
40577 maybe-clean-target-libitm:
40578 @if target-libitm
40579 maybe-clean-target-libitm: clean-target-libitm
40581 clean-target-libitm:
40582 @: $(MAKE); $(unstage)
40583 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40584 r=`${PWD_COMMAND}`; export r; \
40585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40586 $(NORMAL_TARGET_EXPORTS) \
40587 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
40588 for flag in $(EXTRA_TARGET_FLAGS); do \
40589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40590 done; \
40591 (cd $(TARGET_SUBDIR)/libitm && \
40592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40594 "RANLIB=$${RANLIB}" \
40595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40596 clean) \
40597 || exit 1
40599 @endif target-libitm
40601 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
40602 maybe-distclean-target-libitm:
40603 @if target-libitm
40604 maybe-distclean-target-libitm: distclean-target-libitm
40606 distclean-target-libitm:
40607 @: $(MAKE); $(unstage)
40608 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40609 r=`${PWD_COMMAND}`; export r; \
40610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40611 $(NORMAL_TARGET_EXPORTS) \
40612 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
40613 for flag in $(EXTRA_TARGET_FLAGS); do \
40614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40615 done; \
40616 (cd $(TARGET_SUBDIR)/libitm && \
40617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40619 "RANLIB=$${RANLIB}" \
40620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40621 distclean) \
40622 || exit 1
40624 @endif target-libitm
40626 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
40627 maybe-maintainer-clean-target-libitm:
40628 @if target-libitm
40629 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
40631 maintainer-clean-target-libitm:
40632 @: $(MAKE); $(unstage)
40633 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
40634 r=`${PWD_COMMAND}`; export r; \
40635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40636 $(NORMAL_TARGET_EXPORTS) \
40637 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
40638 for flag in $(EXTRA_TARGET_FLAGS); do \
40639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40640 done; \
40641 (cd $(TARGET_SUBDIR)/libitm && \
40642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40644 "RANLIB=$${RANLIB}" \
40645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40646 maintainer-clean) \
40647 || exit 1
40649 @endif target-libitm
40655 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
40656 maybe-configure-target-libatomic:
40657 @if gcc-bootstrap
40658 configure-target-libatomic: stage_current
40659 @endif gcc-bootstrap
40660 @if target-libatomic
40661 maybe-configure-target-libatomic: configure-target-libatomic
40662 configure-target-libatomic:
40663 @: $(MAKE); $(unstage)
40664 @r=`${PWD_COMMAND}`; export r; \
40665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40666 echo "Checking multilib configuration for libatomic..."; \
40667 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
40668 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
40669 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
40670 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
40671 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
40672 else \
40673 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
40674 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
40675 fi; \
40676 else \
40677 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
40678 fi; \
40679 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
40680 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
40681 $(NORMAL_TARGET_EXPORTS) \
40682 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
40683 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
40684 case $(srcdir) in \
40685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40686 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
40687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40688 esac; \
40689 srcdiroption="--srcdir=$${topdir}/libatomic"; \
40690 libsrcdir="$$s/libatomic"; \
40691 rm -f no-such-file || : ; \
40692 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40693 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40694 --target=${target_alias} $${srcdiroption} \
40695 || exit 1
40696 @endif target-libatomic
40702 .PHONY: all-target-libatomic maybe-all-target-libatomic
40703 maybe-all-target-libatomic:
40704 @if gcc-bootstrap
40705 all-target-libatomic: stage_current
40706 @endif gcc-bootstrap
40707 @if target-libatomic
40708 TARGET-target-libatomic=all
40709 maybe-all-target-libatomic: all-target-libatomic
40710 all-target-libatomic: configure-target-libatomic
40711 @: $(MAKE); $(unstage)
40712 @r=`${PWD_COMMAND}`; export r; \
40713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40714 $(NORMAL_TARGET_EXPORTS) \
40715 (cd $(TARGET_SUBDIR)/libatomic && \
40716 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40717 $(TARGET-target-libatomic))
40718 @endif target-libatomic
40724 .PHONY: check-target-libatomic maybe-check-target-libatomic
40725 maybe-check-target-libatomic:
40726 @if target-libatomic
40727 maybe-check-target-libatomic: check-target-libatomic
40729 check-target-libatomic:
40730 @: $(MAKE); $(unstage)
40731 @r=`${PWD_COMMAND}`; export r; \
40732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40733 $(NORMAL_TARGET_EXPORTS) \
40734 (cd $(TARGET_SUBDIR)/libatomic && \
40735 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40737 @endif target-libatomic
40739 .PHONY: install-target-libatomic maybe-install-target-libatomic
40740 maybe-install-target-libatomic:
40741 @if target-libatomic
40742 maybe-install-target-libatomic: install-target-libatomic
40744 install-target-libatomic: installdirs
40745 @: $(MAKE); $(unstage)
40746 @r=`${PWD_COMMAND}`; export r; \
40747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40748 $(NORMAL_TARGET_EXPORTS) \
40749 (cd $(TARGET_SUBDIR)/libatomic && \
40750 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40752 @endif target-libatomic
40754 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
40755 maybe-install-strip-target-libatomic:
40756 @if target-libatomic
40757 maybe-install-strip-target-libatomic: install-strip-target-libatomic
40759 install-strip-target-libatomic: installdirs
40760 @: $(MAKE); $(unstage)
40761 @r=`${PWD_COMMAND}`; export r; \
40762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40763 $(NORMAL_TARGET_EXPORTS) \
40764 (cd $(TARGET_SUBDIR)/libatomic && \
40765 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40767 @endif target-libatomic
40769 # Other targets (info, dvi, pdf, etc.)
40771 .PHONY: maybe-info-target-libatomic info-target-libatomic
40772 maybe-info-target-libatomic:
40773 @if target-libatomic
40774 maybe-info-target-libatomic: info-target-libatomic
40776 info-target-libatomic: \
40777 configure-target-libatomic
40778 @: $(MAKE); $(unstage)
40779 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40780 r=`${PWD_COMMAND}`; export r; \
40781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40782 $(NORMAL_TARGET_EXPORTS) \
40783 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
40784 for flag in $(EXTRA_TARGET_FLAGS); do \
40785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40786 done; \
40787 (cd $(TARGET_SUBDIR)/libatomic && \
40788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40790 "RANLIB=$${RANLIB}" \
40791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40792 info) \
40793 || exit 1
40795 @endif target-libatomic
40797 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
40798 maybe-dvi-target-libatomic:
40799 @if target-libatomic
40800 maybe-dvi-target-libatomic: dvi-target-libatomic
40802 dvi-target-libatomic: \
40803 configure-target-libatomic
40804 @: $(MAKE); $(unstage)
40805 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40806 r=`${PWD_COMMAND}`; export r; \
40807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40808 $(NORMAL_TARGET_EXPORTS) \
40809 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
40810 for flag in $(EXTRA_TARGET_FLAGS); do \
40811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40812 done; \
40813 (cd $(TARGET_SUBDIR)/libatomic && \
40814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40816 "RANLIB=$${RANLIB}" \
40817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40818 dvi) \
40819 || exit 1
40821 @endif target-libatomic
40823 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
40824 maybe-pdf-target-libatomic:
40825 @if target-libatomic
40826 maybe-pdf-target-libatomic: pdf-target-libatomic
40828 pdf-target-libatomic: \
40829 configure-target-libatomic
40830 @: $(MAKE); $(unstage)
40831 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40832 r=`${PWD_COMMAND}`; export r; \
40833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40834 $(NORMAL_TARGET_EXPORTS) \
40835 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
40836 for flag in $(EXTRA_TARGET_FLAGS); do \
40837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40838 done; \
40839 (cd $(TARGET_SUBDIR)/libatomic && \
40840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40842 "RANLIB=$${RANLIB}" \
40843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40844 pdf) \
40845 || exit 1
40847 @endif target-libatomic
40849 .PHONY: maybe-html-target-libatomic html-target-libatomic
40850 maybe-html-target-libatomic:
40851 @if target-libatomic
40852 maybe-html-target-libatomic: html-target-libatomic
40854 html-target-libatomic: \
40855 configure-target-libatomic
40856 @: $(MAKE); $(unstage)
40857 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40858 r=`${PWD_COMMAND}`; export r; \
40859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40860 $(NORMAL_TARGET_EXPORTS) \
40861 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
40862 for flag in $(EXTRA_TARGET_FLAGS); do \
40863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40864 done; \
40865 (cd $(TARGET_SUBDIR)/libatomic && \
40866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40868 "RANLIB=$${RANLIB}" \
40869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40870 html) \
40871 || exit 1
40873 @endif target-libatomic
40875 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
40876 maybe-TAGS-target-libatomic:
40877 @if target-libatomic
40878 maybe-TAGS-target-libatomic: TAGS-target-libatomic
40880 TAGS-target-libatomic: \
40881 configure-target-libatomic
40882 @: $(MAKE); $(unstage)
40883 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40884 r=`${PWD_COMMAND}`; export r; \
40885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40886 $(NORMAL_TARGET_EXPORTS) \
40887 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
40888 for flag in $(EXTRA_TARGET_FLAGS); do \
40889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40890 done; \
40891 (cd $(TARGET_SUBDIR)/libatomic && \
40892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40894 "RANLIB=$${RANLIB}" \
40895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40896 TAGS) \
40897 || exit 1
40899 @endif target-libatomic
40901 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
40902 maybe-install-info-target-libatomic:
40903 @if target-libatomic
40904 maybe-install-info-target-libatomic: install-info-target-libatomic
40906 install-info-target-libatomic: \
40907 configure-target-libatomic \
40908 info-target-libatomic
40909 @: $(MAKE); $(unstage)
40910 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40911 r=`${PWD_COMMAND}`; export r; \
40912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40913 $(NORMAL_TARGET_EXPORTS) \
40914 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
40915 for flag in $(EXTRA_TARGET_FLAGS); do \
40916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40917 done; \
40918 (cd $(TARGET_SUBDIR)/libatomic && \
40919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40921 "RANLIB=$${RANLIB}" \
40922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40923 install-info) \
40924 || exit 1
40926 @endif target-libatomic
40928 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
40929 maybe-install-pdf-target-libatomic:
40930 @if target-libatomic
40931 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
40933 install-pdf-target-libatomic: \
40934 configure-target-libatomic \
40935 pdf-target-libatomic
40936 @: $(MAKE); $(unstage)
40937 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40938 r=`${PWD_COMMAND}`; export r; \
40939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40940 $(NORMAL_TARGET_EXPORTS) \
40941 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
40942 for flag in $(EXTRA_TARGET_FLAGS); do \
40943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40944 done; \
40945 (cd $(TARGET_SUBDIR)/libatomic && \
40946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40948 "RANLIB=$${RANLIB}" \
40949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40950 install-pdf) \
40951 || exit 1
40953 @endif target-libatomic
40955 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
40956 maybe-install-html-target-libatomic:
40957 @if target-libatomic
40958 maybe-install-html-target-libatomic: install-html-target-libatomic
40960 install-html-target-libatomic: \
40961 configure-target-libatomic \
40962 html-target-libatomic
40963 @: $(MAKE); $(unstage)
40964 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40965 r=`${PWD_COMMAND}`; export r; \
40966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40967 $(NORMAL_TARGET_EXPORTS) \
40968 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
40969 for flag in $(EXTRA_TARGET_FLAGS); do \
40970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40971 done; \
40972 (cd $(TARGET_SUBDIR)/libatomic && \
40973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40975 "RANLIB=$${RANLIB}" \
40976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40977 install-html) \
40978 || exit 1
40980 @endif target-libatomic
40982 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
40983 maybe-installcheck-target-libatomic:
40984 @if target-libatomic
40985 maybe-installcheck-target-libatomic: installcheck-target-libatomic
40987 installcheck-target-libatomic: \
40988 configure-target-libatomic
40989 @: $(MAKE); $(unstage)
40990 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
40991 r=`${PWD_COMMAND}`; export r; \
40992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40993 $(NORMAL_TARGET_EXPORTS) \
40994 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
40995 for flag in $(EXTRA_TARGET_FLAGS); do \
40996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40997 done; \
40998 (cd $(TARGET_SUBDIR)/libatomic && \
40999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41001 "RANLIB=$${RANLIB}" \
41002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41003 installcheck) \
41004 || exit 1
41006 @endif target-libatomic
41008 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
41009 maybe-mostlyclean-target-libatomic:
41010 @if target-libatomic
41011 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
41013 mostlyclean-target-libatomic:
41014 @: $(MAKE); $(unstage)
41015 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41016 r=`${PWD_COMMAND}`; export r; \
41017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41018 $(NORMAL_TARGET_EXPORTS) \
41019 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
41020 for flag in $(EXTRA_TARGET_FLAGS); do \
41021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41022 done; \
41023 (cd $(TARGET_SUBDIR)/libatomic && \
41024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41026 "RANLIB=$${RANLIB}" \
41027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41028 mostlyclean) \
41029 || exit 1
41031 @endif target-libatomic
41033 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
41034 maybe-clean-target-libatomic:
41035 @if target-libatomic
41036 maybe-clean-target-libatomic: clean-target-libatomic
41038 clean-target-libatomic:
41039 @: $(MAKE); $(unstage)
41040 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41041 r=`${PWD_COMMAND}`; export r; \
41042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41043 $(NORMAL_TARGET_EXPORTS) \
41044 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
41045 for flag in $(EXTRA_TARGET_FLAGS); do \
41046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41047 done; \
41048 (cd $(TARGET_SUBDIR)/libatomic && \
41049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41051 "RANLIB=$${RANLIB}" \
41052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41053 clean) \
41054 || exit 1
41056 @endif target-libatomic
41058 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
41059 maybe-distclean-target-libatomic:
41060 @if target-libatomic
41061 maybe-distclean-target-libatomic: distclean-target-libatomic
41063 distclean-target-libatomic:
41064 @: $(MAKE); $(unstage)
41065 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41066 r=`${PWD_COMMAND}`; export r; \
41067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41068 $(NORMAL_TARGET_EXPORTS) \
41069 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
41070 for flag in $(EXTRA_TARGET_FLAGS); do \
41071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41072 done; \
41073 (cd $(TARGET_SUBDIR)/libatomic && \
41074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41076 "RANLIB=$${RANLIB}" \
41077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41078 distclean) \
41079 || exit 1
41081 @endif target-libatomic
41083 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
41084 maybe-maintainer-clean-target-libatomic:
41085 @if target-libatomic
41086 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
41088 maintainer-clean-target-libatomic:
41089 @: $(MAKE); $(unstage)
41090 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41091 r=`${PWD_COMMAND}`; export r; \
41092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41093 $(NORMAL_TARGET_EXPORTS) \
41094 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
41095 for flag in $(EXTRA_TARGET_FLAGS); do \
41096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41097 done; \
41098 (cd $(TARGET_SUBDIR)/libatomic && \
41099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41101 "RANLIB=$${RANLIB}" \
41102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41103 maintainer-clean) \
41104 || exit 1
41106 @endif target-libatomic
41110 @if target-libmudflap
41111 .PHONY: check-target-libmudflap-c++
41112 check-target-libmudflap-c++:
41113 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
41115 @endif target-libmudflap
41117 @if target-libgomp
41118 .PHONY: check-target-libgomp-c++
41119 check-target-libgomp-c++:
41120 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
41122 @endif target-libgomp
41124 @if target-libitm
41125 .PHONY: check-target-libitm-c++
41126 check-target-libitm-c++:
41127 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
41129 @endif target-libitm
41131 # ----------
41132 # GCC module
41133 # ----------
41135 @if gcc-no-bootstrap
41136 .PHONY: cross
41137 cross: all-build all-gas all-ld
41138 @r=`${PWD_COMMAND}`; export r; \
41139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41140 $(HOST_EXPORTS) \
41141 echo "Building the C and C++ compiler"; \
41142 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
41143 @r=`${PWD_COMMAND}`; export r; \
41144 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
41145 echo "Building runtime libraries"; \
41146 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
41147 @endif gcc-no-bootstrap
41149 @if gcc
41151 .PHONY: check-gcc-c check-c
41152 check-gcc-c:
41153 r=`${PWD_COMMAND}`; export r; \
41154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41155 $(HOST_EXPORTS) \
41156 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
41157 check-c: check-gcc-c
41159 .PHONY: check-gcc-c++ check-c++
41160 check-gcc-c++:
41161 r=`${PWD_COMMAND}`; export r; \
41162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41163 $(HOST_EXPORTS) \
41164 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
41165 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
41167 .PHONY: check-gcc-fortran check-fortran
41168 check-gcc-fortran:
41169 r=`${PWD_COMMAND}`; export r; \
41170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41171 $(HOST_EXPORTS) \
41172 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
41173 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
41175 .PHONY: check-gcc-java check-java
41176 check-gcc-java:
41177 r=`${PWD_COMMAND}`; export r; \
41178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41179 $(HOST_EXPORTS) \
41180 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
41181 check-java: check-gcc-java check-target-libjava
41183 .PHONY: check-gcc-ada check-ada
41184 check-gcc-ada:
41185 r=`${PWD_COMMAND}`; export r; \
41186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41187 $(HOST_EXPORTS) \
41188 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
41189 check-ada: check-gcc-ada check-target-libada
41191 .PHONY: check-gcc-objc check-objc
41192 check-gcc-objc:
41193 r=`${PWD_COMMAND}`; export r; \
41194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41195 $(HOST_EXPORTS) \
41196 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
41197 check-objc: check-gcc-objc check-target-libobjc
41199 .PHONY: check-gcc-obj-c++ check-obj-c++
41200 check-gcc-obj-c++:
41201 r=`${PWD_COMMAND}`; export r; \
41202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41203 $(HOST_EXPORTS) \
41204 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
41205 check-obj-c++: check-gcc-obj-c++
41207 .PHONY: check-gcc-go check-go
41208 check-gcc-go:
41209 r=`${PWD_COMMAND}`; export r; \
41210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41211 $(HOST_EXPORTS) \
41212 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
41213 check-go: check-gcc-go check-target-libgo
41216 # The gcc part of install-no-fixedincludes, which relies on an intimate
41217 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
41218 .PHONY: gcc-install-no-fixedincludes
41219 gcc-install-no-fixedincludes:
41220 @if [ -f ./gcc/Makefile ]; then \
41221 r=`${PWD_COMMAND}`; export r; \
41222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41223 $(HOST_EXPORTS) \
41224 (cd ./gcc \
41225 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
41226 else true; fi
41227 @endif gcc
41229 # ---------------------
41230 # GCC bootstrap support
41231 # ---------------------
41233 # We track the current stage (the one in 'gcc') in the stage_current file.
41234 # stage_last instead tracks the stage that was built last. These targets
41235 # are dummy when toplevel bootstrap is not active.
41237 # While making host and target tools, symlinks to the final stage must be
41238 # there, so $(unstage) should be run at various points. To avoid excessive
41239 # recursive invocations of make, we "inline" them using a variable. These
41240 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
41241 # to avoid warnings from the GNU Make job server.
41243 unstage = :
41244 stage = :
41245 current_stage = ""
41247 @if gcc-bootstrap
41248 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
41249 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
41250 current_stage = "`cat stage_current 2> /dev/null`"
41251 @endif gcc-bootstrap
41253 .PHONY: unstage stage
41254 unstage:
41255 @: $(MAKE); $(unstage)
41256 stage:
41257 @: $(MAKE); $(stage)
41259 # Disable commands for lean bootstrap.
41260 LEAN = false
41262 # We name the build directories for the various stages "stage1-gcc",
41263 # "stage2-gcc","stage3-gcc", etc.
41265 # Since the 'compare' process will fail (on debugging information) if any
41266 # directory names are different, we need to link the gcc directory for
41267 # the previous stage to a constant name ('prev-gcc'), and to make the name of
41268 # the build directories constant as well. For the latter, we use naked names
41269 # like 'gcc', because the scripts in that directory assume it. We use
41270 # mv on platforms where symlinks to directories do not work or are not
41271 # reliable.
41273 # 'touch' doesn't work right on some platforms.
41274 STAMP = echo timestamp >
41276 # We only want to compare .o files, so set this!
41277 objext = .o
41280 .PHONY: stage1-start stage1-end
41282 stage1-start::
41283 @: $(MAKE); $(stage); \
41284 echo stage1 > stage_current ; \
41285 echo stage1 > stage_last; \
41286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41287 @if bfd
41288 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
41289 mkdir stage1-bfd; \
41290 mv stage1-bfd bfd
41291 @endif bfd
41292 @if opcodes
41293 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
41294 mkdir stage1-opcodes; \
41295 mv stage1-opcodes opcodes
41296 @endif opcodes
41297 @if binutils
41298 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
41299 mkdir stage1-binutils; \
41300 mv stage1-binutils binutils
41301 @endif binutils
41302 @if gas
41303 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
41304 mkdir stage1-gas; \
41305 mv stage1-gas gas
41306 @endif gas
41307 @if gcc
41308 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
41309 mkdir stage1-gcc; \
41310 mv stage1-gcc gcc
41311 @endif gcc
41312 @if gmp
41313 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
41314 mkdir stage1-gmp; \
41315 mv stage1-gmp gmp
41316 @endif gmp
41317 @if mpfr
41318 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
41319 mkdir stage1-mpfr; \
41320 mv stage1-mpfr mpfr
41321 @endif mpfr
41322 @if mpc
41323 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
41324 mkdir stage1-mpc; \
41325 mv stage1-mpc mpc
41326 @endif mpc
41327 @if isl
41328 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
41329 mkdir stage1-isl; \
41330 mv stage1-isl isl
41331 @endif isl
41332 @if cloog
41333 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
41334 mkdir stage1-cloog; \
41335 mv stage1-cloog cloog
41336 @endif cloog
41337 @if libelf
41338 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
41339 mkdir stage1-libelf; \
41340 mv stage1-libelf libelf
41341 @endif libelf
41342 @if gold
41343 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
41344 mkdir stage1-gold; \
41345 mv stage1-gold gold
41346 @endif gold
41347 @if intl
41348 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
41349 mkdir stage1-intl; \
41350 mv stage1-intl intl
41351 @endif intl
41352 @if ld
41353 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
41354 mkdir stage1-ld; \
41355 mv stage1-ld ld
41356 @endif ld
41357 @if libcpp
41358 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
41359 mkdir stage1-libcpp; \
41360 mv stage1-libcpp libcpp
41361 @endif libcpp
41362 @if libdecnumber
41363 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
41364 mkdir stage1-libdecnumber; \
41365 mv stage1-libdecnumber libdecnumber
41366 @endif libdecnumber
41367 @if libiberty
41368 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
41369 mkdir stage1-libiberty; \
41370 mv stage1-libiberty libiberty
41371 @endif libiberty
41372 @if zlib
41373 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
41374 mkdir stage1-zlib; \
41375 mv stage1-zlib zlib
41376 @endif zlib
41377 @if lto-plugin
41378 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
41379 mkdir stage1-lto-plugin; \
41380 mv stage1-lto-plugin lto-plugin
41381 @endif lto-plugin
41382 @[ -d stage1-$(TARGET_SUBDIR) ] || \
41383 mkdir stage1-$(TARGET_SUBDIR); \
41384 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
41386 stage1-end::
41387 @if bfd
41388 @if test -d $(HOST_SUBDIR)/bfd ; then \
41389 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
41391 @endif bfd
41392 @if opcodes
41393 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41394 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
41396 @endif opcodes
41397 @if binutils
41398 @if test -d $(HOST_SUBDIR)/binutils ; then \
41399 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
41401 @endif binutils
41402 @if gas
41403 @if test -d $(HOST_SUBDIR)/gas ; then \
41404 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
41406 @endif gas
41407 @if gcc
41408 @if test -d $(HOST_SUBDIR)/gcc ; then \
41409 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
41411 @endif gcc
41412 @if gmp
41413 @if test -d $(HOST_SUBDIR)/gmp ; then \
41414 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
41416 @endif gmp
41417 @if mpfr
41418 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41419 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
41421 @endif mpfr
41422 @if mpc
41423 @if test -d $(HOST_SUBDIR)/mpc ; then \
41424 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
41426 @endif mpc
41427 @if isl
41428 @if test -d $(HOST_SUBDIR)/isl ; then \
41429 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
41431 @endif isl
41432 @if cloog
41433 @if test -d $(HOST_SUBDIR)/cloog ; then \
41434 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
41436 @endif cloog
41437 @if libelf
41438 @if test -d $(HOST_SUBDIR)/libelf ; then \
41439 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
41441 @endif libelf
41442 @if gold
41443 @if test -d $(HOST_SUBDIR)/gold ; then \
41444 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
41446 @endif gold
41447 @if intl
41448 @if test -d $(HOST_SUBDIR)/intl ; then \
41449 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
41451 @endif intl
41452 @if ld
41453 @if test -d $(HOST_SUBDIR)/ld ; then \
41454 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
41456 @endif ld
41457 @if libcpp
41458 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41459 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
41461 @endif libcpp
41462 @if libdecnumber
41463 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41464 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
41466 @endif libdecnumber
41467 @if libiberty
41468 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41469 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
41471 @endif libiberty
41472 @if zlib
41473 @if test -d $(HOST_SUBDIR)/zlib ; then \
41474 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
41476 @endif zlib
41477 @if lto-plugin
41478 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41479 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
41481 @endif lto-plugin
41482 @if test -d $(TARGET_SUBDIR) ; then \
41483 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
41485 rm -f stage_current
41487 # Bubble a bug fix through all the stages up to stage 1. They are
41488 # remade, but not reconfigured. The next stage (if any) will not be
41489 # reconfigured either.
41490 .PHONY: stage1-bubble
41491 stage1-bubble::
41492 @r=`${PWD_COMMAND}`; export r; \
41493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41494 if test -f stage1-lean ; then \
41495 echo Skipping rebuild of stage1 ; \
41496 else \
41497 $(MAKE) stage1-start; \
41498 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
41501 .PHONY: all-stage1 clean-stage1
41502 do-clean: clean-stage1
41504 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41505 # only possibility, but now it conflicts with no-bootstrap rules
41506 @if gcc-bootstrap
41511 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41513 .PHONY: distclean-stage1
41514 distclean-stage1::
41515 @: $(MAKE); $(stage)
41516 @test "`cat stage_last`" != stage1 || rm -f stage_last
41517 rm -rf stage1-*
41520 @endif gcc-bootstrap
41523 .PHONY: stage2-start stage2-end
41525 stage2-start::
41526 @: $(MAKE); $(stage); \
41527 echo stage2 > stage_current ; \
41528 echo stage2 > stage_last; \
41529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41530 @if bfd
41531 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
41532 mkdir stage2-bfd; \
41533 mv stage2-bfd bfd ; \
41534 mv stage1-bfd prev-bfd || test -f stage1-lean
41535 @endif bfd
41536 @if opcodes
41537 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
41538 mkdir stage2-opcodes; \
41539 mv stage2-opcodes opcodes ; \
41540 mv stage1-opcodes prev-opcodes || test -f stage1-lean
41541 @endif opcodes
41542 @if binutils
41543 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
41544 mkdir stage2-binutils; \
41545 mv stage2-binutils binutils ; \
41546 mv stage1-binutils prev-binutils || test -f stage1-lean
41547 @endif binutils
41548 @if gas
41549 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
41550 mkdir stage2-gas; \
41551 mv stage2-gas gas ; \
41552 mv stage1-gas prev-gas || test -f stage1-lean
41553 @endif gas
41554 @if gcc
41555 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
41556 mkdir stage2-gcc; \
41557 mv stage2-gcc gcc ; \
41558 mv stage1-gcc prev-gcc || test -f stage1-lean
41559 @endif gcc
41560 @if gmp
41561 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
41562 mkdir stage2-gmp; \
41563 mv stage2-gmp gmp ; \
41564 mv stage1-gmp prev-gmp || test -f stage1-lean
41565 @endif gmp
41566 @if mpfr
41567 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
41568 mkdir stage2-mpfr; \
41569 mv stage2-mpfr mpfr ; \
41570 mv stage1-mpfr prev-mpfr || test -f stage1-lean
41571 @endif mpfr
41572 @if mpc
41573 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
41574 mkdir stage2-mpc; \
41575 mv stage2-mpc mpc ; \
41576 mv stage1-mpc prev-mpc || test -f stage1-lean
41577 @endif mpc
41578 @if isl
41579 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
41580 mkdir stage2-isl; \
41581 mv stage2-isl isl ; \
41582 mv stage1-isl prev-isl || test -f stage1-lean
41583 @endif isl
41584 @if cloog
41585 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
41586 mkdir stage2-cloog; \
41587 mv stage2-cloog cloog ; \
41588 mv stage1-cloog prev-cloog || test -f stage1-lean
41589 @endif cloog
41590 @if libelf
41591 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
41592 mkdir stage2-libelf; \
41593 mv stage2-libelf libelf ; \
41594 mv stage1-libelf prev-libelf || test -f stage1-lean
41595 @endif libelf
41596 @if gold
41597 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
41598 mkdir stage2-gold; \
41599 mv stage2-gold gold ; \
41600 mv stage1-gold prev-gold || test -f stage1-lean
41601 @endif gold
41602 @if intl
41603 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
41604 mkdir stage2-intl; \
41605 mv stage2-intl intl ; \
41606 mv stage1-intl prev-intl || test -f stage1-lean
41607 @endif intl
41608 @if ld
41609 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
41610 mkdir stage2-ld; \
41611 mv stage2-ld ld ; \
41612 mv stage1-ld prev-ld || test -f stage1-lean
41613 @endif ld
41614 @if libcpp
41615 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
41616 mkdir stage2-libcpp; \
41617 mv stage2-libcpp libcpp ; \
41618 mv stage1-libcpp prev-libcpp || test -f stage1-lean
41619 @endif libcpp
41620 @if libdecnumber
41621 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
41622 mkdir stage2-libdecnumber; \
41623 mv stage2-libdecnumber libdecnumber ; \
41624 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
41625 @endif libdecnumber
41626 @if libiberty
41627 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
41628 mkdir stage2-libiberty; \
41629 mv stage2-libiberty libiberty ; \
41630 mv stage1-libiberty prev-libiberty || test -f stage1-lean
41631 @endif libiberty
41632 @if zlib
41633 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
41634 mkdir stage2-zlib; \
41635 mv stage2-zlib zlib ; \
41636 mv stage1-zlib prev-zlib || test -f stage1-lean
41637 @endif zlib
41638 @if lto-plugin
41639 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
41640 mkdir stage2-lto-plugin; \
41641 mv stage2-lto-plugin lto-plugin ; \
41642 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
41643 @endif lto-plugin
41644 @[ -d stage2-$(TARGET_SUBDIR) ] || \
41645 mkdir stage2-$(TARGET_SUBDIR); \
41646 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41647 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
41649 stage2-end::
41650 @if bfd
41651 @if test -d $(HOST_SUBDIR)/bfd ; then \
41652 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
41653 mv prev-bfd stage1-bfd ; : ; \
41655 @endif bfd
41656 @if opcodes
41657 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41658 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
41659 mv prev-opcodes stage1-opcodes ; : ; \
41661 @endif opcodes
41662 @if binutils
41663 @if test -d $(HOST_SUBDIR)/binutils ; then \
41664 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
41665 mv prev-binutils stage1-binutils ; : ; \
41667 @endif binutils
41668 @if gas
41669 @if test -d $(HOST_SUBDIR)/gas ; then \
41670 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
41671 mv prev-gas stage1-gas ; : ; \
41673 @endif gas
41674 @if gcc
41675 @if test -d $(HOST_SUBDIR)/gcc ; then \
41676 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
41677 mv prev-gcc stage1-gcc ; : ; \
41679 @endif gcc
41680 @if gmp
41681 @if test -d $(HOST_SUBDIR)/gmp ; then \
41682 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
41683 mv prev-gmp stage1-gmp ; : ; \
41685 @endif gmp
41686 @if mpfr
41687 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41688 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
41689 mv prev-mpfr stage1-mpfr ; : ; \
41691 @endif mpfr
41692 @if mpc
41693 @if test -d $(HOST_SUBDIR)/mpc ; then \
41694 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
41695 mv prev-mpc stage1-mpc ; : ; \
41697 @endif mpc
41698 @if isl
41699 @if test -d $(HOST_SUBDIR)/isl ; then \
41700 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
41701 mv prev-isl stage1-isl ; : ; \
41703 @endif isl
41704 @if cloog
41705 @if test -d $(HOST_SUBDIR)/cloog ; then \
41706 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
41707 mv prev-cloog stage1-cloog ; : ; \
41709 @endif cloog
41710 @if libelf
41711 @if test -d $(HOST_SUBDIR)/libelf ; then \
41712 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
41713 mv prev-libelf stage1-libelf ; : ; \
41715 @endif libelf
41716 @if gold
41717 @if test -d $(HOST_SUBDIR)/gold ; then \
41718 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
41719 mv prev-gold stage1-gold ; : ; \
41721 @endif gold
41722 @if intl
41723 @if test -d $(HOST_SUBDIR)/intl ; then \
41724 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
41725 mv prev-intl stage1-intl ; : ; \
41727 @endif intl
41728 @if ld
41729 @if test -d $(HOST_SUBDIR)/ld ; then \
41730 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
41731 mv prev-ld stage1-ld ; : ; \
41733 @endif ld
41734 @if libcpp
41735 @if test -d $(HOST_SUBDIR)/libcpp ; then \
41736 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
41737 mv prev-libcpp stage1-libcpp ; : ; \
41739 @endif libcpp
41740 @if libdecnumber
41741 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
41742 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
41743 mv prev-libdecnumber stage1-libdecnumber ; : ; \
41745 @endif libdecnumber
41746 @if libiberty
41747 @if test -d $(HOST_SUBDIR)/libiberty ; then \
41748 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
41749 mv prev-libiberty stage1-libiberty ; : ; \
41751 @endif libiberty
41752 @if zlib
41753 @if test -d $(HOST_SUBDIR)/zlib ; then \
41754 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
41755 mv prev-zlib stage1-zlib ; : ; \
41757 @endif zlib
41758 @if lto-plugin
41759 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
41760 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
41761 mv prev-lto-plugin stage1-lto-plugin ; : ; \
41763 @endif lto-plugin
41764 @if test -d $(TARGET_SUBDIR) ; then \
41765 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
41766 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
41768 rm -f stage_current
41770 # Bubble a bug fix through all the stages up to stage 2. They are
41771 # remade, but not reconfigured. The next stage (if any) will not be
41772 # reconfigured either.
41773 .PHONY: stage2-bubble
41774 stage2-bubble:: stage1-bubble
41775 @r=`${PWD_COMMAND}`; export r; \
41776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41777 if test -f stage2-lean || test -f stage1-lean ; then \
41778 echo Skipping rebuild of stage2 ; \
41779 else \
41780 $(MAKE) stage2-start; \
41781 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
41784 .PHONY: all-stage2 clean-stage2
41785 do-clean: clean-stage2
41787 # FIXME: Will not need to be conditional when toplevel bootstrap is the
41788 # only possibility, but now it conflicts with no-bootstrap rules
41789 @if gcc-bootstrap
41793 .PHONY: bootstrap2 bootstrap2-lean
41794 bootstrap2:
41795 echo stage2 > stage_final
41796 @r=`${PWD_COMMAND}`; export r; \
41797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41798 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
41799 @: $(MAKE); $(unstage)
41800 @r=`${PWD_COMMAND}`; export r; \
41801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41802 TFLAGS="$(STAGE2_TFLAGS)"; \
41803 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41805 bootstrap2-lean:
41806 echo stage2 > stage_final
41807 @r=`${PWD_COMMAND}`; export r; \
41808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41809 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
41810 @: $(MAKE); $(unstage)
41811 @r=`${PWD_COMMAND}`; export r; \
41812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41813 TFLAGS="$(STAGE2_TFLAGS)"; \
41814 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
41817 # Rules to wipe a stage and all the following ones, also used for cleanstrap
41818 distclean-stage1:: distclean-stage2
41819 .PHONY: distclean-stage2
41820 distclean-stage2::
41821 @: $(MAKE); $(stage)
41822 @test "`cat stage_last`" != stage2 || rm -f stage_last
41823 rm -rf stage2-*
41826 @endif gcc-bootstrap
41829 .PHONY: stage3-start stage3-end
41831 stage3-start::
41832 @: $(MAKE); $(stage); \
41833 echo stage3 > stage_current ; \
41834 echo stage3 > stage_last; \
41835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
41836 @if bfd
41837 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
41838 mkdir stage3-bfd; \
41839 mv stage3-bfd bfd ; \
41840 mv stage2-bfd prev-bfd || test -f stage2-lean
41841 @endif bfd
41842 @if opcodes
41843 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
41844 mkdir stage3-opcodes; \
41845 mv stage3-opcodes opcodes ; \
41846 mv stage2-opcodes prev-opcodes || test -f stage2-lean
41847 @endif opcodes
41848 @if binutils
41849 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
41850 mkdir stage3-binutils; \
41851 mv stage3-binutils binutils ; \
41852 mv stage2-binutils prev-binutils || test -f stage2-lean
41853 @endif binutils
41854 @if gas
41855 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
41856 mkdir stage3-gas; \
41857 mv stage3-gas gas ; \
41858 mv stage2-gas prev-gas || test -f stage2-lean
41859 @endif gas
41860 @if gcc
41861 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
41862 mkdir stage3-gcc; \
41863 mv stage3-gcc gcc ; \
41864 mv stage2-gcc prev-gcc || test -f stage2-lean
41865 @endif gcc
41866 @if gmp
41867 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
41868 mkdir stage3-gmp; \
41869 mv stage3-gmp gmp ; \
41870 mv stage2-gmp prev-gmp || test -f stage2-lean
41871 @endif gmp
41872 @if mpfr
41873 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
41874 mkdir stage3-mpfr; \
41875 mv stage3-mpfr mpfr ; \
41876 mv stage2-mpfr prev-mpfr || test -f stage2-lean
41877 @endif mpfr
41878 @if mpc
41879 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
41880 mkdir stage3-mpc; \
41881 mv stage3-mpc mpc ; \
41882 mv stage2-mpc prev-mpc || test -f stage2-lean
41883 @endif mpc
41884 @if isl
41885 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
41886 mkdir stage3-isl; \
41887 mv stage3-isl isl ; \
41888 mv stage2-isl prev-isl || test -f stage2-lean
41889 @endif isl
41890 @if cloog
41891 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
41892 mkdir stage3-cloog; \
41893 mv stage3-cloog cloog ; \
41894 mv stage2-cloog prev-cloog || test -f stage2-lean
41895 @endif cloog
41896 @if libelf
41897 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
41898 mkdir stage3-libelf; \
41899 mv stage3-libelf libelf ; \
41900 mv stage2-libelf prev-libelf || test -f stage2-lean
41901 @endif libelf
41902 @if gold
41903 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
41904 mkdir stage3-gold; \
41905 mv stage3-gold gold ; \
41906 mv stage2-gold prev-gold || test -f stage2-lean
41907 @endif gold
41908 @if intl
41909 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
41910 mkdir stage3-intl; \
41911 mv stage3-intl intl ; \
41912 mv stage2-intl prev-intl || test -f stage2-lean
41913 @endif intl
41914 @if ld
41915 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
41916 mkdir stage3-ld; \
41917 mv stage3-ld ld ; \
41918 mv stage2-ld prev-ld || test -f stage2-lean
41919 @endif ld
41920 @if libcpp
41921 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
41922 mkdir stage3-libcpp; \
41923 mv stage3-libcpp libcpp ; \
41924 mv stage2-libcpp prev-libcpp || test -f stage2-lean
41925 @endif libcpp
41926 @if libdecnumber
41927 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
41928 mkdir stage3-libdecnumber; \
41929 mv stage3-libdecnumber libdecnumber ; \
41930 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
41931 @endif libdecnumber
41932 @if libiberty
41933 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
41934 mkdir stage3-libiberty; \
41935 mv stage3-libiberty libiberty ; \
41936 mv stage2-libiberty prev-libiberty || test -f stage2-lean
41937 @endif libiberty
41938 @if zlib
41939 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
41940 mkdir stage3-zlib; \
41941 mv stage3-zlib zlib ; \
41942 mv stage2-zlib prev-zlib || test -f stage2-lean
41943 @endif zlib
41944 @if lto-plugin
41945 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
41946 mkdir stage3-lto-plugin; \
41947 mv stage3-lto-plugin lto-plugin ; \
41948 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
41949 @endif lto-plugin
41950 @[ -d stage3-$(TARGET_SUBDIR) ] || \
41951 mkdir stage3-$(TARGET_SUBDIR); \
41952 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
41953 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
41955 stage3-end::
41956 @if bfd
41957 @if test -d $(HOST_SUBDIR)/bfd ; then \
41958 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
41959 mv prev-bfd stage2-bfd ; : ; \
41961 @endif bfd
41962 @if opcodes
41963 @if test -d $(HOST_SUBDIR)/opcodes ; then \
41964 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
41965 mv prev-opcodes stage2-opcodes ; : ; \
41967 @endif opcodes
41968 @if binutils
41969 @if test -d $(HOST_SUBDIR)/binutils ; then \
41970 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
41971 mv prev-binutils stage2-binutils ; : ; \
41973 @endif binutils
41974 @if gas
41975 @if test -d $(HOST_SUBDIR)/gas ; then \
41976 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
41977 mv prev-gas stage2-gas ; : ; \
41979 @endif gas
41980 @if gcc
41981 @if test -d $(HOST_SUBDIR)/gcc ; then \
41982 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
41983 mv prev-gcc stage2-gcc ; : ; \
41985 @endif gcc
41986 @if gmp
41987 @if test -d $(HOST_SUBDIR)/gmp ; then \
41988 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
41989 mv prev-gmp stage2-gmp ; : ; \
41991 @endif gmp
41992 @if mpfr
41993 @if test -d $(HOST_SUBDIR)/mpfr ; then \
41994 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
41995 mv prev-mpfr stage2-mpfr ; : ; \
41997 @endif mpfr
41998 @if mpc
41999 @if test -d $(HOST_SUBDIR)/mpc ; then \
42000 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
42001 mv prev-mpc stage2-mpc ; : ; \
42003 @endif mpc
42004 @if isl
42005 @if test -d $(HOST_SUBDIR)/isl ; then \
42006 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
42007 mv prev-isl stage2-isl ; : ; \
42009 @endif isl
42010 @if cloog
42011 @if test -d $(HOST_SUBDIR)/cloog ; then \
42012 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
42013 mv prev-cloog stage2-cloog ; : ; \
42015 @endif cloog
42016 @if libelf
42017 @if test -d $(HOST_SUBDIR)/libelf ; then \
42018 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
42019 mv prev-libelf stage2-libelf ; : ; \
42021 @endif libelf
42022 @if gold
42023 @if test -d $(HOST_SUBDIR)/gold ; then \
42024 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
42025 mv prev-gold stage2-gold ; : ; \
42027 @endif gold
42028 @if intl
42029 @if test -d $(HOST_SUBDIR)/intl ; then \
42030 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
42031 mv prev-intl stage2-intl ; : ; \
42033 @endif intl
42034 @if ld
42035 @if test -d $(HOST_SUBDIR)/ld ; then \
42036 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
42037 mv prev-ld stage2-ld ; : ; \
42039 @endif ld
42040 @if libcpp
42041 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42042 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
42043 mv prev-libcpp stage2-libcpp ; : ; \
42045 @endif libcpp
42046 @if libdecnumber
42047 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42048 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
42049 mv prev-libdecnumber stage2-libdecnumber ; : ; \
42051 @endif libdecnumber
42052 @if libiberty
42053 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42054 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
42055 mv prev-libiberty stage2-libiberty ; : ; \
42057 @endif libiberty
42058 @if zlib
42059 @if test -d $(HOST_SUBDIR)/zlib ; then \
42060 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
42061 mv prev-zlib stage2-zlib ; : ; \
42063 @endif zlib
42064 @if lto-plugin
42065 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42066 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
42067 mv prev-lto-plugin stage2-lto-plugin ; : ; \
42069 @endif lto-plugin
42070 @if test -d $(TARGET_SUBDIR) ; then \
42071 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
42072 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
42074 rm -f stage_current
42076 # Bubble a bug fix through all the stages up to stage 3. They are
42077 # remade, but not reconfigured. The next stage (if any) will not be
42078 # reconfigured either.
42079 .PHONY: stage3-bubble
42080 stage3-bubble:: stage2-bubble
42081 @r=`${PWD_COMMAND}`; export r; \
42082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42083 if test -f stage3-lean || test -f stage2-lean ; then \
42084 echo Skipping rebuild of stage3 ; \
42085 else \
42086 $(MAKE) stage3-start; \
42087 if $(LEAN); then \
42088 rm -rf stage1-* ; \
42089 $(STAMP) stage1-lean ; \
42090 fi; \
42091 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
42093 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
42095 .PHONY: all-stage3 clean-stage3
42096 do-clean: clean-stage3
42098 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42099 # only possibility, but now it conflicts with no-bootstrap rules
42100 @if gcc-bootstrap
42102 compare:
42103 @r=`${PWD_COMMAND}`; export r; \
42104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42105 if test -f stage2-lean; then \
42106 echo Cannot compare object files as stage 2 was deleted. ; \
42107 exit 0 ; \
42108 fi; \
42109 : $(MAKE); $(stage); \
42110 rm -f .bad_compare ; \
42111 echo Comparing stages 2 and 3 ; \
42112 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
42113 files=`find stage3-* -name "*$(objext)" -print | \
42114 sed -n s,^stage$$sed-,,p` ; \
42115 for file in $${files} ; do \
42116 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
42117 if test ! -f $$f1; then continue; fi; \
42118 $(do-compare) > /dev/null 2>&1; \
42119 if test $$? -eq 1; then \
42120 case $$file in \
42121 @compare_exclusions@) \
42122 echo warning: $$file differs ;; \
42123 *) \
42124 echo $$file differs >> .bad_compare ;; \
42125 esac ; \
42126 fi ; \
42127 done ; \
42128 if [ -f .bad_compare ]; then \
42129 echo "Bootstrap comparison failure!"; \
42130 cat .bad_compare; \
42131 exit 1; \
42132 else \
42133 echo Comparison successful.; \
42134 fi ; \
42135 $(STAMP) compare
42136 if $(LEAN); then \
42137 rm -rf stage2-*; \
42138 $(STAMP) stage2-lean; \
42143 .PHONY: bootstrap bootstrap-lean
42144 bootstrap:
42145 echo stage3 > stage_final
42146 @r=`${PWD_COMMAND}`; export r; \
42147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42148 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42149 @: $(MAKE); $(unstage)
42150 @r=`${PWD_COMMAND}`; export r; \
42151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42152 TFLAGS="$(STAGE3_TFLAGS)"; \
42153 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42155 bootstrap-lean:
42156 echo stage3 > stage_final
42157 @r=`${PWD_COMMAND}`; export r; \
42158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42159 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
42160 @: $(MAKE); $(unstage)
42161 @r=`${PWD_COMMAND}`; export r; \
42162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42163 TFLAGS="$(STAGE3_TFLAGS)"; \
42164 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42167 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42168 distclean-stage2:: distclean-stage3
42169 .PHONY: distclean-stage3
42170 distclean-stage3::
42171 @: $(MAKE); $(stage)
42172 @test "`cat stage_last`" != stage3 || rm -f stage_last
42173 rm -rf stage3-* compare
42176 .PHONY: cleanstrap
42177 cleanstrap: do-distclean local-clean
42178 echo stage3 > stage_final
42179 @r=`${PWD_COMMAND}`; export r; \
42180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42181 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
42182 @: $(MAKE); $(unstage)
42183 @r=`${PWD_COMMAND}`; export r; \
42184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42185 TFLAGS="$(STAGE3_TFLAGS)"; \
42186 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42188 @endif gcc-bootstrap
42191 .PHONY: stage4-start stage4-end
42193 stage4-start::
42194 @: $(MAKE); $(stage); \
42195 echo stage4 > stage_current ; \
42196 echo stage4 > stage_last; \
42197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42198 @if bfd
42199 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
42200 mkdir stage4-bfd; \
42201 mv stage4-bfd bfd ; \
42202 mv stage3-bfd prev-bfd || test -f stage3-lean
42203 @endif bfd
42204 @if opcodes
42205 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
42206 mkdir stage4-opcodes; \
42207 mv stage4-opcodes opcodes ; \
42208 mv stage3-opcodes prev-opcodes || test -f stage3-lean
42209 @endif opcodes
42210 @if binutils
42211 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
42212 mkdir stage4-binutils; \
42213 mv stage4-binutils binutils ; \
42214 mv stage3-binutils prev-binutils || test -f stage3-lean
42215 @endif binutils
42216 @if gas
42217 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
42218 mkdir stage4-gas; \
42219 mv stage4-gas gas ; \
42220 mv stage3-gas prev-gas || test -f stage3-lean
42221 @endif gas
42222 @if gcc
42223 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
42224 mkdir stage4-gcc; \
42225 mv stage4-gcc gcc ; \
42226 mv stage3-gcc prev-gcc || test -f stage3-lean
42227 @endif gcc
42228 @if gmp
42229 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
42230 mkdir stage4-gmp; \
42231 mv stage4-gmp gmp ; \
42232 mv stage3-gmp prev-gmp || test -f stage3-lean
42233 @endif gmp
42234 @if mpfr
42235 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
42236 mkdir stage4-mpfr; \
42237 mv stage4-mpfr mpfr ; \
42238 mv stage3-mpfr prev-mpfr || test -f stage3-lean
42239 @endif mpfr
42240 @if mpc
42241 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
42242 mkdir stage4-mpc; \
42243 mv stage4-mpc mpc ; \
42244 mv stage3-mpc prev-mpc || test -f stage3-lean
42245 @endif mpc
42246 @if isl
42247 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
42248 mkdir stage4-isl; \
42249 mv stage4-isl isl ; \
42250 mv stage3-isl prev-isl || test -f stage3-lean
42251 @endif isl
42252 @if cloog
42253 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
42254 mkdir stage4-cloog; \
42255 mv stage4-cloog cloog ; \
42256 mv stage3-cloog prev-cloog || test -f stage3-lean
42257 @endif cloog
42258 @if libelf
42259 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
42260 mkdir stage4-libelf; \
42261 mv stage4-libelf libelf ; \
42262 mv stage3-libelf prev-libelf || test -f stage3-lean
42263 @endif libelf
42264 @if gold
42265 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
42266 mkdir stage4-gold; \
42267 mv stage4-gold gold ; \
42268 mv stage3-gold prev-gold || test -f stage3-lean
42269 @endif gold
42270 @if intl
42271 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
42272 mkdir stage4-intl; \
42273 mv stage4-intl intl ; \
42274 mv stage3-intl prev-intl || test -f stage3-lean
42275 @endif intl
42276 @if ld
42277 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
42278 mkdir stage4-ld; \
42279 mv stage4-ld ld ; \
42280 mv stage3-ld prev-ld || test -f stage3-lean
42281 @endif ld
42282 @if libcpp
42283 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
42284 mkdir stage4-libcpp; \
42285 mv stage4-libcpp libcpp ; \
42286 mv stage3-libcpp prev-libcpp || test -f stage3-lean
42287 @endif libcpp
42288 @if libdecnumber
42289 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
42290 mkdir stage4-libdecnumber; \
42291 mv stage4-libdecnumber libdecnumber ; \
42292 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
42293 @endif libdecnumber
42294 @if libiberty
42295 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
42296 mkdir stage4-libiberty; \
42297 mv stage4-libiberty libiberty ; \
42298 mv stage3-libiberty prev-libiberty || test -f stage3-lean
42299 @endif libiberty
42300 @if zlib
42301 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
42302 mkdir stage4-zlib; \
42303 mv stage4-zlib zlib ; \
42304 mv stage3-zlib prev-zlib || test -f stage3-lean
42305 @endif zlib
42306 @if lto-plugin
42307 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
42308 mkdir stage4-lto-plugin; \
42309 mv stage4-lto-plugin lto-plugin ; \
42310 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
42311 @endif lto-plugin
42312 @[ -d stage4-$(TARGET_SUBDIR) ] || \
42313 mkdir stage4-$(TARGET_SUBDIR); \
42314 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42315 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
42317 stage4-end::
42318 @if bfd
42319 @if test -d $(HOST_SUBDIR)/bfd ; then \
42320 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
42321 mv prev-bfd stage3-bfd ; : ; \
42323 @endif bfd
42324 @if opcodes
42325 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42326 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
42327 mv prev-opcodes stage3-opcodes ; : ; \
42329 @endif opcodes
42330 @if binutils
42331 @if test -d $(HOST_SUBDIR)/binutils ; then \
42332 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
42333 mv prev-binutils stage3-binutils ; : ; \
42335 @endif binutils
42336 @if gas
42337 @if test -d $(HOST_SUBDIR)/gas ; then \
42338 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
42339 mv prev-gas stage3-gas ; : ; \
42341 @endif gas
42342 @if gcc
42343 @if test -d $(HOST_SUBDIR)/gcc ; then \
42344 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
42345 mv prev-gcc stage3-gcc ; : ; \
42347 @endif gcc
42348 @if gmp
42349 @if test -d $(HOST_SUBDIR)/gmp ; then \
42350 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
42351 mv prev-gmp stage3-gmp ; : ; \
42353 @endif gmp
42354 @if mpfr
42355 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42356 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
42357 mv prev-mpfr stage3-mpfr ; : ; \
42359 @endif mpfr
42360 @if mpc
42361 @if test -d $(HOST_SUBDIR)/mpc ; then \
42362 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
42363 mv prev-mpc stage3-mpc ; : ; \
42365 @endif mpc
42366 @if isl
42367 @if test -d $(HOST_SUBDIR)/isl ; then \
42368 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
42369 mv prev-isl stage3-isl ; : ; \
42371 @endif isl
42372 @if cloog
42373 @if test -d $(HOST_SUBDIR)/cloog ; then \
42374 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
42375 mv prev-cloog stage3-cloog ; : ; \
42377 @endif cloog
42378 @if libelf
42379 @if test -d $(HOST_SUBDIR)/libelf ; then \
42380 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
42381 mv prev-libelf stage3-libelf ; : ; \
42383 @endif libelf
42384 @if gold
42385 @if test -d $(HOST_SUBDIR)/gold ; then \
42386 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
42387 mv prev-gold stage3-gold ; : ; \
42389 @endif gold
42390 @if intl
42391 @if test -d $(HOST_SUBDIR)/intl ; then \
42392 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
42393 mv prev-intl stage3-intl ; : ; \
42395 @endif intl
42396 @if ld
42397 @if test -d $(HOST_SUBDIR)/ld ; then \
42398 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
42399 mv prev-ld stage3-ld ; : ; \
42401 @endif ld
42402 @if libcpp
42403 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42404 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
42405 mv prev-libcpp stage3-libcpp ; : ; \
42407 @endif libcpp
42408 @if libdecnumber
42409 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42410 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
42411 mv prev-libdecnumber stage3-libdecnumber ; : ; \
42413 @endif libdecnumber
42414 @if libiberty
42415 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42416 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
42417 mv prev-libiberty stage3-libiberty ; : ; \
42419 @endif libiberty
42420 @if zlib
42421 @if test -d $(HOST_SUBDIR)/zlib ; then \
42422 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
42423 mv prev-zlib stage3-zlib ; : ; \
42425 @endif zlib
42426 @if lto-plugin
42427 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42428 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
42429 mv prev-lto-plugin stage3-lto-plugin ; : ; \
42431 @endif lto-plugin
42432 @if test -d $(TARGET_SUBDIR) ; then \
42433 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
42434 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
42436 rm -f stage_current
42438 # Bubble a bug fix through all the stages up to stage 4. They are
42439 # remade, but not reconfigured. The next stage (if any) will not be
42440 # reconfigured either.
42441 .PHONY: stage4-bubble
42442 stage4-bubble:: stage3-bubble
42443 @r=`${PWD_COMMAND}`; export r; \
42444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42445 if test -f stage4-lean || test -f stage3-lean ; then \
42446 echo Skipping rebuild of stage4 ; \
42447 else \
42448 $(MAKE) stage4-start; \
42449 if $(LEAN); then \
42450 rm -rf stage2-* ; \
42451 $(STAMP) stage2-lean ; \
42452 fi; \
42453 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
42455 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
42457 .PHONY: all-stage4 clean-stage4
42458 do-clean: clean-stage4
42460 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42461 # only possibility, but now it conflicts with no-bootstrap rules
42462 @if gcc-bootstrap
42464 compare3:
42465 @r=`${PWD_COMMAND}`; export r; \
42466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42467 if test -f stage3-lean; then \
42468 echo Cannot compare object files as stage 3 was deleted. ; \
42469 exit 0 ; \
42470 fi; \
42471 : $(MAKE); $(stage); \
42472 rm -f .bad_compare ; \
42473 echo Comparing stages 3 and 4 ; \
42474 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
42475 files=`find stage4-* -name "*$(objext)" -print | \
42476 sed -n s,^stage$$sed-,,p` ; \
42477 for file in $${files} ; do \
42478 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
42479 if test ! -f $$f1; then continue; fi; \
42480 $(do-compare3) > /dev/null 2>&1; \
42481 if test $$? -eq 1; then \
42482 case $$file in \
42483 @compare_exclusions@) \
42484 echo warning: $$file differs ;; \
42485 *) \
42486 echo $$file differs >> .bad_compare ;; \
42487 esac ; \
42488 fi ; \
42489 done ; \
42490 if [ -f .bad_compare ]; then \
42491 echo "Bootstrap comparison failure!"; \
42492 cat .bad_compare; \
42493 exit 1; \
42494 else \
42495 echo Comparison successful.; \
42496 fi ; \
42497 $(STAMP) compare3
42498 if $(LEAN); then \
42499 rm -rf stage3-*; \
42500 $(STAMP) stage3-lean; \
42505 .PHONY: bootstrap4 bootstrap4-lean
42506 bootstrap4:
42507 echo stage4 > stage_final
42508 @r=`${PWD_COMMAND}`; export r; \
42509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42510 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
42511 @: $(MAKE); $(unstage)
42512 @r=`${PWD_COMMAND}`; export r; \
42513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42514 TFLAGS="$(STAGE4_TFLAGS)"; \
42515 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42517 bootstrap4-lean:
42518 echo stage4 > stage_final
42519 @r=`${PWD_COMMAND}`; export r; \
42520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42521 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
42522 @: $(MAKE); $(unstage)
42523 @r=`${PWD_COMMAND}`; export r; \
42524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42525 TFLAGS="$(STAGE4_TFLAGS)"; \
42526 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42529 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42530 distclean-stage3:: distclean-stage4
42531 .PHONY: distclean-stage4
42532 distclean-stage4::
42533 @: $(MAKE); $(stage)
42534 @test "`cat stage_last`" != stage4 || rm -f stage_last
42535 rm -rf stage4-* compare3
42538 @endif gcc-bootstrap
42541 .PHONY: stageprofile-start stageprofile-end
42543 stageprofile-start::
42544 @: $(MAKE); $(stage); \
42545 echo stageprofile > stage_current ; \
42546 echo stageprofile > stage_last; \
42547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42548 @if bfd
42549 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
42550 mkdir stageprofile-bfd; \
42551 mv stageprofile-bfd bfd ; \
42552 mv stage1-bfd prev-bfd || test -f stage1-lean
42553 @endif bfd
42554 @if opcodes
42555 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
42556 mkdir stageprofile-opcodes; \
42557 mv stageprofile-opcodes opcodes ; \
42558 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42559 @endif opcodes
42560 @if binutils
42561 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
42562 mkdir stageprofile-binutils; \
42563 mv stageprofile-binutils binutils ; \
42564 mv stage1-binutils prev-binutils || test -f stage1-lean
42565 @endif binutils
42566 @if gas
42567 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
42568 mkdir stageprofile-gas; \
42569 mv stageprofile-gas gas ; \
42570 mv stage1-gas prev-gas || test -f stage1-lean
42571 @endif gas
42572 @if gcc
42573 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
42574 mkdir stageprofile-gcc; \
42575 mv stageprofile-gcc gcc ; \
42576 mv stage1-gcc prev-gcc || test -f stage1-lean
42577 @endif gcc
42578 @if gmp
42579 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
42580 mkdir stageprofile-gmp; \
42581 mv stageprofile-gmp gmp ; \
42582 mv stage1-gmp prev-gmp || test -f stage1-lean
42583 @endif gmp
42584 @if mpfr
42585 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
42586 mkdir stageprofile-mpfr; \
42587 mv stageprofile-mpfr mpfr ; \
42588 mv stage1-mpfr prev-mpfr || test -f stage1-lean
42589 @endif mpfr
42590 @if mpc
42591 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
42592 mkdir stageprofile-mpc; \
42593 mv stageprofile-mpc mpc ; \
42594 mv stage1-mpc prev-mpc || test -f stage1-lean
42595 @endif mpc
42596 @if isl
42597 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
42598 mkdir stageprofile-isl; \
42599 mv stageprofile-isl isl ; \
42600 mv stage1-isl prev-isl || test -f stage1-lean
42601 @endif isl
42602 @if cloog
42603 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
42604 mkdir stageprofile-cloog; \
42605 mv stageprofile-cloog cloog ; \
42606 mv stage1-cloog prev-cloog || test -f stage1-lean
42607 @endif cloog
42608 @if libelf
42609 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
42610 mkdir stageprofile-libelf; \
42611 mv stageprofile-libelf libelf ; \
42612 mv stage1-libelf prev-libelf || test -f stage1-lean
42613 @endif libelf
42614 @if gold
42615 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
42616 mkdir stageprofile-gold; \
42617 mv stageprofile-gold gold ; \
42618 mv stage1-gold prev-gold || test -f stage1-lean
42619 @endif gold
42620 @if intl
42621 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
42622 mkdir stageprofile-intl; \
42623 mv stageprofile-intl intl ; \
42624 mv stage1-intl prev-intl || test -f stage1-lean
42625 @endif intl
42626 @if ld
42627 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
42628 mkdir stageprofile-ld; \
42629 mv stageprofile-ld ld ; \
42630 mv stage1-ld prev-ld || test -f stage1-lean
42631 @endif ld
42632 @if libcpp
42633 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
42634 mkdir stageprofile-libcpp; \
42635 mv stageprofile-libcpp libcpp ; \
42636 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42637 @endif libcpp
42638 @if libdecnumber
42639 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
42640 mkdir stageprofile-libdecnumber; \
42641 mv stageprofile-libdecnumber libdecnumber ; \
42642 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42643 @endif libdecnumber
42644 @if libiberty
42645 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
42646 mkdir stageprofile-libiberty; \
42647 mv stageprofile-libiberty libiberty ; \
42648 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42649 @endif libiberty
42650 @if zlib
42651 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
42652 mkdir stageprofile-zlib; \
42653 mv stageprofile-zlib zlib ; \
42654 mv stage1-zlib prev-zlib || test -f stage1-lean
42655 @endif zlib
42656 @if lto-plugin
42657 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
42658 mkdir stageprofile-lto-plugin; \
42659 mv stageprofile-lto-plugin lto-plugin ; \
42660 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
42661 @endif lto-plugin
42662 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
42663 mkdir stageprofile-$(TARGET_SUBDIR); \
42664 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42665 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42667 stageprofile-end::
42668 @if bfd
42669 @if test -d $(HOST_SUBDIR)/bfd ; then \
42670 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
42671 mv prev-bfd stage1-bfd ; : ; \
42673 @endif bfd
42674 @if opcodes
42675 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42676 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
42677 mv prev-opcodes stage1-opcodes ; : ; \
42679 @endif opcodes
42680 @if binutils
42681 @if test -d $(HOST_SUBDIR)/binutils ; then \
42682 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
42683 mv prev-binutils stage1-binutils ; : ; \
42685 @endif binutils
42686 @if gas
42687 @if test -d $(HOST_SUBDIR)/gas ; then \
42688 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
42689 mv prev-gas stage1-gas ; : ; \
42691 @endif gas
42692 @if gcc
42693 @if test -d $(HOST_SUBDIR)/gcc ; then \
42694 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
42695 mv prev-gcc stage1-gcc ; : ; \
42697 @endif gcc
42698 @if gmp
42699 @if test -d $(HOST_SUBDIR)/gmp ; then \
42700 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
42701 mv prev-gmp stage1-gmp ; : ; \
42703 @endif gmp
42704 @if mpfr
42705 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42706 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
42707 mv prev-mpfr stage1-mpfr ; : ; \
42709 @endif mpfr
42710 @if mpc
42711 @if test -d $(HOST_SUBDIR)/mpc ; then \
42712 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
42713 mv prev-mpc stage1-mpc ; : ; \
42715 @endif mpc
42716 @if isl
42717 @if test -d $(HOST_SUBDIR)/isl ; then \
42718 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
42719 mv prev-isl stage1-isl ; : ; \
42721 @endif isl
42722 @if cloog
42723 @if test -d $(HOST_SUBDIR)/cloog ; then \
42724 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
42725 mv prev-cloog stage1-cloog ; : ; \
42727 @endif cloog
42728 @if libelf
42729 @if test -d $(HOST_SUBDIR)/libelf ; then \
42730 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
42731 mv prev-libelf stage1-libelf ; : ; \
42733 @endif libelf
42734 @if gold
42735 @if test -d $(HOST_SUBDIR)/gold ; then \
42736 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
42737 mv prev-gold stage1-gold ; : ; \
42739 @endif gold
42740 @if intl
42741 @if test -d $(HOST_SUBDIR)/intl ; then \
42742 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
42743 mv prev-intl stage1-intl ; : ; \
42745 @endif intl
42746 @if ld
42747 @if test -d $(HOST_SUBDIR)/ld ; then \
42748 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
42749 mv prev-ld stage1-ld ; : ; \
42751 @endif ld
42752 @if libcpp
42753 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42754 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
42755 mv prev-libcpp stage1-libcpp ; : ; \
42757 @endif libcpp
42758 @if libdecnumber
42759 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42760 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
42761 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42763 @endif libdecnumber
42764 @if libiberty
42765 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42766 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
42767 mv prev-libiberty stage1-libiberty ; : ; \
42769 @endif libiberty
42770 @if zlib
42771 @if test -d $(HOST_SUBDIR)/zlib ; then \
42772 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
42773 mv prev-zlib stage1-zlib ; : ; \
42775 @endif zlib
42776 @if lto-plugin
42777 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42778 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
42779 mv prev-lto-plugin stage1-lto-plugin ; : ; \
42781 @endif lto-plugin
42782 @if test -d $(TARGET_SUBDIR) ; then \
42783 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
42784 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42786 rm -f stage_current
42788 # Bubble a bug fix through all the stages up to stage profile. They are
42789 # remade, but not reconfigured. The next stage (if any) will not be
42790 # reconfigured either.
42791 .PHONY: stageprofile-bubble
42792 stageprofile-bubble:: stage1-bubble
42793 @r=`${PWD_COMMAND}`; export r; \
42794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42795 if test -f stageprofile-lean || test -f stage1-lean ; then \
42796 echo Skipping rebuild of stageprofile ; \
42797 else \
42798 $(MAKE) stageprofile-start; \
42799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
42802 .PHONY: all-stageprofile clean-stageprofile
42803 do-clean: clean-stageprofile
42805 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42806 # only possibility, but now it conflicts with no-bootstrap rules
42807 @if gcc-bootstrap
42812 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42813 distclean-stage1:: distclean-stageprofile
42814 .PHONY: distclean-stageprofile
42815 distclean-stageprofile::
42816 @: $(MAKE); $(stage)
42817 @test "`cat stage_last`" != stageprofile || rm -f stage_last
42818 rm -rf stageprofile-*
42821 @endif gcc-bootstrap
42824 .PHONY: stagefeedback-start stagefeedback-end
42826 stagefeedback-start::
42827 @: $(MAKE); $(stage); \
42828 echo stagefeedback > stage_current ; \
42829 echo stagefeedback > stage_last; \
42830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42831 @if bfd
42832 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
42833 mkdir stagefeedback-bfd; \
42834 mv stagefeedback-bfd bfd ; \
42835 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
42836 @endif bfd
42837 @if opcodes
42838 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
42839 mkdir stagefeedback-opcodes; \
42840 mv stagefeedback-opcodes opcodes ; \
42841 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
42842 @endif opcodes
42843 @if binutils
42844 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
42845 mkdir stagefeedback-binutils; \
42846 mv stagefeedback-binutils binutils ; \
42847 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
42848 @endif binutils
42849 @if gas
42850 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
42851 mkdir stagefeedback-gas; \
42852 mv stagefeedback-gas gas ; \
42853 mv stageprofile-gas prev-gas || test -f stageprofile-lean
42854 @endif gas
42855 @if gcc
42856 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
42857 mkdir stagefeedback-gcc; \
42858 mv stagefeedback-gcc gcc ; \
42859 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
42860 @endif gcc
42861 @if gmp
42862 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
42863 mkdir stagefeedback-gmp; \
42864 mv stagefeedback-gmp gmp ; \
42865 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
42866 @endif gmp
42867 @if mpfr
42868 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
42869 mkdir stagefeedback-mpfr; \
42870 mv stagefeedback-mpfr mpfr ; \
42871 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
42872 @endif mpfr
42873 @if mpc
42874 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
42875 mkdir stagefeedback-mpc; \
42876 mv stagefeedback-mpc mpc ; \
42877 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
42878 @endif mpc
42879 @if isl
42880 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
42881 mkdir stagefeedback-isl; \
42882 mv stagefeedback-isl isl ; \
42883 mv stageprofile-isl prev-isl || test -f stageprofile-lean
42884 @endif isl
42885 @if cloog
42886 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
42887 mkdir stagefeedback-cloog; \
42888 mv stagefeedback-cloog cloog ; \
42889 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
42890 @endif cloog
42891 @if libelf
42892 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
42893 mkdir stagefeedback-libelf; \
42894 mv stagefeedback-libelf libelf ; \
42895 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
42896 @endif libelf
42897 @if gold
42898 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
42899 mkdir stagefeedback-gold; \
42900 mv stagefeedback-gold gold ; \
42901 mv stageprofile-gold prev-gold || test -f stageprofile-lean
42902 @endif gold
42903 @if intl
42904 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
42905 mkdir stagefeedback-intl; \
42906 mv stagefeedback-intl intl ; \
42907 mv stageprofile-intl prev-intl || test -f stageprofile-lean
42908 @endif intl
42909 @if ld
42910 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
42911 mkdir stagefeedback-ld; \
42912 mv stagefeedback-ld ld ; \
42913 mv stageprofile-ld prev-ld || test -f stageprofile-lean
42914 @endif ld
42915 @if libcpp
42916 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
42917 mkdir stagefeedback-libcpp; \
42918 mv stagefeedback-libcpp libcpp ; \
42919 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
42920 @endif libcpp
42921 @if libdecnumber
42922 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
42923 mkdir stagefeedback-libdecnumber; \
42924 mv stagefeedback-libdecnumber libdecnumber ; \
42925 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
42926 @endif libdecnumber
42927 @if libiberty
42928 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
42929 mkdir stagefeedback-libiberty; \
42930 mv stagefeedback-libiberty libiberty ; \
42931 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
42932 @endif libiberty
42933 @if zlib
42934 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
42935 mkdir stagefeedback-zlib; \
42936 mv stagefeedback-zlib zlib ; \
42937 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
42938 @endif zlib
42939 @if lto-plugin
42940 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
42941 mkdir stagefeedback-lto-plugin; \
42942 mv stagefeedback-lto-plugin lto-plugin ; \
42943 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
42944 @endif lto-plugin
42945 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
42946 mkdir stagefeedback-$(TARGET_SUBDIR); \
42947 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42948 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
42950 stagefeedback-end::
42951 @if bfd
42952 @if test -d $(HOST_SUBDIR)/bfd ; then \
42953 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
42954 mv prev-bfd stageprofile-bfd ; : ; \
42956 @endif bfd
42957 @if opcodes
42958 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42959 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
42960 mv prev-opcodes stageprofile-opcodes ; : ; \
42962 @endif opcodes
42963 @if binutils
42964 @if test -d $(HOST_SUBDIR)/binutils ; then \
42965 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
42966 mv prev-binutils stageprofile-binutils ; : ; \
42968 @endif binutils
42969 @if gas
42970 @if test -d $(HOST_SUBDIR)/gas ; then \
42971 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
42972 mv prev-gas stageprofile-gas ; : ; \
42974 @endif gas
42975 @if gcc
42976 @if test -d $(HOST_SUBDIR)/gcc ; then \
42977 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
42978 mv prev-gcc stageprofile-gcc ; : ; \
42980 @endif gcc
42981 @if gmp
42982 @if test -d $(HOST_SUBDIR)/gmp ; then \
42983 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
42984 mv prev-gmp stageprofile-gmp ; : ; \
42986 @endif gmp
42987 @if mpfr
42988 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42989 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
42990 mv prev-mpfr stageprofile-mpfr ; : ; \
42992 @endif mpfr
42993 @if mpc
42994 @if test -d $(HOST_SUBDIR)/mpc ; then \
42995 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
42996 mv prev-mpc stageprofile-mpc ; : ; \
42998 @endif mpc
42999 @if isl
43000 @if test -d $(HOST_SUBDIR)/isl ; then \
43001 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
43002 mv prev-isl stageprofile-isl ; : ; \
43004 @endif isl
43005 @if cloog
43006 @if test -d $(HOST_SUBDIR)/cloog ; then \
43007 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
43008 mv prev-cloog stageprofile-cloog ; : ; \
43010 @endif cloog
43011 @if libelf
43012 @if test -d $(HOST_SUBDIR)/libelf ; then \
43013 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
43014 mv prev-libelf stageprofile-libelf ; : ; \
43016 @endif libelf
43017 @if gold
43018 @if test -d $(HOST_SUBDIR)/gold ; then \
43019 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
43020 mv prev-gold stageprofile-gold ; : ; \
43022 @endif gold
43023 @if intl
43024 @if test -d $(HOST_SUBDIR)/intl ; then \
43025 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
43026 mv prev-intl stageprofile-intl ; : ; \
43028 @endif intl
43029 @if ld
43030 @if test -d $(HOST_SUBDIR)/ld ; then \
43031 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
43032 mv prev-ld stageprofile-ld ; : ; \
43034 @endif ld
43035 @if libcpp
43036 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43037 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
43038 mv prev-libcpp stageprofile-libcpp ; : ; \
43040 @endif libcpp
43041 @if libdecnumber
43042 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43043 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
43044 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
43046 @endif libdecnumber
43047 @if libiberty
43048 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43049 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
43050 mv prev-libiberty stageprofile-libiberty ; : ; \
43052 @endif libiberty
43053 @if zlib
43054 @if test -d $(HOST_SUBDIR)/zlib ; then \
43055 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
43056 mv prev-zlib stageprofile-zlib ; : ; \
43058 @endif zlib
43059 @if lto-plugin
43060 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43061 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
43062 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
43064 @endif lto-plugin
43065 @if test -d $(TARGET_SUBDIR) ; then \
43066 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
43067 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
43069 rm -f stage_current
43071 # Bubble a bug fix through all the stages up to stage feedback. They are
43072 # remade, but not reconfigured. The next stage (if any) will not be
43073 # reconfigured either.
43074 .PHONY: stagefeedback-bubble
43075 stagefeedback-bubble:: stageprofile-bubble
43076 @r=`${PWD_COMMAND}`; export r; \
43077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43078 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
43079 echo Skipping rebuild of stagefeedback ; \
43080 else \
43081 $(MAKE) stagefeedback-start; \
43082 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
43085 .PHONY: all-stagefeedback clean-stagefeedback
43086 do-clean: clean-stagefeedback
43088 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43089 # only possibility, but now it conflicts with no-bootstrap rules
43090 @if gcc-bootstrap
43094 .PHONY: profiledbootstrap profiledbootstrap-lean
43095 profiledbootstrap:
43096 echo stagefeedback > stage_final
43097 @r=`${PWD_COMMAND}`; export r; \
43098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43099 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
43100 @: $(MAKE); $(unstage)
43101 @r=`${PWD_COMMAND}`; export r; \
43102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43103 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43104 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43106 profiledbootstrap-lean:
43107 echo stagefeedback > stage_final
43108 @r=`${PWD_COMMAND}`; export r; \
43109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43110 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
43111 @: $(MAKE); $(unstage)
43112 @r=`${PWD_COMMAND}`; export r; \
43113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43114 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43115 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43118 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43119 distclean-stageprofile:: distclean-stagefeedback
43120 .PHONY: distclean-stagefeedback
43121 distclean-stagefeedback::
43122 @: $(MAKE); $(stage)
43123 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
43124 rm -rf stagefeedback-*
43127 @endif gcc-bootstrap
43131 stageprofile-end::
43132 $(MAKE) distclean-stagefeedback
43134 stagefeedback-start::
43135 @r=`${PWD_COMMAND}`; export r; \
43136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43137 for i in prev-*; do \
43138 j=`echo $$i | sed s/^prev-//` ; \
43139 cd $$r/$$i && \
43140 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
43141 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
43142 done
43144 @if gcc-bootstrap
43145 do-distclean: distclean-stage1
43147 # Provide a GCC build when we're building target libraries. This does
43148 # not work as a dependency, just as the minimum necessary to avoid errors.
43149 stage_last:
43150 @r=`${PWD_COMMAND}`; export r; \
43151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43152 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
43154 # Same as unstage, but not phony and defaulting to stage1-start. We place
43155 # it in the dependency so that for example `make -j3 all-gcc' works.
43156 stage_current:
43157 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
43159 .PHONY: restrap
43160 restrap::
43161 @: $(MAKE); $(stage)
43162 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
43163 restrap:: all
43164 @endif gcc-bootstrap
43166 # --------------------------------------
43167 # Dependencies between different modules
43168 # --------------------------------------
43170 # Generic dependencies for target modules on host stuff, especially gcc
43171 @if gcc-bootstrap
43172 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
43173 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
43174 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
43175 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
43176 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
43177 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
43178 configure-target-libmudflap: stage_last
43179 configure-target-libssp: stage_last
43180 configure-target-newlib: stage_last
43181 configure-stage1-target-libgcc: maybe-all-stage1-gcc
43182 configure-stage2-target-libgcc: maybe-all-stage2-gcc
43183 configure-stage3-target-libgcc: maybe-all-stage3-gcc
43184 configure-stage4-target-libgcc: maybe-all-stage4-gcc
43185 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
43186 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
43187 configure-target-libquadmath: stage_last
43188 configure-target-libgfortran: stage_last
43189 configure-target-libobjc: stage_last
43190 configure-target-libgo: stage_last
43191 configure-target-libtermcap: stage_last
43192 configure-target-winsup: stage_last
43193 configure-target-libgloss: stage_last
43194 configure-target-libffi: stage_last
43195 configure-target-libjava: stage_last
43196 configure-target-zlib: stage_last
43197 configure-target-boehm-gc: stage_last
43198 configure-target-rda: stage_last
43199 configure-target-libada: stage_last
43200 configure-stage1-target-libgomp: maybe-all-stage1-gcc
43201 configure-stage2-target-libgomp: maybe-all-stage2-gcc
43202 configure-stage3-target-libgomp: maybe-all-stage3-gcc
43203 configure-stage4-target-libgomp: maybe-all-stage4-gcc
43204 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
43205 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
43206 configure-target-libitm: stage_last
43207 configure-target-libatomic: stage_last
43208 @endif gcc-bootstrap
43210 @if gcc-no-bootstrap
43211 configure-target-libstdc++-v3: maybe-all-gcc
43212 configure-target-libmudflap: maybe-all-gcc
43213 configure-target-libssp: maybe-all-gcc
43214 configure-target-newlib: maybe-all-gcc
43215 configure-target-libgcc: maybe-all-gcc
43216 configure-target-libquadmath: maybe-all-gcc
43217 configure-target-libgfortran: maybe-all-gcc
43218 configure-target-libobjc: maybe-all-gcc
43219 configure-target-libgo: maybe-all-gcc
43220 configure-target-libtermcap: maybe-all-gcc
43221 configure-target-winsup: maybe-all-gcc
43222 configure-target-libgloss: maybe-all-gcc
43223 configure-target-libffi: maybe-all-gcc
43224 configure-target-libjava: maybe-all-gcc
43225 configure-target-zlib: maybe-all-gcc
43226 configure-target-boehm-gc: maybe-all-gcc
43227 configure-target-rda: maybe-all-gcc
43228 configure-target-libada: maybe-all-gcc
43229 configure-target-libgomp: maybe-all-gcc
43230 configure-target-libitm: maybe-all-gcc
43231 configure-target-libatomic: maybe-all-gcc
43232 @endif gcc-no-bootstrap
43235 # There are two types of dependencies here: 'hard' dependencies, where one
43236 # module simply won't build without the other; and 'soft' dependencies, where
43237 # if the depended-on module is missing, the depending module will do without
43238 # or find a substitute somewhere (perhaps installed). Soft dependencies
43239 # are made here to depend on a 'maybe-' target. If you're not sure,
43240 # it's safer to use a soft dependency.
43247 # With all the machinery above in place, it is pretty easy to generate
43248 # dependencies. Host dependencies are a bit more complex because we have
43249 # to check for bootstrap/prebootstrap dependencies. To resolve
43250 # prebootstrap dependencies, prebootstrap modules are gathered in
43251 # a hash table.
43252 all-build-bison: maybe-all-build-texinfo
43253 all-build-flex: maybe-all-build-texinfo
43254 all-build-flex: maybe-all-build-bison
43255 all-build-flex: maybe-all-build-m4
43256 all-build-libiberty: maybe-all-build-texinfo
43257 all-build-m4: maybe-all-build-texinfo
43258 all-build-fixincludes: maybe-all-build-libiberty
43259 configure-gcc: maybe-configure-intl
43261 configure-stage1-gcc: maybe-configure-stage1-intl
43262 configure-stage2-gcc: maybe-configure-stage2-intl
43263 configure-stage3-gcc: maybe-configure-stage3-intl
43264 configure-stage4-gcc: maybe-configure-stage4-intl
43265 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
43266 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
43267 configure-gcc: maybe-all-lto-plugin
43269 configure-stage1-gcc: maybe-all-stage1-lto-plugin
43270 configure-stage2-gcc: maybe-all-stage2-lto-plugin
43271 configure-stage3-gcc: maybe-all-stage3-lto-plugin
43272 configure-stage4-gcc: maybe-all-stage4-lto-plugin
43273 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43274 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43275 configure-gcc: maybe-all-binutils
43277 configure-stage1-gcc: maybe-all-stage1-binutils
43278 configure-stage2-gcc: maybe-all-stage2-binutils
43279 configure-stage3-gcc: maybe-all-stage3-binutils
43280 configure-stage4-gcc: maybe-all-stage4-binutils
43281 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
43282 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
43283 configure-gcc: maybe-all-gas
43285 configure-stage1-gcc: maybe-all-stage1-gas
43286 configure-stage2-gcc: maybe-all-stage2-gas
43287 configure-stage3-gcc: maybe-all-stage3-gas
43288 configure-stage4-gcc: maybe-all-stage4-gas
43289 configure-stageprofile-gcc: maybe-all-stageprofile-gas
43290 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
43291 configure-gcc: maybe-all-ld
43293 configure-stage1-gcc: maybe-all-stage1-ld
43294 configure-stage2-gcc: maybe-all-stage2-ld
43295 configure-stage3-gcc: maybe-all-stage3-ld
43296 configure-stage4-gcc: maybe-all-stage4-ld
43297 configure-stageprofile-gcc: maybe-all-stageprofile-ld
43298 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
43299 configure-gcc: maybe-all-gold
43301 configure-stage1-gcc: maybe-all-stage1-gold
43302 configure-stage2-gcc: maybe-all-stage2-gold
43303 configure-stage3-gcc: maybe-all-stage3-gold
43304 configure-stage4-gcc: maybe-all-stage4-gold
43305 configure-stageprofile-gcc: maybe-all-stageprofile-gold
43306 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
43307 configure-gcc: maybe-all-libelf
43309 configure-stage1-gcc: maybe-all-stage1-libelf
43310 configure-stage2-gcc: maybe-all-stage2-libelf
43311 configure-stage3-gcc: maybe-all-stage3-libelf
43312 configure-stage4-gcc: maybe-all-stage4-libelf
43313 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
43314 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
43315 all-gcc: all-libiberty
43317 all-stage1-gcc: all-stage1-libiberty
43318 all-stage2-gcc: all-stage2-libiberty
43319 all-stage3-gcc: all-stage3-libiberty
43320 all-stage4-gcc: all-stage4-libiberty
43321 all-stageprofile-gcc: all-stageprofile-libiberty
43322 all-stagefeedback-gcc: all-stagefeedback-libiberty
43323 all-gcc: maybe-all-gmp
43325 all-stage1-gcc: maybe-all-stage1-gmp
43326 all-stage2-gcc: maybe-all-stage2-gmp
43327 all-stage3-gcc: maybe-all-stage3-gmp
43328 all-stage4-gcc: maybe-all-stage4-gmp
43329 all-stageprofile-gcc: maybe-all-stageprofile-gmp
43330 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
43331 all-gcc: maybe-all-intl
43333 all-stage1-gcc: maybe-all-stage1-intl
43334 all-stage2-gcc: maybe-all-stage2-intl
43335 all-stage3-gcc: maybe-all-stage3-intl
43336 all-stage4-gcc: maybe-all-stage4-intl
43337 all-stageprofile-gcc: maybe-all-stageprofile-intl
43338 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
43339 all-gcc: maybe-all-mpfr
43341 all-stage1-gcc: maybe-all-stage1-mpfr
43342 all-stage2-gcc: maybe-all-stage2-mpfr
43343 all-stage3-gcc: maybe-all-stage3-mpfr
43344 all-stage4-gcc: maybe-all-stage4-mpfr
43345 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
43346 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
43347 all-gcc: maybe-all-mpc
43349 all-stage1-gcc: maybe-all-stage1-mpc
43350 all-stage2-gcc: maybe-all-stage2-mpc
43351 all-stage3-gcc: maybe-all-stage3-mpc
43352 all-stage4-gcc: maybe-all-stage4-mpc
43353 all-stageprofile-gcc: maybe-all-stageprofile-mpc
43354 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
43355 all-gcc: maybe-all-cloog
43357 all-stage1-gcc: maybe-all-stage1-cloog
43358 all-stage2-gcc: maybe-all-stage2-cloog
43359 all-stage3-gcc: maybe-all-stage3-cloog
43360 all-stage4-gcc: maybe-all-stage4-cloog
43361 all-stageprofile-gcc: maybe-all-stageprofile-cloog
43362 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
43363 all-gcc: maybe-all-build-texinfo
43365 all-stage1-gcc: maybe-all-build-texinfo
43366 all-stage2-gcc: maybe-all-build-texinfo
43367 all-stage3-gcc: maybe-all-build-texinfo
43368 all-stage4-gcc: maybe-all-build-texinfo
43369 all-stageprofile-gcc: maybe-all-build-texinfo
43370 all-stagefeedback-gcc: maybe-all-build-texinfo
43371 all-gcc: maybe-all-build-bison
43373 all-stage1-gcc: maybe-all-build-bison
43374 all-stage2-gcc: maybe-all-build-bison
43375 all-stage3-gcc: maybe-all-build-bison
43376 all-stage4-gcc: maybe-all-build-bison
43377 all-stageprofile-gcc: maybe-all-build-bison
43378 all-stagefeedback-gcc: maybe-all-build-bison
43379 all-gcc: maybe-all-build-flex
43381 all-stage1-gcc: maybe-all-build-flex
43382 all-stage2-gcc: maybe-all-build-flex
43383 all-stage3-gcc: maybe-all-build-flex
43384 all-stage4-gcc: maybe-all-build-flex
43385 all-stageprofile-gcc: maybe-all-build-flex
43386 all-stagefeedback-gcc: maybe-all-build-flex
43387 all-gcc: maybe-all-build-libiberty
43389 all-stage1-gcc: maybe-all-build-libiberty
43390 all-stage2-gcc: maybe-all-build-libiberty
43391 all-stage3-gcc: maybe-all-build-libiberty
43392 all-stage4-gcc: maybe-all-build-libiberty
43393 all-stageprofile-gcc: maybe-all-build-libiberty
43394 all-stagefeedback-gcc: maybe-all-build-libiberty
43395 all-gcc: maybe-all-build-fixincludes
43397 all-stage1-gcc: maybe-all-build-fixincludes
43398 all-stage2-gcc: maybe-all-build-fixincludes
43399 all-stage3-gcc: maybe-all-build-fixincludes
43400 all-stage4-gcc: maybe-all-build-fixincludes
43401 all-stageprofile-gcc: maybe-all-build-fixincludes
43402 all-stagefeedback-gcc: maybe-all-build-fixincludes
43403 all-gcc: maybe-all-zlib
43405 all-stage1-gcc: maybe-all-stage1-zlib
43406 all-stage2-gcc: maybe-all-stage2-zlib
43407 all-stage3-gcc: maybe-all-stage3-zlib
43408 all-stage4-gcc: maybe-all-stage4-zlib
43409 all-stageprofile-gcc: maybe-all-stageprofile-zlib
43410 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
43411 all-gcc: all-libcpp
43413 all-stage1-gcc: all-stage1-libcpp
43414 all-stage2-gcc: all-stage2-libcpp
43415 all-stage3-gcc: all-stage3-libcpp
43416 all-stage4-gcc: all-stage4-libcpp
43417 all-stageprofile-gcc: all-stageprofile-libcpp
43418 all-stagefeedback-gcc: all-stagefeedback-libcpp
43419 all-gcc: all-libdecnumber
43421 all-stage1-gcc: all-stage1-libdecnumber
43422 all-stage2-gcc: all-stage2-libdecnumber
43423 all-stage3-gcc: all-stage3-libdecnumber
43424 all-stage4-gcc: all-stage4-libdecnumber
43425 all-stageprofile-gcc: all-stageprofile-libdecnumber
43426 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
43427 all-gcc: maybe-all-libiberty
43429 all-stage1-gcc: maybe-all-stage1-libiberty
43430 all-stage2-gcc: maybe-all-stage2-libiberty
43431 all-stage3-gcc: maybe-all-stage3-libiberty
43432 all-stage4-gcc: maybe-all-stage4-libiberty
43433 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
43434 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
43435 all-gcc: maybe-all-fixincludes
43436 all-gcc: maybe-all-lto-plugin
43438 all-stage1-gcc: maybe-all-stage1-lto-plugin
43439 all-stage2-gcc: maybe-all-stage2-lto-plugin
43440 all-stage3-gcc: maybe-all-stage3-lto-plugin
43441 all-stage4-gcc: maybe-all-stage4-lto-plugin
43442 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
43443 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
43444 info-gcc: maybe-all-build-libiberty
43446 info-stage1-gcc: maybe-all-build-libiberty
43447 info-stage2-gcc: maybe-all-build-libiberty
43448 info-stage3-gcc: maybe-all-build-libiberty
43449 info-stage4-gcc: maybe-all-build-libiberty
43450 info-stageprofile-gcc: maybe-all-build-libiberty
43451 info-stagefeedback-gcc: maybe-all-build-libiberty
43452 dvi-gcc: maybe-all-build-libiberty
43454 dvi-stage1-gcc: maybe-all-build-libiberty
43455 dvi-stage2-gcc: maybe-all-build-libiberty
43456 dvi-stage3-gcc: maybe-all-build-libiberty
43457 dvi-stage4-gcc: maybe-all-build-libiberty
43458 dvi-stageprofile-gcc: maybe-all-build-libiberty
43459 dvi-stagefeedback-gcc: maybe-all-build-libiberty
43460 pdf-gcc: maybe-all-build-libiberty
43462 pdf-stage1-gcc: maybe-all-build-libiberty
43463 pdf-stage2-gcc: maybe-all-build-libiberty
43464 pdf-stage3-gcc: maybe-all-build-libiberty
43465 pdf-stage4-gcc: maybe-all-build-libiberty
43466 pdf-stageprofile-gcc: maybe-all-build-libiberty
43467 pdf-stagefeedback-gcc: maybe-all-build-libiberty
43468 html-gcc: maybe-all-build-libiberty
43470 html-stage1-gcc: maybe-all-build-libiberty
43471 html-stage2-gcc: maybe-all-build-libiberty
43472 html-stage3-gcc: maybe-all-build-libiberty
43473 html-stage4-gcc: maybe-all-build-libiberty
43474 html-stageprofile-gcc: maybe-all-build-libiberty
43475 html-stagefeedback-gcc: maybe-all-build-libiberty
43476 install-gcc: maybe-install-fixincludes
43477 install-gcc: maybe-install-lto-plugin
43478 install-strip-gcc: maybe-install-strip-fixincludes
43479 install-strip-gcc: maybe-install-strip-lto-plugin
43480 configure-libcpp: configure-libiberty
43482 configure-stage1-libcpp: configure-stage1-libiberty
43483 configure-stage2-libcpp: configure-stage2-libiberty
43484 configure-stage3-libcpp: configure-stage3-libiberty
43485 configure-stage4-libcpp: configure-stage4-libiberty
43486 configure-stageprofile-libcpp: configure-stageprofile-libiberty
43487 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
43488 configure-libcpp: maybe-configure-intl
43490 configure-stage1-libcpp: maybe-configure-stage1-intl
43491 configure-stage2-libcpp: maybe-configure-stage2-intl
43492 configure-stage3-libcpp: maybe-configure-stage3-intl
43493 configure-stage4-libcpp: maybe-configure-stage4-intl
43494 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
43495 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
43496 all-libcpp: all-libiberty
43498 all-stage1-libcpp: all-stage1-libiberty
43499 all-stage2-libcpp: all-stage2-libiberty
43500 all-stage3-libcpp: all-stage3-libiberty
43501 all-stage4-libcpp: all-stage4-libiberty
43502 all-stageprofile-libcpp: all-stageprofile-libiberty
43503 all-stagefeedback-libcpp: all-stagefeedback-libiberty
43504 all-libcpp: maybe-all-intl
43506 all-stage1-libcpp: maybe-all-stage1-intl
43507 all-stage2-libcpp: maybe-all-stage2-intl
43508 all-stage3-libcpp: maybe-all-stage3-intl
43509 all-stage4-libcpp: maybe-all-stage4-intl
43510 all-stageprofile-libcpp: maybe-all-stageprofile-intl
43511 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
43512 all-fixincludes: maybe-all-libiberty
43513 all-gnattools: maybe-all-target-libada
43514 all-lto-plugin: maybe-all-libiberty
43516 all-stage1-lto-plugin: maybe-all-stage1-libiberty
43517 all-stage2-lto-plugin: maybe-all-stage2-libiberty
43518 all-stage3-lto-plugin: maybe-all-stage3-libiberty
43519 all-stage4-lto-plugin: maybe-all-stage4-libiberty
43520 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
43521 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
43522 all-utils: maybe-all-libiberty
43523 configure-mpfr: maybe-all-gmp
43525 configure-stage1-mpfr: maybe-all-stage1-gmp
43526 configure-stage2-mpfr: maybe-all-stage2-gmp
43527 configure-stage3-mpfr: maybe-all-stage3-gmp
43528 configure-stage4-mpfr: maybe-all-stage4-gmp
43529 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
43530 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
43531 configure-mpc: maybe-all-mpfr
43533 configure-stage1-mpc: maybe-all-stage1-mpfr
43534 configure-stage2-mpc: maybe-all-stage2-mpfr
43535 configure-stage3-mpc: maybe-all-stage3-mpfr
43536 configure-stage4-mpc: maybe-all-stage4-mpfr
43537 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
43538 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
43539 configure-isl: maybe-all-gmp
43541 configure-stage1-isl: maybe-all-stage1-gmp
43542 configure-stage2-isl: maybe-all-stage2-gmp
43543 configure-stage3-isl: maybe-all-stage3-gmp
43544 configure-stage4-isl: maybe-all-stage4-gmp
43545 configure-stageprofile-isl: maybe-all-stageprofile-gmp
43546 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
43547 configure-cloog: maybe-all-isl
43549 configure-stage1-cloog: maybe-all-stage1-isl
43550 configure-stage2-cloog: maybe-all-stage2-isl
43551 configure-stage3-cloog: maybe-all-stage3-isl
43552 configure-stage4-cloog: maybe-all-stage4-isl
43553 configure-stageprofile-cloog: maybe-all-stageprofile-isl
43554 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
43555 configure-cloog: maybe-all-gmp
43557 configure-stage1-cloog: maybe-all-stage1-gmp
43558 configure-stage2-cloog: maybe-all-stage2-gmp
43559 configure-stage3-cloog: maybe-all-stage3-gmp
43560 configure-stage4-cloog: maybe-all-stage4-gmp
43561 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
43562 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
43563 configure-gdb: maybe-all-intl
43564 configure-gdb: maybe-configure-sim
43565 configure-gdb: maybe-all-bfd
43566 configure-gdb: maybe-all-libiconv
43567 all-gdb: maybe-all-libiberty
43568 all-gdb: maybe-all-libiconv
43569 all-gdb: maybe-all-opcodes
43570 all-gdb: maybe-all-readline
43571 all-gdb: maybe-all-build-bison
43572 all-gdb: maybe-all-sim
43573 all-gdb: maybe-all-libdecnumber
43574 all-gdb: maybe-all-libtermcap
43575 configure-libgui: maybe-configure-tcl
43576 configure-libgui: maybe-configure-tk
43577 all-libgui: maybe-all-tcl
43578 all-libgui: maybe-all-tk
43579 all-libgui: maybe-all-itcl
43580 configure-bfd: configure-libiberty
43582 configure-stage1-bfd: configure-stage1-libiberty
43583 configure-stage2-bfd: configure-stage2-libiberty
43584 configure-stage3-bfd: configure-stage3-libiberty
43585 configure-stage4-bfd: configure-stage4-libiberty
43586 configure-stageprofile-bfd: configure-stageprofile-libiberty
43587 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
43588 configure-bfd: maybe-configure-intl
43590 configure-stage1-bfd: maybe-configure-stage1-intl
43591 configure-stage2-bfd: maybe-configure-stage2-intl
43592 configure-stage3-bfd: maybe-configure-stage3-intl
43593 configure-stage4-bfd: maybe-configure-stage4-intl
43594 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
43595 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
43596 all-bfd: maybe-all-libiberty
43598 all-stage1-bfd: maybe-all-stage1-libiberty
43599 all-stage2-bfd: maybe-all-stage2-libiberty
43600 all-stage3-bfd: maybe-all-stage3-libiberty
43601 all-stage4-bfd: maybe-all-stage4-libiberty
43602 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
43603 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
43604 all-bfd: maybe-all-intl
43606 all-stage1-bfd: maybe-all-stage1-intl
43607 all-stage2-bfd: maybe-all-stage2-intl
43608 all-stage3-bfd: maybe-all-stage3-intl
43609 all-stage4-bfd: maybe-all-stage4-intl
43610 all-stageprofile-bfd: maybe-all-stageprofile-intl
43611 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
43612 configure-opcodes: configure-libiberty
43614 configure-stage1-opcodes: configure-stage1-libiberty
43615 configure-stage2-opcodes: configure-stage2-libiberty
43616 configure-stage3-opcodes: configure-stage3-libiberty
43617 configure-stage4-opcodes: configure-stage4-libiberty
43618 configure-stageprofile-opcodes: configure-stageprofile-libiberty
43619 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
43620 all-opcodes: maybe-all-libiberty
43622 all-stage1-opcodes: maybe-all-stage1-libiberty
43623 all-stage2-opcodes: maybe-all-stage2-libiberty
43624 all-stage3-opcodes: maybe-all-stage3-libiberty
43625 all-stage4-opcodes: maybe-all-stage4-libiberty
43626 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43627 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43628 configure-binutils: maybe-configure-intl
43630 configure-stage1-binutils: maybe-configure-stage1-intl
43631 configure-stage2-binutils: maybe-configure-stage2-intl
43632 configure-stage3-binutils: maybe-configure-stage3-intl
43633 configure-stage4-binutils: maybe-configure-stage4-intl
43634 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
43635 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
43636 all-binutils: maybe-all-libiberty
43638 all-stage1-binutils: maybe-all-stage1-libiberty
43639 all-stage2-binutils: maybe-all-stage2-libiberty
43640 all-stage3-binutils: maybe-all-stage3-libiberty
43641 all-stage4-binutils: maybe-all-stage4-libiberty
43642 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
43643 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
43644 all-binutils: maybe-all-opcodes
43646 all-stage1-binutils: maybe-all-stage1-opcodes
43647 all-stage2-binutils: maybe-all-stage2-opcodes
43648 all-stage3-binutils: maybe-all-stage3-opcodes
43649 all-stage4-binutils: maybe-all-stage4-opcodes
43650 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
43651 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
43652 all-binutils: maybe-all-bfd
43654 all-stage1-binutils: maybe-all-stage1-bfd
43655 all-stage2-binutils: maybe-all-stage2-bfd
43656 all-stage3-binutils: maybe-all-stage3-bfd
43657 all-stage4-binutils: maybe-all-stage4-bfd
43658 all-stageprofile-binutils: maybe-all-stageprofile-bfd
43659 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
43660 all-binutils: maybe-all-build-flex
43662 all-stage1-binutils: maybe-all-build-flex
43663 all-stage2-binutils: maybe-all-build-flex
43664 all-stage3-binutils: maybe-all-build-flex
43665 all-stage4-binutils: maybe-all-build-flex
43666 all-stageprofile-binutils: maybe-all-build-flex
43667 all-stagefeedback-binutils: maybe-all-build-flex
43668 all-binutils: maybe-all-build-bison
43670 all-stage1-binutils: maybe-all-build-bison
43671 all-stage2-binutils: maybe-all-build-bison
43672 all-stage3-binutils: maybe-all-build-bison
43673 all-stage4-binutils: maybe-all-build-bison
43674 all-stageprofile-binutils: maybe-all-build-bison
43675 all-stagefeedback-binutils: maybe-all-build-bison
43676 all-binutils: maybe-all-intl
43678 all-stage1-binutils: maybe-all-stage1-intl
43679 all-stage2-binutils: maybe-all-stage2-intl
43680 all-stage3-binutils: maybe-all-stage3-intl
43681 all-stage4-binutils: maybe-all-stage4-intl
43682 all-stageprofile-binutils: maybe-all-stageprofile-intl
43683 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
43684 install-binutils: maybe-install-opcodes
43685 install-strip-binutils: maybe-install-strip-opcodes
43686 install-opcodes: maybe-install-bfd
43687 install-strip-opcodes: maybe-install-strip-bfd
43688 configure-gas: maybe-configure-intl
43690 configure-stage1-gas: maybe-configure-stage1-intl
43691 configure-stage2-gas: maybe-configure-stage2-intl
43692 configure-stage3-gas: maybe-configure-stage3-intl
43693 configure-stage4-gas: maybe-configure-stage4-intl
43694 configure-stageprofile-gas: maybe-configure-stageprofile-intl
43695 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
43696 all-gas: maybe-all-libiberty
43698 all-stage1-gas: maybe-all-stage1-libiberty
43699 all-stage2-gas: maybe-all-stage2-libiberty
43700 all-stage3-gas: maybe-all-stage3-libiberty
43701 all-stage4-gas: maybe-all-stage4-libiberty
43702 all-stageprofile-gas: maybe-all-stageprofile-libiberty
43703 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
43704 all-gas: maybe-all-opcodes
43706 all-stage1-gas: maybe-all-stage1-opcodes
43707 all-stage2-gas: maybe-all-stage2-opcodes
43708 all-stage3-gas: maybe-all-stage3-opcodes
43709 all-stage4-gas: maybe-all-stage4-opcodes
43710 all-stageprofile-gas: maybe-all-stageprofile-opcodes
43711 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
43712 all-gas: maybe-all-bfd
43714 all-stage1-gas: maybe-all-stage1-bfd
43715 all-stage2-gas: maybe-all-stage2-bfd
43716 all-stage3-gas: maybe-all-stage3-bfd
43717 all-stage4-gas: maybe-all-stage4-bfd
43718 all-stageprofile-gas: maybe-all-stageprofile-bfd
43719 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
43720 all-gas: maybe-all-intl
43722 all-stage1-gas: maybe-all-stage1-intl
43723 all-stage2-gas: maybe-all-stage2-intl
43724 all-stage3-gas: maybe-all-stage3-intl
43725 all-stage4-gas: maybe-all-stage4-intl
43726 all-stageprofile-gas: maybe-all-stageprofile-intl
43727 all-stagefeedback-gas: maybe-all-stagefeedback-intl
43728 configure-gprof: maybe-configure-intl
43729 all-gprof: maybe-all-libiberty
43730 all-gprof: maybe-all-bfd
43731 all-gprof: maybe-all-opcodes
43732 all-gprof: maybe-all-intl
43733 configure-ld: maybe-configure-intl
43735 configure-stage1-ld: maybe-configure-stage1-intl
43736 configure-stage2-ld: maybe-configure-stage2-intl
43737 configure-stage3-ld: maybe-configure-stage3-intl
43738 configure-stage4-ld: maybe-configure-stage4-intl
43739 configure-stageprofile-ld: maybe-configure-stageprofile-intl
43740 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
43741 all-ld: maybe-all-libiberty
43743 all-stage1-ld: maybe-all-stage1-libiberty
43744 all-stage2-ld: maybe-all-stage2-libiberty
43745 all-stage3-ld: maybe-all-stage3-libiberty
43746 all-stage4-ld: maybe-all-stage4-libiberty
43747 all-stageprofile-ld: maybe-all-stageprofile-libiberty
43748 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
43749 all-ld: maybe-all-bfd
43751 all-stage1-ld: maybe-all-stage1-bfd
43752 all-stage2-ld: maybe-all-stage2-bfd
43753 all-stage3-ld: maybe-all-stage3-bfd
43754 all-stage4-ld: maybe-all-stage4-bfd
43755 all-stageprofile-ld: maybe-all-stageprofile-bfd
43756 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
43757 all-ld: maybe-all-opcodes
43759 all-stage1-ld: maybe-all-stage1-opcodes
43760 all-stage2-ld: maybe-all-stage2-opcodes
43761 all-stage3-ld: maybe-all-stage3-opcodes
43762 all-stage4-ld: maybe-all-stage4-opcodes
43763 all-stageprofile-ld: maybe-all-stageprofile-opcodes
43764 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
43765 all-ld: maybe-all-build-bison
43767 all-stage1-ld: maybe-all-build-bison
43768 all-stage2-ld: maybe-all-build-bison
43769 all-stage3-ld: maybe-all-build-bison
43770 all-stage4-ld: maybe-all-build-bison
43771 all-stageprofile-ld: maybe-all-build-bison
43772 all-stagefeedback-ld: maybe-all-build-bison
43773 all-ld: maybe-all-build-flex
43775 all-stage1-ld: maybe-all-build-flex
43776 all-stage2-ld: maybe-all-build-flex
43777 all-stage3-ld: maybe-all-build-flex
43778 all-stage4-ld: maybe-all-build-flex
43779 all-stageprofile-ld: maybe-all-build-flex
43780 all-stagefeedback-ld: maybe-all-build-flex
43781 all-ld: maybe-all-intl
43783 all-stage1-ld: maybe-all-stage1-intl
43784 all-stage2-ld: maybe-all-stage2-intl
43785 all-stage3-ld: maybe-all-stage3-intl
43786 all-stage4-ld: maybe-all-stage4-intl
43787 all-stageprofile-ld: maybe-all-stageprofile-intl
43788 all-stagefeedback-ld: maybe-all-stagefeedback-intl
43789 install-ld: maybe-install-gold
43790 install-strip-ld: maybe-install-strip-gold
43791 configure-gold: maybe-configure-intl
43793 configure-stage1-gold: maybe-configure-stage1-intl
43794 configure-stage2-gold: maybe-configure-stage2-intl
43795 configure-stage3-gold: maybe-configure-stage3-intl
43796 configure-stage4-gold: maybe-configure-stage4-intl
43797 configure-stageprofile-gold: maybe-configure-stageprofile-intl
43798 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
43799 all-gold: maybe-all-libiberty
43801 all-stage1-gold: maybe-all-stage1-libiberty
43802 all-stage2-gold: maybe-all-stage2-libiberty
43803 all-stage3-gold: maybe-all-stage3-libiberty
43804 all-stage4-gold: maybe-all-stage4-libiberty
43805 all-stageprofile-gold: maybe-all-stageprofile-libiberty
43806 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
43807 all-gold: maybe-all-intl
43809 all-stage1-gold: maybe-all-stage1-intl
43810 all-stage2-gold: maybe-all-stage2-intl
43811 all-stage3-gold: maybe-all-stage3-intl
43812 all-stage4-gold: maybe-all-stage4-intl
43813 all-stageprofile-gold: maybe-all-stageprofile-intl
43814 all-stagefeedback-gold: maybe-all-stagefeedback-intl
43815 all-gold: maybe-all-bfd
43817 all-stage1-gold: maybe-all-stage1-bfd
43818 all-stage2-gold: maybe-all-stage2-bfd
43819 all-stage3-gold: maybe-all-stage3-bfd
43820 all-stage4-gold: maybe-all-stage4-bfd
43821 all-stageprofile-gold: maybe-all-stageprofile-bfd
43822 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
43823 all-gold: maybe-all-build-bison
43825 all-stage1-gold: maybe-all-build-bison
43826 all-stage2-gold: maybe-all-build-bison
43827 all-stage3-gold: maybe-all-build-bison
43828 all-stage4-gold: maybe-all-build-bison
43829 all-stageprofile-gold: maybe-all-build-bison
43830 all-stagefeedback-gold: maybe-all-build-bison
43831 check-gold: maybe-all-binutils
43833 check-stage1-gold: maybe-all-stage1-binutils
43834 check-stage2-gold: maybe-all-stage2-binutils
43835 check-stage3-gold: maybe-all-stage3-binutils
43836 check-stage4-gold: maybe-all-stage4-binutils
43837 check-stageprofile-gold: maybe-all-stageprofile-binutils
43838 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
43839 check-gold: maybe-all-gas
43841 check-stage1-gold: maybe-all-stage1-gas
43842 check-stage2-gold: maybe-all-stage2-gas
43843 check-stage3-gold: maybe-all-stage3-gas
43844 check-stage4-gold: maybe-all-stage4-gas
43845 check-stageprofile-gold: maybe-all-stageprofile-gas
43846 check-stagefeedback-gold: maybe-all-stagefeedback-gas
43847 configure-opcodes: maybe-configure-intl
43849 configure-stage1-opcodes: maybe-configure-stage1-intl
43850 configure-stage2-opcodes: maybe-configure-stage2-intl
43851 configure-stage3-opcodes: maybe-configure-stage3-intl
43852 configure-stage4-opcodes: maybe-configure-stage4-intl
43853 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
43854 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
43855 all-opcodes: maybe-all-bfd
43857 all-stage1-opcodes: maybe-all-stage1-bfd
43858 all-stage2-opcodes: maybe-all-stage2-bfd
43859 all-stage3-opcodes: maybe-all-stage3-bfd
43860 all-stage4-opcodes: maybe-all-stage4-bfd
43861 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
43862 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
43863 all-opcodes: maybe-all-libiberty
43865 all-stage1-opcodes: maybe-all-stage1-libiberty
43866 all-stage2-opcodes: maybe-all-stage2-libiberty
43867 all-stage3-opcodes: maybe-all-stage3-libiberty
43868 all-stage4-opcodes: maybe-all-stage4-libiberty
43869 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
43870 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
43871 all-opcodes: maybe-all-intl
43873 all-stage1-opcodes: maybe-all-stage1-intl
43874 all-stage2-opcodes: maybe-all-stage2-intl
43875 all-stage3-opcodes: maybe-all-stage3-intl
43876 all-stage4-opcodes: maybe-all-stage4-intl
43877 all-stageprofile-opcodes: maybe-all-stageprofile-intl
43878 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
43879 all-dejagnu: maybe-all-tcl
43880 all-dejagnu: maybe-all-expect
43881 all-dejagnu: maybe-all-tk
43882 configure-expect: maybe-configure-tcl
43883 configure-expect: maybe-configure-tk
43884 all-expect: maybe-all-tcl
43885 all-expect: maybe-all-tk
43886 configure-itcl: maybe-configure-tcl
43887 configure-itcl: maybe-configure-tk
43888 all-itcl: maybe-all-tcl
43889 all-itcl: maybe-all-tk
43890 install-itcl: maybe-install-tcl
43891 install-strip-itcl: maybe-install-strip-tcl
43892 configure-tk: maybe-configure-tcl
43893 all-tk: maybe-all-tcl
43894 all-sid: maybe-all-libiberty
43895 all-sid: maybe-all-bfd
43896 all-sid: maybe-all-opcodes
43897 all-sid: maybe-all-tcl
43898 all-sid: maybe-all-tk
43899 install-sid: maybe-install-tcl
43900 install-strip-sid: maybe-install-strip-tcl
43901 install-sid: maybe-install-tk
43902 install-strip-sid: maybe-install-strip-tk
43903 configure-sim: maybe-configure-intl
43904 all-sim: maybe-all-intl
43905 all-sim: maybe-all-libiberty
43906 all-sim: maybe-all-bfd
43907 all-sim: maybe-all-opcodes
43908 all-sim: maybe-all-readline
43909 all-sim: maybe-configure-gdb
43910 all-fastjar: maybe-all-zlib
43911 all-fastjar: maybe-all-build-texinfo
43912 all-fastjar: maybe-all-libiberty
43913 all-bison: maybe-all-intl
43914 all-bison: maybe-all-build-texinfo
43915 all-flex: maybe-all-build-bison
43916 all-flex: maybe-all-intl
43917 all-flex: maybe-all-m4
43918 all-flex: maybe-all-build-texinfo
43919 all-m4: maybe-all-intl
43920 all-m4: maybe-all-build-texinfo
43921 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
43922 configure-target-fastjar: maybe-configure-target-zlib
43923 all-target-fastjar: maybe-all-target-zlib
43924 configure-target-libgo: maybe-configure-target-libffi
43925 configure-target-libgo: maybe-all-target-libstdc++-v3
43926 all-target-libgo: maybe-all-target-libffi
43927 configure-target-libjava: maybe-configure-target-zlib
43928 configure-target-libjava: maybe-configure-target-boehm-gc
43929 configure-target-libjava: maybe-configure-target-libffi
43930 all-target-libjava: maybe-all-fastjar
43931 all-target-libjava: maybe-all-target-zlib
43932 all-target-libjava: maybe-all-target-boehm-gc
43933 all-target-libjava: maybe-all-target-libffi
43934 configure-target-libobjc: maybe-configure-target-boehm-gc
43935 all-target-libobjc: maybe-all-target-boehm-gc
43936 configure-target-libstdc++-v3: maybe-configure-target-libgomp
43938 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43939 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43940 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43941 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43942 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43943 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43944 all-target-libstdc++-v3: maybe-configure-target-libgomp
43946 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
43947 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
43948 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
43949 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
43950 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
43951 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
43952 all-target-libgloss: maybe-all-target-newlib
43953 all-target-winsup: maybe-all-target-libtermcap
43954 configure-target-newlib: maybe-all-binutils
43955 configure-target-newlib: maybe-all-ld
43956 configure-target-libgfortran: maybe-all-target-libquadmath
43959 # Dependencies for target modules on other target modules are
43960 # described by lang_env_dependencies; the defaults apply to anything
43961 # not mentioned there.
43964 @if gcc-bootstrap
43965 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
43966 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
43967 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
43968 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
43969 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
43970 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
43971 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
43972 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
43973 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
43974 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
43975 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
43976 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
43977 @endif gcc-bootstrap
43979 @if gcc-no-bootstrap
43980 configure-target-libstdc++-v3: maybe-all-target-libgcc
43981 configure-target-libmudflap: maybe-all-target-libgcc
43982 configure-target-libssp: maybe-all-target-libgcc
43983 configure-target-newlib: maybe-all-target-libgcc
43984 configure-target-libquadmath: maybe-all-target-libgcc
43985 configure-target-libgfortran: maybe-all-target-libgcc
43986 configure-target-libobjc: maybe-all-target-libgcc
43987 configure-target-libgo: maybe-all-target-libgcc
43988 configure-target-libtermcap: maybe-all-target-libgcc
43989 configure-target-winsup: maybe-all-target-libgcc
43990 configure-target-libgloss: maybe-all-target-libgcc
43991 configure-target-libffi: maybe-all-target-libgcc
43992 configure-target-libjava: maybe-all-target-libgcc
43993 configure-target-zlib: maybe-all-target-libgcc
43994 configure-target-boehm-gc: maybe-all-target-libgcc
43995 configure-target-rda: maybe-all-target-libgcc
43996 configure-target-libada: maybe-all-target-libgcc
43997 configure-target-libgomp: maybe-all-target-libgcc
43998 configure-target-libitm: maybe-all-target-libgcc
43999 configure-target-libatomic: maybe-all-target-libgcc
44000 @endif gcc-no-bootstrap
44003 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
44005 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
44007 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
44011 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
44013 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
44015 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
44017 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
44019 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
44021 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
44024 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
44026 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
44027 configure-target-libjava: maybe-all-target-libstdc++-v3
44029 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
44031 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
44033 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
44035 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
44037 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
44039 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
44040 configure-target-libitm: maybe-all-target-libstdc++-v3
44042 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
44045 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
44046 GDB_TK = @GDB_TK@
44047 INSTALL_GDB_TK = @INSTALL_GDB_TK@
44048 configure-gdb: $(CONFIGURE_GDB_TK)
44049 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
44050 install-gdb: $(INSTALL_GDB_TK)
44052 # Serialization dependencies. Host configures don't work well in parallel to
44053 # each other, due to contention over config.cache. Target configures and
44054 # build configures are similar.
44055 @serialization_dependencies@
44057 # --------------------------------
44058 # Regenerating top level configury
44059 # --------------------------------
44061 # Rebuilding Makefile.in, using autogen.
44062 AUTOGEN = autogen
44063 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
44064 cd $(srcdir) && $(AUTOGEN) Makefile.def
44066 # Rebuilding Makefile.
44067 Makefile: $(srcdir)/Makefile.in config.status
44068 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
44070 config.status: configure
44071 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
44073 # Rebuilding configure.
44074 AUTOCONF = autoconf
44075 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
44076 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
44077 cd $(srcdir) && $(AUTOCONF)
44079 # ------------------------------
44080 # Special directives to GNU Make
44081 # ------------------------------
44083 # Don't pass command-line variables to submakes.
44084 .NOEXPORT:
44085 MAKEOVERRIDES=
44087 # end of Makefile.in